1 From 9fbf8303796c89ecab026eb3dbadae7f98c49922 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:15 +0100
4 Subject: [PATCH 14/22] dt-bindings: add BCM6368 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 BCM6368 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-15-noltari@gmail.com
17 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
19 .../pinctrl/brcm,bcm6368-pinctrl.yaml | 217 ++++++++++++++++++
20 1 file changed, 217 insertions(+)
21 create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml
24 +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml
26 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
29 +$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6368-pinctrl.yaml#
30 +$schema: http://devicetree.org/meta-schemas/core.yaml#
32 +title: Broadcom BCM6368 pin controller
35 + - Álvaro Fernández Rojas <noltari@gmail.com>
36 + - Jonas Gorski <jonas.gorski@gmail.com>
39 + Bindings for Broadcom's BCM6368 memory-mapped pin controller.
43 + const: brcm,bcm6368-pinctrl
51 + $ref: pinmux-node.yaml#
55 + enum: [ analog_afe_0, analog_afe_1, sys_irq, serial_led_data,
56 + serial_led_clk, inet_led, ephy0_led, ephy1_led, ephy2_led,
57 + ephy3_led, robosw_led_data, robosw_led_clk, robosw_led0,
58 + robosw_led1, usb_device_led, pci_req1, pci_gnt1, pci_intb,
59 + pci_req0, pci_gnt0, pcmcia_cd1, pcmcia_cd2, pcmcia_vs1,
60 + pcmcia_vs2, ebi_cs2, ebi_cs3, spi_cs2, spi_cs3, spi_cs4,
64 + enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7,
65 + gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio14,
66 + gpio16, gpio17, gpio18, gpio19, gpio20, gpio22, gpio23,
67 + gpio24, gpio25, gpio26, gpio27, gpio28, gpio29, gpio30,
74 +additionalProperties: false
79 + compatible = "brcm,bcm6368-pinctrl";
80 + reg = <0x18 0x4>, <0x38 0x4>;
82 + pinctrl_analog_afe_0: analog_afe_0-pins {
83 + function = "analog_afe_0";
87 + pinctrl_analog_afe_1: analog_afe_1-pins {
88 + function = "analog_afe_1";
92 + pinctrl_sys_irq: sys_irq-pins {
93 + function = "sys_irq";
97 + pinctrl_serial_led: serial_led-pins {
98 + pinctrl_serial_led_data: serial_led_data-pins {
99 + function = "serial_led_data";
103 + pinctrl_serial_led_clk: serial_led_clk-pins {
104 + function = "serial_led_clk";
109 + pinctrl_inet_led: inet_led-pins {
110 + function = "inet_led";
114 + pinctrl_ephy0_led: ephy0_led-pins {
115 + function = "ephy0_led";
119 + pinctrl_ephy1_led: ephy1_led-pins {
120 + function = "ephy1_led";
124 + pinctrl_ephy2_led: ephy2_led-pins {
125 + function = "ephy2_led";
129 + pinctrl_ephy3_led: ephy3_led-pins {
130 + function = "ephy3_led";
134 + pinctrl_robosw_led_data: robosw_led_data-pins {
135 + function = "robosw_led_data";
139 + pinctrl_robosw_led_clk: robosw_led_clk-pins {
140 + function = "robosw_led_clk";
144 + pinctrl_robosw_led0: robosw_led0-pins {
145 + function = "robosw_led0";
149 + pinctrl_robosw_led1: robosw_led1-pins {
150 + function = "robosw_led1";
154 + pinctrl_usb_device_led: usb_device_led-pins {
155 + function = "usb_device_led";
159 + pinctrl_pci: pci-pins {
160 + pinctrl_pci_req1: pci_req1-pins {
161 + function = "pci_req1";
165 + pinctrl_pci_gnt1: pci_gnt1-pins {
166 + function = "pci_gnt1";
170 + pinctrl_pci_intb: pci_intb-pins {
171 + function = "pci_intb";
175 + pinctrl_pci_req0: pci_req0-pins {
176 + function = "pci_req0";
180 + pinctrl_pci_gnt0: pci_gnt0-pins {
181 + function = "pci_gnt0";
186 + pinctrl_pcmcia: pcmcia-pins {
187 + pinctrl_pcmcia_cd1: pcmcia_cd1-pins {
188 + function = "pcmcia_cd1";
192 + pinctrl_pcmcia_cd2: pcmcia_cd2-pins {
193 + function = "pcmcia_cd2";
197 + pinctrl_pcmcia_vs1: pcmcia_vs1-pins {
198 + function = "pcmcia_vs1";
202 + pinctrl_pcmcia_vs2: pcmcia_vs2-pins {
203 + function = "pcmcia_vs2";
208 + pinctrl_ebi_cs2: ebi_cs2-pins {
209 + function = "ebi_cs2";
213 + pinctrl_ebi_cs3: ebi_cs3-pins {
214 + function = "ebi_cs3";
218 + pinctrl_spi_cs2: spi_cs2-pins {
219 + function = "spi_cs2";
223 + pinctrl_spi_cs3: spi_cs3-pins {
224 + function = "spi_cs3";
228 + pinctrl_spi_cs4: spi_cs4-pins {
229 + function = "spi_cs4";
233 + pinctrl_spi_cs5: spi_cs5-pins {
234 + function = "spi_cs5";
238 + pinctrl_uart1: uart1-pins {
239 + function = "uart1";
240 + group = "uart1_grp";