xref: /linux/Documentation/devicetree/bindings/pinctrl/brcm,bcm63268-pinctrl.yaml (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
19b330341SÁlvaro Fernández Rojas# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
29b330341SÁlvaro Fernández Rojas%YAML 1.2
39b330341SÁlvaro Fernández Rojas---
49b330341SÁlvaro Fernández Rojas$id: http://devicetree.org/schemas/pinctrl/brcm,bcm63268-pinctrl.yaml#
59b330341SÁlvaro Fernández Rojas$schema: http://devicetree.org/meta-schemas/core.yaml#
69b330341SÁlvaro Fernández Rojas
79b330341SÁlvaro Fernández Rojastitle: Broadcom BCM63268 pin controller
89b330341SÁlvaro Fernández Rojas
99b330341SÁlvaro Fernández Rojasmaintainers:
109b330341SÁlvaro Fernández Rojas  - Álvaro Fernández Rojas <noltari@gmail.com>
119b330341SÁlvaro Fernández Rojas  - Jonas Gorski <jonas.gorski@gmail.com>
129b330341SÁlvaro Fernández Rojas
139b330341SÁlvaro Fernández Rojasdescription:
149b330341SÁlvaro Fernández Rojas  Bindings for Broadcom's BCM63268 memory-mapped pin controller.
159b330341SÁlvaro Fernández Rojas
169b330341SÁlvaro Fernández Rojasproperties:
179b330341SÁlvaro Fernández Rojas  compatible:
189b330341SÁlvaro Fernández Rojas    const: brcm,bcm63268-pinctrl
199b330341SÁlvaro Fernández Rojas
209b330341SÁlvaro Fernández Rojas  reg:
219b330341SÁlvaro Fernández Rojas    maxItems: 3
229b330341SÁlvaro Fernández Rojas
239b330341SÁlvaro Fernández RojaspatternProperties:
249b330341SÁlvaro Fernández Rojas  '-pins$':
259b330341SÁlvaro Fernández Rojas    type: object
269b330341SÁlvaro Fernández Rojas    $ref: pinmux-node.yaml#
27*caf963efSRob Herring    unevaluatedProperties: false
289b330341SÁlvaro Fernández Rojas
299b330341SÁlvaro Fernández Rojas    properties:
309b330341SÁlvaro Fernández Rojas      function:
319b330341SÁlvaro Fernández Rojas        enum: [ serial_led_clk, serial_led_data, hsspi_cs4, hsspi_cs5,
329b330341SÁlvaro Fernández Rojas                hsspi_cs6, hsspi_cs7, adsl_spi_miso, adsl_spi_mosi,
339b330341SÁlvaro Fernández Rojas                vreq_clk, pcie_clkreq_b, robosw_led_clk, robosw_led_data,
349b330341SÁlvaro Fernández Rojas                nand, gpio35_alt, dectpd, vdsl_phy_override_0,
359b330341SÁlvaro Fernández Rojas                vdsl_phy_override_1, vdsl_phy_override_2,
369b330341SÁlvaro Fernández Rojas                vdsl_phy_override_3, dsl_gpio8, dsl_gpio9 ]
379b330341SÁlvaro Fernández Rojas
389b330341SÁlvaro Fernández Rojas      pins:
399b330341SÁlvaro Fernández Rojas        enum: [ gpio0, gpio1, gpio16, gpio17, gpio8, gpio9, gpio18, gpio19,
40*caf963efSRob Herring                gpio22, gpio23, gpio30, gpio31, nand_grp, gpio35,
419b330341SÁlvaro Fernández Rojas                dectpd_grp, vdsl_phy_override_0_grp,
429b330341SÁlvaro Fernández Rojas                vdsl_phy_override_1_grp, vdsl_phy_override_2_grp,
439b330341SÁlvaro Fernández Rojas                vdsl_phy_override_3_grp, dsl_gpio8, dsl_gpio9 ]
449b330341SÁlvaro Fernández Rojas
45*caf963efSRob Herring    patternProperties:
46*caf963efSRob Herring      '-pins$':
47*caf963efSRob Herring        $ref: '#/patternProperties/-pins$'
48*caf963efSRob Herring
49c09acbc4SRafał MiłeckiallOf:
5049cd1dd1SRob Herring  - $ref: pinctrl.yaml#
51c09acbc4SRafał Miłecki
529b330341SÁlvaro Fernández Rojasrequired:
539b330341SÁlvaro Fernández Rojas  - compatible
549b330341SÁlvaro Fernández Rojas  - reg
559b330341SÁlvaro Fernández Rojas
569b330341SÁlvaro Fernández RojasadditionalProperties: false
579b330341SÁlvaro Fernández Rojas
589b330341SÁlvaro Fernández Rojasexamples:
599b330341SÁlvaro Fernández Rojas  - |
609b330341SÁlvaro Fernández Rojas    pinctrl@10 {
619b330341SÁlvaro Fernández Rojas      compatible = "brcm,bcm63268-pinctrl";
629b330341SÁlvaro Fernández Rojas      reg = <0x10 0x4>, <0x18 0x8>, <0x38 0x4>;
639b330341SÁlvaro Fernández Rojas
649b330341SÁlvaro Fernández Rojas      pinctrl_serial_led: serial_led-pins {
659b330341SÁlvaro Fernández Rojas        pinctrl_serial_led_clk: serial_led_clk-pins {
669b330341SÁlvaro Fernández Rojas          function = "serial_led_clk";
679b330341SÁlvaro Fernández Rojas          pins = "gpio0";
689b330341SÁlvaro Fernández Rojas        };
699b330341SÁlvaro Fernández Rojas
709b330341SÁlvaro Fernández Rojas        pinctrl_serial_led_data: serial_led_data-pins {
719b330341SÁlvaro Fernández Rojas          function = "serial_led_data";
729b330341SÁlvaro Fernández Rojas          pins = "gpio1";
739b330341SÁlvaro Fernández Rojas        };
749b330341SÁlvaro Fernández Rojas      };
759b330341SÁlvaro Fernández Rojas
769b330341SÁlvaro Fernández Rojas      pinctrl_hsspi_cs4: hsspi_cs4-pins {
779b330341SÁlvaro Fernández Rojas        function = "hsspi_cs4";
789b330341SÁlvaro Fernández Rojas        pins = "gpio16";
799b330341SÁlvaro Fernández Rojas      };
809b330341SÁlvaro Fernández Rojas
819b330341SÁlvaro Fernández Rojas      pinctrl_hsspi_cs5: hsspi_cs5-pins {
829b330341SÁlvaro Fernández Rojas        function = "hsspi_cs5";
839b330341SÁlvaro Fernández Rojas        pins = "gpio17";
849b330341SÁlvaro Fernández Rojas      };
859b330341SÁlvaro Fernández Rojas
869b330341SÁlvaro Fernández Rojas      pinctrl_hsspi_cs6: hsspi_cs6-pins {
879b330341SÁlvaro Fernández Rojas        function = "hsspi_cs6";
889b330341SÁlvaro Fernández Rojas        pins = "gpio8";
899b330341SÁlvaro Fernández Rojas      };
909b330341SÁlvaro Fernández Rojas
919b330341SÁlvaro Fernández Rojas      pinctrl_hsspi_cs7: hsspi_cs7-pins {
929b330341SÁlvaro Fernández Rojas        function = "hsspi_cs7";
939b330341SÁlvaro Fernández Rojas        pins = "gpio9";
949b330341SÁlvaro Fernández Rojas      };
959b330341SÁlvaro Fernández Rojas
969b330341SÁlvaro Fernández Rojas      pinctrl_adsl_spi: adsl_spi-pins {
979b330341SÁlvaro Fernández Rojas        pinctrl_adsl_spi_miso: adsl_spi_miso-pins {
989b330341SÁlvaro Fernández Rojas          function = "adsl_spi_miso";
999b330341SÁlvaro Fernández Rojas          pins = "gpio18";
1009b330341SÁlvaro Fernández Rojas        };
1019b330341SÁlvaro Fernández Rojas
1029b330341SÁlvaro Fernández Rojas        pinctrl_adsl_spi_mosi: adsl_spi_mosi-pins {
1039b330341SÁlvaro Fernández Rojas          function = "adsl_spi_mosi";
1049b330341SÁlvaro Fernández Rojas          pins = "gpio19";
1059b330341SÁlvaro Fernández Rojas        };
1069b330341SÁlvaro Fernández Rojas      };
1079b330341SÁlvaro Fernández Rojas
1089b330341SÁlvaro Fernández Rojas      pinctrl_vreq_clk: vreq_clk-pins {
1099b330341SÁlvaro Fernández Rojas        function = "vreq_clk";
1109b330341SÁlvaro Fernández Rojas        pins = "gpio22";
1119b330341SÁlvaro Fernández Rojas      };
1129b330341SÁlvaro Fernández Rojas
1139b330341SÁlvaro Fernández Rojas      pinctrl_pcie_clkreq_b: pcie_clkreq_b-pins {
1149b330341SÁlvaro Fernández Rojas        function = "pcie_clkreq_b";
1159b330341SÁlvaro Fernández Rojas        pins = "gpio23";
1169b330341SÁlvaro Fernández Rojas      };
1179b330341SÁlvaro Fernández Rojas
1189b330341SÁlvaro Fernández Rojas      pinctrl_robosw_led_clk: robosw_led_clk-pins {
1199b330341SÁlvaro Fernández Rojas        function = "robosw_led_clk";
1209b330341SÁlvaro Fernández Rojas        pins = "gpio30";
1219b330341SÁlvaro Fernández Rojas      };
1229b330341SÁlvaro Fernández Rojas
1239b330341SÁlvaro Fernández Rojas      pinctrl_robosw_led_data: robosw_led_data-pins {
1249b330341SÁlvaro Fernández Rojas        function = "robosw_led_data";
1259b330341SÁlvaro Fernández Rojas        pins = "gpio31";
1269b330341SÁlvaro Fernández Rojas      };
1279b330341SÁlvaro Fernández Rojas
1289b330341SÁlvaro Fernández Rojas      pinctrl_nand: nand-pins {
1299b330341SÁlvaro Fernández Rojas        function = "nand";
130*caf963efSRob Herring        pins = "nand_grp";
1319b330341SÁlvaro Fernández Rojas      };
1329b330341SÁlvaro Fernández Rojas
1339b330341SÁlvaro Fernández Rojas      pinctrl_gpio35_alt: gpio35_alt-pins {
1349b330341SÁlvaro Fernández Rojas        function = "gpio35_alt";
135*caf963efSRob Herring        pins = "gpio35";
1369b330341SÁlvaro Fernández Rojas      };
1379b330341SÁlvaro Fernández Rojas
1389b330341SÁlvaro Fernández Rojas      pinctrl_dectpd: dectpd-pins {
1399b330341SÁlvaro Fernández Rojas        function = "dectpd";
140*caf963efSRob Herring        pins = "dectpd_grp";
1419b330341SÁlvaro Fernández Rojas      };
1429b330341SÁlvaro Fernández Rojas
1439b330341SÁlvaro Fernández Rojas      pinctrl_vdsl_phy_override_0: vdsl_phy_override_0-pins {
1449b330341SÁlvaro Fernández Rojas        function = "vdsl_phy_override_0";
145*caf963efSRob Herring        pins = "vdsl_phy_override_0_grp";
1469b330341SÁlvaro Fernández Rojas      };
1479b330341SÁlvaro Fernández Rojas
1489b330341SÁlvaro Fernández Rojas      pinctrl_vdsl_phy_override_1: vdsl_phy_override_1-pins {
1499b330341SÁlvaro Fernández Rojas        function = "vdsl_phy_override_1";
150*caf963efSRob Herring        pins = "vdsl_phy_override_1_grp";
1519b330341SÁlvaro Fernández Rojas      };
1529b330341SÁlvaro Fernández Rojas
1539b330341SÁlvaro Fernández Rojas      pinctrl_vdsl_phy_override_2: vdsl_phy_override_2-pins {
1549b330341SÁlvaro Fernández Rojas        function = "vdsl_phy_override_2";
155*caf963efSRob Herring        pins = "vdsl_phy_override_2_grp";
1569b330341SÁlvaro Fernández Rojas      };
1579b330341SÁlvaro Fernández Rojas
1589b330341SÁlvaro Fernández Rojas      pinctrl_vdsl_phy_override_3: vdsl_phy_override_3-pins {
1599b330341SÁlvaro Fernández Rojas        function = "vdsl_phy_override_3";
160*caf963efSRob Herring        pins = "vdsl_phy_override_3_grp";
1619b330341SÁlvaro Fernández Rojas      };
1629b330341SÁlvaro Fernández Rojas
1639b330341SÁlvaro Fernández Rojas      pinctrl_dsl_gpio8: dsl_gpio8-pins {
1649b330341SÁlvaro Fernández Rojas        function = "dsl_gpio8";
165*caf963efSRob Herring        pins = "dsl_gpio8";
1669b330341SÁlvaro Fernández Rojas      };
1679b330341SÁlvaro Fernández Rojas
1689b330341SÁlvaro Fernández Rojas      pinctrl_dsl_gpio9: dsl_gpio9-pins {
1699b330341SÁlvaro Fernández Rojas        function = "dsl_gpio9";
170*caf963efSRob Herring        pins = "dsl_gpio9";
1719b330341SÁlvaro Fernández Rojas      };
1729b330341SÁlvaro Fernández Rojas    };
173