xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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/xlnx,zynqmp-pinctrl.yaml#
52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
62eb4d8dcSEmmanuel Vadot
72eb4d8dcSEmmanuel Vadottitle: Xilinx ZynqMP Pinctrl
82eb4d8dcSEmmanuel Vadot
92eb4d8dcSEmmanuel Vadotmaintainers:
10f126890aSEmmanuel Vadot  - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
112eb4d8dcSEmmanuel Vadot
122eb4d8dcSEmmanuel Vadotdescription: |
132eb4d8dcSEmmanuel Vadot  Please refer to pinctrl-bindings.txt in this directory for details of the
142eb4d8dcSEmmanuel Vadot  common pinctrl bindings used by client devices, including the meaning of the
152eb4d8dcSEmmanuel Vadot  phrase "pin configuration node".
162eb4d8dcSEmmanuel Vadot
172eb4d8dcSEmmanuel Vadot  ZynqMP's pin configuration nodes act as a container for an arbitrary number of
182eb4d8dcSEmmanuel Vadot  subnodes. Each of these subnodes represents some desired configuration for a
192eb4d8dcSEmmanuel Vadot  pin, a group, or a list of pins or groups. This configuration can include the
202eb4d8dcSEmmanuel Vadot  mux function to select on those pin(s)/group(s), and various pin configuration
212eb4d8dcSEmmanuel Vadot  parameters, such as pull-up, slew rate, etc.
222eb4d8dcSEmmanuel Vadot
232eb4d8dcSEmmanuel Vadot  Each configuration node can consist of multiple nodes describing the pinmux and
242eb4d8dcSEmmanuel Vadot  pinconf options. Those nodes can be pinmux nodes or pinconf nodes.
252eb4d8dcSEmmanuel Vadot
262eb4d8dcSEmmanuel Vadot  The name of each subnode is not important; all subnodes should be enumerated
272eb4d8dcSEmmanuel Vadot  and processed purely based on their content.
282eb4d8dcSEmmanuel Vadot
292eb4d8dcSEmmanuel Vadotproperties:
302eb4d8dcSEmmanuel Vadot  compatible:
312eb4d8dcSEmmanuel Vadot    const: xlnx,zynqmp-pinctrl
322eb4d8dcSEmmanuel Vadot
332eb4d8dcSEmmanuel VadotpatternProperties:
34*8d13bc63SEmmanuel Vadot  '^(.*-)?(default|gpio-grp)$':
352eb4d8dcSEmmanuel Vadot    type: object
362eb4d8dcSEmmanuel Vadot    patternProperties:
372eb4d8dcSEmmanuel Vadot      '^mux':
382eb4d8dcSEmmanuel Vadot        type: object
392eb4d8dcSEmmanuel Vadot        description:
402eb4d8dcSEmmanuel Vadot          Pinctrl node's client devices use subnodes for pin muxes,
412eb4d8dcSEmmanuel Vadot          which in turn use below standard properties.
422eb4d8dcSEmmanuel Vadot        $ref: pinmux-node.yaml#
432eb4d8dcSEmmanuel Vadot
442eb4d8dcSEmmanuel Vadot        properties:
452eb4d8dcSEmmanuel Vadot          groups:
462eb4d8dcSEmmanuel Vadot            description:
472eb4d8dcSEmmanuel Vadot              List of groups to select (either this or "pins" must be
482eb4d8dcSEmmanuel Vadot              specified), available groups for this subnode.
492eb4d8dcSEmmanuel Vadot            items:
502eb4d8dcSEmmanuel Vadot              enum: [ethernet0_0_grp, ethernet1_0_grp, ethernet2_0_grp,
512eb4d8dcSEmmanuel Vadot                     ethernet3_0_grp, gemtsu0_0_grp, gemtsu0_1_grp,
522eb4d8dcSEmmanuel Vadot                     gemtsu0_2_grp, mdio0_0_grp, mdio1_0_grp,
532eb4d8dcSEmmanuel Vadot                     mdio1_1_grp, mdio2_0_grp, mdio3_0_grp,
542eb4d8dcSEmmanuel Vadot                     qspi0_0_grp, qspi_ss_0_grp, qspi_fbclk_0_grp,
552eb4d8dcSEmmanuel Vadot                     spi0_0_grp, spi0_ss_0_grp, spi0_ss_1_grp,
562eb4d8dcSEmmanuel Vadot                     spi0_ss_2_grp, spi0_1_grp, spi0_ss_3_grp,
572eb4d8dcSEmmanuel Vadot                     spi0_ss_4_grp, spi0_ss_5_grp, spi0_2_grp,
582eb4d8dcSEmmanuel Vadot                     spi0_ss_6_grp, spi0_ss_7_grp, spi0_ss_8_grp,
592eb4d8dcSEmmanuel Vadot                     spi0_3_grp, spi0_ss_9_grp, spi0_ss_10_grp,
602eb4d8dcSEmmanuel Vadot                     spi0_ss_11_grp, spi0_4_grp, spi0_ss_12_grp,
612eb4d8dcSEmmanuel Vadot                     spi0_ss_13_grp, spi0_ss_14_grp, spi0_5_grp,
622eb4d8dcSEmmanuel Vadot                     spi0_ss_15_grp, spi0_ss_16_grp, spi0_ss_17_grp,
632eb4d8dcSEmmanuel Vadot                     spi1_0_grp, spi1_ss_0_grp, spi1_ss_1_grp,
642eb4d8dcSEmmanuel Vadot                     spi1_ss_2_grp, spi1_1_grp, spi1_ss_3_grp,
652eb4d8dcSEmmanuel Vadot                     spi1_ss_4_grp, spi1_ss_5_grp, spi1_2_grp,
662eb4d8dcSEmmanuel Vadot                     spi1_ss_6_grp, spi1_ss_7_grp, spi1_ss_8_grp,
672eb4d8dcSEmmanuel Vadot                     spi1_3_grp, spi1_ss_9_grp, spi1_ss_10_grp,
682eb4d8dcSEmmanuel Vadot                     spi1_ss_11_grp, spi1_4_grp, spi1_ss_12_grp,
692eb4d8dcSEmmanuel Vadot                     spi1_ss_13_grp, spi1_ss_14_grp, spi1_5_grp,
702eb4d8dcSEmmanuel Vadot                     spi1_ss_15_grp, spi1_ss_16_grp, spi1_ss_17_grp,
712eb4d8dcSEmmanuel Vadot                     sdio0_0_grp, sdio0_1_grp, sdio0_2_grp,
722eb4d8dcSEmmanuel Vadot                     sdio0_3_grp, sdio0_4_grp, sdio0_5_grp,
732eb4d8dcSEmmanuel Vadot                     sdio0_6_grp, sdio0_7_grp, sdio0_8_grp,
742eb4d8dcSEmmanuel Vadot                     sdio0_9_grp, sdio0_10_grp, sdio0_11_grp,
752eb4d8dcSEmmanuel Vadot                     sdio0_12_grp, sdio0_13_grp, sdio0_14_grp,
762eb4d8dcSEmmanuel Vadot                     sdio0_15_grp, sdio0_16_grp, sdio0_17_grp,
772eb4d8dcSEmmanuel Vadot                     sdio0_18_grp, sdio0_19_grp, sdio0_20_grp,
782eb4d8dcSEmmanuel Vadot                     sdio0_21_grp, sdio0_22_grp, sdio0_23_grp,
792eb4d8dcSEmmanuel Vadot                     sdio0_24_grp, sdio0_25_grp, sdio0_26_grp,
802eb4d8dcSEmmanuel Vadot                     sdio0_27_grp, sdio0_28_grp, sdio0_29_grp,
812eb4d8dcSEmmanuel Vadot                     sdio0_30_grp, sdio0_31_grp, sdio0_32_grp,
822eb4d8dcSEmmanuel Vadot                     sdio0_pc_0_grp, sdio0_cd_0_grp, sdio0_wp_0_grp,
832eb4d8dcSEmmanuel Vadot                     sdio0_pc_1_grp, sdio0_cd_1_grp, sdio0_wp_1_grp,
842eb4d8dcSEmmanuel Vadot                     sdio0_pc_2_grp, sdio0_cd_2_grp, sdio0_wp_2_grp,
852eb4d8dcSEmmanuel Vadot                     sdio1_0_grp, sdio1_1_grp, sdio1_2_grp,
862eb4d8dcSEmmanuel Vadot                     sdio1_3_grp, sdio1_4_grp, sdio1_5_grp,
872eb4d8dcSEmmanuel Vadot                     sdio1_6_grp, sdio1_7_grp, sdio1_8_grp,
882eb4d8dcSEmmanuel Vadot                     sdio1_9_grp, sdio1_10_grp, sdio1_11_grp,
892eb4d8dcSEmmanuel Vadot                     sdio1_12_grp, sdio1_13_grp, sdio1_14_grp,
902eb4d8dcSEmmanuel Vadot                     sdio1_15_grp, sdio1_pc_0_grp, sdio1_cd_0_grp,
912eb4d8dcSEmmanuel Vadot                     sdio1_wp_0_grp, sdio1_pc_1_grp, sdio1_cd_1_grp,
922eb4d8dcSEmmanuel Vadot                     sdio1_wp_1_grp, nand0_0_grp, nand0_ce_0_grp,
932eb4d8dcSEmmanuel Vadot                     nand0_rb_0_grp, nand0_dqs_0_grp, nand0_ce_1_grp,
942eb4d8dcSEmmanuel Vadot                     nand0_rb_1_grp, nand0_dqs_1_grp, can0_0_grp,
952eb4d8dcSEmmanuel Vadot                     can0_1_grp, can0_2_grp, can0_3_grp,
962eb4d8dcSEmmanuel Vadot                     can0_4_grp, can0_5_grp, can0_6_grp,
972eb4d8dcSEmmanuel Vadot                     can0_7_grp, can0_8_grp, can0_9_grp,
982eb4d8dcSEmmanuel Vadot                     can0_10_grp, can0_11_grp, can0_12_grp,
992eb4d8dcSEmmanuel Vadot                     can0_13_grp, can0_14_grp, can0_15_grp,
1002eb4d8dcSEmmanuel Vadot                     can0_16_grp, can0_17_grp, can0_18_grp,
1012eb4d8dcSEmmanuel Vadot                     can1_0_grp, can1_1_grp, can1_2_grp,
1022eb4d8dcSEmmanuel Vadot                     can1_3_grp, can1_4_grp, can1_5_grp,
1032eb4d8dcSEmmanuel Vadot                     can1_6_grp, can1_7_grp, can1_8_grp,
1042eb4d8dcSEmmanuel Vadot                     can1_9_grp, can1_10_grp, can1_11_grp,
1052eb4d8dcSEmmanuel Vadot                     can1_12_grp, can1_13_grp, can1_14_grp,
1062eb4d8dcSEmmanuel Vadot                     can1_15_grp, can1_16_grp, can1_17_grp,
1072eb4d8dcSEmmanuel Vadot                     can1_18_grp, can1_19_grp, uart0_0_grp,
1082eb4d8dcSEmmanuel Vadot                     uart0_1_grp, uart0_2_grp, uart0_3_grp,
1092eb4d8dcSEmmanuel Vadot                     uart0_4_grp, uart0_5_grp, uart0_6_grp,
1102eb4d8dcSEmmanuel Vadot                     uart0_7_grp, uart0_8_grp, uart0_9_grp,
1112eb4d8dcSEmmanuel Vadot                     uart0_10_grp, uart0_11_grp, uart0_12_grp,
1122eb4d8dcSEmmanuel Vadot                     uart0_13_grp, uart0_14_grp, uart0_15_grp,
1132eb4d8dcSEmmanuel Vadot                     uart0_16_grp, uart0_17_grp, uart0_18_grp,
1142eb4d8dcSEmmanuel Vadot                     uart1_0_grp, uart1_1_grp, uart1_2_grp,
1152eb4d8dcSEmmanuel Vadot                     uart1_3_grp, uart1_4_grp, uart1_5_grp,
1162eb4d8dcSEmmanuel Vadot                     uart1_6_grp, uart1_7_grp, uart1_8_grp,
1172eb4d8dcSEmmanuel Vadot                     uart1_9_grp, uart1_10_grp, uart1_11_grp,
1182eb4d8dcSEmmanuel Vadot                     uart1_12_grp, uart1_13_grp, uart1_14_grp,
1192eb4d8dcSEmmanuel Vadot                     uart1_15_grp, uart1_16_grp, uart1_17_grp,
1202eb4d8dcSEmmanuel Vadot                     uart1_18_grp, i2c0_0_grp, i2c0_1_grp,
1212eb4d8dcSEmmanuel Vadot                     i2c0_2_grp, i2c0_3_grp, i2c0_4_grp,
1222eb4d8dcSEmmanuel Vadot                     i2c0_5_grp, i2c0_6_grp, i2c0_7_grp,
1232eb4d8dcSEmmanuel Vadot                     i2c0_8_grp, i2c0_9_grp, i2c0_10_grp,
1242eb4d8dcSEmmanuel Vadot                     i2c0_11_grp, i2c0_12_grp, i2c0_13_grp,
1252eb4d8dcSEmmanuel Vadot                     i2c0_14_grp, i2c0_15_grp, i2c0_16_grp,
1262eb4d8dcSEmmanuel Vadot                     i2c0_17_grp, i2c0_18_grp, i2c1_0_grp,
1272eb4d8dcSEmmanuel Vadot                     i2c1_1_grp, i2c1_2_grp, i2c1_3_grp,
1282eb4d8dcSEmmanuel Vadot                     i2c1_4_grp, i2c1_5_grp, i2c1_6_grp,
1292eb4d8dcSEmmanuel Vadot                     i2c1_7_grp, i2c1_8_grp, i2c1_9_grp,
1302eb4d8dcSEmmanuel Vadot                     i2c1_10_grp, i2c1_11_grp, i2c1_12_grp,
1312eb4d8dcSEmmanuel Vadot                     i2c1_13_grp, i2c1_14_grp, i2c1_15_grp,
1322eb4d8dcSEmmanuel Vadot                     i2c1_16_grp, i2c1_17_grp, i2c1_18_grp,
1332eb4d8dcSEmmanuel Vadot                     i2c1_19_grp, ttc0_clk_0_grp, ttc0_wav_0_grp,
1342eb4d8dcSEmmanuel Vadot                     ttc0_clk_1_grp, ttc0_wav_1_grp, ttc0_clk_2_grp,
1352eb4d8dcSEmmanuel Vadot                     ttc0_wav_2_grp, ttc0_clk_3_grp, ttc0_wav_3_grp,
1362eb4d8dcSEmmanuel Vadot                     ttc0_clk_4_grp, ttc0_wav_4_grp, ttc0_clk_5_grp,
1372eb4d8dcSEmmanuel Vadot                     ttc0_wav_5_grp, ttc0_clk_6_grp, ttc0_wav_6_grp,
1382eb4d8dcSEmmanuel Vadot                     ttc0_clk_7_grp, ttc0_wav_7_grp, ttc0_clk_8_grp,
1392eb4d8dcSEmmanuel Vadot                     ttc0_wav_8_grp, ttc1_clk_0_grp, ttc1_wav_0_grp,
1402eb4d8dcSEmmanuel Vadot                     ttc1_clk_1_grp, ttc1_wav_1_grp, ttc1_clk_2_grp,
1412eb4d8dcSEmmanuel Vadot                     ttc1_wav_2_grp, ttc1_clk_3_grp, ttc1_wav_3_grp,
1422eb4d8dcSEmmanuel Vadot                     ttc1_clk_4_grp, ttc1_wav_4_grp, ttc1_clk_5_grp,
1432eb4d8dcSEmmanuel Vadot                     ttc1_wav_5_grp, ttc1_clk_6_grp, ttc1_wav_6_grp,
1442eb4d8dcSEmmanuel Vadot                     ttc1_clk_7_grp, ttc1_wav_7_grp, ttc1_clk_8_grp,
1452eb4d8dcSEmmanuel Vadot                     ttc1_wav_8_grp, ttc2_clk_0_grp, ttc2_wav_0_grp,
1462eb4d8dcSEmmanuel Vadot                     ttc2_clk_1_grp, ttc2_wav_1_grp, ttc2_clk_2_grp,
1472eb4d8dcSEmmanuel Vadot                     ttc2_wav_2_grp, ttc2_clk_3_grp, ttc2_wav_3_grp,
1482eb4d8dcSEmmanuel Vadot                     ttc2_clk_4_grp, ttc2_wav_4_grp, ttc2_clk_5_grp,
1492eb4d8dcSEmmanuel Vadot                     ttc2_wav_5_grp, ttc2_clk_6_grp, ttc2_wav_6_grp,
1502eb4d8dcSEmmanuel Vadot                     ttc2_clk_7_grp, ttc2_wav_7_grp, ttc2_clk_8_grp,
1512eb4d8dcSEmmanuel Vadot                     ttc2_wav_8_grp, ttc3_clk_0_grp, ttc3_wav_0_grp,
1522eb4d8dcSEmmanuel Vadot                     ttc3_clk_1_grp, ttc3_wav_1_grp, ttc3_clk_2_grp,
1532eb4d8dcSEmmanuel Vadot                     ttc3_wav_2_grp, ttc3_clk_3_grp, ttc3_wav_3_grp,
1542eb4d8dcSEmmanuel Vadot                     ttc3_clk_4_grp, ttc3_wav_4_grp, ttc3_clk_5_grp,
1552eb4d8dcSEmmanuel Vadot                     ttc3_wav_5_grp, ttc3_clk_6_grp, ttc3_wav_6_grp,
1562eb4d8dcSEmmanuel Vadot                     ttc3_clk_7_grp, ttc3_wav_7_grp, ttc3_clk_8_grp,
1572eb4d8dcSEmmanuel Vadot                     ttc3_wav_8_grp, swdt0_clk_0_grp, swdt0_rst_0_grp,
1582eb4d8dcSEmmanuel Vadot                     swdt0_clk_1_grp, swdt0_rst_1_grp, swdt0_clk_2_grp,
1592eb4d8dcSEmmanuel Vadot                     swdt0_rst_2_grp, swdt0_clk_3_grp, swdt0_rst_3_grp,
1602eb4d8dcSEmmanuel Vadot                     swdt0_clk_4_grp, swdt0_rst_4_grp, swdt0_clk_5_grp,
1612eb4d8dcSEmmanuel Vadot                     swdt0_rst_5_grp, swdt0_clk_6_grp, swdt0_rst_6_grp,
1622eb4d8dcSEmmanuel Vadot                     swdt0_clk_7_grp, swdt0_rst_7_grp, swdt0_clk_8_grp,
1632eb4d8dcSEmmanuel Vadot                     swdt0_rst_8_grp, swdt0_clk_9_grp, swdt0_rst_9_grp,
1642eb4d8dcSEmmanuel Vadot                     swdt0_clk_10_grp, swdt0_rst_10_grp, swdt0_clk_11_grp,
1652eb4d8dcSEmmanuel Vadot                     swdt0_rst_11_grp, swdt0_clk_12_grp, swdt0_rst_12_grp,
1662eb4d8dcSEmmanuel Vadot                     swdt1_clk_0_grp, swdt1_rst_0_grp, swdt1_clk_1_grp,
1672eb4d8dcSEmmanuel Vadot                     swdt1_rst_1_grp, swdt1_clk_2_grp, swdt1_rst_2_grp,
1682eb4d8dcSEmmanuel Vadot                     swdt1_clk_3_grp, swdt1_rst_3_grp, swdt1_clk_4_grp,
1692eb4d8dcSEmmanuel Vadot                     swdt1_rst_4_grp, swdt1_clk_5_grp, swdt1_rst_5_grp,
1702eb4d8dcSEmmanuel Vadot                     swdt1_clk_6_grp, swdt1_rst_6_grp, swdt1_clk_7_grp,
1712eb4d8dcSEmmanuel Vadot                     swdt1_rst_7_grp, swdt1_clk_8_grp, swdt1_rst_8_grp,
1722eb4d8dcSEmmanuel Vadot                     swdt1_clk_9_grp, swdt1_rst_9_grp, swdt1_clk_10_grp,
1732eb4d8dcSEmmanuel Vadot                     swdt1_rst_10_grp, swdt1_clk_11_grp, swdt1_rst_11_grp,
1742eb4d8dcSEmmanuel Vadot                     swdt1_clk_12_grp, swdt1_rst_12_grp, gpio0_0_grp,
1752eb4d8dcSEmmanuel Vadot                     gpio0_1_grp, gpio0_2_grp, gpio0_3_grp,
1762eb4d8dcSEmmanuel Vadot                     gpio0_4_grp, gpio0_5_grp, gpio0_6_grp,
1772eb4d8dcSEmmanuel Vadot                     gpio0_7_grp, gpio0_8_grp, gpio0_9_grp,
1782eb4d8dcSEmmanuel Vadot                     gpio0_10_grp, gpio0_11_grp, gpio0_12_grp,
1792eb4d8dcSEmmanuel Vadot                     gpio0_13_grp, gpio0_14_grp, gpio0_15_grp,
1802eb4d8dcSEmmanuel Vadot                     gpio0_16_grp, gpio0_17_grp, gpio0_18_grp,
1812eb4d8dcSEmmanuel Vadot                     gpio0_19_grp, gpio0_20_grp, gpio0_21_grp,
1822eb4d8dcSEmmanuel Vadot                     gpio0_22_grp, gpio0_23_grp, gpio0_24_grp,
1832eb4d8dcSEmmanuel Vadot                     gpio0_25_grp, gpio0_26_grp, gpio0_27_grp,
1842eb4d8dcSEmmanuel Vadot                     gpio0_28_grp, gpio0_29_grp, gpio0_30_grp,
1852eb4d8dcSEmmanuel Vadot                     gpio0_31_grp, gpio0_32_grp, gpio0_33_grp,
1862eb4d8dcSEmmanuel Vadot                     gpio0_34_grp, gpio0_35_grp, gpio0_36_grp,
1872eb4d8dcSEmmanuel Vadot                     gpio0_37_grp, gpio0_38_grp, gpio0_39_grp,
1882eb4d8dcSEmmanuel Vadot                     gpio0_40_grp, gpio0_41_grp, gpio0_42_grp,
1892eb4d8dcSEmmanuel Vadot                     gpio0_43_grp, gpio0_44_grp, gpio0_45_grp,
1902eb4d8dcSEmmanuel Vadot                     gpio0_46_grp, gpio0_47_grp, gpio0_48_grp,
1912eb4d8dcSEmmanuel Vadot                     gpio0_49_grp, gpio0_50_grp, gpio0_51_grp,
1922eb4d8dcSEmmanuel Vadot                     gpio0_52_grp, gpio0_53_grp, gpio0_54_grp,
1932eb4d8dcSEmmanuel Vadot                     gpio0_55_grp, gpio0_56_grp, gpio0_57_grp,
1942eb4d8dcSEmmanuel Vadot                     gpio0_58_grp, gpio0_59_grp, gpio0_60_grp,
1952eb4d8dcSEmmanuel Vadot                     gpio0_61_grp, gpio0_62_grp, gpio0_63_grp,
1962eb4d8dcSEmmanuel Vadot                     gpio0_64_grp, gpio0_65_grp, gpio0_66_grp,
1972eb4d8dcSEmmanuel Vadot                     gpio0_67_grp, gpio0_68_grp, gpio0_69_grp,
1982eb4d8dcSEmmanuel Vadot                     gpio0_70_grp, gpio0_71_grp, gpio0_72_grp,
1992eb4d8dcSEmmanuel Vadot                     gpio0_73_grp, gpio0_74_grp, gpio0_75_grp,
2002eb4d8dcSEmmanuel Vadot                     gpio0_76_grp, gpio0_77_grp, usb0_0_grp,
2012eb4d8dcSEmmanuel Vadot                     usb1_0_grp, pmu0_0_grp, pmu0_1_grp,
2022eb4d8dcSEmmanuel Vadot                     pmu0_2_grp, pmu0_3_grp, pmu0_4_grp,
2032eb4d8dcSEmmanuel Vadot                     pmu0_5_grp, pmu0_6_grp, pmu0_7_grp,
2042eb4d8dcSEmmanuel Vadot                     pmu0_8_grp, pmu0_9_grp, pmu0_10_grp,
2052eb4d8dcSEmmanuel Vadot                     pmu0_11_grp, pcie0_0_grp, pcie0_1_grp,
2062eb4d8dcSEmmanuel Vadot                     pcie0_2_grp, pcie0_3_grp, pcie0_4_grp,
2072eb4d8dcSEmmanuel Vadot                     pcie0_5_grp, pcie0_6_grp, pcie0_7_grp,
2082eb4d8dcSEmmanuel Vadot                     csu0_0_grp, csu0_1_grp, csu0_2_grp,
2092eb4d8dcSEmmanuel Vadot                     csu0_3_grp, csu0_4_grp, csu0_5_grp,
2102eb4d8dcSEmmanuel Vadot                     csu0_6_grp, csu0_7_grp, csu0_8_grp,
2112eb4d8dcSEmmanuel Vadot                     csu0_9_grp, csu0_10_grp, csu0_11_grp,
2122eb4d8dcSEmmanuel Vadot                     dpaux0_0_grp, dpaux0_1_grp, dpaux0_2_grp,
2132eb4d8dcSEmmanuel Vadot                     dpaux0_3_grp, pjtag0_0_grp, pjtag0_1_grp,
2142eb4d8dcSEmmanuel Vadot                     pjtag0_2_grp, pjtag0_3_grp, pjtag0_4_grp,
2152eb4d8dcSEmmanuel Vadot                     pjtag0_5_grp, trace0_0_grp, trace0_clk_0_grp,
2162eb4d8dcSEmmanuel Vadot                     trace0_1_grp, trace0_clk_1_grp, trace0_2_grp,
2172eb4d8dcSEmmanuel Vadot                     trace0_clk_2_grp, testscan0_0_grp]
2182eb4d8dcSEmmanuel Vadot            maxItems: 78
2192eb4d8dcSEmmanuel Vadot
2202eb4d8dcSEmmanuel Vadot          function:
2212eb4d8dcSEmmanuel Vadot            description:
2222eb4d8dcSEmmanuel Vadot              Specify the alternative function to be configured for the
2232eb4d8dcSEmmanuel Vadot              given pin groups.
2242eb4d8dcSEmmanuel Vadot            enum: [ethernet0, ethernet1, ethernet2, ethernet3, gemtsu0, usb0, usb1, mdio0,
2252eb4d8dcSEmmanuel Vadot                   mdio1, mdio2, mdio3, qspi0, qspi_fbclk, qspi_ss, spi0, spi1, spi0_ss,
2262eb4d8dcSEmmanuel Vadot                   spi1_ss, sdio0, sdio0_pc, sdio0_wp, sdio0_cd, sdio1, sdio1_pc, sdio1_wp,
2272eb4d8dcSEmmanuel Vadot                   sdio1_cd, nand0, nand0_ce, nand0_rb, nand0_dqs, can0, can1, uart0, uart1,
2282eb4d8dcSEmmanuel Vadot                   i2c0, i2c1, ttc0_clk, ttc0_wav, ttc1_clk, ttc1_wav, ttc2_clk, ttc2_wav,
2292eb4d8dcSEmmanuel Vadot                   ttc3_clk, ttc3_wav, swdt0_clk, swdt0_rst, swdt1_clk, swdt1_rst, gpio0, pmu0,
2302eb4d8dcSEmmanuel Vadot                   pcie0, csu0, dpaux0, pjtag0, trace0, trace0_clk, testscan0]
2312eb4d8dcSEmmanuel Vadot
2322eb4d8dcSEmmanuel Vadot        required:
2332eb4d8dcSEmmanuel Vadot          - groups
2342eb4d8dcSEmmanuel Vadot          - function
2352eb4d8dcSEmmanuel Vadot
2362eb4d8dcSEmmanuel Vadot        additionalProperties: false
2372eb4d8dcSEmmanuel Vadot
2382eb4d8dcSEmmanuel Vadot      '^conf':
2392eb4d8dcSEmmanuel Vadot        type: object
2402eb4d8dcSEmmanuel Vadot        description:
2412eb4d8dcSEmmanuel Vadot          Pinctrl node's client devices use subnodes for pin configurations,
2422eb4d8dcSEmmanuel Vadot          which in turn use the standard properties below.
2432eb4d8dcSEmmanuel Vadot        $ref: pincfg-node.yaml#
2442eb4d8dcSEmmanuel Vadot
2452eb4d8dcSEmmanuel Vadot        properties:
2462eb4d8dcSEmmanuel Vadot          groups:
2472eb4d8dcSEmmanuel Vadot            description:
2482eb4d8dcSEmmanuel Vadot              List of pin groups as mentioned above.
2492eb4d8dcSEmmanuel Vadot
2502eb4d8dcSEmmanuel Vadot          pins:
2512eb4d8dcSEmmanuel Vadot            description:
2522eb4d8dcSEmmanuel Vadot              List of pin names to select in this subnode.
2532eb4d8dcSEmmanuel Vadot            items:
2542eb4d8dcSEmmanuel Vadot              pattern: '^MIO([0-9]|[1-6][0-9]|7[0-7])$'
2552eb4d8dcSEmmanuel Vadot            maxItems: 78
2562eb4d8dcSEmmanuel Vadot
2572eb4d8dcSEmmanuel Vadot          bias-pull-up: true
2582eb4d8dcSEmmanuel Vadot
2592eb4d8dcSEmmanuel Vadot          bias-pull-down: true
2602eb4d8dcSEmmanuel Vadot
2612eb4d8dcSEmmanuel Vadot          bias-disable: true
2622eb4d8dcSEmmanuel Vadot
2632eb4d8dcSEmmanuel Vadot          input-schmitt-enable: true
2642eb4d8dcSEmmanuel Vadot
2652eb4d8dcSEmmanuel Vadot          input-schmitt-disable: true
2662eb4d8dcSEmmanuel Vadot
2672eb4d8dcSEmmanuel Vadot          bias-high-impedance: true
2682eb4d8dcSEmmanuel Vadot
2692eb4d8dcSEmmanuel Vadot          low-power-enable: true
2702eb4d8dcSEmmanuel Vadot
2712eb4d8dcSEmmanuel Vadot          low-power-disable: true
2722eb4d8dcSEmmanuel Vadot
2732eb4d8dcSEmmanuel Vadot          slew-rate:
2742eb4d8dcSEmmanuel Vadot            enum: [0, 1]
2752eb4d8dcSEmmanuel Vadot
276aa1a8ff2SEmmanuel Vadot          output-enable:
277aa1a8ff2SEmmanuel Vadot            description:
278aa1a8ff2SEmmanuel Vadot              This will internally disable the tri-state for MIO pins.
279aa1a8ff2SEmmanuel Vadot
2802eb4d8dcSEmmanuel Vadot          drive-strength:
2812eb4d8dcSEmmanuel Vadot            description:
2822eb4d8dcSEmmanuel Vadot              Selects the drive strength for MIO pins, in mA.
2832eb4d8dcSEmmanuel Vadot            enum: [2, 4, 8, 12]
2842eb4d8dcSEmmanuel Vadot
2852eb4d8dcSEmmanuel Vadot          power-source:
2862eb4d8dcSEmmanuel Vadot            enum: [0, 1]
2872eb4d8dcSEmmanuel Vadot
2882eb4d8dcSEmmanuel Vadot        oneOf:
2892eb4d8dcSEmmanuel Vadot          - required: [ groups ]
2902eb4d8dcSEmmanuel Vadot          - required: [ pins ]
2912eb4d8dcSEmmanuel Vadot
2922eb4d8dcSEmmanuel Vadot        additionalProperties: false
2932eb4d8dcSEmmanuel Vadot
2942eb4d8dcSEmmanuel Vadot    additionalProperties: false
2952eb4d8dcSEmmanuel Vadot
296e67e8565SEmmanuel VadotallOf:
297e67e8565SEmmanuel Vadot  - $ref: pinctrl.yaml#
298e67e8565SEmmanuel Vadot
2992eb4d8dcSEmmanuel Vadotrequired:
3002eb4d8dcSEmmanuel Vadot  - compatible
3012eb4d8dcSEmmanuel Vadot
3022eb4d8dcSEmmanuel VadotadditionalProperties: false
3032eb4d8dcSEmmanuel Vadot
3042eb4d8dcSEmmanuel Vadotexamples:
3052eb4d8dcSEmmanuel Vadot  - |
3062eb4d8dcSEmmanuel Vadot    #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
3072eb4d8dcSEmmanuel Vadot    zynqmp_firmware: zynqmp-firmware {
3082eb4d8dcSEmmanuel Vadot        pinctrl0: pinctrl {
3092eb4d8dcSEmmanuel Vadot          compatible = "xlnx,zynqmp-pinctrl";
3102eb4d8dcSEmmanuel Vadot
3112eb4d8dcSEmmanuel Vadot          pinctrl_uart1_default: uart1-default {
3122eb4d8dcSEmmanuel Vadot             mux {
3132eb4d8dcSEmmanuel Vadot                 groups = "uart0_4_grp", "uart0_5_grp";
3142eb4d8dcSEmmanuel Vadot                 function = "uart0";
3152eb4d8dcSEmmanuel Vadot             };
3162eb4d8dcSEmmanuel Vadot
3172eb4d8dcSEmmanuel Vadot             conf {
3182eb4d8dcSEmmanuel Vadot                groups = "uart0_4_grp";
3192eb4d8dcSEmmanuel Vadot                slew-rate = <SLEW_RATE_SLOW>;
3202eb4d8dcSEmmanuel Vadot                power-source = <IO_STANDARD_LVCMOS18>;
3212eb4d8dcSEmmanuel Vadot             };
3222eb4d8dcSEmmanuel Vadot
3232eb4d8dcSEmmanuel Vadot             conf-rx {
3242eb4d8dcSEmmanuel Vadot                pins = "MIO18";
3252eb4d8dcSEmmanuel Vadot                bias-pull-up;
3262eb4d8dcSEmmanuel Vadot             };
3272eb4d8dcSEmmanuel Vadot
3282eb4d8dcSEmmanuel Vadot             conf-tx {
3292eb4d8dcSEmmanuel Vadot                pins = "MIO19";
3302eb4d8dcSEmmanuel Vadot                bias-disable;
3312eb4d8dcSEmmanuel Vadot                input-schmitt-disable;
3322eb4d8dcSEmmanuel Vadot             };
3332eb4d8dcSEmmanuel Vadot          };
3342eb4d8dcSEmmanuel Vadot        };
3352eb4d8dcSEmmanuel Vadot    };
3362eb4d8dcSEmmanuel Vadot
3372eb4d8dcSEmmanuel Vadot    uart1 {
3382eb4d8dcSEmmanuel Vadot         pinctrl-names = "default";
3392eb4d8dcSEmmanuel Vadot         pinctrl-0 = <&pinctrl_uart1_default>;
3402eb4d8dcSEmmanuel Vadot    };
3412eb4d8dcSEmmanuel Vadot
3422eb4d8dcSEmmanuel Vadot...
343