xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/brcm,bcm63268-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,bcm63268-pinctrl.yaml#
52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
62eb4d8dcSEmmanuel Vadot
72eb4d8dcSEmmanuel Vadottitle: Broadcom BCM63268 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 BCM63268 memory-mapped pin controller.
152eb4d8dcSEmmanuel Vadot
162eb4d8dcSEmmanuel Vadotproperties:
172eb4d8dcSEmmanuel Vadot  compatible:
182eb4d8dcSEmmanuel Vadot    const: brcm,bcm63268-pinctrl
192eb4d8dcSEmmanuel Vadot
202eb4d8dcSEmmanuel Vadot  reg:
212eb4d8dcSEmmanuel Vadot    maxItems: 3
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: [ serial_led_clk, serial_led_data, hsspi_cs4, hsspi_cs5,
322eb4d8dcSEmmanuel Vadot                hsspi_cs6, hsspi_cs7, adsl_spi_miso, adsl_spi_mosi,
332eb4d8dcSEmmanuel Vadot                vreq_clk, pcie_clkreq_b, robosw_led_clk, robosw_led_data,
342eb4d8dcSEmmanuel Vadot                nand, gpio35_alt, dectpd, vdsl_phy_override_0,
352eb4d8dcSEmmanuel Vadot                vdsl_phy_override_1, vdsl_phy_override_2,
362eb4d8dcSEmmanuel Vadot                vdsl_phy_override_3, dsl_gpio8, dsl_gpio9 ]
372eb4d8dcSEmmanuel Vadot
382eb4d8dcSEmmanuel Vadot      pins:
392eb4d8dcSEmmanuel Vadot        enum: [ gpio0, gpio1, gpio16, gpio17, gpio8, gpio9, gpio18, gpio19,
40*84943d6fSEmmanuel Vadot                gpio22, gpio23, gpio30, gpio31, nand_grp, gpio35,
412eb4d8dcSEmmanuel Vadot                dectpd_grp, vdsl_phy_override_0_grp,
422eb4d8dcSEmmanuel Vadot                vdsl_phy_override_1_grp, vdsl_phy_override_2_grp,
432eb4d8dcSEmmanuel Vadot                vdsl_phy_override_3_grp, dsl_gpio8, dsl_gpio9 ]
442eb4d8dcSEmmanuel Vadot
45*84943d6fSEmmanuel Vadot    patternProperties:
46*84943d6fSEmmanuel Vadot      '-pins$':
47*84943d6fSEmmanuel Vadot        $ref: '#/patternProperties/-pins$'
48*84943d6fSEmmanuel Vadot
49e67e8565SEmmanuel VadotallOf:
50fac71e4eSEmmanuel Vadot  - $ref: pinctrl.yaml#
51e67e8565SEmmanuel Vadot
522eb4d8dcSEmmanuel Vadotrequired:
532eb4d8dcSEmmanuel Vadot  - compatible
542eb4d8dcSEmmanuel Vadot  - reg
552eb4d8dcSEmmanuel Vadot
562eb4d8dcSEmmanuel VadotadditionalProperties: false
572eb4d8dcSEmmanuel Vadot
582eb4d8dcSEmmanuel Vadotexamples:
592eb4d8dcSEmmanuel Vadot  - |
602eb4d8dcSEmmanuel Vadot    pinctrl@10 {
612eb4d8dcSEmmanuel Vadot      compatible = "brcm,bcm63268-pinctrl";
622eb4d8dcSEmmanuel Vadot      reg = <0x10 0x4>, <0x18 0x8>, <0x38 0x4>;
632eb4d8dcSEmmanuel Vadot
642eb4d8dcSEmmanuel Vadot      pinctrl_serial_led: serial_led-pins {
652eb4d8dcSEmmanuel Vadot        pinctrl_serial_led_clk: serial_led_clk-pins {
662eb4d8dcSEmmanuel Vadot          function = "serial_led_clk";
672eb4d8dcSEmmanuel Vadot          pins = "gpio0";
682eb4d8dcSEmmanuel Vadot        };
692eb4d8dcSEmmanuel Vadot
702eb4d8dcSEmmanuel Vadot        pinctrl_serial_led_data: serial_led_data-pins {
712eb4d8dcSEmmanuel Vadot          function = "serial_led_data";
722eb4d8dcSEmmanuel Vadot          pins = "gpio1";
732eb4d8dcSEmmanuel Vadot        };
742eb4d8dcSEmmanuel Vadot      };
752eb4d8dcSEmmanuel Vadot
762eb4d8dcSEmmanuel Vadot      pinctrl_hsspi_cs4: hsspi_cs4-pins {
772eb4d8dcSEmmanuel Vadot        function = "hsspi_cs4";
782eb4d8dcSEmmanuel Vadot        pins = "gpio16";
792eb4d8dcSEmmanuel Vadot      };
802eb4d8dcSEmmanuel Vadot
812eb4d8dcSEmmanuel Vadot      pinctrl_hsspi_cs5: hsspi_cs5-pins {
822eb4d8dcSEmmanuel Vadot        function = "hsspi_cs5";
832eb4d8dcSEmmanuel Vadot        pins = "gpio17";
842eb4d8dcSEmmanuel Vadot      };
852eb4d8dcSEmmanuel Vadot
862eb4d8dcSEmmanuel Vadot      pinctrl_hsspi_cs6: hsspi_cs6-pins {
872eb4d8dcSEmmanuel Vadot        function = "hsspi_cs6";
882eb4d8dcSEmmanuel Vadot        pins = "gpio8";
892eb4d8dcSEmmanuel Vadot      };
902eb4d8dcSEmmanuel Vadot
912eb4d8dcSEmmanuel Vadot      pinctrl_hsspi_cs7: hsspi_cs7-pins {
922eb4d8dcSEmmanuel Vadot        function = "hsspi_cs7";
932eb4d8dcSEmmanuel Vadot        pins = "gpio9";
942eb4d8dcSEmmanuel Vadot      };
952eb4d8dcSEmmanuel Vadot
962eb4d8dcSEmmanuel Vadot      pinctrl_adsl_spi: adsl_spi-pins {
972eb4d8dcSEmmanuel Vadot        pinctrl_adsl_spi_miso: adsl_spi_miso-pins {
982eb4d8dcSEmmanuel Vadot          function = "adsl_spi_miso";
992eb4d8dcSEmmanuel Vadot          pins = "gpio18";
1002eb4d8dcSEmmanuel Vadot        };
1012eb4d8dcSEmmanuel Vadot
1022eb4d8dcSEmmanuel Vadot        pinctrl_adsl_spi_mosi: adsl_spi_mosi-pins {
1032eb4d8dcSEmmanuel Vadot          function = "adsl_spi_mosi";
1042eb4d8dcSEmmanuel Vadot          pins = "gpio19";
1052eb4d8dcSEmmanuel Vadot        };
1062eb4d8dcSEmmanuel Vadot      };
1072eb4d8dcSEmmanuel Vadot
1082eb4d8dcSEmmanuel Vadot      pinctrl_vreq_clk: vreq_clk-pins {
1092eb4d8dcSEmmanuel Vadot        function = "vreq_clk";
1102eb4d8dcSEmmanuel Vadot        pins = "gpio22";
1112eb4d8dcSEmmanuel Vadot      };
1122eb4d8dcSEmmanuel Vadot
1132eb4d8dcSEmmanuel Vadot      pinctrl_pcie_clkreq_b: pcie_clkreq_b-pins {
1142eb4d8dcSEmmanuel Vadot        function = "pcie_clkreq_b";
1152eb4d8dcSEmmanuel Vadot        pins = "gpio23";
1162eb4d8dcSEmmanuel Vadot      };
1172eb4d8dcSEmmanuel Vadot
1182eb4d8dcSEmmanuel Vadot      pinctrl_robosw_led_clk: robosw_led_clk-pins {
1192eb4d8dcSEmmanuel Vadot        function = "robosw_led_clk";
1202eb4d8dcSEmmanuel Vadot        pins = "gpio30";
1212eb4d8dcSEmmanuel Vadot      };
1222eb4d8dcSEmmanuel Vadot
1232eb4d8dcSEmmanuel Vadot      pinctrl_robosw_led_data: robosw_led_data-pins {
1242eb4d8dcSEmmanuel Vadot        function = "robosw_led_data";
1252eb4d8dcSEmmanuel Vadot        pins = "gpio31";
1262eb4d8dcSEmmanuel Vadot      };
1272eb4d8dcSEmmanuel Vadot
1282eb4d8dcSEmmanuel Vadot      pinctrl_nand: nand-pins {
1292eb4d8dcSEmmanuel Vadot        function = "nand";
130*84943d6fSEmmanuel Vadot        pins = "nand_grp";
1312eb4d8dcSEmmanuel Vadot      };
1322eb4d8dcSEmmanuel Vadot
1332eb4d8dcSEmmanuel Vadot      pinctrl_gpio35_alt: gpio35_alt-pins {
1342eb4d8dcSEmmanuel Vadot        function = "gpio35_alt";
135*84943d6fSEmmanuel Vadot        pins = "gpio35";
1362eb4d8dcSEmmanuel Vadot      };
1372eb4d8dcSEmmanuel Vadot
1382eb4d8dcSEmmanuel Vadot      pinctrl_dectpd: dectpd-pins {
1392eb4d8dcSEmmanuel Vadot        function = "dectpd";
140*84943d6fSEmmanuel Vadot        pins = "dectpd_grp";
1412eb4d8dcSEmmanuel Vadot      };
1422eb4d8dcSEmmanuel Vadot
1432eb4d8dcSEmmanuel Vadot      pinctrl_vdsl_phy_override_0: vdsl_phy_override_0-pins {
1442eb4d8dcSEmmanuel Vadot        function = "vdsl_phy_override_0";
145*84943d6fSEmmanuel Vadot        pins = "vdsl_phy_override_0_grp";
1462eb4d8dcSEmmanuel Vadot      };
1472eb4d8dcSEmmanuel Vadot
1482eb4d8dcSEmmanuel Vadot      pinctrl_vdsl_phy_override_1: vdsl_phy_override_1-pins {
1492eb4d8dcSEmmanuel Vadot        function = "vdsl_phy_override_1";
150*84943d6fSEmmanuel Vadot        pins = "vdsl_phy_override_1_grp";
1512eb4d8dcSEmmanuel Vadot      };
1522eb4d8dcSEmmanuel Vadot
1532eb4d8dcSEmmanuel Vadot      pinctrl_vdsl_phy_override_2: vdsl_phy_override_2-pins {
1542eb4d8dcSEmmanuel Vadot        function = "vdsl_phy_override_2";
155*84943d6fSEmmanuel Vadot        pins = "vdsl_phy_override_2_grp";
1562eb4d8dcSEmmanuel Vadot      };
1572eb4d8dcSEmmanuel Vadot
1582eb4d8dcSEmmanuel Vadot      pinctrl_vdsl_phy_override_3: vdsl_phy_override_3-pins {
1592eb4d8dcSEmmanuel Vadot        function = "vdsl_phy_override_3";
160*84943d6fSEmmanuel Vadot        pins = "vdsl_phy_override_3_grp";
1612eb4d8dcSEmmanuel Vadot      };
1622eb4d8dcSEmmanuel Vadot
1632eb4d8dcSEmmanuel Vadot      pinctrl_dsl_gpio8: dsl_gpio8-pins {
1642eb4d8dcSEmmanuel Vadot        function = "dsl_gpio8";
165*84943d6fSEmmanuel Vadot        pins = "dsl_gpio8";
1662eb4d8dcSEmmanuel Vadot      };
1672eb4d8dcSEmmanuel Vadot
1682eb4d8dcSEmmanuel Vadot      pinctrl_dsl_gpio9: dsl_gpio9-pins {
1692eb4d8dcSEmmanuel Vadot        function = "dsl_gpio9";
170*84943d6fSEmmanuel Vadot        pins = "dsl_gpio9";
1712eb4d8dcSEmmanuel Vadot      };
1722eb4d8dcSEmmanuel Vadot    };
173