1 From 12f1d5123ee405266596eaea238d9810e0628d18 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Wed, 27 Jul 2016 11:36:51 +0200
4 Subject: [PATCH 07/12] Documentation: 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 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
13 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
15 .../pinctrl/brcm,bcm6368-pinctrl.yaml | 255 ++++++++++++++++++
16 1 file changed, 255 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml
20 +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml
22 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25 +$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6368-pinctrl.yaml#
26 +$schema: http://devicetree.org/meta-schemas/core.yaml#
28 +title: Broadcom BCM6368 pin controller
31 + - Álvaro Fernández Rojas <noltari@gmail.com>
32 + - Jonas Gorski <jonas.gorski@gmail.com>
35 + The pin controller node should be the child of a syscon node.
37 + Refer to the the bindings described in
38 + Documentation/devicetree/bindings/mfd/syscon.yaml
42 + const: brcm,bcm6368-pinctrl
44 + gpio-controller: true
48 + Specifies the pin number and flags, as defined in
49 + include/dt-bindings/gpio/gpio.h
52 + interrupts-extended:
54 + One interrupt per each of the 6 GPIO ports supported by the controller,
55 + sorted by port number ascending order.
66 + $ref: "/schemas/types.yaml#/definitions/string"
67 + enum: [ analog_afe_0, analog_afe_1, sys_irq, serial_led_data,
68 + serial_led_clk, inet_led, ephy0_led, ephy1_led, ephy2_led,
69 + ephy3_led, robosw_led_data, robosw_led_clk, robosw_led0,
70 + robosw_led1, usb_device_led, pci_req1, pci_gnt1, pci_intb,
71 + pci_req0, pci_gnt0, pcmcia_cd1, pcmcia_cd2, pcmcia_vs1,
72 + pcmcia_vs2, ebi_cs2, ebi_cs3, spi_cs2, spi_cs3, spi_cs4,
76 + $ref: "/schemas/types.yaml#/definitions/string"
77 + enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7,
78 + gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio14,
79 + gpio16, gpio17, gpio18, gpio19, gpio20, gpio22, gpio23,
80 + gpio24, gpio25, gpio26, gpio27, gpio28, gpio29, gpio30,
88 +additionalProperties: false
93 + compatible = "syscon", "simple-mfd";
94 + reg = <0x10000080 0x80>;
97 + compatible = "brcm,bcm6368-pinctrl";
102 + interrupts-extended = <&ext_intc1 0 0>,
108 + interrupt-names = "gpio32",
115 + pinctrl_analog_afe_0: analog_afe_0 {
116 + function = "analog_afe_0";
120 + pinctrl_analog_afe_1: analog_afe_1 {
121 + function = "analog_afe_1";
125 + pinctrl_sys_irq: sys_irq {
126 + function = "sys_irq";
130 + pinctrl_serial_led: serial_led {
131 + pinctrl_serial_led_data: serial_led_data {
132 + function = "serial_led_data";
136 + pinctrl_serial_led_clk: serial_led_clk {
137 + function = "serial_led_clk";
142 + pinctrl_inet_led: inet_led {
143 + function = "inet_led";
147 + pinctrl_ephy0_led: ephy0_led {
148 + function = "ephy0_led";
152 + pinctrl_ephy1_led: ephy1_led {
153 + function = "ephy1_led";
157 + pinctrl_ephy2_led: ephy2_led {
158 + function = "ephy2_led";
162 + pinctrl_ephy3_led: ephy3_led {
163 + function = "ephy3_led";
167 + pinctrl_robosw_led_data: robosw_led_data {
168 + function = "robosw_led_data";
172 + pinctrl_robosw_led_clk: robosw_led_clk {
173 + function = "robosw_led_clk";
177 + pinctrl_robosw_led0: robosw_led0 {
178 + function = "robosw_led0";
182 + pinctrl_robosw_led1: robosw_led1 {
183 + function = "robosw_led1";
187 + pinctrl_usb_device_led: usb_device_led {
188 + function = "usb_device_led";
193 + pinctrl_pci_req1: pci_req1 {
194 + function = "pci_req1";
198 + pinctrl_pci_gnt1: pci_gnt1 {
199 + function = "pci_gnt1";
203 + pinctrl_pci_intb: pci_intb {
204 + function = "pci_intb";
208 + pinctrl_pci_req0: pci_req0 {
209 + function = "pci_req0";
213 + pinctrl_pci_gnt0: pci_gnt0 {
214 + function = "pci_gnt0";
219 + pinctrl_pcmcia: pcmcia {
220 + pinctrl_pcmcia_cd1: pcmcia_cd1 {
221 + function = "pcmcia_cd1";
225 + pinctrl_pcmcia_cd2: pcmcia_cd2 {
226 + function = "pcmcia_cd2";
230 + pinctrl_pcmcia_vs1: pcmcia_vs1 {
231 + function = "pcmcia_vs1";
235 + pinctrl_pcmcia_vs2: pcmcia_vs2 {
236 + function = "pcmcia_vs2";
241 + pinctrl_ebi_cs2: ebi_cs2 {
242 + function = "ebi_cs2";
246 + pinctrl_ebi_cs3: ebi_cs3 {
247 + function = "ebi_cs3";
251 + pinctrl_spi_cs2: spi_cs2 {
252 + function = "spi_cs2";
256 + pinctrl_spi_cs3: spi_cs3 {
257 + function = "spi_cs3";
261 + pinctrl_spi_cs4: spi_cs4 {
262 + function = "spi_cs4";
266 + pinctrl_spi_cs5: spi_cs5 {
267 + function = "spi_cs5";
271 + pinctrl_uart1: uart1 {
272 + function = "uart1";
273 + group = "uart1_grp";