1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (c) 2018 Protonic Holland 4*f126890aSEmmanuel Vadot * Copyright (c) 2020 Oleksij Rempel <kernel@pengutronix.de>, Pengutronix 5*f126890aSEmmanuel Vadot */ 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot/dts-v1/; 8*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 9*f126890aSEmmanuel Vadot#include "imx6qp.dtsi" 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot/ { 12*f126890aSEmmanuel Vadot model = "Protonic WD3 board"; 13*f126890aSEmmanuel Vadot compatible = "prt,prtwd3", "fsl,imx6qp"; 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot chosen { 16*f126890aSEmmanuel Vadot stdout-path = &uart4; 17*f126890aSEmmanuel Vadot }; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot memory@10000000 { 20*f126890aSEmmanuel Vadot device_type = "memory"; 21*f126890aSEmmanuel Vadot reg = <0x10000000 0x20000000>; 22*f126890aSEmmanuel Vadot }; 23*f126890aSEmmanuel Vadot 24*f126890aSEmmanuel Vadot memory@80000000 { 25*f126890aSEmmanuel Vadot device_type = "memory"; 26*f126890aSEmmanuel Vadot reg = <0x80000000 0x20000000>; 27*f126890aSEmmanuel Vadot }; 28*f126890aSEmmanuel Vadot 29*f126890aSEmmanuel Vadot clock_ksz8081: clock-ksz8081 { 30*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 31*f126890aSEmmanuel Vadot #clock-cells = <0>; 32*f126890aSEmmanuel Vadot clock-frequency = <50000000>; 33*f126890aSEmmanuel Vadot }; 34*f126890aSEmmanuel Vadot 35*f126890aSEmmanuel Vadot clock_ksz9031: clock-ksz9031 { 36*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 37*f126890aSEmmanuel Vadot #clock-cells = <0>; 38*f126890aSEmmanuel Vadot clock-frequency = <25000000>; 39*f126890aSEmmanuel Vadot }; 40*f126890aSEmmanuel Vadot 41*f126890aSEmmanuel Vadot clock_mcp251xfd: clock-mcp251xfd { 42*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 43*f126890aSEmmanuel Vadot #clock-cells = <0>; 44*f126890aSEmmanuel Vadot clock-frequency = <20000000>; 45*f126890aSEmmanuel Vadot }; 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot clock_sja1105: clock-sja1105 { 48*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 49*f126890aSEmmanuel Vadot #clock-cells = <0>; 50*f126890aSEmmanuel Vadot clock-frequency = <25000000>; 51*f126890aSEmmanuel Vadot }; 52*f126890aSEmmanuel Vadot 53*f126890aSEmmanuel Vadot mdio { 54*f126890aSEmmanuel Vadot compatible = "virtual,mdio-gpio"; 55*f126890aSEmmanuel Vadot pinctrl-names = "default"; 56*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mdio>; 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot #address-cells = <1>; 59*f126890aSEmmanuel Vadot #size-cells = <0>; 60*f126890aSEmmanuel Vadot gpios = <&gpio5 6 GPIO_ACTIVE_HIGH 61*f126890aSEmmanuel Vadot &gpio5 7 GPIO_ACTIVE_HIGH>; 62*f126890aSEmmanuel Vadot 63*f126890aSEmmanuel Vadot /* Microchip KSZ8081 */ 64*f126890aSEmmanuel Vadot usbeth_phy: ethernet-phy@3 { 65*f126890aSEmmanuel Vadot reg = <0x3>; 66*f126890aSEmmanuel Vadot 67*f126890aSEmmanuel Vadot interrupts-extended = <&gpio5 12 IRQ_TYPE_LEVEL_LOW>; 68*f126890aSEmmanuel Vadot reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>; 69*f126890aSEmmanuel Vadot reset-assert-us = <500>; 70*f126890aSEmmanuel Vadot reset-deassert-us = <1000>; 71*f126890aSEmmanuel Vadot clocks = <&clock_ksz8081>; 72*f126890aSEmmanuel Vadot clock-names = "rmii-ref"; 73*f126890aSEmmanuel Vadot micrel,led-mode = <0>; 74*f126890aSEmmanuel Vadot }; 75*f126890aSEmmanuel Vadot 76*f126890aSEmmanuel Vadot tja1102_phy0: ethernet-phy@4 { 77*f126890aSEmmanuel Vadot reg = <0x4>; 78*f126890aSEmmanuel Vadot 79*f126890aSEmmanuel Vadot interrupts-extended = <&gpio5 8 IRQ_TYPE_LEVEL_LOW>; 80*f126890aSEmmanuel Vadot reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 81*f126890aSEmmanuel Vadot reset-assert-us = <20>; 82*f126890aSEmmanuel Vadot reset-deassert-us = <2000>; 83*f126890aSEmmanuel Vadot #address-cells = <1>; 84*f126890aSEmmanuel Vadot #size-cells = <0>; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot tja1102_phy1: ethernet-phy@5 { 87*f126890aSEmmanuel Vadot reg = <0x5>; 88*f126890aSEmmanuel Vadot 89*f126890aSEmmanuel Vadot interrupts-extended = <&gpio5 8 IRQ_TYPE_LEVEL_LOW>; 90*f126890aSEmmanuel Vadot }; 91*f126890aSEmmanuel Vadot }; 92*f126890aSEmmanuel Vadot }; 93*f126890aSEmmanuel Vadot 94*f126890aSEmmanuel Vadot reg_5v0: regulator-5v0 { 95*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 96*f126890aSEmmanuel Vadot regulator-name = "5v0"; 97*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 98*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 99*f126890aSEmmanuel Vadot }; 100*f126890aSEmmanuel Vadot 101*f126890aSEmmanuel Vadot reg_otg_vbus: regulator-otg-vbus { 102*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 103*f126890aSEmmanuel Vadot regulator-name = "otg-vbus"; 104*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 105*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 106*f126890aSEmmanuel Vadot gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; 107*f126890aSEmmanuel Vadot enable-active-high; 108*f126890aSEmmanuel Vadot }; 109*f126890aSEmmanuel Vadot 110*f126890aSEmmanuel Vadot usdhc2_wifi_pwrseq: usdhc2-wifi-pwrseq { 111*f126890aSEmmanuel Vadot compatible = "mmc-pwrseq-simple"; 112*f126890aSEmmanuel Vadot pinctrl-names = "default"; 113*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wifi_npd>; 114*f126890aSEmmanuel Vadot reset-gpios = <&gpio6 10 GPIO_ACTIVE_LOW>; 115*f126890aSEmmanuel Vadot }; 116*f126890aSEmmanuel Vadot}; 117*f126890aSEmmanuel Vadot 118*f126890aSEmmanuel Vadot&can1 { 119*f126890aSEmmanuel Vadot pinctrl-names = "default"; 120*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_can1>; 121*f126890aSEmmanuel Vadot xceiver-supply = <®_5v0>; 122*f126890aSEmmanuel Vadot status = "okay"; 123*f126890aSEmmanuel Vadot}; 124*f126890aSEmmanuel Vadot 125*f126890aSEmmanuel Vadot&ecspi2 { 126*f126890aSEmmanuel Vadot cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 127*f126890aSEmmanuel Vadot pinctrl-names = "default"; 128*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi2>; 129*f126890aSEmmanuel Vadot status = "okay"; 130*f126890aSEmmanuel Vadot 131*f126890aSEmmanuel Vadot switch@0 { 132*f126890aSEmmanuel Vadot compatible = "nxp,sja1105q"; 133*f126890aSEmmanuel Vadot reg = <0>; 134*f126890aSEmmanuel Vadot spi-max-frequency = <4000000>; 135*f126890aSEmmanuel Vadot spi-rx-delay-us = <1>; 136*f126890aSEmmanuel Vadot spi-tx-delay-us = <1>; 137*f126890aSEmmanuel Vadot spi-cpha; 138*f126890aSEmmanuel Vadot 139*f126890aSEmmanuel Vadot reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; 140*f126890aSEmmanuel Vadot 141*f126890aSEmmanuel Vadot clocks = <&clock_sja1105>; 142*f126890aSEmmanuel Vadot 143*f126890aSEmmanuel Vadot ports { 144*f126890aSEmmanuel Vadot #address-cells = <1>; 145*f126890aSEmmanuel Vadot #size-cells = <0>; 146*f126890aSEmmanuel Vadot 147*f126890aSEmmanuel Vadot port@0 { 148*f126890aSEmmanuel Vadot reg = <0>; 149*f126890aSEmmanuel Vadot label = "usb"; 150*f126890aSEmmanuel Vadot phy-handle = <&usbeth_phy>; 151*f126890aSEmmanuel Vadot phy-mode = "rmii"; 152*f126890aSEmmanuel Vadot }; 153*f126890aSEmmanuel Vadot 154*f126890aSEmmanuel Vadot port@1 { 155*f126890aSEmmanuel Vadot reg = <1>; 156*f126890aSEmmanuel Vadot label = "t1slave"; 157*f126890aSEmmanuel Vadot phy-handle = <&tja1102_phy1>; 158*f126890aSEmmanuel Vadot phy-mode = "rmii"; 159*f126890aSEmmanuel Vadot }; 160*f126890aSEmmanuel Vadot 161*f126890aSEmmanuel Vadot port@2 { 162*f126890aSEmmanuel Vadot reg = <2>; 163*f126890aSEmmanuel Vadot label = "t1master"; 164*f126890aSEmmanuel Vadot phy-handle = <&tja1102_phy0>; 165*f126890aSEmmanuel Vadot phy-mode = "rmii"; 166*f126890aSEmmanuel Vadot 167*f126890aSEmmanuel Vadot }; 168*f126890aSEmmanuel Vadot 169*f126890aSEmmanuel Vadot port@3 { 170*f126890aSEmmanuel Vadot reg = <3>; 171*f126890aSEmmanuel Vadot label = "rj45"; 172*f126890aSEmmanuel Vadot phy-handle = <&rgmii_phy>; 173*f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 174*f126890aSEmmanuel Vadot }; 175*f126890aSEmmanuel Vadot 176*f126890aSEmmanuel Vadot port@4 { 177*f126890aSEmmanuel Vadot reg = <4>; 178*f126890aSEmmanuel Vadot label = "cpu"; 179*f126890aSEmmanuel Vadot ethernet = <&fec>; 180*f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 181*f126890aSEmmanuel Vadot rx-internal-delay-ps = <2000>; 182*f126890aSEmmanuel Vadot tx-internal-delay-ps = <2000>; 183*f126890aSEmmanuel Vadot 184*f126890aSEmmanuel Vadot fixed-link { 185*f126890aSEmmanuel Vadot speed = <100>; 186*f126890aSEmmanuel Vadot full-duplex; 187*f126890aSEmmanuel Vadot }; 188*f126890aSEmmanuel Vadot }; 189*f126890aSEmmanuel Vadot }; 190*f126890aSEmmanuel Vadot }; 191*f126890aSEmmanuel Vadot}; 192*f126890aSEmmanuel Vadot 193*f126890aSEmmanuel Vadot&ecspi3 { 194*f126890aSEmmanuel Vadot cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 195*f126890aSEmmanuel Vadot pinctrl-names = "default"; 196*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi3>; 197*f126890aSEmmanuel Vadot status = "okay"; 198*f126890aSEmmanuel Vadot 199*f126890aSEmmanuel Vadot can@0 { 200*f126890aSEmmanuel Vadot compatible = "microchip,mcp251xfd"; 201*f126890aSEmmanuel Vadot pinctrl-names = "default"; 202*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_can2>; 203*f126890aSEmmanuel Vadot reg = <0>; 204*f126890aSEmmanuel Vadot clocks = <&clock_mcp251xfd>; 205*f126890aSEmmanuel Vadot spi-max-frequency = <10000000>; 206*f126890aSEmmanuel Vadot interrupts-extended = <&gpio4 25 IRQ_TYPE_LEVEL_LOW>; 207*f126890aSEmmanuel Vadot }; 208*f126890aSEmmanuel Vadot}; 209*f126890aSEmmanuel Vadot 210*f126890aSEmmanuel Vadot&fec { 211*f126890aSEmmanuel Vadot pinctrl-names = "default"; 212*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet>; 213*f126890aSEmmanuel Vadot assigned-clocks = <&clks IMX6QDL_CLK_ENET_REF>; 214*f126890aSEmmanuel Vadot assigned-clock-rates = <125000000>; 215*f126890aSEmmanuel Vadot status = "okay"; 216*f126890aSEmmanuel Vadot 217*f126890aSEmmanuel Vadot phy-mode = "rgmii"; 218*f126890aSEmmanuel Vadot 219*f126890aSEmmanuel Vadot fixed-link { 220*f126890aSEmmanuel Vadot speed = <100>; 221*f126890aSEmmanuel Vadot full-duplex; 222*f126890aSEmmanuel Vadot }; 223*f126890aSEmmanuel Vadot 224*f126890aSEmmanuel Vadot mdio { 225*f126890aSEmmanuel Vadot #address-cells = <1>; 226*f126890aSEmmanuel Vadot #size-cells = <0>; 227*f126890aSEmmanuel Vadot 228*f126890aSEmmanuel Vadot /* Microchip KSZ9031 */ 229*f126890aSEmmanuel Vadot rgmii_phy: ethernet-phy@2 { 230*f126890aSEmmanuel Vadot reg = <2>; 231*f126890aSEmmanuel Vadot 232*f126890aSEmmanuel Vadot interrupts-extended = <&gpio1 28 IRQ_TYPE_EDGE_FALLING>; 233*f126890aSEmmanuel Vadot reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; 234*f126890aSEmmanuel Vadot reset-assert-us = <10000>; 235*f126890aSEmmanuel Vadot reset-deassert-us = <1000>; 236*f126890aSEmmanuel Vadot 237*f126890aSEmmanuel Vadot clocks = <&clock_ksz9031>; 238*f126890aSEmmanuel Vadot }; 239*f126890aSEmmanuel Vadot }; 240*f126890aSEmmanuel Vadot}; 241*f126890aSEmmanuel Vadot 242*f126890aSEmmanuel Vadot&gpio1 { 243*f126890aSEmmanuel Vadot gpio-line-names = 244*f126890aSEmmanuel Vadot "", "SD1_CD", "", "", "", "", "", "", 245*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 246*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 247*f126890aSEmmanuel Vadot "", "PHY3_RESET", "", "", "PHY3_INT", "", "", ""; 248*f126890aSEmmanuel Vadot}; 249*f126890aSEmmanuel Vadot 250*f126890aSEmmanuel Vadot&gpio2 { 251*f126890aSEmmanuel Vadot gpio-line-names = 252*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 253*f126890aSEmmanuel Vadot "REV_ID0", "REV_ID1", "REV_ID2", "REV_ID3", "BOARD_ID3", 254*f126890aSEmmanuel Vadot "BOARD_ID0", "BOARD_ID1", "BOARD_ID2", 255*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 256*f126890aSEmmanuel Vadot "", "", "ECSPI2_SS0", "", "", "", "", ""; 257*f126890aSEmmanuel Vadot}; 258*f126890aSEmmanuel Vadot 259*f126890aSEmmanuel Vadot&gpio3 { 260*f126890aSEmmanuel Vadot gpio-line-names = 261*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 262*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 263*f126890aSEmmanuel Vadot "", "", "", "", "", "USB_OTG_OC", "USB_OTG_PWR", "", 264*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", ""; 265*f126890aSEmmanuel Vadot}; 266*f126890aSEmmanuel Vadot 267*f126890aSEmmanuel Vadot&gpio4 { 268*f126890aSEmmanuel Vadot gpio-line-names = 269*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 270*f126890aSEmmanuel Vadot "", "", "", "", "CAN1_SR", "CAN2_SR", "", "", 271*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 272*f126890aSEmmanuel Vadot "ECSPI3_SS0", "CANFD_INT", "USB_ETH_RESET", "", "", "", "", ""; 273*f126890aSEmmanuel Vadot}; 274*f126890aSEmmanuel Vadot 275*f126890aSEmmanuel Vadot&gpio5 { 276*f126890aSEmmanuel Vadot gpio-line-names = 277*f126890aSEmmanuel Vadot "", "", "", "", "", "SW_RESET", "", "", 278*f126890aSEmmanuel Vadot "PHY12_INT", "PHY12_RESET", "PHY12_EN", "PHY0_RESET", 279*f126890aSEmmanuel Vadot "PHY0_INT", "", "", "", 280*f126890aSEmmanuel Vadot "", "", "DISP1_EN", "DISP1_LR", "DISP1_TS_IRQ", "LVDS1_PD", 281*f126890aSEmmanuel Vadot "", "", 282*f126890aSEmmanuel Vadot "", "LVDS1_INT", "", "", "DISP0_LR", "DISP0_TS_IRQ", 283*f126890aSEmmanuel Vadot "DISP0_EN", "CAM_GPIO0"; 284*f126890aSEmmanuel Vadot}; 285*f126890aSEmmanuel Vadot 286*f126890aSEmmanuel Vadot&gpio6 { 287*f126890aSEmmanuel Vadot gpio-line-names = 288*f126890aSEmmanuel Vadot "LVDS0_INT", "LVDS0_PD", "CAM_INT", "CAM_GPIO1", "CAM_PD", 289*f126890aSEmmanuel Vadot "CAM_LOCK", "", "POWER_TG", 290*f126890aSEmmanuel Vadot "POWER_VSEL", "", "WLAN_REG_ON", "USB_ETH_CHG", "", "", 291*f126890aSEmmanuel Vadot "USB_ETH_CHG_ID0", "USB_ETH_CHG_ID1", 292*f126890aSEmmanuel Vadot "USB_ETH_CHG_ID2", "", "", "", "", "", "", "", 293*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", ""; 294*f126890aSEmmanuel Vadot}; 295*f126890aSEmmanuel Vadot 296*f126890aSEmmanuel Vadot&i2c1 { 297*f126890aSEmmanuel Vadot clock-frequency = <100000>; 298*f126890aSEmmanuel Vadot pinctrl-names = "default"; 299*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 300*f126890aSEmmanuel Vadot status = "okay"; 301*f126890aSEmmanuel Vadot 302*f126890aSEmmanuel Vadot /* additional i2c devices are added automatically by the boot loader */ 303*f126890aSEmmanuel Vadot}; 304*f126890aSEmmanuel Vadot 305*f126890aSEmmanuel Vadot&i2c3 { 306*f126890aSEmmanuel Vadot adc@49 { 307*f126890aSEmmanuel Vadot compatible = "ti,ads1015"; 308*f126890aSEmmanuel Vadot reg = <0x49>; 309*f126890aSEmmanuel Vadot #address-cells = <1>; 310*f126890aSEmmanuel Vadot #size-cells = <0>; 311*f126890aSEmmanuel Vadot 312*f126890aSEmmanuel Vadot /* VIN */ 313*f126890aSEmmanuel Vadot channel@4 { 314*f126890aSEmmanuel Vadot reg = <4>; 315*f126890aSEmmanuel Vadot ti,gain = <1>; 316*f126890aSEmmanuel Vadot ti,datarate = <3>; 317*f126890aSEmmanuel Vadot }; 318*f126890aSEmmanuel Vadot 319*f126890aSEmmanuel Vadot /* VBUS */ 320*f126890aSEmmanuel Vadot channel@5 { 321*f126890aSEmmanuel Vadot reg = <5>; 322*f126890aSEmmanuel Vadot ti,gain = <1>; 323*f126890aSEmmanuel Vadot ti,datarate = <3>; 324*f126890aSEmmanuel Vadot }; 325*f126890aSEmmanuel Vadot 326*f126890aSEmmanuel Vadot /* ICHG */ 327*f126890aSEmmanuel Vadot channel@6 { 328*f126890aSEmmanuel Vadot reg = <6>; 329*f126890aSEmmanuel Vadot ti,gain = <1>; 330*f126890aSEmmanuel Vadot ti,datarate = <3>; 331*f126890aSEmmanuel Vadot }; 332*f126890aSEmmanuel Vadot 333*f126890aSEmmanuel Vadot channel@7 { 334*f126890aSEmmanuel Vadot reg = <7>; 335*f126890aSEmmanuel Vadot ti,gain = <1>; 336*f126890aSEmmanuel Vadot ti,datarate = <3>; 337*f126890aSEmmanuel Vadot }; 338*f126890aSEmmanuel Vadot }; 339*f126890aSEmmanuel Vadot}; 340*f126890aSEmmanuel Vadot 341*f126890aSEmmanuel Vadot&uart4 { 342*f126890aSEmmanuel Vadot pinctrl-names = "default"; 343*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart4>; 344*f126890aSEmmanuel Vadot status = "okay"; 345*f126890aSEmmanuel Vadot}; 346*f126890aSEmmanuel Vadot 347*f126890aSEmmanuel Vadot&usbotg { 348*f126890aSEmmanuel Vadot vbus-supply = <®_otg_vbus>; 349*f126890aSEmmanuel Vadot pinctrl-names = "default"; 350*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg>; 351*f126890aSEmmanuel Vadot phy_type = "utmi"; 352*f126890aSEmmanuel Vadot dr_mode = "host"; 353*f126890aSEmmanuel Vadot over-current-active-low; 354*f126890aSEmmanuel Vadot status = "okay"; 355*f126890aSEmmanuel Vadot}; 356*f126890aSEmmanuel Vadot 357*f126890aSEmmanuel Vadot&usbphynop1 { 358*f126890aSEmmanuel Vadot status = "disabled"; 359*f126890aSEmmanuel Vadot}; 360*f126890aSEmmanuel Vadot 361*f126890aSEmmanuel Vadot&usbphynop2 { 362*f126890aSEmmanuel Vadot status = "disabled"; 363*f126890aSEmmanuel Vadot}; 364*f126890aSEmmanuel Vadot 365*f126890aSEmmanuel Vadot&usdhc1 { 366*f126890aSEmmanuel Vadot pinctrl-names = "default"; 367*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc1>; 368*f126890aSEmmanuel Vadot cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; 369*f126890aSEmmanuel Vadot no-1-8-v; 370*f126890aSEmmanuel Vadot disable-wp; 371*f126890aSEmmanuel Vadot cap-sd-highspeed; 372*f126890aSEmmanuel Vadot no-mmc; 373*f126890aSEmmanuel Vadot no-sdio; 374*f126890aSEmmanuel Vadot status = "okay"; 375*f126890aSEmmanuel Vadot}; 376*f126890aSEmmanuel Vadot 377*f126890aSEmmanuel Vadot&usdhc2 { 378*f126890aSEmmanuel Vadot pinctrl-names = "default"; 379*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>; 380*f126890aSEmmanuel Vadot no-1-8-v; 381*f126890aSEmmanuel Vadot non-removable; 382*f126890aSEmmanuel Vadot mmc-pwrseq = <&usdhc2_wifi_pwrseq>; 383*f126890aSEmmanuel Vadot status = "okay"; 384*f126890aSEmmanuel Vadot #address-cells = <1>; 385*f126890aSEmmanuel Vadot #size-cells = <0>; 386*f126890aSEmmanuel Vadot 387*f126890aSEmmanuel Vadot brcmf: bcrmf@1 { 388*f126890aSEmmanuel Vadot reg = <1>; 389*f126890aSEmmanuel Vadot compatible = "brcm,bcm4329-fmac"; 390*f126890aSEmmanuel Vadot }; 391*f126890aSEmmanuel Vadot}; 392*f126890aSEmmanuel Vadot 393*f126890aSEmmanuel Vadot&usdhc3 { 394*f126890aSEmmanuel Vadot pinctrl-names = "default"; 395*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc3>; 396*f126890aSEmmanuel Vadot bus-width = <8>; 397*f126890aSEmmanuel Vadot no-1-8-v; 398*f126890aSEmmanuel Vadot non-removable; 399*f126890aSEmmanuel Vadot no-sd; 400*f126890aSEmmanuel Vadot no-sdio; 401*f126890aSEmmanuel Vadot status = "okay"; 402*f126890aSEmmanuel Vadot}; 403*f126890aSEmmanuel Vadot 404*f126890aSEmmanuel Vadot&iomuxc { 405*f126890aSEmmanuel Vadot pinctrl_can1: can1grp { 406*f126890aSEmmanuel Vadot fsl,pins = < 407*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b000 408*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x3008 409*f126890aSEmmanuel Vadot /* CAN1_SR */ 410*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x13008 411*f126890aSEmmanuel Vadot >; 412*f126890aSEmmanuel Vadot }; 413*f126890aSEmmanuel Vadot 414*f126890aSEmmanuel Vadot pinctrl_can2: can2grp { 415*f126890aSEmmanuel Vadot fsl,pins = < 416*f126890aSEmmanuel Vadot /* CAN2_nINT */ 417*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT4__GPIO4_IO25 0x1b0b1 418*f126890aSEmmanuel Vadot /* CAN2_SR */ 419*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x13070 420*f126890aSEmmanuel Vadot >; 421*f126890aSEmmanuel Vadot }; 422*f126890aSEmmanuel Vadot 423*f126890aSEmmanuel Vadot pinctrl_ecspi2: ecspi2grp { 424*f126890aSEmmanuel Vadot fsl,pins = < 425*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 426*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 427*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 428*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x000b1 429*f126890aSEmmanuel Vadot >; 430*f126890aSEmmanuel Vadot }; 431*f126890aSEmmanuel Vadot 432*f126890aSEmmanuel Vadot pinctrl_ecspi3: ecspi3grp { 433*f126890aSEmmanuel Vadot fsl,pins = < 434*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1 435*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI 0x100b1 436*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO 0x100b1 437*f126890aSEmmanuel Vadot /* CS */ 438*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x000b1 439*f126890aSEmmanuel Vadot >; 440*f126890aSEmmanuel Vadot }; 441*f126890aSEmmanuel Vadot 442*f126890aSEmmanuel Vadot pinctrl_enet: enetgrp { 443*f126890aSEmmanuel Vadot fsl,pins = < 444*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 445*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 446*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 447*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 448*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 449*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 450*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x10030 451*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x10030 452*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x10030 453*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x10030 454*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x10030 455*f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x10030 456*f126890aSEmmanuel Vadot 457*f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x10030 458*f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDC__ENET_MDC 0x10030 459*f126890aSEmmanuel Vadot 460*f126890aSEmmanuel Vadot /* Configure clock provider for RGMII ref clock */ 461*f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0b0 462*f126890aSEmmanuel Vadot /* Configure clock consumer for RGMII ref clock */ 463*f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x10030 464*f126890aSEmmanuel Vadot 465*f126890aSEmmanuel Vadot /* SJA1105Q switch reset */ 466*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT11__GPIO5_IO05 0x10030 467*f126890aSEmmanuel Vadot 468*f126890aSEmmanuel Vadot /* phy3/rgmii_phy reset */ 469*f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x10030 470*f126890aSEmmanuel Vadot /* phy3/rgmii_phy int */ 471*f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x40010000 472*f126890aSEmmanuel Vadot >; 473*f126890aSEmmanuel Vadot }; 474*f126890aSEmmanuel Vadot 475*f126890aSEmmanuel Vadot pinctrl_i2c1: i2c1grp { 476*f126890aSEmmanuel Vadot fsl,pins = < 477*f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001f8b1 478*f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001f8b1 479*f126890aSEmmanuel Vadot >; 480*f126890aSEmmanuel Vadot }; 481*f126890aSEmmanuel Vadot 482*f126890aSEmmanuel Vadot pinctrl_mdio: mdiogrp { 483*f126890aSEmmanuel Vadot fsl,pins = < 484*f126890aSEmmanuel Vadot /* phy0/usbeth_phy reset */ 485*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11 0x10030 486*f126890aSEmmanuel Vadot /* phy0/usbeth_phy int */ 487*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT18__GPIO5_IO12 0x100b1 488*f126890aSEmmanuel Vadot 489*f126890aSEmmanuel Vadot /* phy12/tja1102_phy0 reset */ 490*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT15__GPIO5_IO09 0x10030 491*f126890aSEmmanuel Vadot /* phy12/tja1102_phy0 int */ 492*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT14__GPIO5_IO08 0x100b1 493*f126890aSEmmanuel Vadot /* phy12/tja1102_phy0 enable. Set 100K pull-up */ 494*f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT16__GPIO5_IO10 0x1f030 495*f126890aSEmmanuel Vadot >; 496*f126890aSEmmanuel Vadot }; 497*f126890aSEmmanuel Vadot 498*f126890aSEmmanuel Vadot pinctrl_uart4: uart4grp { 499*f126890aSEmmanuel Vadot fsl,pins = < 500*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 501*f126890aSEmmanuel Vadot MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 502*f126890aSEmmanuel Vadot >; 503*f126890aSEmmanuel Vadot }; 504*f126890aSEmmanuel Vadot 505*f126890aSEmmanuel Vadot pinctrl_usbotg: usbotggrp { 506*f126890aSEmmanuel Vadot fsl,pins = < 507*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D21__USB_OTG_OC 0x1b0b0 508*f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 509*f126890aSEmmanuel Vadot >; 510*f126890aSEmmanuel Vadot }; 511*f126890aSEmmanuel Vadot 512*f126890aSEmmanuel Vadot pinctrl_usdhc1: usdhc1grp { 513*f126890aSEmmanuel Vadot fsl,pins = < 514*f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_CMD__SD1_CMD 0x170f9 515*f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_CLK__SD1_CLK 0x100f9 516*f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x170f9 517*f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x170f9 518*f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x170f9 519*f126890aSEmmanuel Vadot MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x170f9 520*f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x1b0b0 521*f126890aSEmmanuel Vadot >; 522*f126890aSEmmanuel Vadot }; 523*f126890aSEmmanuel Vadot 524*f126890aSEmmanuel Vadot pinctrl_usdhc2: usdhc2grp { 525*f126890aSEmmanuel Vadot fsl,pins = < 526*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x170b9 527*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x100b9 528*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x170b9 529*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x170b9 530*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x170b9 531*f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x170b9 532*f126890aSEmmanuel Vadot >; 533*f126890aSEmmanuel Vadot }; 534*f126890aSEmmanuel Vadot 535*f126890aSEmmanuel Vadot pinctrl_usdhc3: usdhc3grp { 536*f126890aSEmmanuel Vadot fsl,pins = < 537*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17099 538*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10099 539*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17099 540*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17099 541*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17099 542*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17099 543*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17099 544*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17099 545*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17099 546*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17099 547*f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_RST__SD3_RESET 0x1b0b1 548*f126890aSEmmanuel Vadot >; 549*f126890aSEmmanuel Vadot }; 550*f126890aSEmmanuel Vadot 551*f126890aSEmmanuel Vadot pinctrl_wifi_npd: wifinpd { 552*f126890aSEmmanuel Vadot fsl,pins = < 553*f126890aSEmmanuel Vadot /* WL_REG_ON */ 554*f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_RB0__GPIO6_IO10 0x13069 555*f126890aSEmmanuel Vadot >; 556*f126890aSEmmanuel Vadot }; 557*f126890aSEmmanuel Vadot}; 558