1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2354d7675SEmmanuel Vadot%YAML 1.2 3354d7675SEmmanuel Vadot--- 4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/mediatek,mt7622-pinctrl.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 7*fac71e4eSEmmanuel Vadottitle: MediaTek MT7622 Pin Controller 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10354d7675SEmmanuel Vadot - Sean Wang <sean.wang@kernel.org> 11354d7675SEmmanuel Vadot 12*fac71e4eSEmmanuel Vadotdescription: 13354d7675SEmmanuel Vadot The MediaTek's MT7622 Pin controller is used to control SoC pins. 14354d7675SEmmanuel Vadot 15354d7675SEmmanuel Vadotproperties: 16354d7675SEmmanuel Vadot compatible: 17354d7675SEmmanuel Vadot enum: 18354d7675SEmmanuel Vadot - mediatek,mt7622-pinctrl 19354d7675SEmmanuel Vadot - mediatek,mt7629-pinctrl 20354d7675SEmmanuel Vadot 21354d7675SEmmanuel Vadot reg: 22354d7675SEmmanuel Vadot maxItems: 1 23354d7675SEmmanuel Vadot 24354d7675SEmmanuel Vadot reg-names: 25354d7675SEmmanuel Vadot items: 26354d7675SEmmanuel Vadot - const: eint 27354d7675SEmmanuel Vadot 28354d7675SEmmanuel Vadot gpio-controller: true 29354d7675SEmmanuel Vadot 30354d7675SEmmanuel Vadot "#gpio-cells": 31354d7675SEmmanuel Vadot const: 2 32*fac71e4eSEmmanuel Vadot description: 33*fac71e4eSEmmanuel Vadot Number of cells in GPIO specifier. Since the generic GPIO binding is used, 34*fac71e4eSEmmanuel Vadot the amount of cells must be specified as 2. See the below mentioned gpio 35*fac71e4eSEmmanuel Vadot binding representation for description of particular cells. 36354d7675SEmmanuel Vadot 37354d7675SEmmanuel Vadot interrupt-controller: true 38354d7675SEmmanuel Vadot 39354d7675SEmmanuel Vadot interrupts: 40354d7675SEmmanuel Vadot maxItems: 1 41354d7675SEmmanuel Vadot 42354d7675SEmmanuel Vadot "#interrupt-cells": 43354d7675SEmmanuel Vadot const: 2 44354d7675SEmmanuel Vadot 45e67e8565SEmmanuel VadotallOf: 46*fac71e4eSEmmanuel Vadot - $ref: pinctrl.yaml# 47e67e8565SEmmanuel Vadot 48354d7675SEmmanuel Vadotrequired: 49354d7675SEmmanuel Vadot - compatible 50354d7675SEmmanuel Vadot - reg 51354d7675SEmmanuel Vadot - gpio-controller 52354d7675SEmmanuel Vadot - "#gpio-cells" 53354d7675SEmmanuel Vadot 54354d7675SEmmanuel Vadotif: 55354d7675SEmmanuel Vadot required: 56354d7675SEmmanuel Vadot - interrupt-controller 57354d7675SEmmanuel Vadotthen: 58354d7675SEmmanuel Vadot required: 59354d7675SEmmanuel Vadot - reg-names 60354d7675SEmmanuel Vadot - interrupts 61354d7675SEmmanuel Vadot - "#interrupt-cells" 62354d7675SEmmanuel Vadot 63354d7675SEmmanuel VadotpatternProperties: 64cb7aa33aSEmmanuel Vadot '-pins(-[a-z]+)?$': 65354d7675SEmmanuel Vadot type: object 66354d7675SEmmanuel Vadot additionalProperties: false 67354d7675SEmmanuel Vadot patternProperties: 68cb7aa33aSEmmanuel Vadot '^mux(-|$)': 69354d7675SEmmanuel Vadot type: object 70354d7675SEmmanuel Vadot additionalProperties: false 71*fac71e4eSEmmanuel Vadot description: 72354d7675SEmmanuel Vadot pinmux configuration nodes. 73*fac71e4eSEmmanuel Vadot $ref: /schemas/pinctrl/pinmux-node.yaml 74354d7675SEmmanuel Vadot properties: 75354d7675SEmmanuel Vadot function: 76*fac71e4eSEmmanuel Vadot description: 77354d7675SEmmanuel Vadot A string containing the name of the function to mux to the group. 78354d7675SEmmanuel Vadot enum: [emmc, eth, i2c, i2s, ir, led, flash, pcie, pmic, pwm, sd, 79354d7675SEmmanuel Vadot spi, tdm, uart, watchdog, wifi] 80354d7675SEmmanuel Vadot 81354d7675SEmmanuel Vadot groups: 82*fac71e4eSEmmanuel Vadot description: 83354d7675SEmmanuel Vadot An array of strings. Each string contains the name of a group. 84354d7675SEmmanuel Vadot 85354d7675SEmmanuel Vadot drive-strength: 86354d7675SEmmanuel Vadot enum: [4, 8, 12, 16] 87354d7675SEmmanuel Vadot 88354d7675SEmmanuel Vadot required: 89354d7675SEmmanuel Vadot - groups 90354d7675SEmmanuel Vadot - function 91354d7675SEmmanuel Vadot 92354d7675SEmmanuel Vadot allOf: 93354d7675SEmmanuel Vadot - if: 94354d7675SEmmanuel Vadot properties: 95354d7675SEmmanuel Vadot function: 96354d7675SEmmanuel Vadot const: emmc 97354d7675SEmmanuel Vadot then: 98354d7675SEmmanuel Vadot properties: 99354d7675SEmmanuel Vadot groups: 100354d7675SEmmanuel Vadot enum: [emmc, emmc_rst] 101354d7675SEmmanuel Vadot - if: 102354d7675SEmmanuel Vadot properties: 103354d7675SEmmanuel Vadot function: 104354d7675SEmmanuel Vadot const: eth 105354d7675SEmmanuel Vadot then: 106354d7675SEmmanuel Vadot properties: 107354d7675SEmmanuel Vadot groups: 108354d7675SEmmanuel Vadot enum: [esw, esw_p0_p1, esw_p2_p3_p4, rgmii_via_esw, 109354d7675SEmmanuel Vadot rgmii_via_gmac1, rgmii_via_gmac2, mdc_mdio] 110354d7675SEmmanuel Vadot - if: 111354d7675SEmmanuel Vadot properties: 112354d7675SEmmanuel Vadot function: 113354d7675SEmmanuel Vadot const: i2c 114354d7675SEmmanuel Vadot then: 115354d7675SEmmanuel Vadot properties: 116354d7675SEmmanuel Vadot groups: 117354d7675SEmmanuel Vadot enum: [i2c0, i2c_0, i2c_1, i2c1_0, i2c1_1, i2c1_2, i2c2_0, 118354d7675SEmmanuel Vadot i2c2_1, i2c2_2] 119354d7675SEmmanuel Vadot - if: 120354d7675SEmmanuel Vadot properties: 121354d7675SEmmanuel Vadot function: 122354d7675SEmmanuel Vadot const: i2s 123354d7675SEmmanuel Vadot then: 124354d7675SEmmanuel Vadot properties: 125354d7675SEmmanuel Vadot groups: 126354d7675SEmmanuel Vadot enum: [i2s_in_mclk_bclk_ws, i2s1_in_data, i2s2_in_data, 127354d7675SEmmanuel Vadot i2s3_in_data, i2s4_in_data, i2s_out_mclk_bclk_ws, 128354d7675SEmmanuel Vadot i2s1_out_data, i2s2_out_data, i2s3_out_data, 129354d7675SEmmanuel Vadot i2s4_out_data] 130354d7675SEmmanuel Vadot - if: 131354d7675SEmmanuel Vadot properties: 132354d7675SEmmanuel Vadot function: 133354d7675SEmmanuel Vadot const: ir 134354d7675SEmmanuel Vadot then: 135354d7675SEmmanuel Vadot properties: 136354d7675SEmmanuel Vadot groups: 137354d7675SEmmanuel Vadot enum: [ir_0_tx, ir_1_tx, ir_2_tx, ir_0_rx, ir_1_rx, ir_2_rx] 138354d7675SEmmanuel Vadot - if: 139354d7675SEmmanuel Vadot properties: 140354d7675SEmmanuel Vadot function: 141354d7675SEmmanuel Vadot const: led 142354d7675SEmmanuel Vadot then: 143354d7675SEmmanuel Vadot properties: 144354d7675SEmmanuel Vadot groups: 145354d7675SEmmanuel Vadot enum: [ephy_leds, ephy0_led, ephy1_led, ephy2_led, ephy3_led, 146354d7675SEmmanuel Vadot ephy4_led, wled, wf2g_led, wf5g_led] 147354d7675SEmmanuel Vadot - if: 148354d7675SEmmanuel Vadot properties: 149354d7675SEmmanuel Vadot function: 150354d7675SEmmanuel Vadot const: flash 151354d7675SEmmanuel Vadot then: 152354d7675SEmmanuel Vadot properties: 153354d7675SEmmanuel Vadot groups: 154354d7675SEmmanuel Vadot enum: [par_nand, snfi, spi_nor] 155354d7675SEmmanuel Vadot - if: 156354d7675SEmmanuel Vadot properties: 157354d7675SEmmanuel Vadot function: 158354d7675SEmmanuel Vadot const: pcie 159354d7675SEmmanuel Vadot then: 160354d7675SEmmanuel Vadot properties: 161354d7675SEmmanuel Vadot groups: 162354d7675SEmmanuel Vadot enum: [pcie0_0_waken, pcie0_1_waken, pcie1_0_waken, 163354d7675SEmmanuel Vadot pcie0_0_clkreq, pcie0_1_clkreq, pcie1_0_clkreq, 164354d7675SEmmanuel Vadot pcie0_pad_perst, pcie1_pad_perst, pcie_pereset, 165354d7675SEmmanuel Vadot pcie_wake, pcie_clkreq] 166354d7675SEmmanuel Vadot - if: 167354d7675SEmmanuel Vadot properties: 168354d7675SEmmanuel Vadot function: 169354d7675SEmmanuel Vadot const: pmic 170354d7675SEmmanuel Vadot then: 171354d7675SEmmanuel Vadot properties: 172354d7675SEmmanuel Vadot groups: 173354d7675SEmmanuel Vadot enum: [pmic_bus] 174354d7675SEmmanuel Vadot - if: 175354d7675SEmmanuel Vadot properties: 176354d7675SEmmanuel Vadot function: 177354d7675SEmmanuel Vadot const: pwm 178354d7675SEmmanuel Vadot then: 179354d7675SEmmanuel Vadot properties: 180354d7675SEmmanuel Vadot groups: 181354d7675SEmmanuel Vadot enum: [pwm_ch1_0, pwm_ch1_1, pwm_ch1_2, pwm_ch2_0, pwm_ch2_1, 182354d7675SEmmanuel Vadot pwm_ch2_2, pwm_ch3_0, pwm_ch3_1, pwm_ch3_2, pwm_ch4_0, 183354d7675SEmmanuel Vadot pwm_ch4_1, pwm_ch4_2, pwm_ch4_3, pwm_ch5_0, pwm_ch5_1, 184354d7675SEmmanuel Vadot pwm_ch5_2, pwm_ch6_0, pwm_ch6_1, pwm_ch6_2, pwm_ch6_3, 185354d7675SEmmanuel Vadot pwm_ch7_0, pwm_0, pwm_1] 186354d7675SEmmanuel Vadot - if: 187354d7675SEmmanuel Vadot properties: 188354d7675SEmmanuel Vadot function: 189354d7675SEmmanuel Vadot const: sd 190354d7675SEmmanuel Vadot then: 191354d7675SEmmanuel Vadot properties: 192354d7675SEmmanuel Vadot groups: 193354d7675SEmmanuel Vadot enum: [sd_0, sd_1] 194354d7675SEmmanuel Vadot - if: 195354d7675SEmmanuel Vadot properties: 196354d7675SEmmanuel Vadot function: 197354d7675SEmmanuel Vadot const: spi 198354d7675SEmmanuel Vadot then: 199354d7675SEmmanuel Vadot properties: 200354d7675SEmmanuel Vadot groups: 201354d7675SEmmanuel Vadot enum: [spic0_0, spic0_1, spic1_0, spic1_1, spic2_0_wp_hold, 202354d7675SEmmanuel Vadot spic2_0, spi_0, spi_1, spi_wp, spi_hold] 203354d7675SEmmanuel Vadot - if: 204354d7675SEmmanuel Vadot properties: 205354d7675SEmmanuel Vadot function: 206354d7675SEmmanuel Vadot const: tdm 207354d7675SEmmanuel Vadot then: 208354d7675SEmmanuel Vadot properties: 209354d7675SEmmanuel Vadot groups: 210354d7675SEmmanuel Vadot enum: [tdm_0_out_mclk_bclk_ws, tdm_0_in_mclk_bclk_ws, 211354d7675SEmmanuel Vadot tdm_0_out_data, tdm_0_in_data, tdm_1_out_mclk_bclk_ws, 212354d7675SEmmanuel Vadot tdm_1_in_mclk_bclk_ws, tdm_1_out_data, tdm_1_in_data] 213354d7675SEmmanuel Vadot - if: 214354d7675SEmmanuel Vadot properties: 215354d7675SEmmanuel Vadot function: 216354d7675SEmmanuel Vadot const: uart 217354d7675SEmmanuel Vadot then: 218354d7675SEmmanuel Vadot properties: 219354d7675SEmmanuel Vadot groups: 220354d7675SEmmanuel Vadot enum: [uart0_0_tx_rx, uart1_0_tx_rx, uart1_0_rts_cts, 221354d7675SEmmanuel Vadot uart1_1_tx_rx, uart1_1_rts_cts, uart2_0_tx_rx, 222354d7675SEmmanuel Vadot uart2_0_rts_cts, uart2_1_tx_rx, uart2_1_rts_cts, 223354d7675SEmmanuel Vadot uart2_2_tx_rx, uart2_2_rts_cts, uart2_3_tx_rx, 224354d7675SEmmanuel Vadot uart3_0_tx_rx, uart3_1_tx_rx, uart3_1_rts_cts, 225354d7675SEmmanuel Vadot uart4_0_tx_rx, uart4_1_tx_rx, uart4_1_rts_cts, 226354d7675SEmmanuel Vadot uart4_2_tx_rx, uart4_2_rts_cts, uart0_txd_rxd, 227354d7675SEmmanuel Vadot uart1_0_txd_rxd, uart1_0_cts_rts, uart1_1_txd_rxd, 228354d7675SEmmanuel Vadot uart1_1_cts_rts, uart2_0_txd_rxd, uart2_0_cts_rts, 229354d7675SEmmanuel Vadot uart2_1_txd_rxd, uart2_1_cts_rts] 230354d7675SEmmanuel Vadot - if: 231354d7675SEmmanuel Vadot properties: 232354d7675SEmmanuel Vadot function: 233354d7675SEmmanuel Vadot const: watchdog 234354d7675SEmmanuel Vadot then: 235354d7675SEmmanuel Vadot properties: 236354d7675SEmmanuel Vadot groups: 237354d7675SEmmanuel Vadot enum: [watchdog] 238354d7675SEmmanuel Vadot - if: 239354d7675SEmmanuel Vadot properties: 240354d7675SEmmanuel Vadot function: 241354d7675SEmmanuel Vadot const: wifi 242354d7675SEmmanuel Vadot then: 243354d7675SEmmanuel Vadot properties: 244354d7675SEmmanuel Vadot groups: 245354d7675SEmmanuel Vadot enum: [wf0_2g, wf0_5g] 246354d7675SEmmanuel Vadot 247cb7aa33aSEmmanuel Vadot '^conf(-|$)': 248354d7675SEmmanuel Vadot type: object 249354d7675SEmmanuel Vadot additionalProperties: false 250*fac71e4eSEmmanuel Vadot description: 251354d7675SEmmanuel Vadot pinconf configuration nodes. 252*fac71e4eSEmmanuel Vadot $ref: /schemas/pinctrl/pincfg-node.yaml 253354d7675SEmmanuel Vadot 254354d7675SEmmanuel Vadot properties: 255354d7675SEmmanuel Vadot groups: 256*fac71e4eSEmmanuel Vadot description: 257354d7675SEmmanuel Vadot An array of strings. Each string contains the name of a group. 258354d7675SEmmanuel Vadot Valid values are the same as the pinmux node. 259354d7675SEmmanuel Vadot 260354d7675SEmmanuel Vadot pins: 261*fac71e4eSEmmanuel Vadot description: 262354d7675SEmmanuel Vadot An array of strings. Each string contains the name of a pin. 263354d7675SEmmanuel Vadot enum: [GPIO_A, I2S1_IN, I2S1_OUT, I2S_BCLK, I2S_WS, I2S_MCLK, TXD0, 264354d7675SEmmanuel Vadot RXD0, SPI_WP, SPI_HOLD, SPI_CLK, SPI_MOSI, SPI_MISO, SPI_CS, 265354d7675SEmmanuel Vadot I2C_SDA, I2C_SCL, I2S2_IN, I2S3_IN, I2S4_IN, I2S2_OUT, 266354d7675SEmmanuel Vadot I2S3_OUT, I2S4_OUT, GPIO_B, MDC, MDIO, G2_TXD0, G2_TXD1, 267354d7675SEmmanuel Vadot G2_TXD2, G2_TXD3, G2_TXEN, G2_TXC, G2_RXD0, G2_RXD1, G2_RXD2, 268354d7675SEmmanuel Vadot G2_RXD3, G2_RXDV, G2_RXC, NCEB, NWEB, NREB, NDL4, NDL5, NDL6, 269354d7675SEmmanuel Vadot NDL7, NRB, NCLE, NALE, NDL0, NDL1, NDL2, NDL3, MDI_TP_P0, 270354d7675SEmmanuel Vadot MDI_TN_P0, MDI_RP_P0, MDI_RN_P0, MDI_TP_P1, MDI_TN_P1, 271354d7675SEmmanuel Vadot MDI_RP_P1, MDI_RN_P1, MDI_RP_P2, MDI_RN_P2, MDI_TP_P2, 272354d7675SEmmanuel Vadot MDI_TN_P2, MDI_TP_P3, MDI_TN_P3, MDI_RP_P3, MDI_RN_P3, 273354d7675SEmmanuel Vadot MDI_RP_P4, MDI_RN_P4, MDI_TP_P4, MDI_TN_P4, PMIC_SCL, 274354d7675SEmmanuel Vadot PMIC_SDA, SPIC1_CLK, SPIC1_MOSI, SPIC1_MISO, SPIC1_CS, 275354d7675SEmmanuel Vadot GPIO_D, WATCHDOG, RTS3_N, CTS3_N, TXD3, RXD3, PERST0_N, 276354d7675SEmmanuel Vadot PERST1_N, WLED_N, EPHY_LED0_N, AUXIN0, AUXIN1, AUXIN2, 277354d7675SEmmanuel Vadot AUXIN3, TXD4, RXD4, RTS4_N, CST4_N, PWM1, PWM2, PWM3, PWM4, 278354d7675SEmmanuel Vadot PWM5, PWM6, PWM7, GPIO_E, TOP_5G_CLK, TOP_5G_DATA, 279354d7675SEmmanuel Vadot WF0_5G_HB0, WF0_5G_HB1, WF0_5G_HB2, WF0_5G_HB3, WF0_5G_HB4, 280354d7675SEmmanuel Vadot WF0_5G_HB5, WF0_5G_HB6, XO_REQ, TOP_RST_N, SYS_WATCHDOG, 281354d7675SEmmanuel Vadot EPHY_LED0_N_JTDO, EPHY_LED1_N_JTDI, EPHY_LED2_N_JTMS, 282354d7675SEmmanuel Vadot EPHY_LED3_N_JTCLK, EPHY_LED4_N_JTRST_N, WF2G_LED_N, 283354d7675SEmmanuel Vadot WF5G_LED_N, GPIO_9, GPIO_10, GPIO_11, GPIO_12, UART1_TXD, 284354d7675SEmmanuel Vadot UART1_RXD, UART1_CTS, UART1_RTS, UART2_TXD, UART2_RXD, 285354d7675SEmmanuel Vadot UART2_CTS, UART2_RTS, SMI_MDC, SMI_MDIO, PCIE_PERESET_N, 286354d7675SEmmanuel Vadot PWM_0, GPIO_0, GPIO_1, GPIO_2, GPIO_3, GPIO_4, GPIO_5, 287354d7675SEmmanuel Vadot GPIO_6, GPIO_7, GPIO_8, UART0_TXD, UART0_RXD, TOP_2G_CLK, 288354d7675SEmmanuel Vadot TOP_2G_DATA, WF0_2G_HB0, WF0_2G_HB1, WF0_2G_HB2, WF0_2G_HB3, 289354d7675SEmmanuel Vadot WF0_2G_HB4, WF0_2G_HB5, WF0_2G_HB6] 290354d7675SEmmanuel Vadot 291354d7675SEmmanuel Vadot bias-disable: true 292354d7675SEmmanuel Vadot 293354d7675SEmmanuel Vadot bias-pull-up: true 294354d7675SEmmanuel Vadot 295354d7675SEmmanuel Vadot bias-pull-down: true 296354d7675SEmmanuel Vadot 297354d7675SEmmanuel Vadot input-enable: true 298354d7675SEmmanuel Vadot 299354d7675SEmmanuel Vadot input-disable: true 300354d7675SEmmanuel Vadot 301354d7675SEmmanuel Vadot output-enable: true 302354d7675SEmmanuel Vadot 303354d7675SEmmanuel Vadot output-low: true 304354d7675SEmmanuel Vadot 305354d7675SEmmanuel Vadot output-high: true 306354d7675SEmmanuel Vadot 307354d7675SEmmanuel Vadot input-schmitt-enable: true 308354d7675SEmmanuel Vadot 309354d7675SEmmanuel Vadot input-schmitt-disable: true 310354d7675SEmmanuel Vadot 311354d7675SEmmanuel Vadot drive-strength: 312354d7675SEmmanuel Vadot enum: [4, 8, 12, 16] 313354d7675SEmmanuel Vadot 314354d7675SEmmanuel Vadot slew-rate: 315354d7675SEmmanuel Vadot enum: [0, 1] 316354d7675SEmmanuel Vadot 317354d7675SEmmanuel Vadot mediatek,tdsel: 318*fac71e4eSEmmanuel Vadot description: 319354d7675SEmmanuel Vadot An integer describing the steps for output level shifter duty 320354d7675SEmmanuel Vadot cycle when asserted (high pulse width adjustment). Valid arguments 321354d7675SEmmanuel Vadot are from 0 to 15. 322354d7675SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 323354d7675SEmmanuel Vadot 324354d7675SEmmanuel Vadot mediatek,rdsel: 325*fac71e4eSEmmanuel Vadot description: 326354d7675SEmmanuel Vadot An integer describing the steps for input level shifter duty cycle 327354d7675SEmmanuel Vadot when asserted (high pulse width adjustment). Valid arguments are 328354d7675SEmmanuel Vadot from 0 to 63. 329354d7675SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 330354d7675SEmmanuel Vadot 331354d7675SEmmanuel Vadot required: 332354d7675SEmmanuel Vadot - pins 333354d7675SEmmanuel Vadot 334354d7675SEmmanuel VadotadditionalProperties: false 335354d7675SEmmanuel Vadot 336354d7675SEmmanuel Vadotexamples: 337354d7675SEmmanuel Vadot - | 338354d7675SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 339354d7675SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 340354d7675SEmmanuel Vadot 341354d7675SEmmanuel Vadot soc { 342354d7675SEmmanuel Vadot #address-cells = <2>; 343354d7675SEmmanuel Vadot #size-cells = <2>; 344354d7675SEmmanuel Vadot 345354d7675SEmmanuel Vadot pio: pinctrl@10211000 { 346354d7675SEmmanuel Vadot compatible = "mediatek,mt7622-pinctrl"; 347354d7675SEmmanuel Vadot reg = <0 0x10211000 0 0x1000>; 348354d7675SEmmanuel Vadot gpio-controller; 349354d7675SEmmanuel Vadot #gpio-cells = <2>; 350354d7675SEmmanuel Vadot 351cb7aa33aSEmmanuel Vadot pinctrl_eth_default: eth-pins { 352354d7675SEmmanuel Vadot mux-mdio { 353354d7675SEmmanuel Vadot groups = "mdc_mdio"; 354354d7675SEmmanuel Vadot function = "eth"; 355354d7675SEmmanuel Vadot drive-strength = <12>; 356354d7675SEmmanuel Vadot }; 357354d7675SEmmanuel Vadot 358354d7675SEmmanuel Vadot mux-gmac2 { 359354d7675SEmmanuel Vadot groups = "rgmii_via_gmac2"; 360354d7675SEmmanuel Vadot function = "eth"; 361354d7675SEmmanuel Vadot drive-strength = <12>; 362354d7675SEmmanuel Vadot }; 363354d7675SEmmanuel Vadot 364354d7675SEmmanuel Vadot mux-esw { 365354d7675SEmmanuel Vadot groups = "esw"; 366354d7675SEmmanuel Vadot function = "eth"; 367354d7675SEmmanuel Vadot drive-strength = <8>; 368354d7675SEmmanuel Vadot }; 369354d7675SEmmanuel Vadot 370354d7675SEmmanuel Vadot conf-mdio { 371354d7675SEmmanuel Vadot pins = "MDC"; 372354d7675SEmmanuel Vadot bias-pull-up; 373354d7675SEmmanuel Vadot }; 374354d7675SEmmanuel Vadot }; 375354d7675SEmmanuel Vadot }; 376354d7675SEmmanuel Vadot }; 377