1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Device Tree File for the Kontron pitx-imx8m 3 * Device Tree File for the Kontron pitx-imx8m board. 4 * 4 * 5 * Copyright (C) 2021 Heiko Thiery <heiko.thier 5 * Copyright (C) 2021 Heiko Thiery <heiko.thiery@gmail.com> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "imx8mq.dtsi" 10 #include "imx8mq.dtsi" 11 #include <dt-bindings/net/ti-dp83867.h> 11 #include <dt-bindings/net/ti-dp83867.h> 12 12 13 / { 13 / { 14 model = "Kontron pITX-imx8m"; 14 model = "Kontron pITX-imx8m"; 15 compatible = "kontron,pitx-imx8m", "fs 15 compatible = "kontron,pitx-imx8m", "fsl,imx8mq"; 16 16 17 aliases { 17 aliases { 18 i2c0 = &i2c1; 18 i2c0 = &i2c1; 19 i2c1 = &i2c2; 19 i2c1 = &i2c2; 20 i2c2 = &i2c3; 20 i2c2 = &i2c3; 21 mmc0 = &usdhc1; 21 mmc0 = &usdhc1; 22 mmc1 = &usdhc2; 22 mmc1 = &usdhc2; 23 serial0 = &uart1; 23 serial0 = &uart1; 24 serial1 = &uart2; 24 serial1 = &uart2; 25 serial2 = &uart3; 25 serial2 = &uart3; 26 spi0 = &qspi0; 26 spi0 = &qspi0; 27 spi1 = &ecspi2; 27 spi1 = &ecspi2; 28 }; 28 }; 29 29 30 chosen { 30 chosen { 31 stdout-path = "serial2:115200n 31 stdout-path = "serial2:115200n8"; 32 }; 32 }; 33 33 34 pcie0_refclk: pcie0-clock { 34 pcie0_refclk: pcie0-clock { 35 compatible = "fixed-clock"; 35 compatible = "fixed-clock"; 36 #clock-cells = <0>; 36 #clock-cells = <0>; 37 clock-frequency = <100000000>; 37 clock-frequency = <100000000>; 38 }; 38 }; 39 39 40 pcie1_refclk: pcie1-clock { 40 pcie1_refclk: pcie1-clock { 41 compatible = "fixed-clock"; 41 compatible = "fixed-clock"; 42 #clock-cells = <0>; 42 #clock-cells = <0>; 43 clock-frequency = <100000000>; 43 clock-frequency = <100000000>; 44 }; 44 }; 45 45 46 reg_usdhc2_vmmc: regulator-usdhc2-vmmc 46 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 47 compatible = "regulator-fixed" 47 compatible = "regulator-fixed"; 48 pinctrl-names = "default"; 48 pinctrl-names = "default"; 49 pinctrl-0 = <&pinctrl_reg_usdh 49 pinctrl-0 = <&pinctrl_reg_usdhc2>; 50 regulator-name = "V_3V3_SD"; 50 regulator-name = "V_3V3_SD"; 51 regulator-min-microvolt = <330 51 regulator-min-microvolt = <3300000>; 52 regulator-max-microvolt = <330 52 regulator-max-microvolt = <3300000>; 53 gpio = <&gpio2 19 GPIO_ACTIVE_ 53 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; 54 off-on-delay-us = <20000>; 54 off-on-delay-us = <20000>; 55 enable-active-high; 55 enable-active-high; 56 }; 56 }; 57 }; 57 }; 58 58 59 &ecspi2 { 59 &ecspi2 { 60 #address-cells = <1>; 60 #address-cells = <1>; 61 #size-cells = <0>; 61 #size-cells = <0>; 62 pinctrl-names = "default"; 62 pinctrl-names = "default"; 63 pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ 63 pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>; 64 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW> 64 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; 65 status = "okay"; 65 status = "okay"; 66 66 67 tpm@0 { 67 tpm@0 { 68 compatible = "infineon,slb9670 !! 68 compatible = "infineon,slb9670"; 69 reg = <0>; 69 reg = <0>; 70 spi-max-frequency = <43000000> 70 spi-max-frequency = <43000000>; 71 }; 71 }; 72 }; 72 }; 73 73 74 &fec1 { 74 &fec1 { 75 pinctrl-names = "default"; 75 pinctrl-names = "default"; 76 pinctrl-0 = <&pinctrl_fec1>; 76 pinctrl-0 = <&pinctrl_fec1>; 77 phy-mode = "rgmii-id"; 77 phy-mode = "rgmii-id"; 78 phy-handle = <ðphy0>; 78 phy-handle = <ðphy0>; 79 fsl,magic-packet; 79 fsl,magic-packet; 80 status = "okay"; 80 status = "okay"; 81 81 82 mdio { 82 mdio { 83 #address-cells = <1>; 83 #address-cells = <1>; 84 #size-cells = <0>; 84 #size-cells = <0>; 85 85 86 ethphy0: ethernet-phy@0 { 86 ethphy0: ethernet-phy@0 { 87 compatible = "ethernet 87 compatible = "ethernet-phy-ieee802.3-c22"; 88 reg = <0>; 88 reg = <0>; 89 ti,rx-internal-delay = 89 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; 90 ti,tx-internal-delay = 90 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>; 91 ti,fifo-depth = <DP838 91 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 92 reset-gpios = <&gpio1 92 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 93 reset-assert-us = <10> 93 reset-assert-us = <10>; 94 reset-deassert-us = <2 94 reset-deassert-us = <280>; 95 }; 95 }; 96 }; 96 }; 97 }; 97 }; 98 98 99 &i2c1 { 99 &i2c1 { 100 clock-frequency = <400000>; 100 clock-frequency = <400000>; 101 pinctrl-names = "default"; 101 pinctrl-names = "default"; 102 pinctrl-0 = <&pinctrl_i2c1>; 102 pinctrl-0 = <&pinctrl_i2c1>; 103 status = "okay"; 103 status = "okay"; 104 104 105 pmic@8 { 105 pmic@8 { 106 compatible = "fsl,pfuze100"; 106 compatible = "fsl,pfuze100"; 107 fsl,pfuze-support-disable-sw; 107 fsl,pfuze-support-disable-sw; 108 reg = <0x8>; 108 reg = <0x8>; 109 109 110 regulators { 110 regulators { 111 sw1a_reg: sw1ab { 111 sw1a_reg: sw1ab { 112 regulator-name 112 regulator-name = "V_0V9_GPU"; 113 regulator-min- 113 regulator-min-microvolt = <825000>; 114 regulator-max- 114 regulator-max-microvolt = <1100000>; 115 }; 115 }; 116 116 117 sw1c_reg: sw1c { 117 sw1c_reg: sw1c { 118 regulator-name 118 regulator-name = "V_0V9_VPU"; 119 regulator-min- 119 regulator-min-microvolt = <825000>; 120 regulator-max- 120 regulator-max-microvolt = <1100000>; 121 }; 121 }; 122 122 123 sw2_reg: sw2 { 123 sw2_reg: sw2 { 124 regulator-name 124 regulator-name = "V_1V1_NVCC_DRAM"; 125 regulator-min- 125 regulator-min-microvolt = <1100000>; 126 regulator-max- 126 regulator-max-microvolt = <1100000>; 127 regulator-alwa 127 regulator-always-on; 128 }; 128 }; 129 129 130 sw3a_reg: sw3ab { 130 sw3a_reg: sw3ab { 131 regulator-name 131 regulator-name = "V_1V0_DRAM"; 132 regulator-min- 132 regulator-min-microvolt = <825000>; 133 regulator-max- 133 regulator-max-microvolt = <1100000>; 134 regulator-alwa 134 regulator-always-on; 135 }; 135 }; 136 136 137 sw4_reg: sw4 { 137 sw4_reg: sw4 { 138 regulator-name 138 regulator-name = "V_1V8_S0"; 139 regulator-min- 139 regulator-min-microvolt = <1800000>; 140 regulator-max- 140 regulator-max-microvolt = <1800000>; 141 regulator-alwa 141 regulator-always-on; 142 }; 142 }; 143 143 144 swbst_reg: swbst { 144 swbst_reg: swbst { 145 regulator-name 145 regulator-name = "NC"; 146 regulator-min- 146 regulator-min-microvolt = <5000000>; 147 regulator-max- 147 regulator-max-microvolt = <5150000>; 148 }; 148 }; 149 149 150 snvs_reg: vsnvs { 150 snvs_reg: vsnvs { 151 regulator-name 151 regulator-name = "V_0V9_SNVS"; 152 regulator-min- 152 regulator-min-microvolt = <1000000>; 153 regulator-max- 153 regulator-max-microvolt = <3000000>; 154 regulator-alwa 154 regulator-always-on; 155 }; 155 }; 156 156 157 vref_reg: vrefddr { 157 vref_reg: vrefddr { 158 regulator-name 158 regulator-name = "V_0V55_VREF_DDR"; 159 regulator-alwa 159 regulator-always-on; 160 }; 160 }; 161 161 162 vgen1_reg: vgen1 { 162 vgen1_reg: vgen1 { 163 regulator-name 163 regulator-name = "V_1V5_CSI"; 164 regulator-min- 164 regulator-min-microvolt = <800000>; 165 regulator-max- 165 regulator-max-microvolt = <1550000>; 166 }; 166 }; 167 167 168 vgen2_reg: vgen2 { 168 vgen2_reg: vgen2 { 169 regulator-name 169 regulator-name = "V_0V9_PHY"; 170 regulator-min- 170 regulator-min-microvolt = <850000>; 171 regulator-max- 171 regulator-max-microvolt = <975000>; 172 regulator-alwa 172 regulator-always-on; 173 }; 173 }; 174 174 175 vgen3_reg: vgen3 { 175 vgen3_reg: vgen3 { 176 regulator-name 176 regulator-name = "V_1V8_PHY"; 177 regulator-min- 177 regulator-min-microvolt = <1675000>; 178 regulator-max- 178 regulator-max-microvolt = <1975000>; 179 regulator-alwa 179 regulator-always-on; 180 }; 180 }; 181 181 182 vgen4_reg: vgen4 { 182 vgen4_reg: vgen4 { 183 regulator-name 183 regulator-name = "V_1V8_VDDA"; 184 regulator-min- 184 regulator-min-microvolt = <1625000>; 185 regulator-max- 185 regulator-max-microvolt = <1875000>; 186 regulator-alwa 186 regulator-always-on; 187 }; 187 }; 188 188 189 vgen5_reg: vgen5 { 189 vgen5_reg: vgen5 { 190 regulator-name 190 regulator-name = "V_3V3_PHY"; 191 regulator-min- 191 regulator-min-microvolt = <3075000>; 192 regulator-max- 192 regulator-max-microvolt = <3625000>; 193 regulator-alwa 193 regulator-always-on; 194 }; 194 }; 195 195 196 vgen6_reg: vgen6 { 196 vgen6_reg: vgen6 { 197 regulator-name 197 regulator-name = "V_2V8_CAM"; 198 regulator-min- 198 regulator-min-microvolt = <1800000>; 199 regulator-max- 199 regulator-max-microvolt = <3300000>; 200 regulator-alwa 200 regulator-always-on; 201 }; 201 }; 202 }; 202 }; 203 }; 203 }; 204 204 205 fan-controller@1b { 205 fan-controller@1b { 206 compatible = "maxim,max6650"; 206 compatible = "maxim,max6650"; 207 reg = <0x1b>; 207 reg = <0x1b>; 208 maxim,fan-microvolt = <5000000 208 maxim,fan-microvolt = <5000000>; 209 }; 209 }; 210 210 211 rtc@32 { 211 rtc@32 { 212 compatible = "microcrystal,rv8 212 compatible = "microcrystal,rv8803"; 213 reg = <0x32>; 213 reg = <0x32>; 214 }; 214 }; 215 215 216 sensor@4b { 216 sensor@4b { 217 compatible = "national,lm75b"; 217 compatible = "national,lm75b"; 218 reg = <0x4b>; 218 reg = <0x4b>; 219 }; 219 }; 220 220 221 eeprom@51 { 221 eeprom@51 { 222 compatible = "atmel,24c32"; 222 compatible = "atmel,24c32"; 223 reg = <0x51>; 223 reg = <0x51>; 224 pagesize = <32>; 224 pagesize = <32>; 225 }; 225 }; 226 }; 226 }; 227 227 228 &i2c2 { 228 &i2c2 { 229 clock-frequency = <100000>; 229 clock-frequency = <100000>; 230 pinctrl-names = "default"; 230 pinctrl-names = "default"; 231 pinctrl-0 = <&pinctrl_i2c2>; 231 pinctrl-0 = <&pinctrl_i2c2>; 232 status = "okay"; 232 status = "okay"; 233 }; 233 }; 234 234 235 &i2c3 { 235 &i2c3 { 236 clock-frequency = <100000>; 236 clock-frequency = <100000>; 237 pinctrl-names = "default"; 237 pinctrl-names = "default"; 238 pinctrl-0 = <&pinctrl_i2c3>; 238 pinctrl-0 = <&pinctrl_i2c3>; 239 status = "okay"; 239 status = "okay"; 240 }; 240 }; 241 241 242 /* M.2 B-key slot */ 242 /* M.2 B-key slot */ 243 &pcie0 { 243 &pcie0 { 244 pinctrl-names = "default"; 244 pinctrl-names = "default"; 245 pinctrl-0 = <&pinctrl_pcie0>; 245 pinctrl-0 = <&pinctrl_pcie0>; 246 reset-gpio = <&gpio1 9 GPIO_ACTIVE_LOW 246 reset-gpio = <&gpio1 9 GPIO_ACTIVE_LOW>; 247 clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>, 247 clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>, 248 <&pcie0_refclk>, 248 <&pcie0_refclk>, 249 <&clk IMX8MQ_CLK_PCIE1_PHY>, 249 <&clk IMX8MQ_CLK_PCIE1_PHY>, 250 <&clk IMX8MQ_CLK_PCIE1_AUX>; 250 <&clk IMX8MQ_CLK_PCIE1_AUX>; 251 status = "okay"; 251 status = "okay"; 252 }; 252 }; 253 253 254 /* Intel Ethernet Controller I210/I211 */ 254 /* Intel Ethernet Controller I210/I211 */ 255 &pcie1 { 255 &pcie1 { 256 clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, 256 clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, 257 <&pcie1_refclk>, 257 <&pcie1_refclk>, 258 <&clk IMX8MQ_CLK_PCIE2_PHY>, 258 <&clk IMX8MQ_CLK_PCIE2_PHY>, 259 <&clk IMX8MQ_CLK_PCIE2_AUX>; 259 <&clk IMX8MQ_CLK_PCIE2_AUX>; 260 fsl,max-link-speed = <1>; 260 fsl,max-link-speed = <1>; 261 status = "okay"; 261 status = "okay"; 262 }; 262 }; 263 263 264 &pgc_gpu { 264 &pgc_gpu { 265 power-supply = <&sw1a_reg>; 265 power-supply = <&sw1a_reg>; 266 }; 266 }; 267 267 268 &pgc_vpu { 268 &pgc_vpu { 269 power-supply = <&sw1c_reg>; 269 power-supply = <&sw1c_reg>; 270 }; 270 }; 271 271 272 &qspi0 { 272 &qspi0 { 273 pinctrl-names = "default"; 273 pinctrl-names = "default"; 274 pinctrl-0 = <&pinctrl_qspi>; 274 pinctrl-0 = <&pinctrl_qspi>; 275 status = "okay"; 275 status = "okay"; 276 276 277 flash@0 { 277 flash@0 { 278 compatible = "jedec,spi-nor"; 278 compatible = "jedec,spi-nor"; 279 #address-cells = <1>; 279 #address-cells = <1>; 280 #size-cells = <1>; 280 #size-cells = <1>; 281 reg = <0>; 281 reg = <0>; 282 spi-tx-bus-width = <1>; 282 spi-tx-bus-width = <1>; 283 spi-rx-bus-width = <4>; 283 spi-rx-bus-width = <4>; 284 m25p,fast-read; 284 m25p,fast-read; 285 spi-max-frequency = <50000000> 285 spi-max-frequency = <50000000>; 286 }; 286 }; 287 }; 287 }; 288 288 289 &snvs_pwrkey { 289 &snvs_pwrkey { 290 status = "okay"; 290 status = "okay"; 291 }; 291 }; 292 292 293 &uart1 { 293 &uart1 { 294 pinctrl-names = "default"; 294 pinctrl-names = "default"; 295 pinctrl-0 = <&pinctrl_uart1>; 295 pinctrl-0 = <&pinctrl_uart1>; 296 assigned-clocks = <&clk IMX8MQ_CLK_UAR 296 assigned-clocks = <&clk IMX8MQ_CLK_UART1>; 297 assigned-clock-parents = <&clk IMX8MQ_ 297 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>; 298 status = "okay"; 298 status = "okay"; 299 }; 299 }; 300 300 301 &uart2 { 301 &uart2 { 302 pinctrl-names = "default"; 302 pinctrl-names = "default"; 303 pinctrl-0 = <&pinctrl_uart2>; 303 pinctrl-0 = <&pinctrl_uart2>; 304 assigned-clocks = <&clk IMX8MQ_CLK_UAR 304 assigned-clocks = <&clk IMX8MQ_CLK_UART2>; 305 assigned-clock-parents = <&clk IMX8MQ_ 305 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>; 306 status = "okay"; 306 status = "okay"; 307 }; 307 }; 308 308 309 &uart3 { 309 &uart3 { 310 pinctrl-names = "default"; 310 pinctrl-names = "default"; 311 pinctrl-0 = <&pinctrl_uart3>; 311 pinctrl-0 = <&pinctrl_uart3>; 312 uart-has-rtscts; 312 uart-has-rtscts; 313 assigned-clocks = <&clk IMX8MQ_CLK_UAR 313 assigned-clocks = <&clk IMX8MQ_CLK_UART3>; 314 assigned-clock-parents = <&clk IMX8MQ_ 314 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>; 315 status = "okay"; 315 status = "okay"; 316 }; 316 }; 317 317 318 &usb3_phy0 { 318 &usb3_phy0 { 319 status = "okay"; 319 status = "okay"; 320 }; 320 }; 321 321 322 &usb3_phy1 { 322 &usb3_phy1 { 323 status = "okay"; 323 status = "okay"; 324 }; 324 }; 325 325 326 &usb_dwc3_0 { 326 &usb_dwc3_0 { 327 pinctrl-names = "default"; 327 pinctrl-names = "default"; 328 pinctrl-0 = <&pinctrl_usb0>; 328 pinctrl-0 = <&pinctrl_usb0>; 329 dr_mode = "otg"; 329 dr_mode = "otg"; 330 hnp-disable; 330 hnp-disable; 331 srp-disable; 331 srp-disable; 332 adp-disable; 332 adp-disable; 333 maximum-speed = "high-speed"; 333 maximum-speed = "high-speed"; 334 status = "okay"; 334 status = "okay"; 335 }; 335 }; 336 336 337 &usb_dwc3_1 { 337 &usb_dwc3_1 { 338 dr_mode = "host"; 338 dr_mode = "host"; 339 status = "okay"; 339 status = "okay"; 340 }; 340 }; 341 341 342 &usdhc1 { 342 &usdhc1 { 343 assigned-clocks = <&clk IMX8MQ_CLK_USD 343 assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>; 344 assigned-clock-rates = <400000000>; 344 assigned-clock-rates = <400000000>; 345 pinctrl-names = "default", "state_100m 345 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 346 pinctrl-0 = <&pinctrl_usdhc1>; 346 pinctrl-0 = <&pinctrl_usdhc1>; 347 pinctrl-1 = <&pinctrl_usdhc1_100mhz>; 347 pinctrl-1 = <&pinctrl_usdhc1_100mhz>; 348 pinctrl-2 = <&pinctrl_usdhc1_200mhz>; 348 pinctrl-2 = <&pinctrl_usdhc1_200mhz>; 349 vqmmc-supply = <&sw4_reg>; 349 vqmmc-supply = <&sw4_reg>; 350 bus-width = <8>; 350 bus-width = <8>; 351 non-removable; 351 non-removable; 352 no-sd; 352 no-sd; 353 no-sdio; 353 no-sdio; 354 status = "okay"; 354 status = "okay"; 355 }; 355 }; 356 356 357 &usdhc2 { 357 &usdhc2 { 358 assigned-clocks = <&clk IMX8MQ_CLK_USD 358 assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>; 359 assigned-clock-rates = <200000000>; 359 assigned-clock-rates = <200000000>; 360 pinctrl-names = "default", "state_100m 360 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 361 pinctrl-0 = <&pinctrl_usdhc2>, <&pinct 361 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 362 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, 362 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 363 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, 363 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 364 bus-width = <4>; 364 bus-width = <4>; 365 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW> 365 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 366 wp-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH 366 wp-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; 367 vmmc-supply = <®_usdhc2_vmmc>; 367 vmmc-supply = <®_usdhc2_vmmc>; 368 status = "okay"; 368 status = "okay"; 369 }; 369 }; 370 370 371 &wdog1 { 371 &wdog1 { 372 pinctrl-names = "default"; 372 pinctrl-names = "default"; 373 pinctrl-0 = <&pinctrl_wdog>; 373 pinctrl-0 = <&pinctrl_wdog>; 374 fsl,ext-reset-output; 374 fsl,ext-reset-output; 375 status = "okay"; 375 status = "okay"; 376 }; 376 }; 377 377 378 &iomuxc { 378 &iomuxc { 379 pinctrl-names = "default"; 379 pinctrl-names = "default"; 380 pinctrl-0 = <&pinctrl_hog>; 380 pinctrl-0 = <&pinctrl_hog>; 381 381 382 pinctrl_hog: hoggrp { 382 pinctrl_hog: hoggrp { 383 fsl,pins = < 383 fsl,pins = < 384 MX8MQ_IOMUXC_NAND_CE1_ 384 MX8MQ_IOMUXC_NAND_CE1_B_GPIO3_IO2 0x19 /* TPM Reset */ 385 MX8MQ_IOMUXC_NAND_CE3_ 385 MX8MQ_IOMUXC_NAND_CE3_B_GPIO3_IO4 0x19 /* USB2 Hub Reset */ 386 >; 386 >; 387 }; 387 }; 388 388 389 pinctrl_gpio: gpiogrp { 389 pinctrl_gpio: gpiogrp { 390 fsl,pins = < 390 fsl,pins = < 391 MX8MQ_IOMUXC_NAND_CLE_ 391 MX8MQ_IOMUXC_NAND_CLE_GPIO3_IO5 0x19 /* GPIO0 */ 392 MX8MQ_IOMUXC_NAND_RE_B 392 MX8MQ_IOMUXC_NAND_RE_B_GPIO3_IO15 0x19 /* GPIO1 */ 393 MX8MQ_IOMUXC_NAND_WE_B 393 MX8MQ_IOMUXC_NAND_WE_B_GPIO3_IO17 0x19 /* GPIO2 */ 394 MX8MQ_IOMUXC_NAND_WP_B 394 MX8MQ_IOMUXC_NAND_WP_B_GPIO3_IO18 0x19 /* GPIO3 */ 395 MX8MQ_IOMUXC_NAND_READ 395 MX8MQ_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19 /* GPIO4 */ 396 MX8MQ_IOMUXC_NAND_DATA 396 MX8MQ_IOMUXC_NAND_DATA04_GPIO3_IO10 0x19 /* GPIO5 */ 397 MX8MQ_IOMUXC_NAND_DATA 397 MX8MQ_IOMUXC_NAND_DATA05_GPIO3_IO11 0x19 /* GPIO6 */ 398 MX8MQ_IOMUXC_NAND_DATA 398 MX8MQ_IOMUXC_NAND_DATA06_GPIO3_IO12 0x19 /* GPIO7 */ 399 >; 399 >; 400 }; 400 }; 401 401 402 pinctrl_pcie0: pcie0grp { 402 pinctrl_pcie0: pcie0grp { 403 fsl,pins = < 403 fsl,pins = < 404 MX8MQ_IOMUXC_GPIO1_IO0 404 MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x16 /* PCIE_PERST */ 405 MX8MQ_IOMUXC_UART4_TXD 405 MX8MQ_IOMUXC_UART4_TXD_GPIO5_IO29 0x16 /* W_DISABLE */ 406 >; 406 >; 407 }; 407 }; 408 408 409 pinctrl_reg_usdhc2: regusdhc2gpiogrp { 409 pinctrl_reg_usdhc2: regusdhc2gpiogrp { 410 fsl,pins = < 410 fsl,pins = < 411 MX8MQ_IOMUXC_SD2_RESET 411 MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 412 >; 412 >; 413 }; 413 }; 414 414 415 pinctrl_fec1: fec1grp { 415 pinctrl_fec1: fec1grp { 416 fsl,pins = < 416 fsl,pins = < 417 MX8MQ_IOMUXC_ENET_MDC_ 417 MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3 418 MX8MQ_IOMUXC_ENET_MDIO 418 MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO 0x23 419 MX8MQ_IOMUXC_ENET_TD3_ 419 MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f 420 MX8MQ_IOMUXC_ENET_TD2_ 420 MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f 421 MX8MQ_IOMUXC_ENET_TD1_ 421 MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f 422 MX8MQ_IOMUXC_ENET_TD0_ 422 MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f 423 MX8MQ_IOMUXC_ENET_RD3_ 423 MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 424 MX8MQ_IOMUXC_ENET_RD2_ 424 MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 425 MX8MQ_IOMUXC_ENET_RD1_ 425 MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 426 MX8MQ_IOMUXC_ENET_RD0_ 426 MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 427 MX8MQ_IOMUXC_ENET_TXC_ 427 MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f 428 MX8MQ_IOMUXC_ENET_RXC_ 428 MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 429 MX8MQ_IOMUXC_ENET_RX_C 429 MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 430 MX8MQ_IOMUXC_ENET_TX_C 430 MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f 431 MX8MQ_IOMUXC_GPIO1_IO1 431 MX8MQ_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x16 432 MX8MQ_IOMUXC_GPIO1_IO1 432 MX8MQ_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x16 433 >; 433 >; 434 }; 434 }; 435 435 436 pinctrl_i2c1: i2c1grp { 436 pinctrl_i2c1: i2c1grp { 437 fsl,pins = < 437 fsl,pins = < 438 MX8MQ_IOMUXC_I2C1_SCL_ 438 MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f 439 MX8MQ_IOMUXC_I2C1_SDA_ 439 MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x4000007f 440 >; 440 >; 441 }; 441 }; 442 442 443 pinctrl_i2c2: i2c2grp { 443 pinctrl_i2c2: i2c2grp { 444 fsl,pins = < 444 fsl,pins = < 445 MX8MQ_IOMUXC_I2C2_SCL_ 445 MX8MQ_IOMUXC_I2C2_SCL_I2C2_SCL 0x4000007f 446 MX8MQ_IOMUXC_I2C2_SDA_ 446 MX8MQ_IOMUXC_I2C2_SDA_I2C2_SDA 0x4000007f 447 >; 447 >; 448 }; 448 }; 449 449 450 pinctrl_i2c3: i2c3grp { 450 pinctrl_i2c3: i2c3grp { 451 fsl,pins = < 451 fsl,pins = < 452 MX8MQ_IOMUXC_I2C3_SCL_ 452 MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL 0x4000007f 453 MX8MQ_IOMUXC_I2C3_SDA_ 453 MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA 0x4000007f 454 >; 454 >; 455 }; 455 }; 456 456 457 pinctrl_qspi: qspigrp { 457 pinctrl_qspi: qspigrp { 458 fsl,pins = < 458 fsl,pins = < 459 MX8MQ_IOMUXC_NAND_ALE_ 459 MX8MQ_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x82 460 MX8MQ_IOMUXC_NAND_CE0_ 460 MX8MQ_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x82 461 MX8MQ_IOMUXC_NAND_DATA 461 MX8MQ_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x82 462 MX8MQ_IOMUXC_NAND_DATA 462 MX8MQ_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x82 463 MX8MQ_IOMUXC_NAND_DATA 463 MX8MQ_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x82 464 MX8MQ_IOMUXC_NAND_DATA 464 MX8MQ_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x82 465 >; 465 >; 466 }; 466 }; 467 467 468 pinctrl_ecspi2: ecspi2grp { 468 pinctrl_ecspi2: ecspi2grp { 469 fsl,pins = < 469 fsl,pins = < 470 MX8MQ_IOMUXC_ECSPI2_MO 470 MX8MQ_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x19 471 MX8MQ_IOMUXC_ECSPI2_MI 471 MX8MQ_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x19 472 MX8MQ_IOMUXC_ECSPI2_SC 472 MX8MQ_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x19 473 >; 473 >; 474 }; 474 }; 475 475 476 pinctrl_ecspi2_cs: ecspi2csgrp { 476 pinctrl_ecspi2_cs: ecspi2csgrp { 477 fsl,pins = < 477 fsl,pins = < 478 MX8MQ_IOMUXC_ECSPI2_SS 478 MX8MQ_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x19 479 >; 479 >; 480 }; 480 }; 481 481 482 pinctrl_uart1: uart1grp { 482 pinctrl_uart1: uart1grp { 483 fsl,pins = < 483 fsl,pins = < 484 MX8MQ_IOMUXC_UART1_TXD 484 MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX 0x49 485 MX8MQ_IOMUXC_UART1_RXD 485 MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49 486 >; 486 >; 487 }; 487 }; 488 488 489 pinctrl_uart2: uart2grp { 489 pinctrl_uart2: uart2grp { 490 fsl,pins = < 490 fsl,pins = < 491 MX8MQ_IOMUXC_UART2_TXD 491 MX8MQ_IOMUXC_UART2_TXD_UART2_DCE_TX 0x49 492 MX8MQ_IOMUXC_UART2_RXD 492 MX8MQ_IOMUXC_UART2_RXD_UART2_DCE_RX 0x49 493 >; 493 >; 494 }; 494 }; 495 495 496 pinctrl_uart3: uart3grp { 496 pinctrl_uart3: uart3grp { 497 fsl,pins = < 497 fsl,pins = < 498 MX8MQ_IOMUXC_UART3_TXD 498 MX8MQ_IOMUXC_UART3_TXD_UART3_DCE_TX 0x49 499 MX8MQ_IOMUXC_UART3_RXD 499 MX8MQ_IOMUXC_UART3_RXD_UART3_DCE_RX 0x49 500 MX8MQ_IOMUXC_ECSPI1_SS 500 MX8MQ_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0x49 501 MX8MQ_IOMUXC_ECSPI1_MI 501 MX8MQ_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0x49 502 >; 502 >; 503 }; 503 }; 504 504 505 pinctrl_usdhc1: usdhc1grp { 505 pinctrl_usdhc1: usdhc1grp { 506 fsl,pins = < 506 fsl,pins = < 507 MX8MQ_IOMUXC_SD1_CLK_U 507 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83 508 MX8MQ_IOMUXC_SD1_CMD_U 508 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc3 509 MX8MQ_IOMUXC_SD1_DATA0 509 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc3 510 MX8MQ_IOMUXC_SD1_DATA1 510 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc3 511 MX8MQ_IOMUXC_SD1_DATA2 511 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc3 512 MX8MQ_IOMUXC_SD1_DATA3 512 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc3 513 MX8MQ_IOMUXC_SD1_DATA4 513 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc3 514 MX8MQ_IOMUXC_SD1_DATA5 514 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc3 515 MX8MQ_IOMUXC_SD1_DATA6 515 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc3 516 MX8MQ_IOMUXC_SD1_DATA7 516 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc3 517 MX8MQ_IOMUXC_SD1_STROB 517 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x83 518 MX8MQ_IOMUXC_SD1_RESET 518 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 519 >; 519 >; 520 }; 520 }; 521 521 522 pinctrl_usdhc1_100mhz: usdhc1-100grp { 522 pinctrl_usdhc1_100mhz: usdhc1-100grp { 523 fsl,pins = < 523 fsl,pins = < 524 MX8MQ_IOMUXC_SD1_CLK_U 524 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x8d 525 MX8MQ_IOMUXC_SD1_CMD_U 525 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xcd 526 MX8MQ_IOMUXC_SD1_DATA0 526 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xcd 527 MX8MQ_IOMUXC_SD1_DATA1 527 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xcd 528 MX8MQ_IOMUXC_SD1_DATA2 528 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xcd 529 MX8MQ_IOMUXC_SD1_DATA3 529 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xcd 530 MX8MQ_IOMUXC_SD1_DATA4 530 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xcd 531 MX8MQ_IOMUXC_SD1_DATA5 531 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xcd 532 MX8MQ_IOMUXC_SD1_DATA6 532 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xcd 533 MX8MQ_IOMUXC_SD1_DATA7 533 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xcd 534 MX8MQ_IOMUXC_SD1_STROB 534 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x8d 535 MX8MQ_IOMUXC_SD1_RESET 535 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 536 >; 536 >; 537 }; 537 }; 538 538 539 pinctrl_usdhc1_200mhz: usdhc1-200grp { 539 pinctrl_usdhc1_200mhz: usdhc1-200grp { 540 fsl,pins = < 540 fsl,pins = < 541 MX8MQ_IOMUXC_SD1_CLK_U 541 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x9f 542 MX8MQ_IOMUXC_SD1_CMD_U 542 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xdf 543 MX8MQ_IOMUXC_SD1_DATA0 543 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xdf 544 MX8MQ_IOMUXC_SD1_DATA1 544 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xdf 545 MX8MQ_IOMUXC_SD1_DATA2 545 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xdf 546 MX8MQ_IOMUXC_SD1_DATA3 546 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xdf 547 MX8MQ_IOMUXC_SD1_DATA4 547 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xdf 548 MX8MQ_IOMUXC_SD1_DATA5 548 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xdf 549 MX8MQ_IOMUXC_SD1_DATA6 549 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xdf 550 MX8MQ_IOMUXC_SD1_DATA7 550 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xdf 551 MX8MQ_IOMUXC_SD1_STROB 551 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x9f 552 MX8MQ_IOMUXC_SD1_RESET 552 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 553 >; 553 >; 554 }; 554 }; 555 555 556 pinctrl_usdhc2_gpio: usdhc2gpiogrp { 556 pinctrl_usdhc2_gpio: usdhc2gpiogrp { 557 fsl,pins = < 557 fsl,pins = < 558 MX8MQ_IOMUXC_SD2_CD_B_ 558 MX8MQ_IOMUXC_SD2_CD_B_GPIO2_IO12 0x41 559 MX8MQ_IOMUXC_SD2_WP_GP 559 MX8MQ_IOMUXC_SD2_WP_GPIO2_IO20 0x19 560 >; 560 >; 561 }; 561 }; 562 562 563 pinctrl_usdhc2: usdhc2grp { 563 pinctrl_usdhc2: usdhc2grp { 564 fsl,pins = < 564 fsl,pins = < 565 MX8MQ_IOMUXC_SD2_CLK_U 565 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x83 566 MX8MQ_IOMUXC_SD2_CMD_U 566 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc3 567 MX8MQ_IOMUXC_SD2_DATA0 567 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc3 568 MX8MQ_IOMUXC_SD2_DATA1 568 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc3 569 MX8MQ_IOMUXC_SD2_DATA2 569 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc3 570 MX8MQ_IOMUXC_SD2_DATA3 570 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc3 571 MX8MQ_IOMUXC_GPIO1_IO0 571 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 572 >; 572 >; 573 }; 573 }; 574 574 575 pinctrl_usdhc2_100mhz: usdhc2-100grp { 575 pinctrl_usdhc2_100mhz: usdhc2-100grp { 576 fsl,pins = < 576 fsl,pins = < 577 MX8MQ_IOMUXC_SD2_CLK_U 577 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x8d 578 MX8MQ_IOMUXC_SD2_CMD_U 578 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xcd 579 MX8MQ_IOMUXC_SD2_DATA0 579 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xcd 580 MX8MQ_IOMUXC_SD2_DATA1 580 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xcd 581 MX8MQ_IOMUXC_SD2_DATA2 581 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xcd 582 MX8MQ_IOMUXC_SD2_DATA3 582 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xcd 583 MX8MQ_IOMUXC_GPIO1_IO0 583 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 584 >; 584 >; 585 }; 585 }; 586 586 587 pinctrl_usdhc2_200mhz: usdhc2-200grp { 587 pinctrl_usdhc2_200mhz: usdhc2-200grp { 588 fsl,pins = < 588 fsl,pins = < 589 MX8MQ_IOMUXC_SD2_CLK_U 589 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x9f 590 MX8MQ_IOMUXC_SD2_CMD_U 590 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xdf 591 MX8MQ_IOMUXC_SD2_DATA0 591 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xdf 592 MX8MQ_IOMUXC_SD2_DATA1 592 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xdf 593 MX8MQ_IOMUXC_SD2_DATA2 593 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xdf 594 MX8MQ_IOMUXC_SD2_DATA3 594 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xdf 595 MX8MQ_IOMUXC_GPIO1_IO0 595 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 596 >; 596 >; 597 }; 597 }; 598 598 599 pinctrl_usb0: usb0grp { 599 pinctrl_usb0: usb0grp { 600 fsl,pins = < 600 fsl,pins = < 601 MX8MQ_IOMUXC_GPIO1_IO1 601 MX8MQ_IOMUXC_GPIO1_IO12_USB1_OTG_PWR 0x19 602 MX8MQ_IOMUXC_GPIO1_IO1 602 MX8MQ_IOMUXC_GPIO1_IO13_USB1_OTG_OC 0x19 603 >; 603 >; 604 }; 604 }; 605 605 606 pinctrl_wdog: wdoggrp { 606 pinctrl_wdog: wdoggrp { 607 fsl,pins = < 607 fsl,pins = < 608 MX8MQ_IOMUXC_GPIO1_IO0 608 MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 609 >; 609 >; 610 }; 610 }; 611 }; 611 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.