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