xref: /openbmc/linux/Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
19fbf8303SÁlvaro Fernández Rojas# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
29fbf8303SÁlvaro Fernández Rojas%YAML 1.2
39fbf8303SÁlvaro Fernández Rojas---
49fbf8303SÁlvaro Fernández Rojas$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6368-pinctrl.yaml#
59fbf8303SÁlvaro Fernández Rojas$schema: http://devicetree.org/meta-schemas/core.yaml#
69fbf8303SÁlvaro Fernández Rojas
79fbf8303SÁlvaro Fernández Rojastitle: Broadcom BCM6368 pin controller
89fbf8303SÁlvaro Fernández Rojas
99fbf8303SÁlvaro Fernández Rojasmaintainers:
109fbf8303SÁlvaro Fernández Rojas  - Álvaro Fernández Rojas <noltari@gmail.com>
119fbf8303SÁlvaro Fernández Rojas  - Jonas Gorski <jonas.gorski@gmail.com>
129fbf8303SÁlvaro Fernández Rojas
139fbf8303SÁlvaro Fernández Rojasdescription:
149fbf8303SÁlvaro Fernández Rojas  Bindings for Broadcom's BCM6368 memory-mapped pin controller.
159fbf8303SÁlvaro Fernández Rojas
169fbf8303SÁlvaro Fernández Rojasproperties:
179fbf8303SÁlvaro Fernández Rojas  compatible:
189fbf8303SÁlvaro Fernández Rojas    const: brcm,bcm6368-pinctrl
199fbf8303SÁlvaro Fernández Rojas
209fbf8303SÁlvaro Fernández Rojas  reg:
219fbf8303SÁlvaro Fernández Rojas    maxItems: 2
229fbf8303SÁlvaro Fernández Rojas
239fbf8303SÁlvaro Fernández RojaspatternProperties:
249fbf8303SÁlvaro Fernández Rojas  '-pins$':
259fbf8303SÁlvaro Fernández Rojas    type: object
269fbf8303SÁlvaro Fernández Rojas    $ref: pinmux-node.yaml#
279fbf8303SÁlvaro Fernández Rojas
289fbf8303SÁlvaro Fernández Rojas    properties:
299fbf8303SÁlvaro Fernández Rojas      function:
309fbf8303SÁlvaro Fernández Rojas        enum: [ analog_afe_0, analog_afe_1, sys_irq, serial_led_data,
319fbf8303SÁlvaro Fernández Rojas                serial_led_clk, inet_led, ephy0_led, ephy1_led, ephy2_led,
329fbf8303SÁlvaro Fernández Rojas                ephy3_led, robosw_led_data, robosw_led_clk, robosw_led0,
339fbf8303SÁlvaro Fernández Rojas                robosw_led1, usb_device_led, pci_req1, pci_gnt1, pci_intb,
349fbf8303SÁlvaro Fernández Rojas                pci_req0, pci_gnt0, pcmcia_cd1, pcmcia_cd2, pcmcia_vs1,
359fbf8303SÁlvaro Fernández Rojas                pcmcia_vs2, ebi_cs2, ebi_cs3, spi_cs2, spi_cs3, spi_cs4,
369fbf8303SÁlvaro Fernández Rojas                spi_cs5, uart1 ]
379fbf8303SÁlvaro Fernández Rojas
389fbf8303SÁlvaro Fernández Rojas      pins:
399fbf8303SÁlvaro Fernández Rojas        enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7,
409fbf8303SÁlvaro Fernández Rojas                gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio14,
419fbf8303SÁlvaro Fernández Rojas                gpio16, gpio17, gpio18, gpio19, gpio20, gpio22, gpio23,
429fbf8303SÁlvaro Fernández Rojas                gpio24, gpio25, gpio26, gpio27, gpio28, gpio29, gpio30,
439fbf8303SÁlvaro Fernández Rojas                gpio31, uart1_grp ]
449fbf8303SÁlvaro Fernández Rojas
45c09acbc4SRafał MiłeckiallOf:
46*49cd1dd1SRob Herring  - $ref: pinctrl.yaml#
47c09acbc4SRafał Miłecki
489fbf8303SÁlvaro Fernández Rojasrequired:
499fbf8303SÁlvaro Fernández Rojas  - compatible
509fbf8303SÁlvaro Fernández Rojas  - reg
519fbf8303SÁlvaro Fernández Rojas
529fbf8303SÁlvaro Fernández RojasadditionalProperties: false
539fbf8303SÁlvaro Fernández Rojas
549fbf8303SÁlvaro Fernández Rojasexamples:
559fbf8303SÁlvaro Fernández Rojas  - |
569fbf8303SÁlvaro Fernández Rojas    pinctrl@18 {
579fbf8303SÁlvaro Fernández Rojas      compatible = "brcm,bcm6368-pinctrl";
589fbf8303SÁlvaro Fernández Rojas      reg = <0x18 0x4>, <0x38 0x4>;
599fbf8303SÁlvaro Fernández Rojas
609fbf8303SÁlvaro Fernández Rojas      pinctrl_analog_afe_0: analog_afe_0-pins {
619fbf8303SÁlvaro Fernández Rojas        function = "analog_afe_0";
629fbf8303SÁlvaro Fernández Rojas        pins = "gpio0";
639fbf8303SÁlvaro Fernández Rojas      };
649fbf8303SÁlvaro Fernández Rojas
659fbf8303SÁlvaro Fernández Rojas      pinctrl_analog_afe_1: analog_afe_1-pins {
669fbf8303SÁlvaro Fernández Rojas        function = "analog_afe_1";
679fbf8303SÁlvaro Fernández Rojas        pins = "gpio1";
689fbf8303SÁlvaro Fernández Rojas      };
699fbf8303SÁlvaro Fernández Rojas
709fbf8303SÁlvaro Fernández Rojas      pinctrl_sys_irq: sys_irq-pins {
719fbf8303SÁlvaro Fernández Rojas        function = "sys_irq";
729fbf8303SÁlvaro Fernández Rojas        pins = "gpio2";
739fbf8303SÁlvaro Fernández Rojas      };
749fbf8303SÁlvaro Fernández Rojas
759fbf8303SÁlvaro Fernández Rojas      pinctrl_serial_led: serial_led-pins {
769fbf8303SÁlvaro Fernández Rojas        pinctrl_serial_led_data: serial_led_data-pins {
779fbf8303SÁlvaro Fernández Rojas          function = "serial_led_data";
789fbf8303SÁlvaro Fernández Rojas          pins = "gpio3";
799fbf8303SÁlvaro Fernández Rojas        };
809fbf8303SÁlvaro Fernández Rojas
819fbf8303SÁlvaro Fernández Rojas        pinctrl_serial_led_clk: serial_led_clk-pins {
829fbf8303SÁlvaro Fernández Rojas          function = "serial_led_clk";
839fbf8303SÁlvaro Fernández Rojas          pins = "gpio4";
849fbf8303SÁlvaro Fernández Rojas        };
859fbf8303SÁlvaro Fernández Rojas      };
869fbf8303SÁlvaro Fernández Rojas
879fbf8303SÁlvaro Fernández Rojas      pinctrl_inet_led: inet_led-pins {
889fbf8303SÁlvaro Fernández Rojas        function = "inet_led";
899fbf8303SÁlvaro Fernández Rojas        pins = "gpio5";
909fbf8303SÁlvaro Fernández Rojas      };
919fbf8303SÁlvaro Fernández Rojas
929fbf8303SÁlvaro Fernández Rojas      pinctrl_ephy0_led: ephy0_led-pins {
939fbf8303SÁlvaro Fernández Rojas        function = "ephy0_led";
949fbf8303SÁlvaro Fernández Rojas        pins = "gpio6";
959fbf8303SÁlvaro Fernández Rojas      };
969fbf8303SÁlvaro Fernández Rojas
979fbf8303SÁlvaro Fernández Rojas      pinctrl_ephy1_led: ephy1_led-pins {
989fbf8303SÁlvaro Fernández Rojas        function = "ephy1_led";
999fbf8303SÁlvaro Fernández Rojas        pins = "gpio7";
1009fbf8303SÁlvaro Fernández Rojas      };
1019fbf8303SÁlvaro Fernández Rojas
1029fbf8303SÁlvaro Fernández Rojas      pinctrl_ephy2_led: ephy2_led-pins {
1039fbf8303SÁlvaro Fernández Rojas        function = "ephy2_led";
1049fbf8303SÁlvaro Fernández Rojas        pins = "gpio8";
1059fbf8303SÁlvaro Fernández Rojas      };
1069fbf8303SÁlvaro Fernández Rojas
1079fbf8303SÁlvaro Fernández Rojas      pinctrl_ephy3_led: ephy3_led-pins {
1089fbf8303SÁlvaro Fernández Rojas        function = "ephy3_led";
1099fbf8303SÁlvaro Fernández Rojas        pins = "gpio9";
1109fbf8303SÁlvaro Fernández Rojas      };
1119fbf8303SÁlvaro Fernández Rojas
1129fbf8303SÁlvaro Fernández Rojas      pinctrl_robosw_led_data: robosw_led_data-pins {
1139fbf8303SÁlvaro Fernández Rojas        function = "robosw_led_data";
1149fbf8303SÁlvaro Fernández Rojas        pins = "gpio10";
1159fbf8303SÁlvaro Fernández Rojas      };
1169fbf8303SÁlvaro Fernández Rojas
1179fbf8303SÁlvaro Fernández Rojas      pinctrl_robosw_led_clk: robosw_led_clk-pins {
1189fbf8303SÁlvaro Fernández Rojas        function = "robosw_led_clk";
1199fbf8303SÁlvaro Fernández Rojas        pins = "gpio11";
1209fbf8303SÁlvaro Fernández Rojas      };
1219fbf8303SÁlvaro Fernández Rojas
1229fbf8303SÁlvaro Fernández Rojas      pinctrl_robosw_led0: robosw_led0-pins {
1239fbf8303SÁlvaro Fernández Rojas        function = "robosw_led0";
1249fbf8303SÁlvaro Fernández Rojas        pins = "gpio12";
1259fbf8303SÁlvaro Fernández Rojas      };
1269fbf8303SÁlvaro Fernández Rojas
1279fbf8303SÁlvaro Fernández Rojas      pinctrl_robosw_led1: robosw_led1-pins {
1289fbf8303SÁlvaro Fernández Rojas        function = "robosw_led1";
1299fbf8303SÁlvaro Fernández Rojas        pins = "gpio13";
1309fbf8303SÁlvaro Fernández Rojas      };
1319fbf8303SÁlvaro Fernández Rojas
1329fbf8303SÁlvaro Fernández Rojas      pinctrl_usb_device_led: usb_device_led-pins {
1339fbf8303SÁlvaro Fernández Rojas        function = "usb_device_led";
1349fbf8303SÁlvaro Fernández Rojas        pins = "gpio14";
1359fbf8303SÁlvaro Fernández Rojas      };
1369fbf8303SÁlvaro Fernández Rojas
1379fbf8303SÁlvaro Fernández Rojas      pinctrl_pci: pci-pins {
1389fbf8303SÁlvaro Fernández Rojas        pinctrl_pci_req1: pci_req1-pins {
1399fbf8303SÁlvaro Fernández Rojas          function = "pci_req1";
1409fbf8303SÁlvaro Fernández Rojas          pins = "gpio16";
1419fbf8303SÁlvaro Fernández Rojas        };
1429fbf8303SÁlvaro Fernández Rojas
1439fbf8303SÁlvaro Fernández Rojas        pinctrl_pci_gnt1: pci_gnt1-pins {
1449fbf8303SÁlvaro Fernández Rojas          function = "pci_gnt1";
1459fbf8303SÁlvaro Fernández Rojas          pins = "gpio17";
1469fbf8303SÁlvaro Fernández Rojas        };
1479fbf8303SÁlvaro Fernández Rojas
1489fbf8303SÁlvaro Fernández Rojas        pinctrl_pci_intb: pci_intb-pins {
1499fbf8303SÁlvaro Fernández Rojas          function = "pci_intb";
1509fbf8303SÁlvaro Fernández Rojas          pins = "gpio18";
1519fbf8303SÁlvaro Fernández Rojas        };
1529fbf8303SÁlvaro Fernández Rojas
1539fbf8303SÁlvaro Fernández Rojas        pinctrl_pci_req0: pci_req0-pins {
1549fbf8303SÁlvaro Fernández Rojas          function = "pci_req0";
1559fbf8303SÁlvaro Fernández Rojas          pins = "gpio19";
1569fbf8303SÁlvaro Fernández Rojas        };
1579fbf8303SÁlvaro Fernández Rojas
1589fbf8303SÁlvaro Fernández Rojas        pinctrl_pci_gnt0: pci_gnt0-pins {
1599fbf8303SÁlvaro Fernández Rojas          function = "pci_gnt0";
1609fbf8303SÁlvaro Fernández Rojas          pins = "gpio20";
1619fbf8303SÁlvaro Fernández Rojas        };
1629fbf8303SÁlvaro Fernández Rojas      };
1639fbf8303SÁlvaro Fernández Rojas
1649fbf8303SÁlvaro Fernández Rojas      pinctrl_pcmcia: pcmcia-pins {
1659fbf8303SÁlvaro Fernández Rojas        pinctrl_pcmcia_cd1: pcmcia_cd1-pins {
1669fbf8303SÁlvaro Fernández Rojas          function = "pcmcia_cd1";
1679fbf8303SÁlvaro Fernández Rojas          pins = "gpio22";
1689fbf8303SÁlvaro Fernández Rojas        };
1699fbf8303SÁlvaro Fernández Rojas
1709fbf8303SÁlvaro Fernández Rojas        pinctrl_pcmcia_cd2: pcmcia_cd2-pins {
1719fbf8303SÁlvaro Fernández Rojas          function = "pcmcia_cd2";
1729fbf8303SÁlvaro Fernández Rojas          pins = "gpio23";
1739fbf8303SÁlvaro Fernández Rojas        };
1749fbf8303SÁlvaro Fernández Rojas
1759fbf8303SÁlvaro Fernández Rojas        pinctrl_pcmcia_vs1: pcmcia_vs1-pins {
1769fbf8303SÁlvaro Fernández Rojas          function = "pcmcia_vs1";
1779fbf8303SÁlvaro Fernández Rojas          pins = "gpio24";
1789fbf8303SÁlvaro Fernández Rojas        };
1799fbf8303SÁlvaro Fernández Rojas
1809fbf8303SÁlvaro Fernández Rojas        pinctrl_pcmcia_vs2: pcmcia_vs2-pins {
1819fbf8303SÁlvaro Fernández Rojas          function = "pcmcia_vs2";
1829fbf8303SÁlvaro Fernández Rojas          pins = "gpio25";
1839fbf8303SÁlvaro Fernández Rojas        };
1849fbf8303SÁlvaro Fernández Rojas      };
1859fbf8303SÁlvaro Fernández Rojas
1869fbf8303SÁlvaro Fernández Rojas      pinctrl_ebi_cs2: ebi_cs2-pins {
1879fbf8303SÁlvaro Fernández Rojas        function = "ebi_cs2";
1889fbf8303SÁlvaro Fernández Rojas        pins = "gpio26";
1899fbf8303SÁlvaro Fernández Rojas      };
1909fbf8303SÁlvaro Fernández Rojas
1919fbf8303SÁlvaro Fernández Rojas      pinctrl_ebi_cs3: ebi_cs3-pins {
1929fbf8303SÁlvaro Fernández Rojas        function = "ebi_cs3";
1939fbf8303SÁlvaro Fernández Rojas        pins = "gpio27";
1949fbf8303SÁlvaro Fernández Rojas      };
1959fbf8303SÁlvaro Fernández Rojas
1969fbf8303SÁlvaro Fernández Rojas      pinctrl_spi_cs2: spi_cs2-pins {
1979fbf8303SÁlvaro Fernández Rojas        function = "spi_cs2";
1989fbf8303SÁlvaro Fernández Rojas        pins = "gpio28";
1999fbf8303SÁlvaro Fernández Rojas      };
2009fbf8303SÁlvaro Fernández Rojas
2019fbf8303SÁlvaro Fernández Rojas      pinctrl_spi_cs3: spi_cs3-pins {
2029fbf8303SÁlvaro Fernández Rojas        function = "spi_cs3";
2039fbf8303SÁlvaro Fernández Rojas        pins = "gpio29";
2049fbf8303SÁlvaro Fernández Rojas      };
2059fbf8303SÁlvaro Fernández Rojas
2069fbf8303SÁlvaro Fernández Rojas      pinctrl_spi_cs4: spi_cs4-pins {
2079fbf8303SÁlvaro Fernández Rojas        function = "spi_cs4";
2089fbf8303SÁlvaro Fernández Rojas        pins = "gpio30";
2099fbf8303SÁlvaro Fernández Rojas      };
2109fbf8303SÁlvaro Fernández Rojas
2119fbf8303SÁlvaro Fernández Rojas      pinctrl_spi_cs5: spi_cs5-pins {
2129fbf8303SÁlvaro Fernández Rojas        function = "spi_cs5";
2139fbf8303SÁlvaro Fernández Rojas        pins = "gpio31";
2149fbf8303SÁlvaro Fernández Rojas      };
2159fbf8303SÁlvaro Fernández Rojas
2169fbf8303SÁlvaro Fernández Rojas      pinctrl_uart1: uart1-pins {
2179fbf8303SÁlvaro Fernández Rojas        function = "uart1";
2189fbf8303SÁlvaro Fernández Rojas        group = "uart1_grp";
2199fbf8303SÁlvaro Fernández Rojas      };
2209fbf8303SÁlvaro Fernández Rojas    };
221