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