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 <&clk IMX8MQ_CLK_PCIE1_AUX>, 249 <&clk IMX8MQ_CLK_PCIE1_PHY>, 249 <&clk IMX8MQ_CLK_PCIE1_PHY>, 250 <&clk IMX8MQ_CLK_PCIE1_AUX>; !! 250 <&pcie0_refclk>; >> 251 clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus"; 251 status = "okay"; 252 status = "okay"; 252 }; 253 }; 253 254 254 /* Intel Ethernet Controller I210/I211 */ 255 /* Intel Ethernet Controller I210/I211 */ 255 &pcie1 { 256 &pcie1 { 256 clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, 257 clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, 257 <&pcie1_refclk>, !! 258 <&clk IMX8MQ_CLK_PCIE2_AUX>, 258 <&clk IMX8MQ_CLK_PCIE2_PHY>, 259 <&clk IMX8MQ_CLK_PCIE2_PHY>, 259 <&clk IMX8MQ_CLK_PCIE2_AUX>; !! 260 <&pcie1_refclk>; >> 261 clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus"; 260 fsl,max-link-speed = <1>; 262 fsl,max-link-speed = <1>; 261 status = "okay"; 263 status = "okay"; 262 }; 264 }; 263 265 264 &pgc_gpu { 266 &pgc_gpu { 265 power-supply = <&sw1a_reg>; 267 power-supply = <&sw1a_reg>; 266 }; 268 }; 267 269 268 &pgc_vpu { 270 &pgc_vpu { 269 power-supply = <&sw1c_reg>; 271 power-supply = <&sw1c_reg>; 270 }; 272 }; 271 273 272 &qspi0 { 274 &qspi0 { 273 pinctrl-names = "default"; 275 pinctrl-names = "default"; 274 pinctrl-0 = <&pinctrl_qspi>; 276 pinctrl-0 = <&pinctrl_qspi>; 275 status = "okay"; 277 status = "okay"; 276 278 277 flash@0 { 279 flash@0 { 278 compatible = "jedec,spi-nor"; 280 compatible = "jedec,spi-nor"; 279 #address-cells = <1>; 281 #address-cells = <1>; 280 #size-cells = <1>; 282 #size-cells = <1>; 281 reg = <0>; 283 reg = <0>; 282 spi-tx-bus-width = <1>; 284 spi-tx-bus-width = <1>; 283 spi-rx-bus-width = <4>; 285 spi-rx-bus-width = <4>; 284 m25p,fast-read; 286 m25p,fast-read; 285 spi-max-frequency = <50000000> 287 spi-max-frequency = <50000000>; 286 }; 288 }; 287 }; 289 }; 288 290 289 &snvs_pwrkey { 291 &snvs_pwrkey { 290 status = "okay"; 292 status = "okay"; 291 }; 293 }; 292 294 293 &uart1 { 295 &uart1 { 294 pinctrl-names = "default"; 296 pinctrl-names = "default"; 295 pinctrl-0 = <&pinctrl_uart1>; 297 pinctrl-0 = <&pinctrl_uart1>; 296 assigned-clocks = <&clk IMX8MQ_CLK_UAR 298 assigned-clocks = <&clk IMX8MQ_CLK_UART1>; 297 assigned-clock-parents = <&clk IMX8MQ_ 299 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>; 298 status = "okay"; 300 status = "okay"; 299 }; 301 }; 300 302 301 &uart2 { 303 &uart2 { 302 pinctrl-names = "default"; 304 pinctrl-names = "default"; 303 pinctrl-0 = <&pinctrl_uart2>; 305 pinctrl-0 = <&pinctrl_uart2>; 304 assigned-clocks = <&clk IMX8MQ_CLK_UAR 306 assigned-clocks = <&clk IMX8MQ_CLK_UART2>; 305 assigned-clock-parents = <&clk IMX8MQ_ 307 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>; 306 status = "okay"; 308 status = "okay"; 307 }; 309 }; 308 310 309 &uart3 { 311 &uart3 { 310 pinctrl-names = "default"; 312 pinctrl-names = "default"; 311 pinctrl-0 = <&pinctrl_uart3>; 313 pinctrl-0 = <&pinctrl_uart3>; 312 uart-has-rtscts; !! 314 fsl,uart-has-rtscts; 313 assigned-clocks = <&clk IMX8MQ_CLK_UAR 315 assigned-clocks = <&clk IMX8MQ_CLK_UART3>; 314 assigned-clock-parents = <&clk IMX8MQ_ 316 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>; 315 status = "okay"; 317 status = "okay"; 316 }; 318 }; 317 319 318 &usb3_phy0 { 320 &usb3_phy0 { 319 status = "okay"; 321 status = "okay"; 320 }; 322 }; 321 323 322 &usb3_phy1 { 324 &usb3_phy1 { 323 status = "okay"; 325 status = "okay"; 324 }; 326 }; 325 327 326 &usb_dwc3_0 { 328 &usb_dwc3_0 { 327 pinctrl-names = "default"; 329 pinctrl-names = "default"; 328 pinctrl-0 = <&pinctrl_usb0>; 330 pinctrl-0 = <&pinctrl_usb0>; 329 dr_mode = "otg"; 331 dr_mode = "otg"; 330 hnp-disable; 332 hnp-disable; 331 srp-disable; 333 srp-disable; 332 adp-disable; 334 adp-disable; 333 maximum-speed = "high-speed"; 335 maximum-speed = "high-speed"; 334 status = "okay"; 336 status = "okay"; 335 }; 337 }; 336 338 337 &usb_dwc3_1 { 339 &usb_dwc3_1 { 338 dr_mode = "host"; 340 dr_mode = "host"; 339 status = "okay"; 341 status = "okay"; 340 }; 342 }; 341 343 342 &usdhc1 { 344 &usdhc1 { 343 assigned-clocks = <&clk IMX8MQ_CLK_USD 345 assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>; 344 assigned-clock-rates = <400000000>; 346 assigned-clock-rates = <400000000>; 345 pinctrl-names = "default", "state_100m 347 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 346 pinctrl-0 = <&pinctrl_usdhc1>; 348 pinctrl-0 = <&pinctrl_usdhc1>; 347 pinctrl-1 = <&pinctrl_usdhc1_100mhz>; 349 pinctrl-1 = <&pinctrl_usdhc1_100mhz>; 348 pinctrl-2 = <&pinctrl_usdhc1_200mhz>; 350 pinctrl-2 = <&pinctrl_usdhc1_200mhz>; 349 vqmmc-supply = <&sw4_reg>; 351 vqmmc-supply = <&sw4_reg>; 350 bus-width = <8>; 352 bus-width = <8>; 351 non-removable; 353 non-removable; 352 no-sd; 354 no-sd; 353 no-sdio; 355 no-sdio; 354 status = "okay"; 356 status = "okay"; 355 }; 357 }; 356 358 357 &usdhc2 { 359 &usdhc2 { 358 assigned-clocks = <&clk IMX8MQ_CLK_USD 360 assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>; 359 assigned-clock-rates = <200000000>; 361 assigned-clock-rates = <200000000>; 360 pinctrl-names = "default", "state_100m 362 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 361 pinctrl-0 = <&pinctrl_usdhc2>, <&pinct 363 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 362 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, 364 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 363 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, 365 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 364 bus-width = <4>; 366 bus-width = <4>; 365 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW> 367 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 366 wp-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH 368 wp-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; 367 vmmc-supply = <®_usdhc2_vmmc>; 369 vmmc-supply = <®_usdhc2_vmmc>; 368 status = "okay"; 370 status = "okay"; 369 }; 371 }; 370 372 371 &wdog1 { 373 &wdog1 { 372 pinctrl-names = "default"; 374 pinctrl-names = "default"; 373 pinctrl-0 = <&pinctrl_wdog>; 375 pinctrl-0 = <&pinctrl_wdog>; 374 fsl,ext-reset-output; 376 fsl,ext-reset-output; 375 status = "okay"; 377 status = "okay"; 376 }; 378 }; 377 379 378 &iomuxc { 380 &iomuxc { 379 pinctrl-names = "default"; 381 pinctrl-names = "default"; 380 pinctrl-0 = <&pinctrl_hog>; 382 pinctrl-0 = <&pinctrl_hog>; 381 383 382 pinctrl_hog: hoggrp { 384 pinctrl_hog: hoggrp { 383 fsl,pins = < 385 fsl,pins = < 384 MX8MQ_IOMUXC_NAND_CE1_ 386 MX8MQ_IOMUXC_NAND_CE1_B_GPIO3_IO2 0x19 /* TPM Reset */ 385 MX8MQ_IOMUXC_NAND_CE3_ 387 MX8MQ_IOMUXC_NAND_CE3_B_GPIO3_IO4 0x19 /* USB2 Hub Reset */ 386 >; 388 >; 387 }; 389 }; 388 390 389 pinctrl_gpio: gpiogrp { 391 pinctrl_gpio: gpiogrp { 390 fsl,pins = < 392 fsl,pins = < 391 MX8MQ_IOMUXC_NAND_CLE_ 393 MX8MQ_IOMUXC_NAND_CLE_GPIO3_IO5 0x19 /* GPIO0 */ 392 MX8MQ_IOMUXC_NAND_RE_B 394 MX8MQ_IOMUXC_NAND_RE_B_GPIO3_IO15 0x19 /* GPIO1 */ 393 MX8MQ_IOMUXC_NAND_WE_B 395 MX8MQ_IOMUXC_NAND_WE_B_GPIO3_IO17 0x19 /* GPIO2 */ 394 MX8MQ_IOMUXC_NAND_WP_B 396 MX8MQ_IOMUXC_NAND_WP_B_GPIO3_IO18 0x19 /* GPIO3 */ 395 MX8MQ_IOMUXC_NAND_READ 397 MX8MQ_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19 /* GPIO4 */ 396 MX8MQ_IOMUXC_NAND_DATA 398 MX8MQ_IOMUXC_NAND_DATA04_GPIO3_IO10 0x19 /* GPIO5 */ 397 MX8MQ_IOMUXC_NAND_DATA 399 MX8MQ_IOMUXC_NAND_DATA05_GPIO3_IO11 0x19 /* GPIO6 */ 398 MX8MQ_IOMUXC_NAND_DATA 400 MX8MQ_IOMUXC_NAND_DATA06_GPIO3_IO12 0x19 /* GPIO7 */ 399 >; 401 >; 400 }; 402 }; 401 403 402 pinctrl_pcie0: pcie0grp { 404 pinctrl_pcie0: pcie0grp { 403 fsl,pins = < 405 fsl,pins = < 404 MX8MQ_IOMUXC_GPIO1_IO0 406 MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x16 /* PCIE_PERST */ 405 MX8MQ_IOMUXC_UART4_TXD 407 MX8MQ_IOMUXC_UART4_TXD_GPIO5_IO29 0x16 /* W_DISABLE */ 406 >; 408 >; 407 }; 409 }; 408 410 409 pinctrl_reg_usdhc2: regusdhc2gpiogrp { 411 pinctrl_reg_usdhc2: regusdhc2gpiogrp { 410 fsl,pins = < 412 fsl,pins = < 411 MX8MQ_IOMUXC_SD2_RESET 413 MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 412 >; 414 >; 413 }; 415 }; 414 416 415 pinctrl_fec1: fec1grp { 417 pinctrl_fec1: fec1grp { 416 fsl,pins = < 418 fsl,pins = < 417 MX8MQ_IOMUXC_ENET_MDC_ 419 MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3 418 MX8MQ_IOMUXC_ENET_MDIO 420 MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO 0x23 419 MX8MQ_IOMUXC_ENET_TD3_ 421 MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f 420 MX8MQ_IOMUXC_ENET_TD2_ 422 MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f 421 MX8MQ_IOMUXC_ENET_TD1_ 423 MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f 422 MX8MQ_IOMUXC_ENET_TD0_ 424 MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f 423 MX8MQ_IOMUXC_ENET_RD3_ 425 MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 424 MX8MQ_IOMUXC_ENET_RD2_ 426 MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 425 MX8MQ_IOMUXC_ENET_RD1_ 427 MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 426 MX8MQ_IOMUXC_ENET_RD0_ 428 MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 427 MX8MQ_IOMUXC_ENET_TXC_ 429 MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f 428 MX8MQ_IOMUXC_ENET_RXC_ 430 MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 429 MX8MQ_IOMUXC_ENET_RX_C 431 MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 430 MX8MQ_IOMUXC_ENET_TX_C 432 MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f 431 MX8MQ_IOMUXC_GPIO1_IO1 433 MX8MQ_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x16 432 MX8MQ_IOMUXC_GPIO1_IO1 434 MX8MQ_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x16 433 >; 435 >; 434 }; 436 }; 435 437 436 pinctrl_i2c1: i2c1grp { 438 pinctrl_i2c1: i2c1grp { 437 fsl,pins = < 439 fsl,pins = < 438 MX8MQ_IOMUXC_I2C1_SCL_ 440 MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f 439 MX8MQ_IOMUXC_I2C1_SDA_ 441 MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x4000007f 440 >; 442 >; 441 }; 443 }; 442 444 443 pinctrl_i2c2: i2c2grp { 445 pinctrl_i2c2: i2c2grp { 444 fsl,pins = < 446 fsl,pins = < 445 MX8MQ_IOMUXC_I2C2_SCL_ 447 MX8MQ_IOMUXC_I2C2_SCL_I2C2_SCL 0x4000007f 446 MX8MQ_IOMUXC_I2C2_SDA_ 448 MX8MQ_IOMUXC_I2C2_SDA_I2C2_SDA 0x4000007f 447 >; 449 >; 448 }; 450 }; 449 451 450 pinctrl_i2c3: i2c3grp { 452 pinctrl_i2c3: i2c3grp { 451 fsl,pins = < 453 fsl,pins = < 452 MX8MQ_IOMUXC_I2C3_SCL_ 454 MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL 0x4000007f 453 MX8MQ_IOMUXC_I2C3_SDA_ 455 MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA 0x4000007f 454 >; 456 >; 455 }; 457 }; 456 458 457 pinctrl_qspi: qspigrp { 459 pinctrl_qspi: qspigrp { 458 fsl,pins = < 460 fsl,pins = < 459 MX8MQ_IOMUXC_NAND_ALE_ 461 MX8MQ_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x82 460 MX8MQ_IOMUXC_NAND_CE0_ 462 MX8MQ_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x82 461 MX8MQ_IOMUXC_NAND_DATA 463 MX8MQ_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x82 462 MX8MQ_IOMUXC_NAND_DATA 464 MX8MQ_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x82 463 MX8MQ_IOMUXC_NAND_DATA 465 MX8MQ_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x82 464 MX8MQ_IOMUXC_NAND_DATA 466 MX8MQ_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x82 465 >; 467 >; 466 }; 468 }; 467 469 468 pinctrl_ecspi2: ecspi2grp { 470 pinctrl_ecspi2: ecspi2grp { 469 fsl,pins = < 471 fsl,pins = < 470 MX8MQ_IOMUXC_ECSPI2_MO 472 MX8MQ_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x19 471 MX8MQ_IOMUXC_ECSPI2_MI 473 MX8MQ_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x19 472 MX8MQ_IOMUXC_ECSPI2_SC 474 MX8MQ_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x19 473 >; 475 >; 474 }; 476 }; 475 477 476 pinctrl_ecspi2_cs: ecspi2csgrp { 478 pinctrl_ecspi2_cs: ecspi2csgrp { 477 fsl,pins = < 479 fsl,pins = < 478 MX8MQ_IOMUXC_ECSPI2_SS 480 MX8MQ_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x19 479 >; 481 >; 480 }; 482 }; 481 483 482 pinctrl_uart1: uart1grp { 484 pinctrl_uart1: uart1grp { 483 fsl,pins = < 485 fsl,pins = < 484 MX8MQ_IOMUXC_UART1_TXD 486 MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX 0x49 485 MX8MQ_IOMUXC_UART1_RXD 487 MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49 486 >; 488 >; 487 }; 489 }; 488 490 489 pinctrl_uart2: uart2grp { 491 pinctrl_uart2: uart2grp { 490 fsl,pins = < 492 fsl,pins = < 491 MX8MQ_IOMUXC_UART2_TXD 493 MX8MQ_IOMUXC_UART2_TXD_UART2_DCE_TX 0x49 492 MX8MQ_IOMUXC_UART2_RXD 494 MX8MQ_IOMUXC_UART2_RXD_UART2_DCE_RX 0x49 493 >; 495 >; 494 }; 496 }; 495 497 496 pinctrl_uart3: uart3grp { 498 pinctrl_uart3: uart3grp { 497 fsl,pins = < 499 fsl,pins = < 498 MX8MQ_IOMUXC_UART3_TXD 500 MX8MQ_IOMUXC_UART3_TXD_UART3_DCE_TX 0x49 499 MX8MQ_IOMUXC_UART3_RXD 501 MX8MQ_IOMUXC_UART3_RXD_UART3_DCE_RX 0x49 500 MX8MQ_IOMUXC_ECSPI1_SS 502 MX8MQ_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0x49 501 MX8MQ_IOMUXC_ECSPI1_MI 503 MX8MQ_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0x49 502 >; 504 >; 503 }; 505 }; 504 506 505 pinctrl_usdhc1: usdhc1grp { 507 pinctrl_usdhc1: usdhc1grp { 506 fsl,pins = < 508 fsl,pins = < 507 MX8MQ_IOMUXC_SD1_CLK_U 509 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83 508 MX8MQ_IOMUXC_SD1_CMD_U 510 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc3 509 MX8MQ_IOMUXC_SD1_DATA0 511 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc3 510 MX8MQ_IOMUXC_SD1_DATA1 512 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc3 511 MX8MQ_IOMUXC_SD1_DATA2 513 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc3 512 MX8MQ_IOMUXC_SD1_DATA3 514 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc3 513 MX8MQ_IOMUXC_SD1_DATA4 515 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc3 514 MX8MQ_IOMUXC_SD1_DATA5 516 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc3 515 MX8MQ_IOMUXC_SD1_DATA6 517 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc3 516 MX8MQ_IOMUXC_SD1_DATA7 518 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc3 517 MX8MQ_IOMUXC_SD1_STROB 519 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x83 518 MX8MQ_IOMUXC_SD1_RESET 520 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 519 >; 521 >; 520 }; 522 }; 521 523 522 pinctrl_usdhc1_100mhz: usdhc1-100grp { 524 pinctrl_usdhc1_100mhz: usdhc1-100grp { 523 fsl,pins = < 525 fsl,pins = < 524 MX8MQ_IOMUXC_SD1_CLK_U 526 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x8d 525 MX8MQ_IOMUXC_SD1_CMD_U 527 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xcd 526 MX8MQ_IOMUXC_SD1_DATA0 528 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xcd 527 MX8MQ_IOMUXC_SD1_DATA1 529 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xcd 528 MX8MQ_IOMUXC_SD1_DATA2 530 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xcd 529 MX8MQ_IOMUXC_SD1_DATA3 531 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xcd 530 MX8MQ_IOMUXC_SD1_DATA4 532 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xcd 531 MX8MQ_IOMUXC_SD1_DATA5 533 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xcd 532 MX8MQ_IOMUXC_SD1_DATA6 534 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xcd 533 MX8MQ_IOMUXC_SD1_DATA7 535 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xcd 534 MX8MQ_IOMUXC_SD1_STROB 536 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x8d 535 MX8MQ_IOMUXC_SD1_RESET 537 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 536 >; 538 >; 537 }; 539 }; 538 540 539 pinctrl_usdhc1_200mhz: usdhc1-200grp { 541 pinctrl_usdhc1_200mhz: usdhc1-200grp { 540 fsl,pins = < 542 fsl,pins = < 541 MX8MQ_IOMUXC_SD1_CLK_U 543 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x9f 542 MX8MQ_IOMUXC_SD1_CMD_U 544 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xdf 543 MX8MQ_IOMUXC_SD1_DATA0 545 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xdf 544 MX8MQ_IOMUXC_SD1_DATA1 546 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xdf 545 MX8MQ_IOMUXC_SD1_DATA2 547 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xdf 546 MX8MQ_IOMUXC_SD1_DATA3 548 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xdf 547 MX8MQ_IOMUXC_SD1_DATA4 549 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xdf 548 MX8MQ_IOMUXC_SD1_DATA5 550 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xdf 549 MX8MQ_IOMUXC_SD1_DATA6 551 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xdf 550 MX8MQ_IOMUXC_SD1_DATA7 552 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xdf 551 MX8MQ_IOMUXC_SD1_STROB 553 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x9f 552 MX8MQ_IOMUXC_SD1_RESET 554 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 553 >; 555 >; 554 }; 556 }; 555 557 556 pinctrl_usdhc2_gpio: usdhc2gpiogrp { 558 pinctrl_usdhc2_gpio: usdhc2gpiogrp { 557 fsl,pins = < 559 fsl,pins = < 558 MX8MQ_IOMUXC_SD2_CD_B_ 560 MX8MQ_IOMUXC_SD2_CD_B_GPIO2_IO12 0x41 559 MX8MQ_IOMUXC_SD2_WP_GP 561 MX8MQ_IOMUXC_SD2_WP_GPIO2_IO20 0x19 560 >; 562 >; 561 }; 563 }; 562 564 563 pinctrl_usdhc2: usdhc2grp { 565 pinctrl_usdhc2: usdhc2grp { 564 fsl,pins = < 566 fsl,pins = < 565 MX8MQ_IOMUXC_SD2_CLK_U 567 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x83 566 MX8MQ_IOMUXC_SD2_CMD_U 568 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc3 567 MX8MQ_IOMUXC_SD2_DATA0 569 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc3 568 MX8MQ_IOMUXC_SD2_DATA1 570 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc3 569 MX8MQ_IOMUXC_SD2_DATA2 571 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc3 570 MX8MQ_IOMUXC_SD2_DATA3 572 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc3 571 MX8MQ_IOMUXC_GPIO1_IO0 573 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 572 >; 574 >; 573 }; 575 }; 574 576 575 pinctrl_usdhc2_100mhz: usdhc2-100grp { 577 pinctrl_usdhc2_100mhz: usdhc2-100grp { 576 fsl,pins = < 578 fsl,pins = < 577 MX8MQ_IOMUXC_SD2_CLK_U 579 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x8d 578 MX8MQ_IOMUXC_SD2_CMD_U 580 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xcd 579 MX8MQ_IOMUXC_SD2_DATA0 581 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xcd 580 MX8MQ_IOMUXC_SD2_DATA1 582 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xcd 581 MX8MQ_IOMUXC_SD2_DATA2 583 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xcd 582 MX8MQ_IOMUXC_SD2_DATA3 584 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xcd 583 MX8MQ_IOMUXC_GPIO1_IO0 585 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 584 >; 586 >; 585 }; 587 }; 586 588 587 pinctrl_usdhc2_200mhz: usdhc2-200grp { 589 pinctrl_usdhc2_200mhz: usdhc2-200grp { 588 fsl,pins = < 590 fsl,pins = < 589 MX8MQ_IOMUXC_SD2_CLK_U 591 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x9f 590 MX8MQ_IOMUXC_SD2_CMD_U 592 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xdf 591 MX8MQ_IOMUXC_SD2_DATA0 593 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xdf 592 MX8MQ_IOMUXC_SD2_DATA1 594 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xdf 593 MX8MQ_IOMUXC_SD2_DATA2 595 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xdf 594 MX8MQ_IOMUXC_SD2_DATA3 596 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xdf 595 MX8MQ_IOMUXC_GPIO1_IO0 597 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 596 >; 598 >; 597 }; 599 }; 598 600 599 pinctrl_usb0: usb0grp { 601 pinctrl_usb0: usb0grp { 600 fsl,pins = < 602 fsl,pins = < 601 MX8MQ_IOMUXC_GPIO1_IO1 603 MX8MQ_IOMUXC_GPIO1_IO12_USB1_OTG_PWR 0x19 602 MX8MQ_IOMUXC_GPIO1_IO1 604 MX8MQ_IOMUXC_GPIO1_IO13_USB1_OTG_OC 0x19 603 >; 605 >; 604 }; 606 }; 605 607 606 pinctrl_wdog: wdoggrp { 608 pinctrl_wdog: wdoggrp { 607 fsl,pins = < 609 fsl,pins = < 608 MX8MQ_IOMUXC_GPIO1_IO0 610 MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 609 >; 611 >; 610 }; 612 }; 611 }; 613 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.