~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/brcm,bcm6362-pinctrl.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/pinctrl/brcm,bcm6362-pinctrl.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Broadcom BCM6362 pin controller
  8 
  9 maintainers:
 10   - Álvaro Fernández Rojas <noltari@gmail.com>
 11   - Jonas Gorski <jonas.gorski@gmail.com>
 12 
 13 description:
 14   Bindings for Broadcom's BCM6362 memory-mapped pin controller.
 15 
 16 properties:
 17   compatible:
 18     const: brcm,bcm6362-pinctrl
 19 
 20   reg:
 21     maxItems: 2
 22 
 23 patternProperties:
 24   '-pins$':
 25     type: object
 26     $ref: pinmux-node.yaml#
 27     unevaluatedProperties: false
 28 
 29     properties:
 30       function:
 31         enum: [ usb_device_led, sys_irq, serial_led_clk, serial_led_data,
 32                 robosw_led_data, robosw_led_clk, robosw_led0, robosw_led1,
 33                 inet_led, spi_cs2, spi_cs3, ntr_pulse, uart1_scts,
 34                 uart1_srts, uart1_sdin, uart1_sdout, adsl_spi_miso,
 35                 adsl_spi_mosi, adsl_spi_clk, adsl_spi_cs, ephy0_led,
 36                 ephy1_led, ephy2_led, ephy3_led, ext_irq0, ext_irq1,
 37                 ext_irq2, ext_irq3, nand ]
 38 
 39       pins:
 40         enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7,
 41                 gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio14,
 42                 gpio15, gpio16, gpio17, gpio18, gpio19, gpio20, gpio21,
 43                 gpio22, gpio23, gpio24, gpio25, gpio26, gpio27, nand_grp ]
 44 
 45     patternProperties:
 46       '-pins$':
 47         $ref: '#/patternProperties/-pins$'
 48 
 49 allOf:
 50   - $ref: pinctrl.yaml#
 51 
 52 required:
 53   - compatible
 54   - reg
 55 
 56 additionalProperties: false
 57 
 58 examples:
 59   - |
 60     pinctrl@18 {
 61       compatible = "brcm,bcm6362-pinctrl";
 62       reg = <0x18 0x10>, <0x38 0x4>;
 63 
 64       pinctrl_usb_device_led: usb_device_led-pins {
 65         function = "usb_device_led";
 66         pins = "gpio0";
 67       };
 68 
 69       pinctrl_sys_irq: sys_irq-pins {
 70         function = "sys_irq";
 71         pins = "gpio1";
 72       };
 73 
 74       pinctrl_serial_led: serial_led-pins {
 75         pinctrl_serial_led_clk: serial_led_clk-pins {
 76           function = "serial_led_clk";
 77           pins = "gpio2";
 78         };
 79 
 80         pinctrl_serial_led_data: serial_led_data-pins {
 81           function = "serial_led_data";
 82           pins = "gpio3";
 83         };
 84       };
 85 
 86       pinctrl_robosw_led_data: robosw_led_data-pins {
 87         function = "robosw_led_data";
 88         pins = "gpio4";
 89       };
 90 
 91       pinctrl_robosw_led_clk: robosw_led_clk-pins {
 92         function = "robosw_led_clk";
 93         pins = "gpio5";
 94       };
 95 
 96       pinctrl_robosw_led0: robosw_led0-pins {
 97         function = "robosw_led0";
 98         pins = "gpio6";
 99       };
100 
101       pinctrl_robosw_led1: robosw_led1-pins {
102         function = "robosw_led1";
103         pins = "gpio7";
104       };
105 
106       pinctrl_inet_led: inet_led-pins {
107         function = "inet_led";
108         pins = "gpio8";
109       };
110 
111       pinctrl_spi_cs2: spi_cs2-pins {
112         function = "spi_cs2";
113         pins = "gpio9";
114       };
115 
116       pinctrl_spi_cs3: spi_cs3-pins {
117         function = "spi_cs3";
118         pins = "gpio10";
119       };
120 
121       pinctrl_ntr_pulse: ntr_pulse-pins {
122         function = "ntr_pulse";
123         pins = "gpio11";
124       };
125 
126       pinctrl_uart1_scts: uart1_scts-pins {
127         function = "uart1_scts";
128         pins = "gpio12";
129       };
130 
131       pinctrl_uart1_srts: uart1_srts-pins {
132         function = "uart1_srts";
133         pins = "gpio13";
134       };
135 
136       pinctrl_uart1: uart1-pins {
137         pinctrl_uart1_sdin: uart1_sdin-pins {
138           function = "uart1_sdin";
139           pins = "gpio14";
140         };
141 
142         pinctrl_uart1_sdout: uart1_sdout-pins {
143           function = "uart1_sdout";
144           pins = "gpio15";
145         };
146       };
147 
148       pinctrl_adsl_spi: adsl_spi-pins {
149         pinctrl_adsl_spi_miso: adsl_spi_miso-pins {
150           function = "adsl_spi_miso";
151           pins = "gpio16";
152         };
153 
154         pinctrl_adsl_spi_mosi: adsl_spi_mosi-pins {
155           function = "adsl_spi_mosi";
156           pins = "gpio17";
157         };
158 
159         pinctrl_adsl_spi_clk: adsl_spi_clk-pins {
160           function = "adsl_spi_clk";
161           pins = "gpio18";
162         };
163 
164         pinctrl_adsl_spi_cs: adsl_spi_cs-pins {
165           function = "adsl_spi_cs";
166           pins = "gpio19";
167         };
168       };
169 
170       pinctrl_ephy0_led: ephy0_led-pins {
171         function = "ephy0_led";
172         pins = "gpio20";
173       };
174 
175       pinctrl_ephy1_led: ephy1_led-pins {
176         function = "ephy1_led";
177         pins = "gpio21";
178       };
179 
180       pinctrl_ephy2_led: ephy2_led-pins {
181         function = "ephy2_led";
182         pins = "gpio22";
183       };
184 
185       pinctrl_ephy3_led: ephy3_led-pins {
186         function = "ephy3_led";
187         pins = "gpio23";
188       };
189 
190       pinctrl_ext_irq0: ext_irq0-pins {
191         function = "ext_irq0";
192         pins = "gpio24";
193       };
194 
195       pinctrl_ext_irq1: ext_irq1-pins {
196         function = "ext_irq1";
197         pins = "gpio25";
198       };
199 
200       pinctrl_ext_irq2: ext_irq2-pins {
201         function = "ext_irq2";
202         pins = "gpio26";
203       };
204 
205       pinctrl_ext_irq3: ext_irq3-pins {
206         function = "ext_irq3";
207         pins = "gpio27";
208       };
209 
210       pinctrl_nand: nand-pins {
211         function = "nand";
212         pins = "nand_grp";
213       };
214     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php