xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/brcm,bcm6368-pinctrl.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
22eb4d8dcSEmmanuel Vadot%YAML 1.2
32eb4d8dcSEmmanuel Vadot---
42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6368-pinctrl.yaml#
52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
62eb4d8dcSEmmanuel Vadot
72eb4d8dcSEmmanuel Vadottitle: Broadcom BCM6368 pin controller
82eb4d8dcSEmmanuel Vadot
92eb4d8dcSEmmanuel Vadotmaintainers:
102eb4d8dcSEmmanuel Vadot  - Álvaro Fernández Rojas <noltari@gmail.com>
112eb4d8dcSEmmanuel Vadot  - Jonas Gorski <jonas.gorski@gmail.com>
122eb4d8dcSEmmanuel Vadot
132eb4d8dcSEmmanuel Vadotdescription:
142eb4d8dcSEmmanuel Vadot  Bindings for Broadcom's BCM6368 memory-mapped pin controller.
152eb4d8dcSEmmanuel Vadot
162eb4d8dcSEmmanuel Vadotproperties:
172eb4d8dcSEmmanuel Vadot  compatible:
182eb4d8dcSEmmanuel Vadot    const: brcm,bcm6368-pinctrl
192eb4d8dcSEmmanuel Vadot
202eb4d8dcSEmmanuel Vadot  reg:
212eb4d8dcSEmmanuel Vadot    maxItems: 2
222eb4d8dcSEmmanuel Vadot
232eb4d8dcSEmmanuel VadotpatternProperties:
242eb4d8dcSEmmanuel Vadot  '-pins$':
252eb4d8dcSEmmanuel Vadot    type: object
262eb4d8dcSEmmanuel Vadot    $ref: pinmux-node.yaml#
27*84943d6fSEmmanuel Vadot    unevaluatedProperties: false
282eb4d8dcSEmmanuel Vadot
292eb4d8dcSEmmanuel Vadot    properties:
302eb4d8dcSEmmanuel Vadot      function:
312eb4d8dcSEmmanuel Vadot        enum: [ analog_afe_0, analog_afe_1, sys_irq, serial_led_data,
322eb4d8dcSEmmanuel Vadot                serial_led_clk, inet_led, ephy0_led, ephy1_led, ephy2_led,
332eb4d8dcSEmmanuel Vadot                ephy3_led, robosw_led_data, robosw_led_clk, robosw_led0,
342eb4d8dcSEmmanuel Vadot                robosw_led1, usb_device_led, pci_req1, pci_gnt1, pci_intb,
352eb4d8dcSEmmanuel Vadot                pci_req0, pci_gnt0, pcmcia_cd1, pcmcia_cd2, pcmcia_vs1,
362eb4d8dcSEmmanuel Vadot                pcmcia_vs2, ebi_cs2, ebi_cs3, spi_cs2, spi_cs3, spi_cs4,
372eb4d8dcSEmmanuel Vadot                spi_cs5, uart1 ]
382eb4d8dcSEmmanuel Vadot
392eb4d8dcSEmmanuel Vadot      pins:
402eb4d8dcSEmmanuel Vadot        enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7,
412eb4d8dcSEmmanuel Vadot                gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio14,
422eb4d8dcSEmmanuel Vadot                gpio16, gpio17, gpio18, gpio19, gpio20, gpio22, gpio23,
432eb4d8dcSEmmanuel Vadot                gpio24, gpio25, gpio26, gpio27, gpio28, gpio29, gpio30,
442eb4d8dcSEmmanuel Vadot                gpio31, uart1_grp ]
452eb4d8dcSEmmanuel Vadot
46*84943d6fSEmmanuel Vadot    patternProperties:
47*84943d6fSEmmanuel Vadot      '-pins$':
48*84943d6fSEmmanuel Vadot        $ref: '#/patternProperties/-pins$'
49*84943d6fSEmmanuel Vadot
50e67e8565SEmmanuel VadotallOf:
51fac71e4eSEmmanuel Vadot  - $ref: pinctrl.yaml#
52e67e8565SEmmanuel Vadot
532eb4d8dcSEmmanuel Vadotrequired:
542eb4d8dcSEmmanuel Vadot  - compatible
552eb4d8dcSEmmanuel Vadot  - reg
562eb4d8dcSEmmanuel Vadot
572eb4d8dcSEmmanuel VadotadditionalProperties: false
582eb4d8dcSEmmanuel Vadot
592eb4d8dcSEmmanuel Vadotexamples:
602eb4d8dcSEmmanuel Vadot  - |
612eb4d8dcSEmmanuel Vadot    pinctrl@18 {
622eb4d8dcSEmmanuel Vadot      compatible = "brcm,bcm6368-pinctrl";
632eb4d8dcSEmmanuel Vadot      reg = <0x18 0x4>, <0x38 0x4>;
642eb4d8dcSEmmanuel Vadot
652eb4d8dcSEmmanuel Vadot      pinctrl_analog_afe_0: analog_afe_0-pins {
662eb4d8dcSEmmanuel Vadot        function = "analog_afe_0";
672eb4d8dcSEmmanuel Vadot        pins = "gpio0";
682eb4d8dcSEmmanuel Vadot      };
692eb4d8dcSEmmanuel Vadot
702eb4d8dcSEmmanuel Vadot      pinctrl_analog_afe_1: analog_afe_1-pins {
712eb4d8dcSEmmanuel Vadot        function = "analog_afe_1";
722eb4d8dcSEmmanuel Vadot        pins = "gpio1";
732eb4d8dcSEmmanuel Vadot      };
742eb4d8dcSEmmanuel Vadot
752eb4d8dcSEmmanuel Vadot      pinctrl_sys_irq: sys_irq-pins {
762eb4d8dcSEmmanuel Vadot        function = "sys_irq";
772eb4d8dcSEmmanuel Vadot        pins = "gpio2";
782eb4d8dcSEmmanuel Vadot      };
792eb4d8dcSEmmanuel Vadot
802eb4d8dcSEmmanuel Vadot      pinctrl_serial_led: serial_led-pins {
812eb4d8dcSEmmanuel Vadot        pinctrl_serial_led_data: serial_led_data-pins {
822eb4d8dcSEmmanuel Vadot          function = "serial_led_data";
832eb4d8dcSEmmanuel Vadot          pins = "gpio3";
842eb4d8dcSEmmanuel Vadot        };
852eb4d8dcSEmmanuel Vadot
862eb4d8dcSEmmanuel Vadot        pinctrl_serial_led_clk: serial_led_clk-pins {
872eb4d8dcSEmmanuel Vadot          function = "serial_led_clk";
882eb4d8dcSEmmanuel Vadot          pins = "gpio4";
892eb4d8dcSEmmanuel Vadot        };
902eb4d8dcSEmmanuel Vadot      };
912eb4d8dcSEmmanuel Vadot
922eb4d8dcSEmmanuel Vadot      pinctrl_inet_led: inet_led-pins {
932eb4d8dcSEmmanuel Vadot        function = "inet_led";
942eb4d8dcSEmmanuel Vadot        pins = "gpio5";
952eb4d8dcSEmmanuel Vadot      };
962eb4d8dcSEmmanuel Vadot
972eb4d8dcSEmmanuel Vadot      pinctrl_ephy0_led: ephy0_led-pins {
982eb4d8dcSEmmanuel Vadot        function = "ephy0_led";
992eb4d8dcSEmmanuel Vadot        pins = "gpio6";
1002eb4d8dcSEmmanuel Vadot      };
1012eb4d8dcSEmmanuel Vadot
1022eb4d8dcSEmmanuel Vadot      pinctrl_ephy1_led: ephy1_led-pins {
1032eb4d8dcSEmmanuel Vadot        function = "ephy1_led";
1042eb4d8dcSEmmanuel Vadot        pins = "gpio7";
1052eb4d8dcSEmmanuel Vadot      };
1062eb4d8dcSEmmanuel Vadot
1072eb4d8dcSEmmanuel Vadot      pinctrl_ephy2_led: ephy2_led-pins {
1082eb4d8dcSEmmanuel Vadot        function = "ephy2_led";
1092eb4d8dcSEmmanuel Vadot        pins = "gpio8";
1102eb4d8dcSEmmanuel Vadot      };
1112eb4d8dcSEmmanuel Vadot
1122eb4d8dcSEmmanuel Vadot      pinctrl_ephy3_led: ephy3_led-pins {
1132eb4d8dcSEmmanuel Vadot        function = "ephy3_led";
1142eb4d8dcSEmmanuel Vadot        pins = "gpio9";
1152eb4d8dcSEmmanuel Vadot      };
1162eb4d8dcSEmmanuel Vadot
1172eb4d8dcSEmmanuel Vadot      pinctrl_robosw_led_data: robosw_led_data-pins {
1182eb4d8dcSEmmanuel Vadot        function = "robosw_led_data";
1192eb4d8dcSEmmanuel Vadot        pins = "gpio10";
1202eb4d8dcSEmmanuel Vadot      };
1212eb4d8dcSEmmanuel Vadot
1222eb4d8dcSEmmanuel Vadot      pinctrl_robosw_led_clk: robosw_led_clk-pins {
1232eb4d8dcSEmmanuel Vadot        function = "robosw_led_clk";
1242eb4d8dcSEmmanuel Vadot        pins = "gpio11";
1252eb4d8dcSEmmanuel Vadot      };
1262eb4d8dcSEmmanuel Vadot
1272eb4d8dcSEmmanuel Vadot      pinctrl_robosw_led0: robosw_led0-pins {
1282eb4d8dcSEmmanuel Vadot        function = "robosw_led0";
1292eb4d8dcSEmmanuel Vadot        pins = "gpio12";
1302eb4d8dcSEmmanuel Vadot      };
1312eb4d8dcSEmmanuel Vadot
1322eb4d8dcSEmmanuel Vadot      pinctrl_robosw_led1: robosw_led1-pins {
1332eb4d8dcSEmmanuel Vadot        function = "robosw_led1";
1342eb4d8dcSEmmanuel Vadot        pins = "gpio13";
1352eb4d8dcSEmmanuel Vadot      };
1362eb4d8dcSEmmanuel Vadot
1372eb4d8dcSEmmanuel Vadot      pinctrl_usb_device_led: usb_device_led-pins {
1382eb4d8dcSEmmanuel Vadot        function = "usb_device_led";
1392eb4d8dcSEmmanuel Vadot        pins = "gpio14";
1402eb4d8dcSEmmanuel Vadot      };
1412eb4d8dcSEmmanuel Vadot
1422eb4d8dcSEmmanuel Vadot      pinctrl_pci: pci-pins {
1432eb4d8dcSEmmanuel Vadot        pinctrl_pci_req1: pci_req1-pins {
1442eb4d8dcSEmmanuel Vadot          function = "pci_req1";
1452eb4d8dcSEmmanuel Vadot          pins = "gpio16";
1462eb4d8dcSEmmanuel Vadot        };
1472eb4d8dcSEmmanuel Vadot
1482eb4d8dcSEmmanuel Vadot        pinctrl_pci_gnt1: pci_gnt1-pins {
1492eb4d8dcSEmmanuel Vadot          function = "pci_gnt1";
1502eb4d8dcSEmmanuel Vadot          pins = "gpio17";
1512eb4d8dcSEmmanuel Vadot        };
1522eb4d8dcSEmmanuel Vadot
1532eb4d8dcSEmmanuel Vadot        pinctrl_pci_intb: pci_intb-pins {
1542eb4d8dcSEmmanuel Vadot          function = "pci_intb";
1552eb4d8dcSEmmanuel Vadot          pins = "gpio18";
1562eb4d8dcSEmmanuel Vadot        };
1572eb4d8dcSEmmanuel Vadot
1582eb4d8dcSEmmanuel Vadot        pinctrl_pci_req0: pci_req0-pins {
1592eb4d8dcSEmmanuel Vadot          function = "pci_req0";
1602eb4d8dcSEmmanuel Vadot          pins = "gpio19";
1612eb4d8dcSEmmanuel Vadot        };
1622eb4d8dcSEmmanuel Vadot
1632eb4d8dcSEmmanuel Vadot        pinctrl_pci_gnt0: pci_gnt0-pins {
1642eb4d8dcSEmmanuel Vadot          function = "pci_gnt0";
1652eb4d8dcSEmmanuel Vadot          pins = "gpio20";
1662eb4d8dcSEmmanuel Vadot        };
1672eb4d8dcSEmmanuel Vadot      };
1682eb4d8dcSEmmanuel Vadot
1692eb4d8dcSEmmanuel Vadot      pinctrl_pcmcia: pcmcia-pins {
1702eb4d8dcSEmmanuel Vadot        pinctrl_pcmcia_cd1: pcmcia_cd1-pins {
1712eb4d8dcSEmmanuel Vadot          function = "pcmcia_cd1";
1722eb4d8dcSEmmanuel Vadot          pins = "gpio22";
1732eb4d8dcSEmmanuel Vadot        };
1742eb4d8dcSEmmanuel Vadot
1752eb4d8dcSEmmanuel Vadot        pinctrl_pcmcia_cd2: pcmcia_cd2-pins {
1762eb4d8dcSEmmanuel Vadot          function = "pcmcia_cd2";
1772eb4d8dcSEmmanuel Vadot          pins = "gpio23";
1782eb4d8dcSEmmanuel Vadot        };
1792eb4d8dcSEmmanuel Vadot
1802eb4d8dcSEmmanuel Vadot        pinctrl_pcmcia_vs1: pcmcia_vs1-pins {
1812eb4d8dcSEmmanuel Vadot          function = "pcmcia_vs1";
1822eb4d8dcSEmmanuel Vadot          pins = "gpio24";
1832eb4d8dcSEmmanuel Vadot        };
1842eb4d8dcSEmmanuel Vadot
1852eb4d8dcSEmmanuel Vadot        pinctrl_pcmcia_vs2: pcmcia_vs2-pins {
1862eb4d8dcSEmmanuel Vadot          function = "pcmcia_vs2";
1872eb4d8dcSEmmanuel Vadot          pins = "gpio25";
1882eb4d8dcSEmmanuel Vadot        };
1892eb4d8dcSEmmanuel Vadot      };
1902eb4d8dcSEmmanuel Vadot
1912eb4d8dcSEmmanuel Vadot      pinctrl_ebi_cs2: ebi_cs2-pins {
1922eb4d8dcSEmmanuel Vadot        function = "ebi_cs2";
1932eb4d8dcSEmmanuel Vadot        pins = "gpio26";
1942eb4d8dcSEmmanuel Vadot      };
1952eb4d8dcSEmmanuel Vadot
1962eb4d8dcSEmmanuel Vadot      pinctrl_ebi_cs3: ebi_cs3-pins {
1972eb4d8dcSEmmanuel Vadot        function = "ebi_cs3";
1982eb4d8dcSEmmanuel Vadot        pins = "gpio27";
1992eb4d8dcSEmmanuel Vadot      };
2002eb4d8dcSEmmanuel Vadot
2012eb4d8dcSEmmanuel Vadot      pinctrl_spi_cs2: spi_cs2-pins {
2022eb4d8dcSEmmanuel Vadot        function = "spi_cs2";
2032eb4d8dcSEmmanuel Vadot        pins = "gpio28";
2042eb4d8dcSEmmanuel Vadot      };
2052eb4d8dcSEmmanuel Vadot
2062eb4d8dcSEmmanuel Vadot      pinctrl_spi_cs3: spi_cs3-pins {
2072eb4d8dcSEmmanuel Vadot        function = "spi_cs3";
2082eb4d8dcSEmmanuel Vadot        pins = "gpio29";
2092eb4d8dcSEmmanuel Vadot      };
2102eb4d8dcSEmmanuel Vadot
2112eb4d8dcSEmmanuel Vadot      pinctrl_spi_cs4: spi_cs4-pins {
2122eb4d8dcSEmmanuel Vadot        function = "spi_cs4";
2132eb4d8dcSEmmanuel Vadot        pins = "gpio30";
2142eb4d8dcSEmmanuel Vadot      };
2152eb4d8dcSEmmanuel Vadot
2162eb4d8dcSEmmanuel Vadot      pinctrl_spi_cs5: spi_cs5-pins {
2172eb4d8dcSEmmanuel Vadot        function = "spi_cs5";
2182eb4d8dcSEmmanuel Vadot        pins = "gpio31";
2192eb4d8dcSEmmanuel Vadot      };
2202eb4d8dcSEmmanuel Vadot
2212eb4d8dcSEmmanuel Vadot      pinctrl_uart1: uart1-pins {
2222eb4d8dcSEmmanuel Vadot        function = "uart1";
223*84943d6fSEmmanuel Vadot        pins = "uart1_grp";
2242eb4d8dcSEmmanuel Vadot      };
2252eb4d8dcSEmmanuel Vadot    };
226