1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 3f126890aSEmmanuel Vadot 4f126890aSEmmanuel Vadot/ { 5*aa1a8ff2SEmmanuel Vadot dummy_reg: regulator-dummy { 6f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 7f126890aSEmmanuel Vadot regulator-name = "dummy-supply"; 8f126890aSEmmanuel Vadot }; 9f126890aSEmmanuel Vadot 10*aa1a8ff2SEmmanuel Vadot reg_usb_otg_vbus: regulator-usb-otg-vbus { 11f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 12f126890aSEmmanuel Vadot regulator-name = "usb_otg_vbus"; 13f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 14f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 15f126890aSEmmanuel Vadot gpio = <&gpio3 22 0>; 16f126890aSEmmanuel Vadot enable-active-high; 17f126890aSEmmanuel Vadot }; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot chosen { 20f126890aSEmmanuel Vadot stdout-path = &uart1; 21f126890aSEmmanuel Vadot }; 22f126890aSEmmanuel Vadot}; 23f126890aSEmmanuel Vadot 24f126890aSEmmanuel Vadot&ecspi3 { 25f126890aSEmmanuel Vadot cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 26f126890aSEmmanuel Vadot pinctrl-names = "default"; 27f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi3>; 28f126890aSEmmanuel Vadot status = "okay"; 29f126890aSEmmanuel Vadot 30f126890aSEmmanuel Vadot flash: flash@0 { 31f126890aSEmmanuel Vadot #address-cells = <1>; 32f126890aSEmmanuel Vadot #size-cells = <1>; 33f126890aSEmmanuel Vadot compatible = "sst,sst25vf040b", "jedec,spi-nor"; 34f126890aSEmmanuel Vadot spi-max-frequency = <20000000>; 35f126890aSEmmanuel Vadot reg = <0>; 36f126890aSEmmanuel Vadot }; 37f126890aSEmmanuel Vadot}; 38f126890aSEmmanuel Vadot 39f126890aSEmmanuel Vadot&fec { 40f126890aSEmmanuel Vadot pinctrl-names = "default"; 41f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet>; 42f126890aSEmmanuel Vadot status = "okay"; 43f126890aSEmmanuel Vadot phy-mode = "rgmii"; 44f126890aSEmmanuel Vadot}; 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot&iomuxc { 47f126890aSEmmanuel Vadot pinctrl-names = "default"; 48f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hog>; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot imx6qdl-dfi-fs700-m60 { 51f126890aSEmmanuel Vadot pinctrl_hog: hoggrp { 52f126890aSEmmanuel Vadot fsl,pins = < 53f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x80000000 54f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x80000000 /* PMIC irq */ 55f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D26__GPIO3_IO26 0x80000000 /* MAX11801 irq */ 56f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D5__GPIO2_IO05 0x000030b0 /* Backlight enable */ 57f126890aSEmmanuel Vadot >; 58f126890aSEmmanuel Vadot }; 59f126890aSEmmanuel Vadot 60f126890aSEmmanuel Vadot pinctrl_enet: enetgrp { 61f126890aSEmmanuel Vadot fsl,pins = < 62f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 63f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 64f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 65f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 66f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 67f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 68f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030 69f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030 70f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030 71f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030 72f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030 73f126890aSEmmanuel Vadot MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030 74f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 75f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 76f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 77f126890aSEmmanuel Vadot MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 78f126890aSEmmanuel Vadot >; 79f126890aSEmmanuel Vadot }; 80f126890aSEmmanuel Vadot 81f126890aSEmmanuel Vadot pinctrl_i2c2: i2c2grp { 82f126890aSEmmanuel Vadot fsl,pins = < 83f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_EB2__I2C2_SCL 0x4001b8b1 84f126890aSEmmanuel Vadot MX6QDL_PAD_EIM_D16__I2C2_SDA 0x4001b8b1 85f126890aSEmmanuel Vadot >; 86f126890aSEmmanuel Vadot }; 87f126890aSEmmanuel Vadot 88f126890aSEmmanuel Vadot pinctrl_uart1: uart1grp { 89f126890aSEmmanuel Vadot fsl,pins = < 90f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 91f126890aSEmmanuel Vadot MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1 92f126890aSEmmanuel Vadot >; 93f126890aSEmmanuel Vadot }; 94f126890aSEmmanuel Vadot 95f126890aSEmmanuel Vadot pinctrl_usbotg: usbotggrp { 96f126890aSEmmanuel Vadot fsl,pins = < 97f126890aSEmmanuel Vadot MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059 98f126890aSEmmanuel Vadot >; 99f126890aSEmmanuel Vadot }; 100f126890aSEmmanuel Vadot 101f126890aSEmmanuel Vadot pinctrl_usdhc2: usdhc2grp { 102f126890aSEmmanuel Vadot fsl,pins = < 103f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 104f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059 105f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059 106f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 107f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 108f126890aSEmmanuel Vadot MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059 109f126890aSEmmanuel Vadot MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x80000000 /* card detect */ 110f126890aSEmmanuel Vadot >; 111f126890aSEmmanuel Vadot }; 112f126890aSEmmanuel Vadot 113f126890aSEmmanuel Vadot pinctrl_usdhc3: usdhc3grp { 114f126890aSEmmanuel Vadot fsl,pins = < 115f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 116f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 117f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 118f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 119f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 120f126890aSEmmanuel Vadot MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 121f126890aSEmmanuel Vadot >; 122f126890aSEmmanuel Vadot }; 123f126890aSEmmanuel Vadot 124f126890aSEmmanuel Vadot pinctrl_usdhc4: usdhc4grp { 125f126890aSEmmanuel Vadot fsl,pins = < 126f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059 127f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059 128f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059 129f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059 130f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059 131f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059 132f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059 133f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059 134f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059 135f126890aSEmmanuel Vadot MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059 136f126890aSEmmanuel Vadot >; 137f126890aSEmmanuel Vadot }; 138f126890aSEmmanuel Vadot 139f126890aSEmmanuel Vadot pinctrl_ecspi3: ecspi3grp { 140f126890aSEmmanuel Vadot fsl,pins = < 141f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT2__ECSPI3_MISO 0x100b1 142f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT1__ECSPI3_MOSI 0x100b1 143f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1 144f126890aSEmmanuel Vadot MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */ 145f126890aSEmmanuel Vadot >; 146f126890aSEmmanuel Vadot }; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot}; 149f126890aSEmmanuel Vadot 150f126890aSEmmanuel Vadot&i2c2 { 151f126890aSEmmanuel Vadot pinctrl-names = "default"; 152f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 153f126890aSEmmanuel Vadot status = "okay"; 154f126890aSEmmanuel Vadot}; 155f126890aSEmmanuel Vadot 156f126890aSEmmanuel Vadot&uart1 { 157f126890aSEmmanuel Vadot pinctrl-names = "default"; 158f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 159f126890aSEmmanuel Vadot status = "okay"; 160f126890aSEmmanuel Vadot}; 161f126890aSEmmanuel Vadot 162f126890aSEmmanuel Vadot&usbh1 { 163f126890aSEmmanuel Vadot status = "okay"; 164f126890aSEmmanuel Vadot}; 165f126890aSEmmanuel Vadot 166f126890aSEmmanuel Vadot&usbotg { 167f126890aSEmmanuel Vadot vbus-supply = <®_usb_otg_vbus>; 168f126890aSEmmanuel Vadot pinctrl-names = "default"; 169f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbotg>; 170f126890aSEmmanuel Vadot disable-over-current; 171f126890aSEmmanuel Vadot dr_mode = "host"; 172f126890aSEmmanuel Vadot status = "okay"; 173f126890aSEmmanuel Vadot}; 174f126890aSEmmanuel Vadot 175f126890aSEmmanuel Vadot&usdhc2 { /* module slot */ 176f126890aSEmmanuel Vadot pinctrl-names = "default"; 177f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc2>; 178f126890aSEmmanuel Vadot cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; 179f126890aSEmmanuel Vadot status = "okay"; 180f126890aSEmmanuel Vadot}; 181f126890aSEmmanuel Vadot 182f126890aSEmmanuel Vadot&usdhc3 { /* baseboard slot */ 183f126890aSEmmanuel Vadot pinctrl-names = "default"; 184f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc3>; 185f126890aSEmmanuel Vadot}; 186f126890aSEmmanuel Vadot 187f126890aSEmmanuel Vadot&usdhc4 { /* eMMC */ 188f126890aSEmmanuel Vadot pinctrl-names = "default"; 189f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usdhc4>; 190f126890aSEmmanuel Vadot bus-width = <8>; 191f126890aSEmmanuel Vadot non-removable; 192f126890aSEmmanuel Vadot status = "okay"; 193f126890aSEmmanuel Vadot}; 194