1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright 2017 NXP 4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de> 5 */ 6 7#include <dt-bindings/clock/imx8mq-clock.h> 8#include <dt-bindings/power/imx8mq-power.h> 9#include <dt-bindings/reset/imx8mq-reset.h> 10#include <dt-bindings/gpio/gpio.h> 11#include "dt-bindings/input/input.h" 12#include <dt-bindings/interrupt-controller/arm-gic.h> 13#include <dt-bindings/thermal/thermal.h> 14#include <dt-bindings/interconnect/imx8mq.h> 15#include "imx8mq-pinfunc.h" 16 17/ { 18 interrupt-parent = <&gpc>; 19 20 #address-cells = <2>; 21 #size-cells = <2>; 22 23 aliases { 24 ethernet0 = &fec1; 25 gpio0 = &gpio1; 26 gpio1 = &gpio2; 27 gpio2 = &gpio3; 28 gpio3 = &gpio4; 29 gpio4 = &gpio5; 30 i2c0 = &i2c1; 31 i2c1 = &i2c2; 32 i2c2 = &i2c3; 33 i2c3 = &i2c4; 34 mmc0 = &usdhc1; 35 mmc1 = &usdhc2; 36 serial0 = &uart1; 37 serial1 = &uart2; 38 serial2 = &uart3; 39 serial3 = &uart4; 40 spi0 = &ecspi1; 41 spi1 = &ecspi2; 42 spi2 = &ecspi3; 43 }; 44 45 ckil: clock-ckil { 46 compatible = "fixed-clock"; 47 #clock-cells = <0>; 48 clock-frequency = <32768>; 49 clock-output-names = "ckil"; 50 }; 51 52 osc_25m: clock-osc-25m { 53 compatible = "fixed-clock"; 54 #clock-cells = <0>; 55 clock-frequency = <25000000>; 56 clock-output-names = "osc_25m"; 57 }; 58 59 osc_27m: clock-osc-27m { 60 compatible = "fixed-clock"; 61 #clock-cells = <0>; 62 clock-frequency = <27000000>; 63 clock-output-names = "osc_27m"; 64 }; 65 66 hdmi_phy_27m: clock-hdmi-phy-27m { 67 compatible = "fixed-clock"; 68 #clock-cells = <0>; 69 clock-frequency = <27000000>; 70 clock-output-names = "hdmi_phy_27m"; 71 }; 72 73 clk_ext1: clock-ext1 { 74 compatible = "fixed-clock"; 75 #clock-cells = <0>; 76 clock-frequency = <133000000>; 77 clock-output-names = "clk_ext1"; 78 }; 79 80 clk_ext2: clock-ext2 { 81 compatible = "fixed-clock"; 82 #clock-cells = <0>; 83 clock-frequency = <133000000>; 84 clock-output-names = "clk_ext2"; 85 }; 86 87 clk_ext3: clock-ext3 { 88 compatible = "fixed-clock"; 89 #clock-cells = <0>; 90 clock-frequency = <133000000>; 91 clock-output-names = "clk_ext3"; 92 }; 93 94 clk_ext4: clock-ext4 { 95 compatible = "fixed-clock"; 96 #clock-cells = <0>; 97 clock-frequency = <133000000>; 98 clock-output-names = "clk_ext4"; 99 }; 100 101 cpus { 102 #address-cells = <1>; 103 #size-cells = <0>; 104 105 A53_0: cpu@0 { 106 device_type = "cpu"; 107 compatible = "arm,cortex-a53"; 108 reg = <0x0>; 109 clock-latency = <61036>; /* two CLK32 periods */ 110 clocks = <&clk IMX8MQ_CLK_ARM>; 111 enable-method = "psci"; 112 i-cache-size = <0x8000>; 113 i-cache-line-size = <64>; 114 i-cache-sets = <256>; 115 d-cache-size = <0x8000>; 116 d-cache-line-size = <64>; 117 d-cache-sets = <128>; 118 next-level-cache = <&A53_L2>; 119 operating-points-v2 = <&a53_opp_table>; 120 #cooling-cells = <2>; 121 nvmem-cells = <&cpu_speed_grade>; 122 nvmem-cell-names = "speed_grade"; 123 }; 124 125 A53_1: cpu@1 { 126 device_type = "cpu"; 127 compatible = "arm,cortex-a53"; 128 reg = <0x1>; 129 clock-latency = <61036>; /* two CLK32 periods */ 130 clocks = <&clk IMX8MQ_CLK_ARM>; 131 enable-method = "psci"; 132 i-cache-size = <0x8000>; 133 i-cache-line-size = <64>; 134 i-cache-sets = <256>; 135 d-cache-size = <0x8000>; 136 d-cache-line-size = <64>; 137 d-cache-sets = <128>; 138 next-level-cache = <&A53_L2>; 139 operating-points-v2 = <&a53_opp_table>; 140 #cooling-cells = <2>; 141 }; 142 143 A53_2: cpu@2 { 144 device_type = "cpu"; 145 compatible = "arm,cortex-a53"; 146 reg = <0x2>; 147 clock-latency = <61036>; /* two CLK32 periods */ 148 clocks = <&clk IMX8MQ_CLK_ARM>; 149 enable-method = "psci"; 150 i-cache-size = <0x8000>; 151 i-cache-line-size = <64>; 152 i-cache-sets = <256>; 153 d-cache-size = <0x8000>; 154 d-cache-line-size = <64>; 155 d-cache-sets = <128>; 156 next-level-cache = <&A53_L2>; 157 operating-points-v2 = <&a53_opp_table>; 158 #cooling-cells = <2>; 159 }; 160 161 A53_3: cpu@3 { 162 device_type = "cpu"; 163 compatible = "arm,cortex-a53"; 164 reg = <0x3>; 165 clock-latency = <61036>; /* two CLK32 periods */ 166 clocks = <&clk IMX8MQ_CLK_ARM>; 167 enable-method = "psci"; 168 i-cache-size = <0x8000>; 169 i-cache-line-size = <64>; 170 i-cache-sets = <256>; 171 d-cache-size = <0x8000>; 172 d-cache-line-size = <64>; 173 d-cache-sets = <128>; 174 next-level-cache = <&A53_L2>; 175 operating-points-v2 = <&a53_opp_table>; 176 #cooling-cells = <2>; 177 }; 178 179 A53_L2: l2-cache0 { 180 compatible = "cache"; 181 cache-level = <2>; 182 cache-unified; 183 cache-size = <0x100000>; 184 cache-line-size = <64>; 185 cache-sets = <1024>; 186 }; 187 }; 188 189 a53_opp_table: opp-table { 190 compatible = "operating-points-v2"; 191 opp-shared; 192 193 opp-800000000 { 194 opp-hz = /bits/ 64 <800000000>; 195 opp-microvolt = <900000>; 196 /* Industrial only */ 197 opp-supported-hw = <0xf>, <0x4>; 198 clock-latency-ns = <150000>; 199 opp-suspend; 200 }; 201 202 opp-1000000000 { 203 opp-hz = /bits/ 64 <1000000000>; 204 opp-microvolt = <900000>; 205 /* Consumer only */ 206 opp-supported-hw = <0xe>, <0x3>; 207 clock-latency-ns = <150000>; 208 opp-suspend; 209 }; 210 211 opp-1300000000 { 212 opp-hz = /bits/ 64 <1300000000>; 213 opp-microvolt = <1000000>; 214 opp-supported-hw = <0xc>, <0x4>; 215 clock-latency-ns = <150000>; 216 opp-suspend; 217 }; 218 219 opp-1500000000 { 220 opp-hz = /bits/ 64 <1500000000>; 221 opp-microvolt = <1000000>; 222 opp-supported-hw = <0x8>, <0x3>; 223 clock-latency-ns = <150000>; 224 opp-suspend; 225 }; 226 }; 227 228 pmu { 229 compatible = "arm,cortex-a53-pmu"; 230 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; 231 interrupt-parent = <&gic>; 232 }; 233 234 psci { 235 compatible = "arm,psci-1.0"; 236 method = "smc"; 237 }; 238 239 thermal-zones { 240 cpu_thermal: cpu-thermal { 241 polling-delay-passive = <250>; 242 polling-delay = <2000>; 243 thermal-sensors = <&tmu 0>; 244 245 trips { 246 cpu_alert: cpu-alert { 247 temperature = <80000>; 248 hysteresis = <2000>; 249 type = "passive"; 250 }; 251 252 cpu-crit { 253 temperature = <90000>; 254 hysteresis = <2000>; 255 type = "critical"; 256 }; 257 }; 258 259 cooling-maps { 260 map0 { 261 trip = <&cpu_alert>; 262 cooling-device = 263 <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 264 <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 265 <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 266 <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 267 }; 268 }; 269 }; 270 271 gpu-thermal { 272 polling-delay-passive = <250>; 273 polling-delay = <2000>; 274 thermal-sensors = <&tmu 1>; 275 276 trips { 277 gpu_alert: gpu-alert { 278 temperature = <80000>; 279 hysteresis = <2000>; 280 type = "passive"; 281 }; 282 283 gpu-crit { 284 temperature = <90000>; 285 hysteresis = <2000>; 286 type = "critical"; 287 }; 288 }; 289 290 cooling-maps { 291 map0 { 292 trip = <&gpu_alert>; 293 cooling-device = 294 <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 295 }; 296 }; 297 }; 298 299 vpu-thermal { 300 polling-delay-passive = <250>; 301 polling-delay = <2000>; 302 thermal-sensors = <&tmu 2>; 303 304 trips { 305 vpu-crit { 306 temperature = <90000>; 307 hysteresis = <2000>; 308 type = "critical"; 309 }; 310 }; 311 }; 312 }; 313 314 timer { 315 compatible = "arm,armv8-timer"; 316 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* Physical Secure */ 317 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* Physical Non-Secure */ 318 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* Virtual */ 319 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* Hypervisor */ 320 interrupt-parent = <&gic>; 321 arm,no-tick-in-suspend; 322 }; 323 324 soc: soc@0 { 325 compatible = "fsl,imx8mq-soc", "simple-bus"; 326 #address-cells = <1>; 327 #size-cells = <1>; 328 ranges = <0x0 0x0 0x0 0x3e000000>; 329 dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>; 330 nvmem-cells = <&imx8mq_uid>; 331 nvmem-cell-names = "soc_unique_id"; 332 333 aips1: bus@30000000 { /* AIPS1 */ 334 compatible = "fsl,aips-bus", "simple-bus"; 335 reg = <0x30000000 0x400000>; 336 #address-cells = <1>; 337 #size-cells = <1>; 338 ranges = <0x30000000 0x30000000 0x400000>; 339 340 sai1: sai@30010000 { 341 #sound-dai-cells = <0>; 342 compatible = "fsl,imx8mq-sai"; 343 reg = <0x30010000 0x10000>; 344 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 345 clocks = <&clk IMX8MQ_CLK_SAI1_IPG>, 346 <&clk IMX8MQ_CLK_SAI1_ROOT>, 347 <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; 348 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 349 dmas = <&sdma2 8 24 0>, <&sdma1 9 24 0>; 350 dma-names = "rx", "tx"; 351 status = "disabled"; 352 }; 353 354 sai6: sai@30030000 { 355 #sound-dai-cells = <0>; 356 compatible = "fsl,imx8mq-sai"; 357 reg = <0x30030000 0x10000>; 358 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 359 clocks = <&clk IMX8MQ_CLK_SAI6_IPG>, 360 <&clk IMX8MQ_CLK_SAI6_ROOT>, 361 <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; 362 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 363 dmas = <&sdma2 4 24 0>, <&sdma2 5 24 0>; 364 dma-names = "rx", "tx"; 365 status = "disabled"; 366 }; 367 368 sai5: sai@30040000 { 369 #sound-dai-cells = <0>; 370 compatible = "fsl,imx8mq-sai"; 371 reg = <0x30040000 0x10000>; 372 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 373 clocks = <&clk IMX8MQ_CLK_SAI5_IPG>, 374 <&clk IMX8MQ_CLK_SAI5_ROOT>, 375 <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; 376 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 377 dmas = <&sdma2 2 24 0>, <&sdma2 3 24 0>; 378 dma-names = "rx", "tx"; 379 status = "disabled"; 380 }; 381 382 sai4: sai@30050000 { 383 #sound-dai-cells = <0>; 384 compatible = "fsl,imx8mq-sai"; 385 reg = <0x30050000 0x10000>; 386 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 387 clocks = <&clk IMX8MQ_CLK_SAI4_IPG>, 388 <&clk IMX8MQ_CLK_SAI4_ROOT>, 389 <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; 390 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 391 dmas = <&sdma2 0 24 0>, <&sdma2 1 24 0>; 392 dma-names = "rx", "tx"; 393 status = "disabled"; 394 }; 395 396 gpio1: gpio@30200000 { 397 compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; 398 reg = <0x30200000 0x10000>; 399 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 400 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 401 clocks = <&clk IMX8MQ_CLK_GPIO1_ROOT>; 402 gpio-controller; 403 #gpio-cells = <2>; 404 interrupt-controller; 405 #interrupt-cells = <2>; 406 gpio-ranges = <&iomuxc 0 10 30>; 407 }; 408 409 gpio2: gpio@30210000 { 410 compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; 411 reg = <0x30210000 0x10000>; 412 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 413 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 414 clocks = <&clk IMX8MQ_CLK_GPIO2_ROOT>; 415 gpio-controller; 416 #gpio-cells = <2>; 417 interrupt-controller; 418 #interrupt-cells = <2>; 419 gpio-ranges = <&iomuxc 0 40 21>; 420 }; 421 422 gpio3: gpio@30220000 { 423 compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; 424 reg = <0x30220000 0x10000>; 425 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 426 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 427 clocks = <&clk IMX8MQ_CLK_GPIO3_ROOT>; 428 gpio-controller; 429 #gpio-cells = <2>; 430 interrupt-controller; 431 #interrupt-cells = <2>; 432 gpio-ranges = <&iomuxc 0 61 26>; 433 }; 434 435 gpio4: gpio@30230000 { 436 compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; 437 reg = <0x30230000 0x10000>; 438 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 439 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 440 clocks = <&clk IMX8MQ_CLK_GPIO4_ROOT>; 441 gpio-controller; 442 #gpio-cells = <2>; 443 interrupt-controller; 444 #interrupt-cells = <2>; 445 gpio-ranges = <&iomuxc 0 87 32>; 446 }; 447 448 gpio5: gpio@30240000 { 449 compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; 450 reg = <0x30240000 0x10000>; 451 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 452 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 453 clocks = <&clk IMX8MQ_CLK_GPIO5_ROOT>; 454 gpio-controller; 455 #gpio-cells = <2>; 456 interrupt-controller; 457 #interrupt-cells = <2>; 458 gpio-ranges = <&iomuxc 0 119 30>; 459 }; 460 461 tmu: tmu@30260000 { 462 compatible = "fsl,imx8mq-tmu"; 463 reg = <0x30260000 0x10000>; 464 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; 465 clocks = <&clk IMX8MQ_CLK_TMU_ROOT>; 466 little-endian; 467 fsl,tmu-range = <0xb0000 0xa0026 0x80048 0x70061>; 468 fsl,tmu-calibration = <0x00000000 0x00000023>, 469 <0x00000001 0x00000029>, 470 <0x00000002 0x0000002f>, 471 <0x00000003 0x00000035>, 472 <0x00000004 0x0000003d>, 473 <0x00000005 0x00000043>, 474 <0x00000006 0x0000004b>, 475 <0x00000007 0x00000051>, 476 <0x00000008 0x00000057>, 477 <0x00000009 0x0000005f>, 478 <0x0000000a 0x00000067>, 479 <0x0000000b 0x0000006f>, 480 481 <0x00010000 0x0000001b>, 482 <0x00010001 0x00000023>, 483 <0x00010002 0x0000002b>, 484 <0x00010003 0x00000033>, 485 <0x00010004 0x0000003b>, 486 <0x00010005 0x00000043>, 487 <0x00010006 0x0000004b>, 488 <0x00010007 0x00000055>, 489 <0x00010008 0x0000005d>, 490 <0x00010009 0x00000067>, 491 <0x0001000a 0x00000070>, 492 493 <0x00020000 0x00000017>, 494 <0x00020001 0x00000023>, 495 <0x00020002 0x0000002d>, 496 <0x00020003 0x00000037>, 497 <0x00020004 0x00000041>, 498 <0x00020005 0x0000004b>, 499 <0x00020006 0x00000057>, 500 <0x00020007 0x00000063>, 501 <0x00020008 0x0000006f>, 502 503 <0x00030000 0x00000015>, 504 <0x00030001 0x00000021>, 505 <0x00030002 0x0000002d>, 506 <0x00030003 0x00000039>, 507 <0x00030004 0x00000045>, 508 <0x00030005 0x00000053>, 509 <0x00030006 0x0000005f>, 510 <0x00030007 0x00000071>; 511 #thermal-sensor-cells = <1>; 512 }; 513 514 wdog1: watchdog@30280000 { 515 compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt"; 516 reg = <0x30280000 0x10000>; 517 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 518 clocks = <&clk IMX8MQ_CLK_WDOG1_ROOT>; 519 status = "disabled"; 520 }; 521 522 wdog2: watchdog@30290000 { 523 compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt"; 524 reg = <0x30290000 0x10000>; 525 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 526 clocks = <&clk IMX8MQ_CLK_WDOG2_ROOT>; 527 status = "disabled"; 528 }; 529 530 wdog3: watchdog@302a0000 { 531 compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt"; 532 reg = <0x302a0000 0x10000>; 533 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 534 clocks = <&clk IMX8MQ_CLK_WDOG3_ROOT>; 535 status = "disabled"; 536 }; 537 538 sdma2: dma-controller@302c0000 { 539 compatible = "fsl,imx8mq-sdma","fsl,imx7d-sdma"; 540 reg = <0x302c0000 0x10000>; 541 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 542 clocks = <&clk IMX8MQ_CLK_SDMA2_ROOT>, 543 <&clk IMX8MQ_CLK_SDMA2_ROOT>; 544 clock-names = "ipg", "ahb"; 545 #dma-cells = <3>; 546 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 547 }; 548 549 lcdif: lcd-controller@30320000 { 550 compatible = "fsl,imx8mq-lcdif", "fsl,imx28-lcdif"; 551 reg = <0x30320000 0x10000>; 552 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 553 clocks = <&clk IMX8MQ_CLK_LCDIF_PIXEL>; 554 clock-names = "pix"; 555 assigned-clocks = <&clk IMX8MQ_VIDEO_PLL1_REF_SEL>, 556 <&clk IMX8MQ_VIDEO_PLL1_BYPASS>, 557 <&clk IMX8MQ_CLK_LCDIF_PIXEL>, 558 <&clk IMX8MQ_VIDEO_PLL1>; 559 assigned-clock-parents = <&clk IMX8MQ_CLK_25M>, 560 <&clk IMX8MQ_VIDEO_PLL1>, 561 <&clk IMX8MQ_VIDEO_PLL1_OUT>; 562 assigned-clock-rates = <0>, <0>, <0>, <594000000>; 563 status = "disabled"; 564 565 port { 566 lcdif_mipi_dsi: endpoint { 567 remote-endpoint = <&mipi_dsi_lcdif_in>; 568 }; 569 }; 570 }; 571 572 iomuxc: pinctrl@30330000 { 573 compatible = "fsl,imx8mq-iomuxc"; 574 reg = <0x30330000 0x10000>; 575 }; 576 577 iomuxc_gpr: syscon@30340000 { 578 compatible = "fsl,imx8mq-iomuxc-gpr", "syscon", "simple-mfd"; 579 reg = <0x30340000 0x10000>; 580 581 mux: mux-controller { 582 compatible = "mmio-mux"; 583 #mux-control-cells = <1>; 584 mux-reg-masks = <0x34 0x00000004>; /* MIPI_MUX_SEL */ 585 }; 586 }; 587 588 ocotp: efuse@30350000 { 589 compatible = "fsl,imx8mq-ocotp", "syscon"; 590 reg = <0x30350000 0x10000>; 591 clocks = <&clk IMX8MQ_CLK_OCOTP_ROOT>; 592 #address-cells = <1>; 593 #size-cells = <1>; 594 595 /* 596 * The register address below maps to the MX8M 597 * Fusemap Description Table entries this way. 598 * Assuming 599 * reg = <ADDR SIZE>; 600 * then 601 * Fuse Address = (ADDR * 4) + 0x400 602 * Note that if SIZE is greater than 4, then 603 * each subsequent fuse is located at offset 604 * +0x10 in Fusemap Description Table (e.g. 605 * reg = <0x4 0x8> describes fuses 0x410 and 606 * 0x420). 607 */ 608 imx8mq_uid: soc-uid@4 { /* 0x410-0x420 */ 609 reg = <0x4 0x8>; 610 }; 611 612 cpu_speed_grade: speed-grade@10 { /* 0x440 */ 613 reg = <0x10 4>; 614 }; 615 616 fec_mac_address: mac-address@90 { /* 0x640 */ 617 reg = <0x90 6>; 618 }; 619 }; 620 621 anatop: clock-controller@30360000 { 622 compatible = "fsl,imx8mq-anatop"; 623 reg = <0x30360000 0x10000>; 624 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; 625 #clock-cells = <1>; 626 }; 627 628 snvs: snvs@30370000 { 629 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; 630 reg = <0x30370000 0x10000>; 631 632 snvs_rtc: snvs-rtc-lp{ 633 compatible = "fsl,sec-v4.0-mon-rtc-lp"; 634 regmap =<&snvs>; 635 offset = <0x34>; 636 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 637 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 638 clocks = <&clk IMX8MQ_CLK_SNVS_ROOT>; 639 clock-names = "snvs-rtc"; 640 }; 641 642 snvs_pwrkey: snvs-powerkey { 643 compatible = "fsl,sec-v4.0-pwrkey"; 644 regmap = <&snvs>; 645 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 646 clocks = <&clk IMX8MQ_CLK_SNVS_ROOT>; 647 clock-names = "snvs-pwrkey"; 648 linux,keycode = <KEY_POWER>; 649 wakeup-source; 650 status = "disabled"; 651 }; 652 }; 653 654 clk: clock-controller@30380000 { 655 compatible = "fsl,imx8mq-ccm"; 656 reg = <0x30380000 0x10000>; 657 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, 658 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 659 #clock-cells = <1>; 660 clocks = <&ckil>, <&osc_25m>, <&osc_27m>, 661 <&clk_ext1>, <&clk_ext2>, 662 <&clk_ext3>, <&clk_ext4>; 663 clock-names = "ckil", "osc_25m", "osc_27m", 664 "clk_ext1", "clk_ext2", 665 "clk_ext3", "clk_ext4"; 666 assigned-clocks = <&clk IMX8MQ_CLK_A53_SRC>, 667 <&clk IMX8MQ_CLK_A53_CORE>, 668 <&clk IMX8MQ_CLK_NOC>, 669 <&clk IMX8MQ_CLK_AUDIO_AHB>, 670 <&clk IMX8MQ_AUDIO_PLL1_BYPASS>, 671 <&clk IMX8MQ_AUDIO_PLL2_BYPASS>, 672 <&clk IMX8MQ_AUDIO_PLL1>, 673 <&clk IMX8MQ_AUDIO_PLL2>; 674 assigned-clock-rates = <0>, <0>, 675 <800000000>, 676 <0>, 677 <0>, 678 <0>, 679 <786432000>, 680 <722534400>; 681 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_800M>, 682 <&clk IMX8MQ_ARM_PLL_OUT>, 683 <0>, 684 <&clk IMX8MQ_SYS2_PLL_500M>, 685 <&clk IMX8MQ_AUDIO_PLL1>, 686 <&clk IMX8MQ_AUDIO_PLL2>; 687 }; 688 689 src: reset-controller@30390000 { 690 compatible = "fsl,imx8mq-src", "syscon"; 691 reg = <0x30390000 0x10000>; 692 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 693 #reset-cells = <1>; 694 }; 695 696 gpc: gpc@303a0000 { 697 compatible = "fsl,imx8mq-gpc"; 698 reg = <0x303a0000 0x10000>; 699 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 700 interrupt-parent = <&gic>; 701 interrupt-controller; 702 #interrupt-cells = <3>; 703 704 pgc { 705 #address-cells = <1>; 706 #size-cells = <0>; 707 708 pgc_mipi: power-domain@0 { 709 #power-domain-cells = <0>; 710 reg = <IMX8M_POWER_DOMAIN_MIPI>; 711 }; 712 713 /* 714 * As per comment in ATF source code: 715 * 716 * PCIE1 and PCIE2 share the 717 * same reset signal, if we 718 * power down PCIE2, PCIE1 719 * will be held in reset too. 720 * 721 * So instead of creating two 722 * separate power domains for 723 * PCIE1 and PCIE2 we create a 724 * link between both and use 725 * it as a shared PCIE power 726 * domain. 727 */ 728 pgc_pcie: power-domain@1 { 729 #power-domain-cells = <0>; 730 reg = <IMX8M_POWER_DOMAIN_PCIE1>; 731 power-domains = <&pgc_pcie2>; 732 }; 733 734 pgc_otg1: power-domain@2 { 735 #power-domain-cells = <0>; 736 reg = <IMX8M_POWER_DOMAIN_USB_OTG1>; 737 }; 738 739 pgc_otg2: power-domain@3 { 740 #power-domain-cells = <0>; 741 reg = <IMX8M_POWER_DOMAIN_USB_OTG2>; 742 }; 743 744 pgc_ddr1: power-domain@4 { 745 #power-domain-cells = <0>; 746 reg = <IMX8M_POWER_DOMAIN_DDR1>; 747 }; 748 749 pgc_gpu: power-domain@5 { 750 #power-domain-cells = <0>; 751 reg = <IMX8M_POWER_DOMAIN_GPU>; 752 clocks = <&clk IMX8MQ_CLK_GPU_ROOT>, 753 <&clk IMX8MQ_CLK_GPU_SHADER_DIV>, 754 <&clk IMX8MQ_CLK_GPU_AXI>, 755 <&clk IMX8MQ_CLK_GPU_AHB>; 756 }; 757 758 pgc_vpu: power-domain@6 { 759 #power-domain-cells = <0>; 760 reg = <IMX8M_POWER_DOMAIN_VPU>; 761 clocks = <&clk IMX8MQ_CLK_VPU_DEC_ROOT>, 762 <&clk IMX8MQ_CLK_VPU_G1_ROOT>, 763 <&clk IMX8MQ_CLK_VPU_G2_ROOT>; 764 assigned-clocks = <&clk IMX8MQ_CLK_VPU_G1>, 765 <&clk IMX8MQ_CLK_VPU_G2>, 766 <&clk IMX8MQ_CLK_VPU_BUS>, 767 <&clk IMX8MQ_VPU_PLL_BYPASS>; 768 assigned-clock-parents = <&clk IMX8MQ_VPU_PLL_OUT>, 769 <&clk IMX8MQ_VPU_PLL_OUT>, 770 <&clk IMX8MQ_SYS1_PLL_800M>, 771 <&clk IMX8MQ_VPU_PLL>; 772 assigned-clock-rates = <600000000>, 773 <600000000>, 774 <800000000>, 775 <0>; 776 }; 777 778 pgc_disp: power-domain@7 { 779 #power-domain-cells = <0>; 780 reg = <IMX8M_POWER_DOMAIN_DISP>; 781 }; 782 783 pgc_mipi_csi1: power-domain@8 { 784 #power-domain-cells = <0>; 785 reg = <IMX8M_POWER_DOMAIN_MIPI_CSI1>; 786 }; 787 788 pgc_mipi_csi2: power-domain@9 { 789 #power-domain-cells = <0>; 790 reg = <IMX8M_POWER_DOMAIN_MIPI_CSI2>; 791 }; 792 793 pgc_pcie2: power-domain@a { 794 #power-domain-cells = <0>; 795 reg = <IMX8M_POWER_DOMAIN_PCIE2>; 796 }; 797 }; 798 }; 799 }; 800 801 aips2: bus@30400000 { /* AIPS2 */ 802 compatible = "fsl,aips-bus", "simple-bus"; 803 reg = <0x30400000 0x400000>; 804 #address-cells = <1>; 805 #size-cells = <1>; 806 ranges = <0x30400000 0x30400000 0x400000>; 807 808 pwm1: pwm@30660000 { 809 compatible = "fsl,imx8mq-pwm", "fsl,imx27-pwm"; 810 reg = <0x30660000 0x10000>; 811 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 812 clocks = <&clk IMX8MQ_CLK_PWM1_ROOT>, 813 <&clk IMX8MQ_CLK_PWM1_ROOT>; 814 clock-names = "ipg", "per"; 815 #pwm-cells = <3>; 816 status = "disabled"; 817 }; 818 819 pwm2: pwm@30670000 { 820 compatible = "fsl,imx8mq-pwm", "fsl,imx27-pwm"; 821 reg = <0x30670000 0x10000>; 822 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 823 clocks = <&clk IMX8MQ_CLK_PWM2_ROOT>, 824 <&clk IMX8MQ_CLK_PWM2_ROOT>; 825 clock-names = "ipg", "per"; 826 #pwm-cells = <3>; 827 status = "disabled"; 828 }; 829 830 pwm3: pwm@30680000 { 831 compatible = "fsl,imx8mq-pwm", "fsl,imx27-pwm"; 832 reg = <0x30680000 0x10000>; 833 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 834 clocks = <&clk IMX8MQ_CLK_PWM3_ROOT>, 835 <&clk IMX8MQ_CLK_PWM3_ROOT>; 836 clock-names = "ipg", "per"; 837 #pwm-cells = <3>; 838 status = "disabled"; 839 }; 840 841 pwm4: pwm@30690000 { 842 compatible = "fsl,imx8mq-pwm", "fsl,imx27-pwm"; 843 reg = <0x30690000 0x10000>; 844 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 845 clocks = <&clk IMX8MQ_CLK_PWM4_ROOT>, 846 <&clk IMX8MQ_CLK_PWM4_ROOT>; 847 clock-names = "ipg", "per"; 848 #pwm-cells = <3>; 849 status = "disabled"; 850 }; 851 852 system_counter: timer@306a0000 { 853 compatible = "nxp,sysctr-timer"; 854 reg = <0x306a0000 0x20000>; 855 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 856 clocks = <&osc_25m>; 857 clock-names = "per"; 858 }; 859 }; 860 861 aips3: bus@30800000 { /* AIPS3 */ 862 compatible = "fsl,aips-bus", "simple-bus"; 863 reg = <0x30800000 0x400000>; 864 #address-cells = <1>; 865 #size-cells = <1>; 866 ranges = <0x30800000 0x30800000 0x400000>, 867 <0x08000000 0x08000000 0x10000000>; 868 869 spdif1: spdif@30810000 { 870 compatible = "fsl,imx35-spdif"; 871 reg = <0x30810000 0x10000>; 872 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 873 clocks = <&clk IMX8MQ_CLK_IPG_ROOT>, /* core */ 874 <&clk IMX8MQ_CLK_25M>, /* rxtx0 */ 875 <&clk IMX8MQ_CLK_SPDIF1>, /* rxtx1 */ 876 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx2 */ 877 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx3 */ 878 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx4 */ 879 <&clk IMX8MQ_CLK_IPG_ROOT>, /* rxtx5 */ 880 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx6 */ 881 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx7 */ 882 <&clk IMX8MQ_CLK_DUMMY>; /* spba */ 883 clock-names = "core", "rxtx0", 884 "rxtx1", "rxtx2", 885 "rxtx3", "rxtx4", 886 "rxtx5", "rxtx6", 887 "rxtx7", "spba"; 888 dmas = <&sdma1 8 18 0>, <&sdma1 9 18 0>; 889 dma-names = "rx", "tx"; 890 status = "disabled"; 891 }; 892 893 ecspi1: spi@30820000 { 894 #address-cells = <1>; 895 #size-cells = <0>; 896 compatible = "fsl,imx8mq-ecspi", "fsl,imx51-ecspi"; 897 reg = <0x30820000 0x10000>; 898 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 899 clocks = <&clk IMX8MQ_CLK_ECSPI1_ROOT>, 900 <&clk IMX8MQ_CLK_ECSPI1_ROOT>; 901 clock-names = "ipg", "per"; 902 dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; 903 dma-names = "rx", "tx"; 904 status = "disabled"; 905 }; 906 907 ecspi2: spi@30830000 { 908 #address-cells = <1>; 909 #size-cells = <0>; 910 compatible = "fsl,imx8mq-ecspi", "fsl,imx51-ecspi"; 911 reg = <0x30830000 0x10000>; 912 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 913 clocks = <&clk IMX8MQ_CLK_ECSPI2_ROOT>, 914 <&clk IMX8MQ_CLK_ECSPI2_ROOT>; 915 clock-names = "ipg", "per"; 916 dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; 917 dma-names = "rx", "tx"; 918 status = "disabled"; 919 }; 920 921 ecspi3: spi@30840000 { 922 #address-cells = <1>; 923 #size-cells = <0>; 924 compatible = "fsl,imx8mq-ecspi", "fsl,imx51-ecspi"; 925 reg = <0x30840000 0x10000>; 926 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 927 clocks = <&clk IMX8MQ_CLK_ECSPI3_ROOT>, 928 <&clk IMX8MQ_CLK_ECSPI3_ROOT>; 929 clock-names = "ipg", "per"; 930 dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; 931 dma-names = "rx", "tx"; 932 status = "disabled"; 933 }; 934 935 uart1: serial@30860000 { 936 compatible = "fsl,imx8mq-uart", 937 "fsl,imx6q-uart"; 938 reg = <0x30860000 0x10000>; 939 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 940 clocks = <&clk IMX8MQ_CLK_UART1_ROOT>, 941 <&clk IMX8MQ_CLK_UART1_ROOT>; 942 clock-names = "ipg", "per"; 943 status = "disabled"; 944 }; 945 946 uart3: serial@30880000 { 947 compatible = "fsl,imx8mq-uart", 948 "fsl,imx6q-uart"; 949 reg = <0x30880000 0x10000>; 950 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 951 clocks = <&clk IMX8MQ_CLK_UART3_ROOT>, 952 <&clk IMX8MQ_CLK_UART3_ROOT>; 953 clock-names = "ipg", "per"; 954 status = "disabled"; 955 }; 956 957 uart2: serial@30890000 { 958 compatible = "fsl,imx8mq-uart", 959 "fsl,imx6q-uart"; 960 reg = <0x30890000 0x10000>; 961 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 962 clocks = <&clk IMX8MQ_CLK_UART2_ROOT>, 963 <&clk IMX8MQ_CLK_UART2_ROOT>; 964 clock-names = "ipg", "per"; 965 status = "disabled"; 966 }; 967 968 spdif2: spdif@308a0000 { 969 compatible = "fsl,imx35-spdif"; 970 reg = <0x308a0000 0x10000>; 971 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 972 clocks = <&clk IMX8MQ_CLK_IPG_ROOT>, /* core */ 973 <&clk IMX8MQ_CLK_25M>, /* rxtx0 */ 974 <&clk IMX8MQ_CLK_SPDIF2>, /* rxtx1 */ 975 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx2 */ 976 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx3 */ 977 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx4 */ 978 <&clk IMX8MQ_CLK_IPG_ROOT>, /* rxtx5 */ 979 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx6 */ 980 <&clk IMX8MQ_CLK_DUMMY>, /* rxtx7 */ 981 <&clk IMX8MQ_CLK_DUMMY>; /* spba */ 982 clock-names = "core", "rxtx0", 983 "rxtx1", "rxtx2", 984 "rxtx3", "rxtx4", 985 "rxtx5", "rxtx6", 986 "rxtx7", "spba"; 987 dmas = <&sdma1 16 18 0>, <&sdma1 17 18 0>; 988 dma-names = "rx", "tx"; 989 status = "disabled"; 990 }; 991 992 sai2: sai@308b0000 { 993 #sound-dai-cells = <0>; 994 compatible = "fsl,imx8mq-sai"; 995 reg = <0x308b0000 0x10000>; 996 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 997 clocks = <&clk IMX8MQ_CLK_SAI2_IPG>, 998 <&clk IMX8MQ_CLK_SAI2_ROOT>, 999 <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; 1000 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 1001 dmas = <&sdma1 10 24 0>, <&sdma1 11 24 0>; 1002 dma-names = "rx", "tx"; 1003 status = "disabled"; 1004 }; 1005 1006 sai3: sai@308c0000 { 1007 #sound-dai-cells = <0>; 1008 compatible = "fsl,imx8mq-sai"; 1009 reg = <0x308c0000 0x10000>; 1010 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 1011 clocks = <&clk IMX8MQ_CLK_SAI3_IPG>, 1012 <&clk IMX8MQ_CLK_SAI3_ROOT>, 1013 <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; 1014 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 1015 dmas = <&sdma1 12 24 0>, <&sdma1 13 24 0>; 1016 dma-names = "rx", "tx"; 1017 status = "disabled"; 1018 }; 1019 1020 crypto: crypto@30900000 { 1021 compatible = "fsl,sec-v4.0"; 1022 #address-cells = <1>; 1023 #size-cells = <1>; 1024 reg = <0x30900000 0x40000>; 1025 ranges = <0 0x30900000 0x40000>; 1026 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 1027 clocks = <&clk IMX8MQ_CLK_AHB>, 1028 <&clk IMX8MQ_CLK_IPG_ROOT>; 1029 clock-names = "aclk", "ipg"; 1030 1031 sec_jr0: jr@1000 { 1032 compatible = "fsl,sec-v4.0-job-ring"; 1033 reg = <0x1000 0x1000>; 1034 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 1035 status = "disabled"; 1036 }; 1037 1038 sec_jr1: jr@2000 { 1039 compatible = "fsl,sec-v4.0-job-ring"; 1040 reg = <0x2000 0x1000>; 1041 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 1042 }; 1043 1044 sec_jr2: jr@3000 { 1045 compatible = "fsl,sec-v4.0-job-ring"; 1046 reg = <0x3000 0x1000>; 1047 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 1048 }; 1049 }; 1050 1051 mipi_dsi: mipi-dsi@30a00000 { 1052 compatible = "fsl,imx8mq-nwl-dsi"; 1053 reg = <0x30a00000 0x300>; 1054 clocks = <&clk IMX8MQ_CLK_DSI_CORE>, 1055 <&clk IMX8MQ_CLK_DSI_AHB>, 1056 <&clk IMX8MQ_CLK_DSI_IPG_DIV>, 1057 <&clk IMX8MQ_CLK_DSI_PHY_REF>, 1058 <&clk IMX8MQ_CLK_LCDIF_PIXEL>; 1059 clock-names = "core", "rx_esc", "tx_esc", "phy_ref", "lcdif"; 1060 assigned-clocks = <&clk IMX8MQ_CLK_DSI_AHB>, 1061 <&clk IMX8MQ_CLK_DSI_CORE>, 1062 <&clk IMX8MQ_CLK_DSI_IPG_DIV>; 1063 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>, 1064 <&clk IMX8MQ_SYS1_PLL_266M>; 1065 assigned-clock-rates = <80000000>, <266000000>, <20000000>; 1066 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 1067 mux-controls = <&mux 0>; 1068 power-domains = <&pgc_mipi>; 1069 phys = <&dphy>; 1070 phy-names = "dphy"; 1071 resets = <&src IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N>, 1072 <&src IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N>, 1073 <&src IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N>, 1074 <&src IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N>; 1075 reset-names = "byte", "dpi", "esc", "pclk"; 1076 status = "disabled"; 1077 1078 ports { 1079 #address-cells = <1>; 1080 #size-cells = <0>; 1081 1082 port@0 { 1083 reg = <0>; 1084 #address-cells = <1>; 1085 #size-cells = <0>; 1086 mipi_dsi_lcdif_in: endpoint@0 { 1087 reg = <0>; 1088 remote-endpoint = <&lcdif_mipi_dsi>; 1089 }; 1090 }; 1091 }; 1092 }; 1093 1094 dphy: dphy@30a00300 { 1095 compatible = "fsl,imx8mq-mipi-dphy"; 1096 reg = <0x30a00300 0x100>; 1097 clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>; 1098 clock-names = "phy_ref"; 1099 assigned-clocks = <&clk IMX8MQ_VIDEO_PLL1_REF_SEL>, 1100 <&clk IMX8MQ_VIDEO_PLL1_BYPASS>, 1101 <&clk IMX8MQ_CLK_DSI_PHY_REF>, 1102 <&clk IMX8MQ_VIDEO_PLL1>; 1103 assigned-clock-parents = <&clk IMX8MQ_CLK_25M>, 1104 <&clk IMX8MQ_VIDEO_PLL1>, 1105 <&clk IMX8MQ_VIDEO_PLL1_OUT>; 1106 assigned-clock-rates = <0>, <0>, <24000000>, <594000000>; 1107 #phy-cells = <0>; 1108 power-domains = <&pgc_mipi>; 1109 status = "disabled"; 1110 }; 1111 1112 i2c1: i2c@30a20000 { 1113 compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; 1114 reg = <0x30a20000 0x10000>; 1115 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 1116 clocks = <&clk IMX8MQ_CLK_I2C1_ROOT>; 1117 #address-cells = <1>; 1118 #size-cells = <0>; 1119 status = "disabled"; 1120 }; 1121 1122 i2c2: i2c@30a30000 { 1123 compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; 1124 reg = <0x30a30000 0x10000>; 1125 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 1126 clocks = <&clk IMX8MQ_CLK_I2C2_ROOT>; 1127 #address-cells = <1>; 1128 #size-cells = <0>; 1129 status = "disabled"; 1130 }; 1131 1132 i2c3: i2c@30a40000 { 1133 compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; 1134 reg = <0x30a40000 0x10000>; 1135 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 1136 clocks = <&clk IMX8MQ_CLK_I2C3_ROOT>; 1137 #address-cells = <1>; 1138 #size-cells = <0>; 1139 status = "disabled"; 1140 }; 1141 1142 i2c4: i2c@30a50000 { 1143 compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; 1144 reg = <0x30a50000 0x10000>; 1145 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 1146 clocks = <&clk IMX8MQ_CLK_I2C4_ROOT>; 1147 #address-cells = <1>; 1148 #size-cells = <0>; 1149 status = "disabled"; 1150 }; 1151 1152 uart4: serial@30a60000 { 1153 compatible = "fsl,imx8mq-uart", 1154 "fsl,imx6q-uart"; 1155 reg = <0x30a60000 0x10000>; 1156 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 1157 clocks = <&clk IMX8MQ_CLK_UART4_ROOT>, 1158 <&clk IMX8MQ_CLK_UART4_ROOT>; 1159 clock-names = "ipg", "per"; 1160 status = "disabled"; 1161 }; 1162 1163 mipi_csi1: csi@30a70000 { 1164 compatible = "fsl,imx8mq-mipi-csi2"; 1165 reg = <0x30a70000 0x1000>; 1166 clocks = <&clk IMX8MQ_CLK_CSI1_CORE>, 1167 <&clk IMX8MQ_CLK_CSI1_ESC>, 1168 <&clk IMX8MQ_CLK_CSI1_PHY_REF>; 1169 clock-names = "core", "esc", "ui"; 1170 assigned-clocks = <&clk IMX8MQ_CLK_CSI1_CORE>, 1171 <&clk IMX8MQ_CLK_CSI1_PHY_REF>, 1172 <&clk IMX8MQ_CLK_CSI1_ESC>; 1173 assigned-clock-rates = <266000000>, <333000000>, <66000000>; 1174 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_266M>, 1175 <&clk IMX8MQ_SYS2_PLL_1000M>, 1176 <&clk IMX8MQ_SYS1_PLL_800M>; 1177 power-domains = <&pgc_mipi_csi1>; 1178 resets = <&src IMX8MQ_RESET_MIPI_CSI1_CORE_RESET>, 1179 <&src IMX8MQ_RESET_MIPI_CSI1_PHY_REF_RESET>, 1180 <&src IMX8MQ_RESET_MIPI_CSI1_ESC_RESET>; 1181 fsl,mipi-phy-gpr = <&iomuxc_gpr 0x88>; 1182 interconnects = <&noc IMX8MQ_ICM_CSI1 &noc IMX8MQ_ICS_DRAM>; 1183 interconnect-names = "dram"; 1184 status = "disabled"; 1185 1186 ports { 1187 #address-cells = <1>; 1188 #size-cells = <0>; 1189 1190 port@1 { 1191 reg = <1>; 1192 1193 csi1_mipi_ep: endpoint { 1194 remote-endpoint = <&csi1_ep>; 1195 }; 1196 }; 1197 }; 1198 }; 1199 1200 csi1: csi@30a90000 { 1201 compatible = "fsl,imx8mq-csi"; 1202 reg = <0x30a90000 0x10000>; 1203 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 1204 clocks = <&clk IMX8MQ_CLK_CSI1_ROOT>; 1205 clock-names = "mclk"; 1206 status = "disabled"; 1207 1208 port { 1209 csi1_ep: endpoint { 1210 remote-endpoint = <&csi1_mipi_ep>; 1211 }; 1212 }; 1213 }; 1214 1215 mipi_csi2: csi@30b60000 { 1216 compatible = "fsl,imx8mq-mipi-csi2"; 1217 reg = <0x30b60000 0x1000>; 1218 clocks = <&clk IMX8MQ_CLK_CSI2_CORE>, 1219 <&clk IMX8MQ_CLK_CSI2_ESC>, 1220 <&clk IMX8MQ_CLK_CSI2_PHY_REF>; 1221 clock-names = "core", "esc", "ui"; 1222 assigned-clocks = <&clk IMX8MQ_CLK_CSI2_CORE>, 1223 <&clk IMX8MQ_CLK_CSI2_PHY_REF>, 1224 <&clk IMX8MQ_CLK_CSI2_ESC>; 1225 assigned-clock-rates = <266000000>, <333000000>, <66000000>; 1226 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_266M>, 1227 <&clk IMX8MQ_SYS2_PLL_1000M>, 1228 <&clk IMX8MQ_SYS1_PLL_800M>; 1229 power-domains = <&pgc_mipi_csi2>; 1230 resets = <&src IMX8MQ_RESET_MIPI_CSI2_CORE_RESET>, 1231 <&src IMX8MQ_RESET_MIPI_CSI2_PHY_REF_RESET>, 1232 <&src IMX8MQ_RESET_MIPI_CSI2_ESC_RESET>; 1233 fsl,mipi-phy-gpr = <&iomuxc_gpr 0xa4>; 1234 interconnects = <&noc IMX8MQ_ICM_CSI2 &noc IMX8MQ_ICS_DRAM>; 1235 interconnect-names = "dram"; 1236 status = "disabled"; 1237 1238 ports { 1239 #address-cells = <1>; 1240 #size-cells = <0>; 1241 1242 port@1 { 1243 reg = <1>; 1244 1245 csi2_mipi_ep: endpoint { 1246 remote-endpoint = <&csi2_ep>; 1247 }; 1248 }; 1249 }; 1250 }; 1251 1252 csi2: csi@30b80000 { 1253 compatible = "fsl,imx8mq-csi"; 1254 reg = <0x30b80000 0x10000>; 1255 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; 1256 clocks = <&clk IMX8MQ_CLK_CSI2_ROOT>; 1257 clock-names = "mclk"; 1258 status = "disabled"; 1259 1260 port { 1261 csi2_ep: endpoint { 1262 remote-endpoint = <&csi2_mipi_ep>; 1263 }; 1264 }; 1265 }; 1266 1267 mu: mailbox@30aa0000 { 1268 compatible = "fsl,imx8mq-mu", "fsl,imx6sx-mu"; 1269 reg = <0x30aa0000 0x10000>; 1270 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 1271 clocks = <&clk IMX8MQ_CLK_MU_ROOT>; 1272 #mbox-cells = <2>; 1273 }; 1274 1275 usdhc1: mmc@30b40000 { 1276 compatible = "fsl,imx8mq-usdhc", 1277 "fsl,imx7d-usdhc"; 1278 reg = <0x30b40000 0x10000>; 1279 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 1280 clocks = <&clk IMX8MQ_CLK_IPG_ROOT>, 1281 <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, 1282 <&clk IMX8MQ_CLK_USDHC1_ROOT>; 1283 clock-names = "ipg", "ahb", "per"; 1284 fsl,tuning-start-tap = <20>; 1285 fsl,tuning-step = <2>; 1286 bus-width = <4>; 1287 status = "disabled"; 1288 }; 1289 1290 usdhc2: mmc@30b50000 { 1291 compatible = "fsl,imx8mq-usdhc", 1292 "fsl,imx7d-usdhc"; 1293 reg = <0x30b50000 0x10000>; 1294 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 1295 clocks = <&clk IMX8MQ_CLK_IPG_ROOT>, 1296 <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, 1297 <&clk IMX8MQ_CLK_USDHC2_ROOT>; 1298 clock-names = "ipg", "ahb", "per"; 1299 fsl,tuning-start-tap = <20>; 1300 fsl,tuning-step = <2>; 1301 bus-width = <4>; 1302 status = "disabled"; 1303 }; 1304 1305 qspi0: spi@30bb0000 { 1306 #address-cells = <1>; 1307 #size-cells = <0>; 1308 compatible = "fsl,imx8mq-qspi", "fsl,imx7d-qspi"; 1309 reg = <0x30bb0000 0x10000>, 1310 <0x08000000 0x10000000>; 1311 reg-names = "QuadSPI", "QuadSPI-memory"; 1312 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 1313 clocks = <&clk IMX8MQ_CLK_QSPI_ROOT>, 1314 <&clk IMX8MQ_CLK_QSPI_ROOT>; 1315 clock-names = "qspi_en", "qspi"; 1316 status = "disabled"; 1317 }; 1318 1319 sdma1: dma-controller@30bd0000 { 1320 compatible = "fsl,imx8mq-sdma","fsl,imx7d-sdma"; 1321 reg = <0x30bd0000 0x10000>; 1322 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 1323 clocks = <&clk IMX8MQ_CLK_SDMA1_ROOT>, 1324 <&clk IMX8MQ_CLK_AHB>; 1325 clock-names = "ipg", "ahb"; 1326 #dma-cells = <3>; 1327 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 1328 }; 1329 1330 fec1: ethernet@30be0000 { 1331 compatible = "fsl,imx8mq-fec", "fsl,imx6sx-fec"; 1332 reg = <0x30be0000 0x10000>; 1333 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 1334 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 1335 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 1336 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 1337 clocks = <&clk IMX8MQ_CLK_ENET1_ROOT>, 1338 <&clk IMX8MQ_CLK_ENET1_ROOT>, 1339 <&clk IMX8MQ_CLK_ENET_TIMER>, 1340 <&clk IMX8MQ_CLK_ENET_REF>, 1341 <&clk IMX8MQ_CLK_ENET_PHY_REF>; 1342 clock-names = "ipg", "ahb", "ptp", 1343 "enet_clk_ref", "enet_out"; 1344 assigned-clocks = <&clk IMX8MQ_CLK_ENET_AXI>, 1345 <&clk IMX8MQ_CLK_ENET_TIMER>, 1346 <&clk IMX8MQ_CLK_ENET_REF>, 1347 <&clk IMX8MQ_CLK_ENET_PHY_REF>; 1348 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_266M>, 1349 <&clk IMX8MQ_SYS2_PLL_100M>, 1350 <&clk IMX8MQ_SYS2_PLL_125M>, 1351 <&clk IMX8MQ_SYS2_PLL_50M>; 1352 assigned-clock-rates = <0>, <100000000>, <125000000>, <0>; 1353 fsl,num-tx-queues = <3>; 1354 fsl,num-rx-queues = <3>; 1355 nvmem-cells = <&fec_mac_address>; 1356 nvmem-cell-names = "mac-address"; 1357 fsl,stop-mode = <&iomuxc_gpr 0x10 3>; 1358 status = "disabled"; 1359 }; 1360 }; 1361 1362 noc: interconnect@32700000 { 1363 compatible = "fsl,imx8mq-noc", "fsl,imx8m-noc"; 1364 reg = <0x32700000 0x100000>; 1365 clocks = <&clk IMX8MQ_CLK_NOC>; 1366 fsl,ddrc = <&ddrc>; 1367 #interconnect-cells = <1>; 1368 operating-points-v2 = <&noc_opp_table>; 1369 1370 noc_opp_table: opp-table { 1371 compatible = "operating-points-v2"; 1372 1373 opp-133000000 { 1374 opp-hz = /bits/ 64 <133333333>; 1375 }; 1376 1377 opp-400000000 { 1378 opp-hz = /bits/ 64 <400000000>; 1379 }; 1380 1381 opp-800000000 { 1382 opp-hz = /bits/ 64 <800000000>; 1383 }; 1384 }; 1385 }; 1386 1387 aips4: bus@32c00000 { /* AIPS4 */ 1388 compatible = "fsl,aips-bus", "simple-bus"; 1389 reg = <0x32c00000 0x400000>; 1390 #address-cells = <1>; 1391 #size-cells = <1>; 1392 ranges = <0x32c00000 0x32c00000 0x400000>; 1393 1394 irqsteer: interrupt-controller@32e2d000 { 1395 compatible = "fsl,imx8m-irqsteer", "fsl,imx-irqsteer"; 1396 reg = <0x32e2d000 0x1000>; 1397 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 1398 clocks = <&clk IMX8MQ_CLK_DISP_APB_ROOT>; 1399 clock-names = "ipg"; 1400 fsl,channel = <0>; 1401 fsl,num-irqs = <64>; 1402 interrupt-controller; 1403 #interrupt-cells = <1>; 1404 }; 1405 }; 1406 1407 gpu: gpu@38000000 { 1408 compatible = "vivante,gc"; 1409 reg = <0x38000000 0x40000>; 1410 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 1411 clocks = <&clk IMX8MQ_CLK_GPU_ROOT>, 1412 <&clk IMX8MQ_CLK_GPU_SHADER_DIV>, 1413 <&clk IMX8MQ_CLK_GPU_AXI>, 1414 <&clk IMX8MQ_CLK_GPU_AHB>; 1415 clock-names = "core", "shader", "bus", "reg"; 1416 #cooling-cells = <2>; 1417 assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_SRC>, 1418 <&clk IMX8MQ_CLK_GPU_SHADER_SRC>, 1419 <&clk IMX8MQ_CLK_GPU_AXI>, 1420 <&clk IMX8MQ_CLK_GPU_AHB>, 1421 <&clk IMX8MQ_GPU_PLL_BYPASS>; 1422 assigned-clock-parents = <&clk IMX8MQ_GPU_PLL_OUT>, 1423 <&clk IMX8MQ_GPU_PLL_OUT>, 1424 <&clk IMX8MQ_GPU_PLL_OUT>, 1425 <&clk IMX8MQ_GPU_PLL_OUT>, 1426 <&clk IMX8MQ_GPU_PLL>; 1427 assigned-clock-rates = <800000000>, <800000000>, 1428 <800000000>, <800000000>, <0>; 1429 power-domains = <&pgc_gpu>; 1430 }; 1431 1432 usb_dwc3_0: usb@38100000 { 1433 compatible = "fsl,imx8mq-dwc3", "snps,dwc3"; 1434 reg = <0x38100000 0x10000>; 1435 clocks = <&clk IMX8MQ_CLK_USB1_CTRL_ROOT>, 1436 <&clk IMX8MQ_CLK_USB_CORE_REF>, 1437 <&clk IMX8MQ_CLK_32K>; 1438 clock-names = "bus_early", "ref", "suspend"; 1439 assigned-clocks = <&clk IMX8MQ_CLK_USB_BUS>, 1440 <&clk IMX8MQ_CLK_USB_CORE_REF>; 1441 assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_500M>, 1442 <&clk IMX8MQ_SYS1_PLL_100M>; 1443 assigned-clock-rates = <500000000>, <100000000>; 1444 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 1445 phys = <&usb3_phy0>, <&usb3_phy0>; 1446 phy-names = "usb2-phy", "usb3-phy"; 1447 power-domains = <&pgc_otg1>; 1448 usb3-resume-missing-cas; 1449 status = "disabled"; 1450 }; 1451 1452 usb3_phy0: usb-phy@381f0040 { 1453 compatible = "fsl,imx8mq-usb-phy"; 1454 reg = <0x381f0040 0x40>; 1455 clocks = <&clk IMX8MQ_CLK_USB1_PHY_ROOT>; 1456 clock-names = "phy"; 1457 assigned-clocks = <&clk IMX8MQ_CLK_USB_PHY_REF>; 1458 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_100M>; 1459 assigned-clock-rates = <100000000>; 1460 #phy-cells = <0>; 1461 status = "disabled"; 1462 }; 1463 1464 usb_dwc3_1: usb@38200000 { 1465 compatible = "fsl,imx8mq-dwc3", "snps,dwc3"; 1466 reg = <0x38200000 0x10000>; 1467 clocks = <&clk IMX8MQ_CLK_USB2_CTRL_ROOT>, 1468 <&clk IMX8MQ_CLK_USB_CORE_REF>, 1469 <&clk IMX8MQ_CLK_32K>; 1470 clock-names = "bus_early", "ref", "suspend"; 1471 assigned-clocks = <&clk IMX8MQ_CLK_USB_BUS>, 1472 <&clk IMX8MQ_CLK_USB_CORE_REF>; 1473 assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_500M>, 1474 <&clk IMX8MQ_SYS1_PLL_100M>; 1475 assigned-clock-rates = <500000000>, <100000000>; 1476 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 1477 phys = <&usb3_phy1>, <&usb3_phy1>; 1478 phy-names = "usb2-phy", "usb3-phy"; 1479 power-domains = <&pgc_otg2>; 1480 usb3-resume-missing-cas; 1481 status = "disabled"; 1482 }; 1483 1484 usb3_phy1: usb-phy@382f0040 { 1485 compatible = "fsl,imx8mq-usb-phy"; 1486 reg = <0x382f0040 0x40>; 1487 clocks = <&clk IMX8MQ_CLK_USB2_PHY_ROOT>; 1488 clock-names = "phy"; 1489 assigned-clocks = <&clk IMX8MQ_CLK_USB_PHY_REF>; 1490 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_100M>; 1491 assigned-clock-rates = <100000000>; 1492 #phy-cells = <0>; 1493 status = "disabled"; 1494 }; 1495 1496 vpu_g1: video-codec@38300000 { 1497 compatible = "nxp,imx8mq-vpu-g1"; 1498 reg = <0x38300000 0x10000>; 1499 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 1500 clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>; 1501 power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; 1502 }; 1503 1504 vpu_g2: video-codec@38310000 { 1505 compatible = "nxp,imx8mq-vpu-g2"; 1506 reg = <0x38310000 0x10000>; 1507 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 1508 clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>; 1509 power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; 1510 }; 1511 1512 vpu_blk_ctrl: blk-ctrl@38320000 { 1513 compatible = "fsl,imx8mq-vpu-blk-ctrl"; 1514 reg = <0x38320000 0x100>; 1515 power-domains = <&pgc_vpu>, <&pgc_vpu>, <&pgc_vpu>; 1516 power-domain-names = "bus", "g1", "g2"; 1517 clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>, 1518 <&clk IMX8MQ_CLK_VPU_G2_ROOT>; 1519 clock-names = "g1", "g2"; 1520 #power-domain-cells = <1>; 1521 }; 1522 1523 pcie0: pcie@33800000 { 1524 compatible = "fsl,imx8mq-pcie"; 1525 reg = <0x33800000 0x400000>, 1526 <0x1ff00000 0x80000>; 1527 reg-names = "dbi", "config"; 1528 #address-cells = <3>; 1529 #size-cells = <2>; 1530 device_type = "pci"; 1531 bus-range = <0x00 0xff>; 1532 ranges = <0x81000000 0 0x00000000 0x1ff80000 0 0x00010000>, /* downstream I/O 64KB */ 1533 <0x82000000 0 0x18000000 0x18000000 0 0x07f00000>; /* non-prefetchable memory */ 1534 num-lanes = <1>; 1535 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 1536 interrupt-names = "msi"; 1537 #interrupt-cells = <1>; 1538 interrupt-map-mask = <0 0 0 0x7>; 1539 interrupt-map = <0 0 0 1 &gic GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 1540 <0 0 0 2 &gic GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 1541 <0 0 0 3 &gic GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 1542 <0 0 0 4 &gic GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 1543 fsl,max-link-speed = <2>; 1544 linux,pci-domain = <0>; 1545 clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>, 1546 <&clk IMX8MQ_CLK_PCIE1_PHY>, 1547 <&clk IMX8MQ_CLK_PCIE1_PHY>, 1548 <&clk IMX8MQ_CLK_PCIE1_AUX>; 1549 clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux"; 1550 power-domains = <&pgc_pcie>; 1551 resets = <&src IMX8MQ_RESET_PCIEPHY>, 1552 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>, 1553 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>; 1554 reset-names = "pciephy", "apps", "turnoff"; 1555 assigned-clocks = <&clk IMX8MQ_CLK_PCIE1_CTRL>, 1556 <&clk IMX8MQ_CLK_PCIE1_PHY>, 1557 <&clk IMX8MQ_CLK_PCIE1_AUX>; 1558 assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_250M>, 1559 <&clk IMX8MQ_SYS2_PLL_100M>, 1560 <&clk IMX8MQ_SYS1_PLL_80M>; 1561 assigned-clock-rates = <250000000>, <100000000>, 1562 <10000000>; 1563 status = "disabled"; 1564 }; 1565 1566 pcie1: pcie@33c00000 { 1567 compatible = "fsl,imx8mq-pcie"; 1568 reg = <0x33c00000 0x400000>, 1569 <0x27f00000 0x80000>; 1570 reg-names = "dbi", "config"; 1571 #address-cells = <3>; 1572 #size-cells = <2>; 1573 device_type = "pci"; 1574 ranges = <0x81000000 0 0x00000000 0x27f80000 0 0x00010000>, /* downstream I/O 64KB */ 1575 <0x82000000 0 0x20000000 0x20000000 0 0x07f00000>; /* non-prefetchable memory */ 1576 num-lanes = <1>; 1577 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 1578 interrupt-names = "msi"; 1579 #interrupt-cells = <1>; 1580 interrupt-map-mask = <0 0 0 0x7>; 1581 interrupt-map = <0 0 0 1 &gic GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, 1582 <0 0 0 2 &gic GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, 1583 <0 0 0 3 &gic GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>, 1584 <0 0 0 4 &gic GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 1585 fsl,max-link-speed = <2>; 1586 linux,pci-domain = <1>; 1587 clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, 1588 <&clk IMX8MQ_CLK_PCIE2_PHY>, 1589 <&clk IMX8MQ_CLK_PCIE2_PHY>, 1590 <&clk IMX8MQ_CLK_PCIE2_AUX>; 1591 clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux"; 1592 power-domains = <&pgc_pcie>; 1593 resets = <&src IMX8MQ_RESET_PCIEPHY2>, 1594 <&src IMX8MQ_RESET_PCIE2_CTRL_APPS_EN>, 1595 <&src IMX8MQ_RESET_PCIE2_CTRL_APPS_TURNOFF>; 1596 reset-names = "pciephy", "apps", "turnoff"; 1597 assigned-clocks = <&clk IMX8MQ_CLK_PCIE2_CTRL>, 1598 <&clk IMX8MQ_CLK_PCIE2_PHY>, 1599 <&clk IMX8MQ_CLK_PCIE2_AUX>; 1600 assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_250M>, 1601 <&clk IMX8MQ_SYS2_PLL_100M>, 1602 <&clk IMX8MQ_SYS1_PLL_80M>; 1603 assigned-clock-rates = <250000000>, <100000000>, 1604 <10000000>; 1605 status = "disabled"; 1606 }; 1607 1608 gic: interrupt-controller@38800000 { 1609 compatible = "arm,gic-v3"; 1610 reg = <0x38800000 0x10000>, /* GIC Dist */ 1611 <0x38880000 0xc0000>, /* GICR */ 1612 <0x31000000 0x2000>, /* GICC */ 1613 <0x31010000 0x2000>, /* GICV */ 1614 <0x31020000 0x2000>; /* GICH */ 1615 #interrupt-cells = <3>; 1616 interrupt-controller; 1617 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 1618 interrupt-parent = <&gic>; 1619 }; 1620 1621 ddrc: memory-controller@3d400000 { 1622 compatible = "fsl,imx8mq-ddrc", "fsl,imx8m-ddrc"; 1623 reg = <0x3d400000 0x400000>; 1624 clock-names = "core", "pll", "alt", "apb"; 1625 clocks = <&clk IMX8MQ_CLK_DRAM_CORE>, 1626 <&clk IMX8MQ_DRAM_PLL_OUT>, 1627 <&clk IMX8MQ_CLK_DRAM_ALT>, 1628 <&clk IMX8MQ_CLK_DRAM_APB>; 1629 status = "disabled"; 1630 }; 1631 1632 ddr-pmu@3d800000 { 1633 compatible = "fsl,imx8mq-ddr-pmu", "fsl,imx8m-ddr-pmu"; 1634 reg = <0x3d800000 0x400000>; 1635 interrupt-parent = <&gic>; 1636 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 1637 }; 1638 }; 1639}; 1640