1 From b2f215141b985d5d39ed16fe7e2089d5aa162302 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Wed, 24 Mar 2021 09:19:21 +0100
4 Subject: [PATCH 20/22] dt-bindings: add BCM6318 pincontroller binding
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 Add binding documentation for the pincontrol core found in BCM6318 SoCs.
12 Co-developed-by: Jonas Gorski <jonas.gorski@gmail.com>
13 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
14 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
15 Reviewed-by: Rob Herring <robh@kernel.org>
16 Link: https://lore.kernel.org/r/20210324081923.20379-21-noltari@gmail.com
17 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
19 .../pinctrl/brcm,bcm6318-pinctrl.yaml | 143 ++++++++++++++++++
20 1 file changed, 143 insertions(+)
21 create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml
24 +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml
26 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
29 +$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6318-pinctrl.yaml#
30 +$schema: http://devicetree.org/meta-schemas/core.yaml#
32 +title: Broadcom BCM6318 pin controller
35 + - Álvaro Fernández Rojas <noltari@gmail.com>
36 + - Jonas Gorski <jonas.gorski@gmail.com>
39 + Bindings for Broadcom's BCM6318 memory-mapped pin controller.
43 + const: brcm,bcm6318-pinctrl
51 + $ref: pinmux-node.yaml#
55 + enum: [ ephy0_spd_led, ephy1_spd_led, ephy2_spd_led, ephy3_spd_led,
56 + ephy0_act_led, ephy1_act_led, ephy2_act_led, ephy3_act_led,
57 + serial_led_data, serial_led_clk, inet_act_led, inet_fail_led,
58 + dsl_led, post_fail_led, wlan_wps_led, usb_pwron,
59 + usb_device_led, usb_active ]
62 + enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7,
63 + gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio40 ]
69 +additionalProperties: false
74 + compatible = "brcm,bcm6318-pinctrl";
75 + reg = <0x18 0x10>, <0x54 0x18>;
77 + pinctrl_ephy0_spd_led: ephy0_spd_led-pins {
78 + function = "ephy0_spd_led";
82 + pinctrl_ephy1_spd_led: ephy1_spd_led-pins {
83 + function = "ephy1_spd_led";
87 + pinctrl_ephy2_spd_led: ephy2_spd_led-pins {
88 + function = "ephy2_spd_led";
92 + pinctrl_ephy3_spd_led: ephy3_spd_led-pins {
93 + function = "ephy3_spd_led";
97 + pinctrl_ephy0_act_led: ephy0_act_led-pins {
98 + function = "ephy0_act_led";
102 + pinctrl_ephy1_act_led: ephy1_act_led-pins {
103 + function = "ephy1_act_led";
107 + pinctrl_ephy2_act_led: ephy2_act_led-pins {
108 + function = "ephy2_act_led";
112 + pinctrl_ephy3_act_led: ephy3_act_led-pins {
113 + function = "ephy3_act_led";
117 + pinctrl_serial_led: serial_led-pins {
118 + pinctrl_serial_led_data: serial_led_data-pins {
119 + function = "serial_led_data";
123 + pinctrl_serial_led_clk: serial_led_clk-pins {
124 + function = "serial_led_clk";
129 + pinctrl_inet_act_led: inet_act_led-pins {
130 + function = "inet_act_led";
134 + pinctrl_inet_fail_led: inet_fail_led-pins {
135 + function = "inet_fail_led";
139 + pinctrl_dsl_led: dsl_led-pins {
140 + function = "dsl_led";
144 + pinctrl_post_fail_led: post_fail_led-pins {
145 + function = "post_fail_led";
149 + pinctrl_wlan_wps_led: wlan_wps_led-pins {
150 + function = "wlan_wps_led";
154 + pinctrl_usb_pwron: usb_pwron-pins {
155 + function = "usb_pwron";
159 + pinctrl_usb_device_led: usb_device_led-pins {
160 + function = "usb_device_led";
164 + pinctrl_usb_active: usb_active-pins {
165 + function = "usb_active";