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