1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* 2 /* 3 * Copyright 2017 NXP 3 * Copyright 2017 NXP 4 * Copyright (C) 2017-2018 Pengutronix, Lucas < 4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de> 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "imx8mq.dtsi" 9 #include "imx8mq.dtsi" 10 10 11 / { 11 / { 12 model = "NXP i.MX8MQ EVK"; 12 model = "NXP i.MX8MQ EVK"; 13 compatible = "fsl,imx8mq-evk", "fsl,im 13 compatible = "fsl,imx8mq-evk", "fsl,imx8mq"; 14 14 15 chosen { 15 chosen { 16 stdout-path = &uart1; 16 stdout-path = &uart1; 17 }; 17 }; 18 18 19 memory@40000000 { 19 memory@40000000 { 20 device_type = "memory"; 20 device_type = "memory"; 21 reg = <0x00000000 0x40000000 0 21 reg = <0x00000000 0x40000000 0 0xc0000000>; 22 }; 22 }; 23 23 24 pcie0_refclk: pcie0-refclk { 24 pcie0_refclk: pcie0-refclk { 25 compatible = "fixed-clock"; 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 26 #clock-cells = <0>; 27 clock-frequency = <100000000>; 27 clock-frequency = <100000000>; 28 }; 28 }; 29 29 30 reg_pcie1: regulator-pcie { << 31 compatible = "regulator-fixed" << 32 pinctrl-names = "default"; << 33 pinctrl-0 = <&pinctrl_pcie1_re << 34 regulator-name = "MPCIE_3V3"; << 35 regulator-min-microvolt = <330 << 36 regulator-max-microvolt = <330 << 37 gpio = <&gpio5 10 GPIO_ACTIVE_ << 38 enable-active-high; << 39 }; << 40 << 41 reg_usdhc2_vmmc: regulator-vsd-3v3 { 30 reg_usdhc2_vmmc: regulator-vsd-3v3 { 42 pinctrl-names = "default"; 31 pinctrl-names = "default"; 43 pinctrl-0 = <&pinctrl_reg_usdh 32 pinctrl-0 = <&pinctrl_reg_usdhc2>; 44 compatible = "regulator-fixed" 33 compatible = "regulator-fixed"; 45 regulator-name = "VSD_3V3"; 34 regulator-name = "VSD_3V3"; 46 regulator-min-microvolt = <330 35 regulator-min-microvolt = <3300000>; 47 regulator-max-microvolt = <330 36 regulator-max-microvolt = <3300000>; 48 gpio = <&gpio2 19 GPIO_ACTIVE_ 37 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; 49 off-on-delay-us = <20000>; << 50 enable-active-high; 38 enable-active-high; 51 }; 39 }; 52 40 53 buck2_reg: regulator-buck2 { 41 buck2_reg: regulator-buck2 { 54 pinctrl-names = "default"; 42 pinctrl-names = "default"; 55 pinctrl-0 = <&pinctrl_buck2>; 43 pinctrl-0 = <&pinctrl_buck2>; 56 compatible = "regulator-gpio"; 44 compatible = "regulator-gpio"; 57 regulator-name = "vdd_arm"; 45 regulator-name = "vdd_arm"; 58 regulator-min-microvolt = <900 46 regulator-min-microvolt = <900000>; 59 regulator-max-microvolt = <100 47 regulator-max-microvolt = <1000000>; 60 gpios = <&gpio1 13 GPIO_ACTIVE 48 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; 61 states = <1000000 0x0 49 states = <1000000 0x0 62 900000 0x1>; 50 900000 0x1>; 63 regulator-boot-on; 51 regulator-boot-on; 64 regulator-always-on; 52 regulator-always-on; 65 }; 53 }; 66 54 67 ir-receiver { 55 ir-receiver { 68 compatible = "gpio-ir-receiver 56 compatible = "gpio-ir-receiver"; 69 gpios = <&gpio1 12 GPIO_ACTIVE 57 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 70 pinctrl-names = "default"; 58 pinctrl-names = "default"; 71 pinctrl-0 = <&pinctrl_ir>; 59 pinctrl-0 = <&pinctrl_ir>; 72 linux,autosuspend-period = <12 << 73 }; << 74 << 75 audio_codec_bt_sco: audio-codec-bt-sco << 76 compatible = "linux,bt-sco"; << 77 #sound-dai-cells = <1>; << 78 }; 60 }; 79 61 80 wm8524: audio-codec { 62 wm8524: audio-codec { 81 #sound-dai-cells = <0>; 63 #sound-dai-cells = <0>; 82 compatible = "wlf,wm8524"; 64 compatible = "wlf,wm8524"; 83 wlf,mute-gpios = <&gpio1 8 GPI 65 wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; 84 }; 66 }; 85 67 86 sound-bt-sco { << 87 compatible = "simple-audio-car << 88 simple-audio-card,name = "bt-s << 89 simple-audio-card,format = "ds << 90 simple-audio-card,bitclock-inv << 91 simple-audio-card,frame-master << 92 simple-audio-card,bitclock-mas << 93 << 94 btcpu: simple-audio-card,cpu { << 95 sound-dai = <&sai3>; << 96 dai-tdm-slot-num = <2> << 97 dai-tdm-slot-width = < << 98 }; << 99 << 100 simple-audio-card,codec { << 101 sound-dai = <&audio_co << 102 }; << 103 }; << 104 << 105 sound-wm8524 { 68 sound-wm8524 { 106 compatible = "simple-audio-car 69 compatible = "simple-audio-card"; 107 simple-audio-card,name = "wm85 70 simple-audio-card,name = "wm8524-audio"; 108 simple-audio-card,format = "i2 71 simple-audio-card,format = "i2s"; 109 simple-audio-card,frame-master 72 simple-audio-card,frame-master = <&cpudai>; 110 simple-audio-card,bitclock-mas 73 simple-audio-card,bitclock-master = <&cpudai>; 111 simple-audio-card,widgets = 74 simple-audio-card,widgets = 112 "Line", "Left Line Out 75 "Line", "Left Line Out Jack", 113 "Line", "Right Line Ou 76 "Line", "Right Line Out Jack"; 114 simple-audio-card,routing = 77 simple-audio-card,routing = 115 "Left Line Out Jack", 78 "Left Line Out Jack", "LINEVOUTL", 116 "Right Line Out Jack", 79 "Right Line Out Jack", "LINEVOUTR"; 117 80 118 cpudai: simple-audio-card,cpu 81 cpudai: simple-audio-card,cpu { 119 sound-dai = <&sai2>; 82 sound-dai = <&sai2>; 120 }; 83 }; 121 84 122 link_codec: simple-audio-card, 85 link_codec: simple-audio-card,codec { 123 sound-dai = <&wm8524>; 86 sound-dai = <&wm8524>; 124 clocks = <&clk IMX8MQ_ 87 clocks = <&clk IMX8MQ_CLK_SAI2_ROOT>; 125 }; 88 }; 126 }; 89 }; 127 << 128 spdif_out: spdif-out { << 129 compatible = "linux,spdif-dit" << 130 #sound-dai-cells = <0>; << 131 }; << 132 << 133 spdif_in: spdif-in { << 134 compatible = "linux,spdif-dir" << 135 #sound-dai-cells = <0>; << 136 }; << 137 << 138 sound-spdif { << 139 compatible = "fsl,imx-audio-sp << 140 model = "imx-spdif"; << 141 audio-cpu = <&spdif1>; << 142 audio-codec = <&spdif_out>, <& << 143 }; << 144 << 145 hdmi_arc_in: hdmi-arc-in { << 146 compatible = "linux,spdif-dir" << 147 #sound-dai-cells = <0>; << 148 }; << 149 << 150 sound-hdmi-arc { << 151 compatible = "fsl,imx-audio-sp << 152 model = "imx-hdmi-arc"; << 153 audio-cpu = <&spdif2>; << 154 audio-codec = <&hdmi_arc_in>; << 155 }; << 156 }; 90 }; 157 91 158 &A53_0 { 92 &A53_0 { 159 cpu-supply = <&buck2_reg>; 93 cpu-supply = <&buck2_reg>; 160 }; 94 }; 161 95 162 &A53_1 { 96 &A53_1 { 163 cpu-supply = <&buck2_reg>; 97 cpu-supply = <&buck2_reg>; 164 }; 98 }; 165 99 166 &A53_2 { 100 &A53_2 { 167 cpu-supply = <&buck2_reg>; 101 cpu-supply = <&buck2_reg>; 168 }; 102 }; 169 103 170 &A53_3 { 104 &A53_3 { 171 cpu-supply = <&buck2_reg>; 105 cpu-supply = <&buck2_reg>; 172 }; 106 }; 173 107 174 &ddrc { 108 &ddrc { 175 operating-points-v2 = <&ddrc_opp_table 109 operating-points-v2 = <&ddrc_opp_table>; 176 status = "okay"; << 177 110 178 ddrc_opp_table: opp-table { 111 ddrc_opp_table: opp-table { 179 compatible = "operating-points 112 compatible = "operating-points-v2"; 180 113 181 opp-25000000 { !! 114 opp-25M { 182 opp-hz = /bits/ 64 <25 115 opp-hz = /bits/ 64 <25000000>; 183 }; 116 }; 184 117 185 opp-100000000 { !! 118 opp-100M { 186 opp-hz = /bits/ 64 <10 119 opp-hz = /bits/ 64 <100000000>; 187 }; 120 }; 188 121 189 /* 122 /* 190 * On imx8mq B0 PLL can't be b 123 * On imx8mq B0 PLL can't be bypassed so low bus is 166M 191 */ 124 */ 192 opp-166000000 { !! 125 opp-166M { 193 opp-hz = /bits/ 64 <16 126 opp-hz = /bits/ 64 <166935483>; 194 }; 127 }; 195 128 196 opp-800000000 { !! 129 opp-800M { 197 opp-hz = /bits/ 64 <80 130 opp-hz = /bits/ 64 <800000000>; 198 }; 131 }; 199 }; 132 }; 200 }; 133 }; 201 134 202 &dphy { << 203 status = "okay"; << 204 }; << 205 << 206 &fec1 { 135 &fec1 { 207 pinctrl-names = "default"; 136 pinctrl-names = "default"; 208 pinctrl-0 = <&pinctrl_fec1>; 137 pinctrl-0 = <&pinctrl_fec1>; 209 phy-mode = "rgmii-id"; 138 phy-mode = "rgmii-id"; 210 phy-handle = <ðphy0>; 139 phy-handle = <ðphy0>; >> 140 phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; >> 141 phy-reset-duration = <10>; 211 fsl,magic-packet; 142 fsl,magic-packet; 212 status = "okay"; 143 status = "okay"; 213 144 214 mdio { 145 mdio { 215 #address-cells = <1>; 146 #address-cells = <1>; 216 #size-cells = <0>; 147 #size-cells = <0>; 217 148 218 ethphy0: ethernet-phy@0 { 149 ethphy0: ethernet-phy@0 { 219 compatible = "ethernet 150 compatible = "ethernet-phy-ieee802.3-c22"; 220 reg = <0>; 151 reg = <0>; 221 reset-gpios = <&gpio1 << 222 reset-assert-us = <100 << 223 qca,disable-smarteee; << 224 vddio-supply = <&vddh> << 225 << 226 vddh: vddh-regulator { << 227 }; << 228 }; 152 }; 229 }; 153 }; 230 }; 154 }; 231 155 232 &gpio5 { 156 &gpio5 { 233 pinctrl-names = "default"; 157 pinctrl-names = "default"; 234 pinctrl-0 = <&pinctrl_wifi_reset>; 158 pinctrl-0 = <&pinctrl_wifi_reset>; 235 159 236 wl-reg-on-hog { !! 160 wl-reg-on { 237 gpio-hog; 161 gpio-hog; 238 gpios = <29 GPIO_ACTIVE_HIGH>; 162 gpios = <29 GPIO_ACTIVE_HIGH>; 239 output-high; 163 output-high; 240 }; 164 }; 241 }; 165 }; 242 166 243 &i2c1 { 167 &i2c1 { 244 clock-frequency = <100000>; 168 clock-frequency = <100000>; 245 pinctrl-names = "default"; 169 pinctrl-names = "default"; 246 pinctrl-0 = <&pinctrl_i2c1>; 170 pinctrl-0 = <&pinctrl_i2c1>; 247 status = "okay"; 171 status = "okay"; 248 172 249 pmic@8 { 173 pmic@8 { 250 compatible = "fsl,pfuze100"; 174 compatible = "fsl,pfuze100"; 251 reg = <0x8>; 175 reg = <0x8>; 252 176 253 regulators { 177 regulators { 254 sw1a_reg: sw1ab { 178 sw1a_reg: sw1ab { 255 regulator-min- 179 regulator-min-microvolt = <825000>; 256 regulator-max- 180 regulator-max-microvolt = <1100000>; 257 }; 181 }; 258 182 259 sw1c_reg: sw1c { 183 sw1c_reg: sw1c { 260 regulator-min- 184 regulator-min-microvolt = <825000>; 261 regulator-max- 185 regulator-max-microvolt = <1100000>; 262 }; 186 }; 263 187 264 sw2_reg: sw2 { 188 sw2_reg: sw2 { 265 regulator-min- 189 regulator-min-microvolt = <1100000>; 266 regulator-max- 190 regulator-max-microvolt = <1100000>; 267 regulator-alwa 191 regulator-always-on; 268 }; 192 }; 269 193 270 sw3a_reg: sw3ab { 194 sw3a_reg: sw3ab { 271 regulator-min- 195 regulator-min-microvolt = <825000>; 272 regulator-max- 196 regulator-max-microvolt = <1100000>; 273 regulator-alwa 197 regulator-always-on; 274 }; 198 }; 275 199 276 sw4_reg: sw4 { 200 sw4_reg: sw4 { 277 regulator-min- 201 regulator-min-microvolt = <1800000>; 278 regulator-max- 202 regulator-max-microvolt = <1800000>; 279 regulator-alwa 203 regulator-always-on; 280 }; 204 }; 281 205 282 swbst_reg: swbst { 206 swbst_reg: swbst { 283 regulator-min- 207 regulator-min-microvolt = <5000000>; 284 regulator-max- 208 regulator-max-microvolt = <5150000>; 285 }; 209 }; 286 210 287 snvs_reg: vsnvs { 211 snvs_reg: vsnvs { 288 regulator-min- 212 regulator-min-microvolt = <1000000>; 289 regulator-max- 213 regulator-max-microvolt = <3000000>; 290 regulator-alwa 214 regulator-always-on; 291 }; 215 }; 292 216 293 vref_reg: vrefddr { 217 vref_reg: vrefddr { 294 regulator-alwa 218 regulator-always-on; 295 }; 219 }; 296 220 297 vgen1_reg: vgen1 { 221 vgen1_reg: vgen1 { 298 regulator-min- 222 regulator-min-microvolt = <800000>; 299 regulator-max- 223 regulator-max-microvolt = <1550000>; 300 }; 224 }; 301 225 302 vgen2_reg: vgen2 { 226 vgen2_reg: vgen2 { 303 regulator-min- 227 regulator-min-microvolt = <850000>; 304 regulator-max- 228 regulator-max-microvolt = <975000>; 305 regulator-alwa 229 regulator-always-on; 306 }; 230 }; 307 231 308 vgen3_reg: vgen3 { 232 vgen3_reg: vgen3 { 309 regulator-min- 233 regulator-min-microvolt = <1675000>; 310 regulator-max- 234 regulator-max-microvolt = <1975000>; 311 regulator-alwa 235 regulator-always-on; 312 }; 236 }; 313 237 314 vgen4_reg: vgen4 { 238 vgen4_reg: vgen4 { 315 regulator-min- 239 regulator-min-microvolt = <1625000>; 316 regulator-max- 240 regulator-max-microvolt = <1875000>; 317 regulator-alwa 241 regulator-always-on; 318 }; 242 }; 319 243 320 vgen5_reg: vgen5 { 244 vgen5_reg: vgen5 { 321 regulator-min- 245 regulator-min-microvolt = <3075000>; 322 regulator-max- 246 regulator-max-microvolt = <3625000>; 323 regulator-alwa 247 regulator-always-on; 324 }; 248 }; 325 249 326 vgen6_reg: vgen6 { 250 vgen6_reg: vgen6 { 327 regulator-min- 251 regulator-min-microvolt = <1800000>; 328 regulator-max- 252 regulator-max-microvolt = <3300000>; 329 }; 253 }; 330 }; 254 }; 331 }; 255 }; 332 }; 256 }; 333 257 334 &lcdif { << 335 status = "okay"; << 336 }; << 337 << 338 &mipi_dsi { << 339 #address-cells = <1>; << 340 #size-cells = <0>; << 341 status = "okay"; << 342 << 343 panel@0 { << 344 pinctrl-0 = <&pinctrl_mipi_dsi << 345 pinctrl-names = "default"; << 346 compatible = "raydium,rm67191" << 347 reg = <0>; << 348 reset-gpios = <&gpio5 6 GPIO_A << 349 dsi-lanes = <4>; << 350 << 351 port { << 352 panel_in: endpoint { << 353 remote-endpoin << 354 }; << 355 }; << 356 }; << 357 << 358 ports { << 359 port@1 { << 360 reg = <1>; << 361 mipi_dsi_out: endpoint << 362 remote-endpoin << 363 }; << 364 }; << 365 }; << 366 }; << 367 << 368 &pcie0 { 258 &pcie0 { 369 pinctrl-names = "default"; 259 pinctrl-names = "default"; 370 pinctrl-0 = <&pinctrl_pcie0>; 260 pinctrl-0 = <&pinctrl_pcie0>; 371 reset-gpio = <&gpio5 28 GPIO_ACTIVE_LO 261 reset-gpio = <&gpio5 28 GPIO_ACTIVE_LOW>; 372 clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>, 262 clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>, 373 <&pcie0_refclk>, !! 263 <&clk IMX8MQ_CLK_PCIE1_AUX>, 374 <&clk IMX8MQ_CLK_PCIE1_PHY>, 264 <&clk IMX8MQ_CLK_PCIE1_PHY>, 375 <&clk IMX8MQ_CLK_PCIE1_AUX>; !! 265 <&pcie0_refclk>; 376 vph-supply = <&vgen5_reg>; !! 266 clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus"; 377 status = "okay"; << 378 }; << 379 << 380 &pcie1 { << 381 pinctrl-names = "default"; << 382 pinctrl-0 = <&pinctrl_pcie1>; << 383 reset-gpio = <&gpio5 12 GPIO_ACTIVE_LO << 384 clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, << 385 <&pcie0_refclk>, << 386 <&clk IMX8MQ_CLK_PCIE2_PHY>, << 387 <&clk IMX8MQ_CLK_PCIE2_AUX>; << 388 vpcie-supply = <®_pcie1>; << 389 vph-supply = <&vgen5_reg>; << 390 status = "okay"; 267 status = "okay"; 391 }; 268 }; 392 269 393 &pgc_gpu { 270 &pgc_gpu { 394 power-supply = <&sw1a_reg>; 271 power-supply = <&sw1a_reg>; 395 }; 272 }; 396 273 397 &pgc_vpu { << 398 power-supply = <&sw1c_reg>; << 399 }; << 400 << 401 &qspi0 { 274 &qspi0 { 402 pinctrl-names = "default"; 275 pinctrl-names = "default"; 403 pinctrl-0 = <&pinctrl_qspi>; 276 pinctrl-0 = <&pinctrl_qspi>; 404 status = "okay"; 277 status = "okay"; 405 278 406 n25q256a: flash@0 { 279 n25q256a: flash@0 { 407 reg = <0>; 280 reg = <0>; 408 #address-cells = <1>; 281 #address-cells = <1>; 409 #size-cells = <1>; 282 #size-cells = <1>; 410 compatible = "micron,n25q256a" 283 compatible = "micron,n25q256a", "jedec,spi-nor"; 411 spi-max-frequency = <29000000> 284 spi-max-frequency = <29000000>; 412 spi-tx-bus-width = <1>; << 413 spi-rx-bus-width = <4>; << 414 }; 285 }; 415 }; 286 }; 416 287 417 &sai2 { 288 &sai2 { 418 pinctrl-names = "default"; 289 pinctrl-names = "default"; 419 pinctrl-0 = <&pinctrl_sai2>; 290 pinctrl-0 = <&pinctrl_sai2>; 420 assigned-clocks = <&clk IMX8MQ_AUDIO_P 291 assigned-clocks = <&clk IMX8MQ_AUDIO_PLL1_BYPASS>, <&clk IMX8MQ_CLK_SAI2>; 421 assigned-clock-parents = <&clk IMX8MQ_ 292 assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1>, <&clk IMX8MQ_AUDIO_PLL1_OUT>; 422 assigned-clock-rates = <0>, <24576000> 293 assigned-clock-rates = <0>, <24576000>; 423 status = "okay"; 294 status = "okay"; 424 }; 295 }; 425 296 426 &sai3 { << 427 #sound-dai-cells = <0>; << 428 pinctrl-names = "default"; << 429 pinctrl-0 = <&pinctrl_sai3>; << 430 assigned-clocks = <&clk IMX8MQ_CLK_SAI << 431 assigned-clock-parents = <&clk IMX8MQ_ << 432 assigned-clock-rates = <24576000>; << 433 status = "okay"; << 434 }; << 435 << 436 &snvs_pwrkey { 297 &snvs_pwrkey { 437 status = "okay"; 298 status = "okay"; 438 }; 299 }; 439 300 440 &spdif1 { << 441 pinctrl-names = "default"; << 442 pinctrl-0 = <&pinctrl_spdif1>; << 443 assigned-clocks = <&clk IMX8MQ_CLK_SPD << 444 assigned-clock-parents = <&clk IMX8MQ_ << 445 assigned-clock-rates = <24576000>; << 446 status = "okay"; << 447 }; << 448 << 449 &spdif2 { << 450 assigned-clocks = <&clk IMX8MQ_CLK_SPD << 451 assigned-clock-parents = <&clk IMX8MQ_ << 452 assigned-clock-rates = <24576000>; << 453 status = "okay"; << 454 }; << 455 << 456 &uart1 { 301 &uart1 { 457 pinctrl-names = "default"; 302 pinctrl-names = "default"; 458 pinctrl-0 = <&pinctrl_uart1>; 303 pinctrl-0 = <&pinctrl_uart1>; 459 status = "okay"; 304 status = "okay"; 460 }; 305 }; 461 306 462 &usb3_phy1 { 307 &usb3_phy1 { 463 status = "okay"; 308 status = "okay"; 464 }; 309 }; 465 310 466 &usb_dwc3_1 { 311 &usb_dwc3_1 { 467 dr_mode = "host"; 312 dr_mode = "host"; 468 status = "okay"; 313 status = "okay"; 469 }; 314 }; 470 315 471 &usdhc1 { 316 &usdhc1 { 472 assigned-clocks = <&clk IMX8MQ_CLK_USD 317 assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>; 473 assigned-clock-rates = <400000000>; 318 assigned-clock-rates = <400000000>; 474 pinctrl-names = "default", "state_100m 319 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 475 pinctrl-0 = <&pinctrl_usdhc1>; 320 pinctrl-0 = <&pinctrl_usdhc1>; 476 pinctrl-1 = <&pinctrl_usdhc1_100mhz>; 321 pinctrl-1 = <&pinctrl_usdhc1_100mhz>; 477 pinctrl-2 = <&pinctrl_usdhc1_200mhz>; 322 pinctrl-2 = <&pinctrl_usdhc1_200mhz>; 478 vqmmc-supply = <&sw4_reg>; 323 vqmmc-supply = <&sw4_reg>; 479 bus-width = <8>; 324 bus-width = <8>; 480 non-removable; 325 non-removable; 481 no-sd; 326 no-sd; 482 no-sdio; 327 no-sdio; 483 status = "okay"; 328 status = "okay"; 484 }; 329 }; 485 330 486 &usdhc2 { 331 &usdhc2 { 487 assigned-clocks = <&clk IMX8MQ_CLK_USD 332 assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>; 488 assigned-clock-rates = <200000000>; 333 assigned-clock-rates = <200000000>; 489 pinctrl-names = "default", "state_100m 334 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 490 pinctrl-0 = <&pinctrl_usdhc2>, <&pinct !! 335 pinctrl-0 = <&pinctrl_usdhc2>; 491 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, !! 336 pinctrl-1 = <&pinctrl_usdhc2_100mhz>; 492 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, !! 337 pinctrl-2 = <&pinctrl_usdhc2_200mhz>; 493 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW> 338 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 494 vmmc-supply = <®_usdhc2_vmmc>; 339 vmmc-supply = <®_usdhc2_vmmc>; 495 status = "okay"; 340 status = "okay"; 496 }; 341 }; 497 342 498 &wdog1 { 343 &wdog1 { 499 pinctrl-names = "default"; 344 pinctrl-names = "default"; 500 pinctrl-0 = <&pinctrl_wdog>; 345 pinctrl-0 = <&pinctrl_wdog>; 501 fsl,ext-reset-output; 346 fsl,ext-reset-output; 502 status = "okay"; 347 status = "okay"; 503 }; 348 }; 504 349 505 &iomuxc { 350 &iomuxc { 506 pinctrl_buck2: vddarmgrp { 351 pinctrl_buck2: vddarmgrp { 507 fsl,pins = < 352 fsl,pins = < 508 MX8MQ_IOMUXC_GPIO1_IO1 353 MX8MQ_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x19 509 >; 354 >; >> 355 510 }; 356 }; 511 357 512 pinctrl_fec1: fec1grp { 358 pinctrl_fec1: fec1grp { 513 fsl,pins = < 359 fsl,pins = < 514 MX8MQ_IOMUXC_ENET_MDC_ 360 MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3 515 MX8MQ_IOMUXC_ENET_MDIO 361 MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO 0x23 516 MX8MQ_IOMUXC_ENET_TD3_ 362 MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f 517 MX8MQ_IOMUXC_ENET_TD2_ 363 MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f 518 MX8MQ_IOMUXC_ENET_TD1_ 364 MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f 519 MX8MQ_IOMUXC_ENET_TD0_ 365 MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f 520 MX8MQ_IOMUXC_ENET_RD3_ 366 MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 521 MX8MQ_IOMUXC_ENET_RD2_ 367 MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 522 MX8MQ_IOMUXC_ENET_RD1_ 368 MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 523 MX8MQ_IOMUXC_ENET_RD0_ 369 MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 524 MX8MQ_IOMUXC_ENET_TXC_ 370 MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f 525 MX8MQ_IOMUXC_ENET_RXC_ 371 MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 526 MX8MQ_IOMUXC_ENET_RX_C 372 MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 527 MX8MQ_IOMUXC_ENET_TX_C 373 MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f 528 MX8MQ_IOMUXC_GPIO1_IO0 374 MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x19 529 >; 375 >; 530 }; 376 }; 531 377 532 pinctrl_i2c1: i2c1grp { 378 pinctrl_i2c1: i2c1grp { 533 fsl,pins = < 379 fsl,pins = < 534 MX8MQ_IOMUXC_I2C1_SCL_ 380 MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f 535 MX8MQ_IOMUXC_I2C1_SDA_ 381 MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x4000007f 536 >; 382 >; 537 }; 383 }; 538 384 539 pinctrl_ir: irgrp { 385 pinctrl_ir: irgrp { 540 fsl,pins = < 386 fsl,pins = < 541 MX8MQ_IOMUXC_GPIO1_IO1 387 MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x4f 542 >; 388 >; 543 }; 389 }; 544 390 545 pinctrl_mipi_dsi: mipidsigrp { << 546 fsl,pins = < << 547 MX8MQ_IOMUXC_ECSPI1_SC << 548 >; << 549 }; << 550 << 551 pinctrl_pcie0: pcie0grp { 391 pinctrl_pcie0: pcie0grp { 552 fsl,pins = < 392 fsl,pins = < 553 MX8MQ_IOMUXC_I2C4_SCL_ 393 MX8MQ_IOMUXC_I2C4_SCL_PCIE1_CLKREQ_B 0x76 554 MX8MQ_IOMUXC_UART4_RXD 394 MX8MQ_IOMUXC_UART4_RXD_GPIO5_IO28 0x16 555 >; 395 >; 556 }; 396 }; 557 397 558 pinctrl_pcie1: pcie1grp { << 559 fsl,pins = < << 560 MX8MQ_IOMUXC_I2C4_SDA_ << 561 MX8MQ_IOMUXC_ECSPI2_MI << 562 >; << 563 }; << 564 << 565 pinctrl_pcie1_reg: pcie1reggrp { << 566 fsl,pins = < << 567 MX8MQ_IOMUXC_ECSPI2_SC << 568 >; << 569 }; << 570 << 571 pinctrl_qspi: qspigrp { 398 pinctrl_qspi: qspigrp { 572 fsl,pins = < 399 fsl,pins = < 573 MX8MQ_IOMUXC_NAND_ALE_ 400 MX8MQ_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x82 574 MX8MQ_IOMUXC_NAND_CE0_ 401 MX8MQ_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x82 575 MX8MQ_IOMUXC_NAND_DATA 402 MX8MQ_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x82 576 MX8MQ_IOMUXC_NAND_DATA 403 MX8MQ_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x82 577 MX8MQ_IOMUXC_NAND_DATA 404 MX8MQ_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x82 578 MX8MQ_IOMUXC_NAND_DATA 405 MX8MQ_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x82 >> 406 579 >; 407 >; 580 }; 408 }; 581 409 582 pinctrl_reg_usdhc2: regusdhc2gpiogrp { !! 410 pinctrl_reg_usdhc2: regusdhc2grpgpio { 583 fsl,pins = < 411 fsl,pins = < 584 MX8MQ_IOMUXC_SD2_RESET 412 MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 585 >; 413 >; 586 }; 414 }; 587 415 588 pinctrl_sai2: sai2grp { 416 pinctrl_sai2: sai2grp { 589 fsl,pins = < 417 fsl,pins = < 590 MX8MQ_IOMUXC_SAI2_TXFS 418 MX8MQ_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC 0xd6 591 MX8MQ_IOMUXC_SAI2_TXC_ 419 MX8MQ_IOMUXC_SAI2_TXC_SAI2_TX_BCLK 0xd6 592 MX8MQ_IOMUXC_SAI2_MCLK 420 MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK 0xd6 593 MX8MQ_IOMUXC_SAI2_TXD0 421 MX8MQ_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0 0xd6 594 MX8MQ_IOMUXC_GPIO1_IO0 422 MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0xd6 595 >; 423 >; 596 }; 424 }; 597 425 598 pinctrl_sai3: sai3grp { << 599 fsl,pins = < << 600 MX8MQ_IOMUXC_SAI3_TXFS << 601 MX8MQ_IOMUXC_SAI3_TXC_ << 602 MX8MQ_IOMUXC_SAI3_TXD_ << 603 MX8MQ_IOMUXC_SAI3_RXD_ << 604 >; << 605 }; << 606 << 607 pinctrl_spdif1: spdif1grp { << 608 fsl,pins = < << 609 MX8MQ_IOMUXC_SPDIF_TX_ << 610 MX8MQ_IOMUXC_SPDIF_RX_ << 611 >; << 612 }; << 613 << 614 pinctrl_uart1: uart1grp { 426 pinctrl_uart1: uart1grp { 615 fsl,pins = < 427 fsl,pins = < 616 MX8MQ_IOMUXC_UART1_RXD 428 MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49 617 MX8MQ_IOMUXC_UART1_TXD 429 MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX 0x49 618 >; 430 >; 619 }; 431 }; 620 432 621 pinctrl_usdhc1: usdhc1grp { 433 pinctrl_usdhc1: usdhc1grp { 622 fsl,pins = < 434 fsl,pins = < 623 MX8MQ_IOMUXC_SD1_CLK_U 435 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83 624 MX8MQ_IOMUXC_SD1_CMD_U 436 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc3 625 MX8MQ_IOMUXC_SD1_DATA0 437 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc3 626 MX8MQ_IOMUXC_SD1_DATA1 438 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc3 627 MX8MQ_IOMUXC_SD1_DATA2 439 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc3 628 MX8MQ_IOMUXC_SD1_DATA3 440 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc3 629 MX8MQ_IOMUXC_SD1_DATA4 441 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc3 630 MX8MQ_IOMUXC_SD1_DATA5 442 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc3 631 MX8MQ_IOMUXC_SD1_DATA6 443 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc3 632 MX8MQ_IOMUXC_SD1_DATA7 444 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc3 633 MX8MQ_IOMUXC_SD1_STROB 445 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x83 634 MX8MQ_IOMUXC_SD1_RESET 446 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 635 >; 447 >; 636 }; 448 }; 637 449 638 pinctrl_usdhc1_100mhz: usdhc1-100grp { 450 pinctrl_usdhc1_100mhz: usdhc1-100grp { 639 fsl,pins = < 451 fsl,pins = < 640 MX8MQ_IOMUXC_SD1_CLK_U 452 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x8d 641 MX8MQ_IOMUXC_SD1_CMD_U 453 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xcd 642 MX8MQ_IOMUXC_SD1_DATA0 454 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xcd 643 MX8MQ_IOMUXC_SD1_DATA1 455 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xcd 644 MX8MQ_IOMUXC_SD1_DATA2 456 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xcd 645 MX8MQ_IOMUXC_SD1_DATA3 457 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xcd 646 MX8MQ_IOMUXC_SD1_DATA4 458 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xcd 647 MX8MQ_IOMUXC_SD1_DATA5 459 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xcd 648 MX8MQ_IOMUXC_SD1_DATA6 460 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xcd 649 MX8MQ_IOMUXC_SD1_DATA7 461 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xcd 650 MX8MQ_IOMUXC_SD1_STROB 462 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x8d 651 MX8MQ_IOMUXC_SD1_RESET 463 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 652 >; 464 >; 653 }; 465 }; 654 466 655 pinctrl_usdhc1_200mhz: usdhc1-200grp { 467 pinctrl_usdhc1_200mhz: usdhc1-200grp { 656 fsl,pins = < 468 fsl,pins = < 657 MX8MQ_IOMUXC_SD1_CLK_U 469 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x9f 658 MX8MQ_IOMUXC_SD1_CMD_U 470 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xdf 659 MX8MQ_IOMUXC_SD1_DATA0 471 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xdf 660 MX8MQ_IOMUXC_SD1_DATA1 472 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xdf 661 MX8MQ_IOMUXC_SD1_DATA2 473 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xdf 662 MX8MQ_IOMUXC_SD1_DATA3 474 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xdf 663 MX8MQ_IOMUXC_SD1_DATA4 475 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xdf 664 MX8MQ_IOMUXC_SD1_DATA5 476 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xdf 665 MX8MQ_IOMUXC_SD1_DATA6 477 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xdf 666 MX8MQ_IOMUXC_SD1_DATA7 478 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xdf 667 MX8MQ_IOMUXC_SD1_STROB 479 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x9f 668 MX8MQ_IOMUXC_SD1_RESET 480 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1 669 >; << 670 }; << 671 << 672 pinctrl_usdhc2_gpio: usdhc2gpiogrp { << 673 fsl,pins = < << 674 MX8MQ_IOMUXC_SD2_CD_B_ << 675 >; 481 >; 676 }; 482 }; 677 483 678 pinctrl_usdhc2: usdhc2grp { 484 pinctrl_usdhc2: usdhc2grp { 679 fsl,pins = < 485 fsl,pins = < 680 MX8MQ_IOMUXC_SD2_CLK_U 486 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x83 681 MX8MQ_IOMUXC_SD2_CMD_U 487 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc3 682 MX8MQ_IOMUXC_SD2_DATA0 488 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc3 683 MX8MQ_IOMUXC_SD2_DATA1 489 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc3 684 MX8MQ_IOMUXC_SD2_DATA2 490 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc3 685 MX8MQ_IOMUXC_SD2_DATA3 491 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc3 686 MX8MQ_IOMUXC_GPIO1_IO0 492 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 687 >; 493 >; 688 }; 494 }; 689 495 690 pinctrl_usdhc2_100mhz: usdhc2-100grp { 496 pinctrl_usdhc2_100mhz: usdhc2-100grp { 691 fsl,pins = < 497 fsl,pins = < 692 MX8MQ_IOMUXC_SD2_CLK_U 498 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x85 693 MX8MQ_IOMUXC_SD2_CMD_U 499 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc5 694 MX8MQ_IOMUXC_SD2_DATA0 500 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc5 695 MX8MQ_IOMUXC_SD2_DATA1 501 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc5 696 MX8MQ_IOMUXC_SD2_DATA2 502 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc5 697 MX8MQ_IOMUXC_SD2_DATA3 503 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc5 698 MX8MQ_IOMUXC_GPIO1_IO0 504 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 699 >; 505 >; 700 }; 506 }; 701 507 702 pinctrl_usdhc2_200mhz: usdhc2-200grp { 508 pinctrl_usdhc2_200mhz: usdhc2-200grp { 703 fsl,pins = < 509 fsl,pins = < 704 MX8MQ_IOMUXC_SD2_CLK_U 510 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x87 705 MX8MQ_IOMUXC_SD2_CMD_U 511 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc7 706 MX8MQ_IOMUXC_SD2_DATA0 512 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc7 707 MX8MQ_IOMUXC_SD2_DATA1 513 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc7 708 MX8MQ_IOMUXC_SD2_DATA2 514 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc7 709 MX8MQ_IOMUXC_SD2_DATA3 515 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc7 710 MX8MQ_IOMUXC_GPIO1_IO0 516 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1 711 >; 517 >; 712 }; 518 }; 713 519 714 pinctrl_wdog: wdog1grp { 520 pinctrl_wdog: wdog1grp { 715 fsl,pins = < 521 fsl,pins = < 716 MX8MQ_IOMUXC_GPIO1_IO0 522 MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 717 >; 523 >; 718 }; 524 }; 719 525 720 pinctrl_wifi_reset: wifiresetgrp { 526 pinctrl_wifi_reset: wifiresetgrp { 721 fsl,pins = < 527 fsl,pins = < 722 MX8MQ_IOMUXC_UART4_TXD 528 MX8MQ_IOMUXC_UART4_TXD_GPIO5_IO29 0x16 723 >; 529 >; 724 }; 530 }; 725 }; 531 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.