Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 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> |
Lucas Stach | fdbcc04d | 2019-01-15 12:01:44 +0100 | [diff] [blame] | 8 | #include <dt-bindings/power/imx8mq-power.h> |
Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 9 | #include <dt-bindings/gpio/gpio.h> |
| 10 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 11 | #include "imx8mq-pinfunc.h" |
| 12 | |
| 13 | / { |
Lucas Stach | c412123 | 2019-01-25 17:20:33 +0100 | [diff] [blame] | 14 | interrupt-parent = <&gpc>; |
Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 15 | |
| 16 | #address-cells = <2>; |
| 17 | #size-cells = <2>; |
| 18 | |
| 19 | aliases { |
| 20 | i2c0 = &i2c1; |
| 21 | i2c1 = &i2c2; |
| 22 | i2c2 = &i2c3; |
| 23 | i2c3 = &i2c4; |
| 24 | serial0 = &uart1; |
| 25 | serial1 = &uart2; |
| 26 | serial2 = &uart3; |
| 27 | serial3 = &uart4; |
Fabio Estevam | 85761f4 | 2019-01-28 10:08:13 -0200 | [diff] [blame^] | 28 | spi0 = &ecspi1; |
| 29 | spi1 = &ecspi2; |
| 30 | spi2 = &ecspi3; |
Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 31 | }; |
| 32 | |
| 33 | ckil: clock-ckil { |
| 34 | compatible = "fixed-clock"; |
| 35 | #clock-cells = <0>; |
| 36 | clock-frequency = <32768>; |
| 37 | clock-output-names = "ckil"; |
| 38 | }; |
| 39 | |
| 40 | osc_25m: clock-osc-25m { |
| 41 | compatible = "fixed-clock"; |
| 42 | #clock-cells = <0>; |
| 43 | clock-frequency = <25000000>; |
| 44 | clock-output-names = "osc_25m"; |
| 45 | }; |
| 46 | |
| 47 | osc_27m: clock-osc-27m { |
| 48 | compatible = "fixed-clock"; |
| 49 | #clock-cells = <0>; |
| 50 | clock-frequency = <27000000>; |
| 51 | clock-output-names = "osc_27m"; |
| 52 | }; |
| 53 | |
| 54 | clk_ext1: clock-ext1 { |
| 55 | compatible = "fixed-clock"; |
| 56 | #clock-cells = <0>; |
| 57 | clock-frequency = <133000000>; |
| 58 | clock-output-names = "clk_ext1"; |
| 59 | }; |
| 60 | |
| 61 | clk_ext2: clock-ext2 { |
| 62 | compatible = "fixed-clock"; |
| 63 | #clock-cells = <0>; |
| 64 | clock-frequency = <133000000>; |
| 65 | clock-output-names = "clk_ext2"; |
| 66 | }; |
| 67 | |
| 68 | clk_ext3: clock-ext3 { |
| 69 | compatible = "fixed-clock"; |
| 70 | #clock-cells = <0>; |
| 71 | clock-frequency = <133000000>; |
| 72 | clock-output-names = "clk_ext3"; |
| 73 | }; |
| 74 | |
| 75 | clk_ext4: clock-ext4 { |
| 76 | compatible = "fixed-clock"; |
| 77 | #clock-cells = <0>; |
| 78 | clock-frequency= <133000000>; |
| 79 | clock-output-names = "clk_ext4"; |
| 80 | }; |
| 81 | |
| 82 | cpus { |
| 83 | #address-cells = <1>; |
| 84 | #size-cells = <0>; |
| 85 | |
| 86 | A53_0: cpu@0 { |
| 87 | device_type = "cpu"; |
| 88 | compatible = "arm,cortex-a53"; |
| 89 | reg = <0x0>; |
| 90 | enable-method = "psci"; |
| 91 | next-level-cache = <&A53_L2>; |
| 92 | }; |
| 93 | |
| 94 | A53_1: cpu@1 { |
| 95 | device_type = "cpu"; |
| 96 | compatible = "arm,cortex-a53"; |
| 97 | reg = <0x1>; |
| 98 | enable-method = "psci"; |
| 99 | next-level-cache = <&A53_L2>; |
| 100 | }; |
| 101 | |
| 102 | A53_2: cpu@2 { |
| 103 | device_type = "cpu"; |
| 104 | compatible = "arm,cortex-a53"; |
| 105 | reg = <0x2>; |
| 106 | enable-method = "psci"; |
| 107 | next-level-cache = <&A53_L2>; |
| 108 | }; |
| 109 | |
| 110 | A53_3: cpu@3 { |
| 111 | device_type = "cpu"; |
| 112 | compatible = "arm,cortex-a53"; |
| 113 | reg = <0x3>; |
| 114 | enable-method = "psci"; |
| 115 | next-level-cache = <&A53_L2>; |
| 116 | }; |
| 117 | |
| 118 | A53_L2: l2-cache0 { |
| 119 | compatible = "cache"; |
| 120 | }; |
| 121 | }; |
| 122 | |
| 123 | psci { |
| 124 | compatible = "arm,psci-1.0"; |
| 125 | method = "smc"; |
| 126 | }; |
| 127 | |
| 128 | timer { |
| 129 | compatible = "arm,armv8-timer"; |
| 130 | interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* Physical Secure */ |
| 131 | <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* Physical Non-Secure */ |
| 132 | <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* Virtual */ |
| 133 | <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* Hypervisor */ |
| 134 | interrupt-parent = <&gic>; |
| 135 | arm,no-tick-in-suspend; |
| 136 | }; |
| 137 | |
| 138 | soc@0 { |
| 139 | compatible = "simple-bus"; |
| 140 | #address-cells = <1>; |
| 141 | #size-cells = <1>; |
| 142 | ranges = <0x0 0x0 0x0 0x3e000000>; |
| 143 | |
| 144 | bus@30000000 { /* AIPS1 */ |
| 145 | compatible = "fsl,imx8mq-aips-bus", "simple-bus"; |
| 146 | #address-cells = <1>; |
| 147 | #size-cells = <1>; |
| 148 | ranges = <0x30000000 0x30000000 0x400000>; |
| 149 | |
| 150 | gpio1: gpio@30200000 { |
| 151 | compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; |
| 152 | reg = <0x30200000 0x10000>; |
| 153 | interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, |
| 154 | <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
| 155 | gpio-controller; |
| 156 | #gpio-cells = <2>; |
| 157 | interrupt-controller; |
| 158 | #interrupt-cells = <2>; |
| 159 | }; |
| 160 | |
| 161 | gpio2: gpio@30210000 { |
| 162 | compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; |
| 163 | reg = <0x30210000 0x10000>; |
| 164 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, |
| 165 | <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; |
| 166 | gpio-controller; |
| 167 | #gpio-cells = <2>; |
| 168 | interrupt-controller; |
| 169 | #interrupt-cells = <2>; |
| 170 | }; |
| 171 | |
| 172 | gpio3: gpio@30220000 { |
| 173 | compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; |
| 174 | reg = <0x30220000 0x10000>; |
| 175 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 176 | <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
| 177 | gpio-controller; |
| 178 | #gpio-cells = <2>; |
| 179 | interrupt-controller; |
| 180 | #interrupt-cells = <2>; |
| 181 | }; |
| 182 | |
| 183 | gpio4: gpio@30230000 { |
| 184 | compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; |
| 185 | reg = <0x30230000 0x10000>; |
| 186 | interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, |
| 187 | <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
| 188 | gpio-controller; |
| 189 | #gpio-cells = <2>; |
| 190 | interrupt-controller; |
| 191 | #interrupt-cells = <2>; |
| 192 | }; |
| 193 | |
| 194 | gpio5: gpio@30240000 { |
| 195 | compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio"; |
| 196 | reg = <0x30240000 0x10000>; |
| 197 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 198 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
| 199 | gpio-controller; |
| 200 | #gpio-cells = <2>; |
| 201 | interrupt-controller; |
| 202 | #interrupt-cells = <2>; |
| 203 | }; |
| 204 | |
Lucas Stach | a2b91ef | 2018-12-14 11:55:09 +0100 | [diff] [blame] | 205 | wdog1: watchdog@30280000 { |
| 206 | compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt"; |
| 207 | reg = <0x30280000 0x10000>; |
| 208 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
| 209 | clocks = <&clk IMX8MQ_CLK_WDOG1_ROOT>; |
| 210 | status = "disabled"; |
| 211 | }; |
| 212 | |
| 213 | wdog2: watchdog@30290000 { |
| 214 | compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt"; |
| 215 | reg = <0x30290000 0x10000>; |
| 216 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
| 217 | clocks = <&clk IMX8MQ_CLK_WDOG2_ROOT>; |
| 218 | status = "disabled"; |
| 219 | }; |
| 220 | |
| 221 | wdog3: watchdog@302a0000 { |
| 222 | compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt"; |
| 223 | reg = <0x302a0000 0x10000>; |
| 224 | interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 225 | clocks = <&clk IMX8MQ_CLK_WDOG3_ROOT>; |
| 226 | status = "disabled"; |
| 227 | }; |
| 228 | |
Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 229 | iomuxc: iomuxc@30330000 { |
| 230 | compatible = "fsl,imx8mq-iomuxc"; |
| 231 | reg = <0x30330000 0x10000>; |
| 232 | }; |
| 233 | |
| 234 | iomuxc_gpr: syscon@30340000 { |
| 235 | compatible = "fsl,imx8mq-iomuxc-gpr", "syscon"; |
| 236 | reg = <0x30340000 0x10000>; |
| 237 | }; |
| 238 | |
| 239 | anatop: syscon@30360000 { |
| 240 | compatible = "fsl,imx8mq-anatop", "syscon"; |
| 241 | reg = <0x30360000 0x10000>; |
| 242 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
| 243 | }; |
| 244 | |
| 245 | clk: clock-controller@30380000 { |
| 246 | compatible = "fsl,imx8mq-ccm"; |
| 247 | reg = <0x30380000 0x10000>; |
| 248 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, |
| 249 | <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 250 | #clock-cells = <1>; |
| 251 | clocks = <&ckil>, <&osc_25m>, <&osc_27m>, |
| 252 | <&clk_ext1>, <&clk_ext2>, |
| 253 | <&clk_ext3>, <&clk_ext4>; |
| 254 | clock-names = "ckil", "osc_25m", "osc_27m", |
| 255 | "clk_ext1", "clk_ext2", |
| 256 | "clk_ext3", "clk_ext4"; |
| 257 | }; |
Lucas Stach | fdbcc04d | 2019-01-15 12:01:44 +0100 | [diff] [blame] | 258 | |
| 259 | gpc: gpc@303a0000 { |
| 260 | compatible = "fsl,imx8mq-gpc"; |
| 261 | reg = <0x303a0000 0x10000>; |
Lucas Stach | c412123 | 2019-01-25 17:20:33 +0100 | [diff] [blame] | 262 | interrupt-parent = <&gic>; |
| 263 | interrupt-controller; |
| 264 | #interrupt-cells = <3>; |
Lucas Stach | fdbcc04d | 2019-01-15 12:01:44 +0100 | [diff] [blame] | 265 | |
| 266 | pgc { |
| 267 | #address-cells = <1>; |
| 268 | #size-cells = <0>; |
| 269 | |
| 270 | pgc_mipi: power-domain@0 { |
| 271 | #power-domain-cells = <0>; |
| 272 | reg = <IMX8M_POWER_DOMAIN_MIPI>; |
| 273 | }; |
| 274 | |
| 275 | pgc_pcie1: power-domain@1 { |
| 276 | #power-domain-cells = <0>; |
| 277 | reg = <IMX8M_POWER_DOMAIN_PCIE1>; |
| 278 | }; |
| 279 | |
| 280 | pgc_otg1: power-domain@2 { |
| 281 | #power-domain-cells = <0>; |
| 282 | reg = <IMX8M_POWER_DOMAIN_USB_OTG1>; |
| 283 | }; |
| 284 | |
| 285 | pgc_otg2: power-domain@3 { |
| 286 | #power-domain-cells = <0>; |
| 287 | reg = <IMX8M_POWER_DOMAIN_USB_OTG2>; |
| 288 | }; |
| 289 | |
| 290 | pgc_ddr1: power-domain@4 { |
| 291 | #power-domain-cells = <0>; |
| 292 | reg = <IMX8M_POWER_DOMAIN_DDR1>; |
| 293 | }; |
| 294 | |
| 295 | pgc_gpu: power-domain@5 { |
| 296 | #power-domain-cells = <0>; |
| 297 | reg = <IMX8M_POWER_DOMAIN_GPU>; |
| 298 | clocks = <&clk IMX8MQ_CLK_GPU_ROOT>, |
| 299 | <&clk IMX8MQ_CLK_GPU_SHADER_DIV>, |
| 300 | <&clk IMX8MQ_CLK_GPU_AXI>, |
| 301 | <&clk IMX8MQ_CLK_GPU_AHB>; |
| 302 | }; |
| 303 | |
| 304 | pgc_vpu: power-domain@6 { |
| 305 | #power-domain-cells = <0>; |
| 306 | reg = <IMX8M_POWER_DOMAIN_VPU>; |
| 307 | }; |
| 308 | |
| 309 | pgc_disp: power-domain@7 { |
| 310 | #power-domain-cells = <0>; |
| 311 | reg = <IMX8M_POWER_DOMAIN_DISP>; |
| 312 | }; |
| 313 | |
| 314 | pgc_mipi_csi1: power-domain@8 { |
| 315 | #power-domain-cells = <0>; |
| 316 | reg = <IMX8M_POWER_DOMAIN_MIPI_CSI1>; |
| 317 | }; |
| 318 | |
| 319 | pgc_mipi_csi2: power-domain@9 { |
| 320 | #power-domain-cells = <0>; |
| 321 | reg = <IMX8M_POWER_DOMAIN_MIPI_CSI2>; |
| 322 | }; |
| 323 | |
| 324 | pgc_pcie2: power-domain@a { |
| 325 | #power-domain-cells = <0>; |
| 326 | reg = <IMX8M_POWER_DOMAIN_PCIE2>; |
| 327 | }; |
| 328 | }; |
| 329 | }; |
Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 330 | }; |
| 331 | |
| 332 | bus@30400000 { /* AIPS2 */ |
| 333 | compatible = "fsl,imx8mq-aips-bus", "simple-bus"; |
| 334 | #address-cells = <1>; |
| 335 | #size-cells = <1>; |
| 336 | ranges = <0x30400000 0x30400000 0x400000>; |
Guido Günther | a0e046e | 2019-01-14 18:03:16 +0100 | [diff] [blame] | 337 | |
| 338 | pwm1: pwm@30660000 { |
| 339 | compatible = "fsl,imx8mq-pwm", "fsl,imx27-pwm"; |
| 340 | reg = <0x30660000 0x10000>; |
| 341 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
| 342 | clocks = <&clk IMX8MQ_CLK_PWM1_ROOT>, |
| 343 | <&clk IMX8MQ_CLK_PWM1_ROOT>; |
| 344 | clock-names = "ipg", "per"; |
| 345 | #pwm-cells = <2>; |
| 346 | status = "disabled"; |
| 347 | }; |
| 348 | |
| 349 | pwm2: pwm@30670000 { |
| 350 | compatible = "fsl,imx8mq-pwm", "fsl,imx27-pwm"; |
| 351 | reg = <0x30670000 0x10000>; |
| 352 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 353 | clocks = <&clk IMX8MQ_CLK_PWM2_ROOT>, |
| 354 | <&clk IMX8MQ_CLK_PWM2_ROOT>; |
| 355 | clock-names = "ipg", "per"; |
| 356 | #pwm-cells = <2>; |
| 357 | status = "disabled"; |
| 358 | }; |
| 359 | |
| 360 | pwm3: pwm@30680000 { |
| 361 | compatible = "fsl,imx8mq-pwm", "fsl,imx27-pwm"; |
| 362 | reg = <0x30680000 0x10000>; |
| 363 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 364 | clocks = <&clk IMX8MQ_CLK_PWM3_ROOT>, |
| 365 | <&clk IMX8MQ_CLK_PWM3_ROOT>; |
| 366 | clock-names = "ipg", "per"; |
| 367 | #pwm-cells = <2>; |
| 368 | status = "disabled"; |
| 369 | }; |
| 370 | |
| 371 | pwm4: pwm@30690000 { |
| 372 | compatible = "fsl,imx8mq-pwm", "fsl,imx27-pwm"; |
| 373 | reg = <0x30690000 0x10000>; |
| 374 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 375 | clocks = <&clk IMX8MQ_CLK_PWM4_ROOT>, |
| 376 | <&clk IMX8MQ_CLK_PWM4_ROOT>; |
| 377 | clock-names = "ipg", "per"; |
| 378 | #pwm-cells = <2>; |
| 379 | status = "disabled"; |
| 380 | }; |
Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 381 | }; |
| 382 | |
| 383 | bus@30800000 { /* AIPS3 */ |
| 384 | compatible = "fsl,imx8mq-aips-bus", "simple-bus"; |
| 385 | #address-cells = <1>; |
| 386 | #size-cells = <1>; |
| 387 | ranges = <0x30800000 0x30800000 0x400000>; |
| 388 | |
Fabio Estevam | 85761f4 | 2019-01-28 10:08:13 -0200 | [diff] [blame^] | 389 | ecspi1: spi@30820000 { |
| 390 | #address-cells = <1>; |
| 391 | #size-cells = <0>; |
| 392 | compatible = "fsl,imx8mq-ecspi", "fsl,imx51-ecspi"; |
| 393 | reg = <0x30820000 0x10000>; |
| 394 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| 395 | clocks = <&clk IMX8MQ_CLK_ECSPI1_ROOT>, |
| 396 | <&clk IMX8MQ_CLK_ECSPI1_ROOT>; |
| 397 | clock-names = "ipg", "per"; |
| 398 | status = "disabled"; |
| 399 | }; |
| 400 | |
| 401 | ecspi2: spi@30830000 { |
| 402 | #address-cells = <1>; |
| 403 | #size-cells = <0>; |
| 404 | compatible = "fsl,imx8mq-ecspi", "fsl,imx51-ecspi"; |
| 405 | reg = <0x30830000 0x10000>; |
| 406 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; |
| 407 | clocks = <&clk IMX8MQ_CLK_ECSPI2_ROOT>, |
| 408 | <&clk IMX8MQ_CLK_ECSPI2_ROOT>; |
| 409 | clock-names = "ipg", "per"; |
| 410 | status = "disabled"; |
| 411 | }; |
| 412 | |
| 413 | ecspi3: spi@30840000 { |
| 414 | #address-cells = <1>; |
| 415 | #size-cells = <0>; |
| 416 | compatible = "fsl,imx8mq-ecspi", "fsl,imx51-ecspi"; |
| 417 | reg = <0x30840000 0x10000>; |
| 418 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | clocks = <&clk IMX8MQ_CLK_ECSPI3_ROOT>, |
| 420 | <&clk IMX8MQ_CLK_ECSPI3_ROOT>; |
| 421 | clock-names = "ipg", "per"; |
| 422 | status = "disabled"; |
| 423 | }; |
| 424 | |
Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 425 | uart1: serial@30860000 { |
| 426 | compatible = "fsl,imx8mq-uart", |
| 427 | "fsl,imx6q-uart"; |
| 428 | reg = <0x30860000 0x10000>; |
| 429 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
| 430 | clocks = <&clk IMX8MQ_CLK_UART1_ROOT>, |
| 431 | <&clk IMX8MQ_CLK_UART1_ROOT>; |
| 432 | clock-names = "ipg", "per"; |
| 433 | status = "disabled"; |
| 434 | }; |
| 435 | |
| 436 | uart3: serial@30880000 { |
| 437 | compatible = "fsl,imx8mq-uart", |
| 438 | "fsl,imx6q-uart"; |
| 439 | reg = <0x30880000 0x10000>; |
| 440 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
| 441 | clocks = <&clk IMX8MQ_CLK_UART3_ROOT>, |
| 442 | <&clk IMX8MQ_CLK_UART3_ROOT>; |
| 443 | clock-names = "ipg", "per"; |
| 444 | status = "disabled"; |
| 445 | }; |
| 446 | |
| 447 | uart2: serial@30890000 { |
| 448 | compatible = "fsl,imx8mq-uart", |
| 449 | "fsl,imx6q-uart"; |
| 450 | reg = <0x30890000 0x10000>; |
| 451 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; |
| 452 | clocks = <&clk IMX8MQ_CLK_UART2_ROOT>, |
| 453 | <&clk IMX8MQ_CLK_UART2_ROOT>; |
| 454 | clock-names = "ipg", "per"; |
| 455 | status = "disabled"; |
| 456 | }; |
| 457 | |
| 458 | i2c1: i2c@30a20000 { |
| 459 | compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; |
| 460 | reg = <0x30a20000 0x10000>; |
| 461 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 462 | clocks = <&clk IMX8MQ_CLK_I2C1_ROOT>; |
| 463 | #address-cells = <1>; |
| 464 | #size-cells = <0>; |
| 465 | status = "disabled"; |
| 466 | }; |
| 467 | |
| 468 | i2c2: i2c@30a30000 { |
| 469 | compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; |
| 470 | reg = <0x30a30000 0x10000>; |
| 471 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
| 472 | clocks = <&clk IMX8MQ_CLK_I2C2_ROOT>; |
| 473 | #address-cells = <1>; |
| 474 | #size-cells = <0>; |
| 475 | status = "disabled"; |
| 476 | }; |
| 477 | |
| 478 | i2c3: i2c@30a40000 { |
| 479 | compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; |
| 480 | reg = <0x30a40000 0x10000>; |
| 481 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 482 | clocks = <&clk IMX8MQ_CLK_I2C3_ROOT>; |
| 483 | #address-cells = <1>; |
| 484 | #size-cells = <0>; |
| 485 | status = "disabled"; |
| 486 | }; |
| 487 | |
| 488 | i2c4: i2c@30a50000 { |
| 489 | compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; |
| 490 | reg = <0x30a50000 0x10000>; |
| 491 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 492 | clocks = <&clk IMX8MQ_CLK_I2C4_ROOT>; |
| 493 | #address-cells = <1>; |
| 494 | #size-cells = <0>; |
| 495 | status = "disabled"; |
| 496 | }; |
| 497 | |
| 498 | uart4: serial@30a60000 { |
| 499 | compatible = "fsl,imx8mq-uart", |
| 500 | "fsl,imx6q-uart"; |
| 501 | reg = <0x30a60000 0x10000>; |
| 502 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
| 503 | clocks = <&clk IMX8MQ_CLK_UART4_ROOT>, |
| 504 | <&clk IMX8MQ_CLK_UART4_ROOT>; |
| 505 | clock-names = "ipg", "per"; |
| 506 | status = "disabled"; |
| 507 | }; |
| 508 | |
| 509 | usdhc1: mmc@30b40000 { |
| 510 | compatible = "fsl,imx8mq-usdhc", |
| 511 | "fsl,imx7d-usdhc"; |
| 512 | reg = <0x30b40000 0x10000>; |
| 513 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| 514 | clocks = <&clk IMX8MQ_CLK_DUMMY>, |
| 515 | <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, |
| 516 | <&clk IMX8MQ_CLK_USDHC1_ROOT>; |
| 517 | clock-names = "ipg", "ahb", "per"; |
| 518 | fsl,tuning-start-tap = <20>; |
| 519 | fsl,tuning-step = <2>; |
| 520 | bus-width = <4>; |
| 521 | status = "disabled"; |
| 522 | }; |
| 523 | |
| 524 | usdhc2: mmc@30b50000 { |
| 525 | compatible = "fsl,imx8mq-usdhc", |
| 526 | "fsl,imx7d-usdhc"; |
| 527 | reg = <0x30b50000 0x10000>; |
| 528 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 529 | clocks = <&clk IMX8MQ_CLK_DUMMY>, |
| 530 | <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, |
| 531 | <&clk IMX8MQ_CLK_USDHC2_ROOT>; |
| 532 | clock-names = "ipg", "ahb", "per"; |
| 533 | fsl,tuning-start-tap = <20>; |
| 534 | fsl,tuning-step = <2>; |
| 535 | bus-width = <4>; |
| 536 | status = "disabled"; |
| 537 | }; |
| 538 | |
| 539 | fec1: ethernet@30be0000 { |
| 540 | compatible = "fsl,imx8mq-fec", "fsl,imx6sx-fec"; |
| 541 | reg = <0x30be0000 0x10000>; |
| 542 | interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, |
| 543 | <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, |
| 544 | <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; |
| 545 | clocks = <&clk IMX8MQ_CLK_ENET1_ROOT>, |
| 546 | <&clk IMX8MQ_CLK_ENET1_ROOT>, |
| 547 | <&clk IMX8MQ_CLK_ENET_TIMER>, |
| 548 | <&clk IMX8MQ_CLK_ENET_REF>, |
| 549 | <&clk IMX8MQ_CLK_ENET_PHY_REF>; |
| 550 | clock-names = "ipg", "ahb", "ptp", |
| 551 | "enet_clk_ref", "enet_out"; |
| 552 | fsl,num-tx-queues = <3>; |
| 553 | fsl,num-rx-queues = <3>; |
| 554 | status = "disabled"; |
| 555 | }; |
| 556 | }; |
| 557 | |
Lucas Stach | ad37549 | 2019-01-25 17:25:58 +0100 | [diff] [blame] | 558 | usb_dwc3_0: usb@38100000 { |
| 559 | compatible = "fsl,imx8mq-dwc3", "snps,dwc3"; |
| 560 | reg = <0x38100000 0x10000>; |
| 561 | clocks = <&clk IMX8MQ_CLK_USB_BUS>, |
| 562 | <&clk IMX8MQ_CLK_USB_CORE_REF>, |
| 563 | <&clk IMX8MQ_CLK_USB1_CTRL_ROOT>; |
| 564 | clock-names = "bus_early", "ref", "suspend"; |
| 565 | assigned-clocks = <&clk IMX8MQ_CLK_USB_BUS>, |
| 566 | <&clk IMX8MQ_CLK_USB_CORE_REF>; |
| 567 | assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_500M>, |
| 568 | <&clk IMX8MQ_SYS1_PLL_100M>; |
| 569 | assigned-clock-rates = <500000000>, <100000000>; |
| 570 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
| 571 | phys = <&usb3_phy0>, <&usb3_phy0>; |
| 572 | phy-names = "usb2-phy", "usb3-phy"; |
| 573 | power-domains = <&pgc_otg1>; |
| 574 | usb3-resume-missing-cas; |
| 575 | status = "disabled"; |
| 576 | }; |
| 577 | |
| 578 | usb3_phy0: usb-phy@381f0040 { |
| 579 | compatible = "fsl,imx8mq-usb-phy"; |
| 580 | reg = <0x381f0040 0x40>; |
| 581 | clocks = <&clk IMX8MQ_CLK_USB1_PHY_ROOT>; |
| 582 | clock-names = "phy"; |
| 583 | assigned-clocks = <&clk IMX8MQ_CLK_USB_PHY_REF>; |
| 584 | assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_100M>; |
| 585 | assigned-clock-rates = <100000000>; |
| 586 | #phy-cells = <0>; |
| 587 | status = "disabled"; |
| 588 | }; |
| 589 | |
| 590 | usb_dwc3_1: usb@38200000 { |
| 591 | compatible = "fsl,imx8mq-dwc3", "snps,dwc3"; |
| 592 | reg = <0x38200000 0x10000>; |
| 593 | clocks = <&clk IMX8MQ_CLK_USB_BUS>, |
| 594 | <&clk IMX8MQ_CLK_USB_CORE_REF>, |
| 595 | <&clk IMX8MQ_CLK_USB2_CTRL_ROOT>; |
| 596 | clock-names = "bus_early", "ref", "suspend"; |
| 597 | assigned-clocks = <&clk IMX8MQ_CLK_USB_BUS>, |
| 598 | <&clk IMX8MQ_CLK_USB_CORE_REF>; |
| 599 | assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_500M>, |
| 600 | <&clk IMX8MQ_SYS1_PLL_100M>; |
| 601 | assigned-clock-rates = <500000000>, <100000000>; |
| 602 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
| 603 | phys = <&usb3_phy1>, <&usb3_phy1>; |
| 604 | phy-names = "usb2-phy", "usb3-phy"; |
| 605 | power-domains = <&pgc_otg2>; |
| 606 | usb3-resume-missing-cas; |
| 607 | status = "disabled"; |
| 608 | }; |
| 609 | |
| 610 | usb3_phy1: usb-phy@382f0040 { |
| 611 | compatible = "fsl,imx8mq-usb-phy"; |
| 612 | reg = <0x382f0040 0x40>; |
| 613 | clocks = <&clk IMX8MQ_CLK_USB2_PHY_ROOT>; |
| 614 | clock-names = "phy"; |
| 615 | assigned-clocks = <&clk IMX8MQ_CLK_USB_PHY_REF>; |
| 616 | assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_100M>; |
| 617 | assigned-clock-rates = <100000000>; |
| 618 | #phy-cells = <0>; |
| 619 | status = "disabled"; |
| 620 | }; |
| 621 | |
Lucas Stach | 748f908 | 2018-12-09 14:26:07 +0000 | [diff] [blame] | 622 | gic: interrupt-controller@38800000 { |
| 623 | compatible = "arm,gic-v3"; |
| 624 | reg = <0x38800000 0x10000>, /* GIC Dist */ |
| 625 | <0x38880000 0xc0000>, /* GICR */ |
| 626 | <0x31000000 0x2000>, /* GICC */ |
| 627 | <0x31010000 0x2000>, /* GICV */ |
| 628 | <0x31020000 0x2000>; /* GICH */ |
| 629 | #interrupt-cells = <3>; |
| 630 | interrupt-controller; |
| 631 | interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 632 | interrupt-parent = <&gic>; |
| 633 | }; |
| 634 | }; |
| 635 | }; |