blob: 79b65750da9940fc514563a8ae9c6692267ab038 [file] [log] [blame]
Peng Fan0b865d12019-12-30 10:03:44 +08001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright 2019 NXP
4 */
5
6#include <dt-bindings/clock/imx8mp-clock.h>
Marek Vasut7700f752022-04-13 00:42:57 +02007#include <dt-bindings/power/imx8mp-power.h>
Peng Fan0b865d12019-12-30 10:03:44 +08008#include <dt-bindings/gpio/gpio.h>
9#include <dt-bindings/input/input.h>
10#include <dt-bindings/interrupt-controller/arm-gic.h>
Peng Fanf2a869d2020-12-27 11:22:52 +080011#include <dt-bindings/thermal/thermal.h>
Peng Fan0b865d12019-12-30 10:03:44 +080012
13#include "imx8mp-pinfunc.h"
14
15/ {
16 interrupt-parent = <&gic>;
17 #address-cells = <2>;
18 #size-cells = <2>;
19
20 aliases {
21 ethernet0 = &fec;
Teresa Remmetd73f0012021-07-07 12:57:56 +000022 ethernet1 = &eqos;
Peng Fan0b865d12019-12-30 10:03:44 +080023 gpio0 = &gpio1;
24 gpio1 = &gpio2;
25 gpio2 = &gpio3;
26 gpio3 = &gpio4;
27 gpio4 = &gpio5;
Peng Fanf2a869d2020-12-27 11:22:52 +080028 i2c0 = &i2c1;
29 i2c1 = &i2c2;
30 i2c2 = &i2c3;
31 i2c3 = &i2c4;
32 i2c4 = &i2c5;
33 i2c5 = &i2c6;
Peng Fan0b865d12019-12-30 10:03:44 +080034 mmc0 = &usdhc1;
35 mmc1 = &usdhc2;
36 mmc2 = &usdhc3;
37 serial0 = &uart1;
38 serial1 = &uart2;
39 serial2 = &uart3;
40 serial3 = &uart4;
41 };
42
43 cpus {
44 #address-cells = <1>;
45 #size-cells = <0>;
46
47 A53_0: cpu@0 {
48 device_type = "cpu";
49 compatible = "arm,cortex-a53";
50 reg = <0x0>;
51 clock-latency = <61036>;
52 clocks = <&clk IMX8MP_CLK_ARM>;
53 enable-method = "psci";
54 next-level-cache = <&A53_L2>;
Peng Fanf2a869d2020-12-27 11:22:52 +080055 #cooling-cells = <2>;
Peng Fan0b865d12019-12-30 10:03:44 +080056 };
57
58 A53_1: cpu@1 {
59 device_type = "cpu";
60 compatible = "arm,cortex-a53";
61 reg = <0x1>;
62 clock-latency = <61036>;
63 clocks = <&clk IMX8MP_CLK_ARM>;
64 enable-method = "psci";
65 next-level-cache = <&A53_L2>;
Peng Fanf2a869d2020-12-27 11:22:52 +080066 #cooling-cells = <2>;
Peng Fan0b865d12019-12-30 10:03:44 +080067 };
68
69 A53_2: cpu@2 {
70 device_type = "cpu";
71 compatible = "arm,cortex-a53";
72 reg = <0x2>;
73 clock-latency = <61036>;
74 clocks = <&clk IMX8MP_CLK_ARM>;
75 enable-method = "psci";
76 next-level-cache = <&A53_L2>;
Peng Fanf2a869d2020-12-27 11:22:52 +080077 #cooling-cells = <2>;
Peng Fan0b865d12019-12-30 10:03:44 +080078 };
79
80 A53_3: cpu@3 {
81 device_type = "cpu";
82 compatible = "arm,cortex-a53";
83 reg = <0x3>;
84 clock-latency = <61036>;
85 clocks = <&clk IMX8MP_CLK_ARM>;
86 enable-method = "psci";
87 next-level-cache = <&A53_L2>;
Peng Fanf2a869d2020-12-27 11:22:52 +080088 #cooling-cells = <2>;
Peng Fan0b865d12019-12-30 10:03:44 +080089 };
90
91 A53_L2: l2-cache0 {
92 compatible = "cache";
93 };
94 };
95
96 osc_32k: clock-osc-32k {
97 compatible = "fixed-clock";
98 #clock-cells = <0>;
99 clock-frequency = <32768>;
100 clock-output-names = "osc_32k";
101 };
102
103 osc_24m: clock-osc-24m {
104 compatible = "fixed-clock";
105 #clock-cells = <0>;
106 clock-frequency = <24000000>;
107 clock-output-names = "osc_24m";
108 };
109
110 clk_ext1: clock-ext1 {
111 compatible = "fixed-clock";
112 #clock-cells = <0>;
113 clock-frequency = <133000000>;
114 clock-output-names = "clk_ext1";
115 };
116
117 clk_ext2: clock-ext2 {
118 compatible = "fixed-clock";
119 #clock-cells = <0>;
120 clock-frequency = <133000000>;
121 clock-output-names = "clk_ext2";
122 };
123
124 clk_ext3: clock-ext3 {
125 compatible = "fixed-clock";
126 #clock-cells = <0>;
127 clock-frequency = <133000000>;
128 clock-output-names = "clk_ext3";
129 };
130
131 clk_ext4: clock-ext4 {
132 compatible = "fixed-clock";
133 #clock-cells = <0>;
134 clock-frequency= <133000000>;
135 clock-output-names = "clk_ext4";
136 };
137
Peng Fanf2a869d2020-12-27 11:22:52 +0800138 pmu {
139 compatible = "arm,cortex-a53-pmu";
140 interrupts = <GIC_PPI 7
141 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
142 interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>;
143 };
144
Peng Fan0b865d12019-12-30 10:03:44 +0800145 psci {
146 compatible = "arm,psci-1.0";
147 method = "smc";
148 };
149
Peng Fanf2a869d2020-12-27 11:22:52 +0800150 thermal-zones {
151 cpu-thermal {
152 polling-delay-passive = <250>;
153 polling-delay = <2000>;
154 thermal-sensors = <&tmu 0>;
155 trips {
156 cpu_alert0: trip0 {
157 temperature = <85000>;
158 hysteresis = <2000>;
159 type = "passive";
160 };
161
162 cpu_crit0: trip1 {
163 temperature = <95000>;
164 hysteresis = <2000>;
165 type = "critical";
166 };
167 };
168
169 cooling-maps {
170 map0 {
171 trip = <&cpu_alert0>;
172 cooling-device =
173 <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
174 <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
175 <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
176 <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
177 };
178 };
179 };
180
181 soc-thermal {
182 polling-delay-passive = <250>;
183 polling-delay = <2000>;
184 thermal-sensors = <&tmu 1>;
185 trips {
186 soc_alert0: trip0 {
187 temperature = <85000>;
188 hysteresis = <2000>;
189 type = "passive";
190 };
191
192 soc_crit0: trip1 {
193 temperature = <95000>;
194 hysteresis = <2000>;
195 type = "critical";
196 };
197 };
198
199 cooling-maps {
200 map0 {
201 trip = <&soc_alert0>;
202 cooling-device =
203 <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
204 <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
205 <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
206 <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
207 };
208 };
209 };
210 };
211
Peng Fan0b865d12019-12-30 10:03:44 +0800212 timer {
213 compatible = "arm,armv8-timer";
Peng Fanf2a869d2020-12-27 11:22:52 +0800214 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
215 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
216 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
217 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
Peng Fan0b865d12019-12-30 10:03:44 +0800218 clock-frequency = <8000000>;
219 arm,no-tick-in-suspend;
220 };
221
222 soc@0 {
Teresa Remmetd73f0012021-07-07 12:57:56 +0000223 compatible = "fsl,imx8mp-soc", "simple-bus";
Peng Fan0b865d12019-12-30 10:03:44 +0800224 #address-cells = <1>;
225 #size-cells = <1>;
226 ranges = <0x0 0x0 0x0 0x3e000000>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000227 nvmem-cells = <&imx8mp_uid>;
228 nvmem-cell-names = "soc_unique_id";
Peng Fan0b865d12019-12-30 10:03:44 +0800229
230 aips1: bus@30000000 {
Peng Fanf2a869d2020-12-27 11:22:52 +0800231 compatible = "fsl,aips-bus", "simple-bus";
Peng Fan0b865d12019-12-30 10:03:44 +0800232 reg = <0x30000000 0x400000>;
233 #address-cells = <1>;
234 #size-cells = <1>;
235 ranges;
236
237 gpio1: gpio@30200000 {
238 compatible = "fsl,imx8mp-gpio", "fsl,imx35-gpio";
239 reg = <0x30200000 0x10000>;
240 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
241 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
242 clocks = <&clk IMX8MP_CLK_GPIO1_ROOT>;
243 gpio-controller;
244 #gpio-cells = <2>;
245 interrupt-controller;
246 #interrupt-cells = <2>;
247 gpio-ranges = <&iomuxc 0 5 30>;
248 };
249
250 gpio2: gpio@30210000 {
251 compatible = "fsl,imx8mp-gpio", "fsl,imx35-gpio";
252 reg = <0x30210000 0x10000>;
253 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
254 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
255 clocks = <&clk IMX8MP_CLK_GPIO2_ROOT>;
256 gpio-controller;
257 #gpio-cells = <2>;
258 interrupt-controller;
259 #interrupt-cells = <2>;
260 gpio-ranges = <&iomuxc 0 35 21>;
261 };
262
263 gpio3: gpio@30220000 {
264 compatible = "fsl,imx8mp-gpio", "fsl,imx35-gpio";
265 reg = <0x30220000 0x10000>;
266 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
267 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
268 clocks = <&clk IMX8MP_CLK_GPIO3_ROOT>;
269 gpio-controller;
270 #gpio-cells = <2>;
271 interrupt-controller;
272 #interrupt-cells = <2>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000273 gpio-ranges = <&iomuxc 0 56 26>, <&iomuxc 26 144 4>;
Peng Fan0b865d12019-12-30 10:03:44 +0800274 };
275
276 gpio4: gpio@30230000 {
277 compatible = "fsl,imx8mp-gpio", "fsl,imx35-gpio";
278 reg = <0x30230000 0x10000>;
279 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
280 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
281 clocks = <&clk IMX8MP_CLK_GPIO4_ROOT>;
282 gpio-controller;
283 #gpio-cells = <2>;
284 interrupt-controller;
285 #interrupt-cells = <2>;
286 gpio-ranges = <&iomuxc 0 82 32>;
287 };
288
289 gpio5: gpio@30240000 {
290 compatible = "fsl,imx8mp-gpio", "fsl,imx35-gpio";
291 reg = <0x30240000 0x10000>;
292 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
294 clocks = <&clk IMX8MP_CLK_GPIO5_ROOT>;
295 gpio-controller;
296 #gpio-cells = <2>;
297 interrupt-controller;
298 #interrupt-cells = <2>;
299 gpio-ranges = <&iomuxc 0 114 30>;
300 };
301
Peng Fanf2a869d2020-12-27 11:22:52 +0800302 tmu: tmu@30260000 {
303 compatible = "fsl,imx8mp-tmu";
304 reg = <0x30260000 0x10000>;
305 clocks = <&clk IMX8MP_CLK_TSENSOR_ROOT>;
306 #thermal-sensor-cells = <1>;
307 };
308
Peng Fan0b865d12019-12-30 10:03:44 +0800309 wdog1: watchdog@30280000 {
310 compatible = "fsl,imx8mp-wdt", "fsl,imx21-wdt";
311 reg = <0x30280000 0x10000>;
312 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
313 clocks = <&clk IMX8MP_CLK_WDOG1_ROOT>;
314 status = "disabled";
315 };
316
Teresa Remmetd73f0012021-07-07 12:57:56 +0000317 wdog2: watchdog@30290000 {
318 compatible = "fsl,imx8mp-wdt", "fsl,imx21-wdt";
319 reg = <0x30290000 0x10000>;
320 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
321 clocks = <&clk IMX8MP_CLK_WDOG2_ROOT>;
322 status = "disabled";
323 };
324
325 wdog3: watchdog@302a0000 {
326 compatible = "fsl,imx8mp-wdt", "fsl,imx21-wdt";
327 reg = <0x302a0000 0x10000>;
328 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
329 clocks = <&clk IMX8MP_CLK_WDOG3_ROOT>;
330 status = "disabled";
331 };
332
Peng Fan0b865d12019-12-30 10:03:44 +0800333 iomuxc: pinctrl@30330000 {
334 compatible = "fsl,imx8mp-iomuxc";
335 reg = <0x30330000 0x10000>;
336 };
337
338 gpr: iomuxc-gpr@30340000 {
339 compatible = "fsl,imx8mp-iomuxc-gpr", "syscon";
340 reg = <0x30340000 0x10000>;
341 };
342
Peng Fanf2a869d2020-12-27 11:22:52 +0800343 ocotp: efuse@30350000 {
Peng Fan0b865d12019-12-30 10:03:44 +0800344 compatible = "fsl,imx8mp-ocotp", "fsl,imx8mm-ocotp", "syscon";
345 reg = <0x30350000 0x10000>;
346 clocks = <&clk IMX8MP_CLK_OCOTP_ROOT>;
347 /* For nvmem subnodes */
348 #address-cells = <1>;
349 #size-cells = <1>;
350
Teresa Remmetd73f0012021-07-07 12:57:56 +0000351 imx8mp_uid: unique-id@420 {
352 reg = <0x8 0x8>;
353 };
354
Peng Fan0b865d12019-12-30 10:03:44 +0800355 cpu_speed_grade: speed-grade@10 {
356 reg = <0x10 4>;
357 };
Teresa Remmetd73f0012021-07-07 12:57:56 +0000358
359 eth_mac1: mac-address@90 {
360 reg = <0x90 6>;
361 };
Peng Fan0b865d12019-12-30 10:03:44 +0800362 };
363
364 anatop: anatop@30360000 {
365 compatible = "fsl,imx8mp-anatop", "fsl,imx8mm-anatop",
366 "syscon";
367 reg = <0x30360000 0x10000>;
368 };
369
370 snvs: snvs@30370000 {
371 compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd";
372 reg = <0x30370000 0x10000>;
373
374 snvs_rtc: snvs-rtc-lp {
375 compatible = "fsl,sec-v4.0-mon-rtc-lp";
376 regmap =<&snvs>;
377 offset = <0x34>;
378 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
379 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
380 clocks = <&clk IMX8MP_CLK_SNVS_ROOT>;
381 clock-names = "snvs-rtc";
382 };
383
384 snvs_pwrkey: snvs-powerkey {
385 compatible = "fsl,sec-v4.0-pwrkey";
386 regmap = <&snvs>;
387 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Peng Fanf2a869d2020-12-27 11:22:52 +0800388 clocks = <&clk IMX8MP_CLK_SNVS_ROOT>;
389 clock-names = "snvs-pwrkey";
Peng Fan0b865d12019-12-30 10:03:44 +0800390 linux,keycode = <KEY_POWER>;
391 wakeup-source;
392 status = "disabled";
393 };
394 };
395
396 clk: clock-controller@30380000 {
397 compatible = "fsl,imx8mp-ccm";
398 reg = <0x30380000 0x10000>;
399 #clock-cells = <1>;
400 clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>,
401 <&clk_ext3>, <&clk_ext4>;
402 clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
403 "clk_ext3", "clk_ext4";
Peng Fanf2a869d2020-12-27 11:22:52 +0800404 assigned-clocks = <&clk IMX8MP_CLK_A53_SRC>,
405 <&clk IMX8MP_CLK_A53_CORE>,
406 <&clk IMX8MP_CLK_NOC>,
407 <&clk IMX8MP_CLK_NOC_IO>,
408 <&clk IMX8MP_CLK_GIC>,
409 <&clk IMX8MP_CLK_AUDIO_AHB>,
410 <&clk IMX8MP_CLK_AUDIO_AXI_SRC>,
Peng Fan0b865d12019-12-30 10:03:44 +0800411 <&clk IMX8MP_CLK_IPG_AUDIO_ROOT>,
412 <&clk IMX8MP_AUDIO_PLL1>,
413 <&clk IMX8MP_AUDIO_PLL2>;
Peng Fanf2a869d2020-12-27 11:22:52 +0800414 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>,
415 <&clk IMX8MP_ARM_PLL_OUT>,
416 <&clk IMX8MP_SYS_PLL2_1000M>,
417 <&clk IMX8MP_SYS_PLL1_800M>,
418 <&clk IMX8MP_SYS_PLL2_500M>,
419 <&clk IMX8MP_SYS_PLL1_800M>,
420 <&clk IMX8MP_SYS_PLL1_800M>;
421 assigned-clock-rates = <0>, <0>,
422 <1000000000>,
423 <800000000>,
424 <500000000>,
425 <400000000>,
426 <800000000>,
427 <400000000>,
428 <393216000>,
429 <361267200>;
Peng Fan0b865d12019-12-30 10:03:44 +0800430 };
431
Peng Fanf2a869d2020-12-27 11:22:52 +0800432 src: reset-controller@30390000 {
433 compatible = "fsl,imx8mp-src", "syscon";
Peng Fan0b865d12019-12-30 10:03:44 +0800434 reg = <0x30390000 0x10000>;
435 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
436 #reset-cells = <1>;
437 };
Marek Vasut7700f752022-04-13 00:42:57 +0200438
439 gpc: gpc@303a0000 {
440 compatible = "fsl,imx8mp-gpc";
441 reg = <0x303a0000 0x1000>;
442 interrupt-parent = <&gic>;
443 interrupt-controller;
444 #interrupt-cells = <3>;
445
446 pgc {
447 #address-cells = <1>;
448 #size-cells = <0>;
449
450 pgc_pcie_phy: power-domain@1 {
451 #power-domain-cells = <0>;
452 reg = <IMX8MP_POWER_DOMAIN_PCIE_PHY>;
453 };
454
455 pgc_usb1_phy: power-domain@2 {
456 #power-domain-cells = <0>;
457 reg = <IMX8MP_POWER_DOMAIN_USB1_PHY>;
458 };
459
460 pgc_usb2_phy: power-domain@3 {
461 #power-domain-cells = <0>;
462 reg = <IMX8MP_POWER_DOMAIN_USB2_PHY>;
463 };
464
465 pgc_hsiomix: power-domains@17 {
466 #power-domain-cells = <0>;
467 reg = <IMX8MP_POWER_DOMAIN_HSIOMIX>;
468 clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
469 <&clk IMX8MP_CLK_HSIO_ROOT>;
470 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
471 assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>;
472 assigned-clock-rates = <500000000>;
473 };
474 };
475 };
Peng Fan0b865d12019-12-30 10:03:44 +0800476 };
477
478 aips2: bus@30400000 {
Peng Fanf2a869d2020-12-27 11:22:52 +0800479 compatible = "fsl,aips-bus", "simple-bus";
Peng Fan0b865d12019-12-30 10:03:44 +0800480 reg = <0x30400000 0x400000>;
481 #address-cells = <1>;
482 #size-cells = <1>;
483 ranges;
484
485 pwm1: pwm@30660000 {
486 compatible = "fsl,imx8mp-pwm", "fsl,imx27-pwm";
487 reg = <0x30660000 0x10000>;
488 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
489 clocks = <&clk IMX8MP_CLK_PWM1_ROOT>,
490 <&clk IMX8MP_CLK_PWM1_ROOT>;
491 clock-names = "ipg", "per";
492 #pwm-cells = <2>;
493 status = "disabled";
494 };
495
496 pwm2: pwm@30670000 {
497 compatible = "fsl,imx8mp-pwm", "fsl,imx27-pwm";
498 reg = <0x30670000 0x10000>;
499 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
500 clocks = <&clk IMX8MP_CLK_PWM2_ROOT>,
501 <&clk IMX8MP_CLK_PWM2_ROOT>;
502 clock-names = "ipg", "per";
503 #pwm-cells = <2>;
504 status = "disabled";
505 };
506
507 pwm3: pwm@30680000 {
508 compatible = "fsl,imx8mp-pwm", "fsl,imx27-pwm";
509 reg = <0x30680000 0x10000>;
510 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
511 clocks = <&clk IMX8MP_CLK_PWM3_ROOT>,
512 <&clk IMX8MP_CLK_PWM3_ROOT>;
513 clock-names = "ipg", "per";
514 #pwm-cells = <2>;
515 status = "disabled";
516 };
517
518 pwm4: pwm@30690000 {
519 compatible = "fsl,imx8mp-pwm", "fsl,imx27-pwm";
520 reg = <0x30690000 0x10000>;
521 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
522 clocks = <&clk IMX8MP_CLK_PWM4_ROOT>,
523 <&clk IMX8MP_CLK_PWM4_ROOT>;
524 clock-names = "ipg", "per";
525 #pwm-cells = <2>;
526 status = "disabled";
527 };
Peng Fanf2a869d2020-12-27 11:22:52 +0800528
529 system_counter: timer@306a0000 {
530 compatible = "nxp,sysctr-timer";
531 reg = <0x306a0000 0x20000>;
532 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
533 clocks = <&osc_24m>;
534 clock-names = "per";
535 };
Peng Fan0b865d12019-12-30 10:03:44 +0800536 };
537
538 aips3: bus@30800000 {
Peng Fanf2a869d2020-12-27 11:22:52 +0800539 compatible = "fsl,aips-bus", "simple-bus";
Peng Fan0b865d12019-12-30 10:03:44 +0800540 reg = <0x30800000 0x400000>;
541 #address-cells = <1>;
542 #size-cells = <1>;
543 ranges;
544
545 ecspi1: spi@30820000 {
546 #address-cells = <1>;
547 #size-cells = <0>;
548 compatible = "fsl,imx8mp-ecspi", "fsl,imx51-ecspi";
549 reg = <0x30820000 0x10000>;
550 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
551 clocks = <&clk IMX8MP_CLK_ECSPI1_ROOT>,
552 <&clk IMX8MP_CLK_ECSPI1_ROOT>;
553 clock-names = "ipg", "per";
554 dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
555 dma-names = "rx", "tx";
556 status = "disabled";
557 };
558
559 ecspi2: spi@30830000 {
560 #address-cells = <1>;
561 #size-cells = <0>;
562 compatible = "fsl,imx8mp-ecspi", "fsl,imx51-ecspi";
563 reg = <0x30830000 0x10000>;
564 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
565 clocks = <&clk IMX8MP_CLK_ECSPI2_ROOT>,
566 <&clk IMX8MP_CLK_ECSPI2_ROOT>;
567 clock-names = "ipg", "per";
568 dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
569 dma-names = "rx", "tx";
570 status = "disabled";
571 };
572
573 ecspi3: spi@30840000 {
574 #address-cells = <1>;
575 #size-cells = <0>;
576 compatible = "fsl,imx8mp-ecspi", "fsl,imx51-ecspi";
577 reg = <0x30840000 0x10000>;
578 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
579 clocks = <&clk IMX8MP_CLK_ECSPI3_ROOT>,
580 <&clk IMX8MP_CLK_ECSPI3_ROOT>;
581 clock-names = "ipg", "per";
582 dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
583 dma-names = "rx", "tx";
584 status = "disabled";
585 };
586
587 uart1: serial@30860000 {
588 compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart";
589 reg = <0x30860000 0x10000>;
590 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
591 clocks = <&clk IMX8MP_CLK_UART1_ROOT>,
592 <&clk IMX8MP_CLK_UART1_ROOT>;
593 clock-names = "ipg", "per";
594 dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
595 dma-names = "rx", "tx";
596 status = "disabled";
597 };
598
599 uart3: serial@30880000 {
600 compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart";
601 reg = <0x30880000 0x10000>;
602 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
603 clocks = <&clk IMX8MP_CLK_UART3_ROOT>,
604 <&clk IMX8MP_CLK_UART3_ROOT>;
605 clock-names = "ipg", "per";
606 dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
607 dma-names = "rx", "tx";
608 status = "disabled";
609 };
610
611 uart2: serial@30890000 {
612 compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart";
613 reg = <0x30890000 0x10000>;
614 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
615 clocks = <&clk IMX8MP_CLK_UART2_ROOT>,
616 <&clk IMX8MP_CLK_UART2_ROOT>;
617 clock-names = "ipg", "per";
Peng Fanf2a869d2020-12-27 11:22:52 +0800618 status = "disabled";
619 };
620
621 flexcan1: can@308c0000 {
622 compatible = "fsl,imx8mp-flexcan", "fsl,imx6q-flexcan";
623 reg = <0x308c0000 0x10000>;
624 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
625 clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
626 <&clk IMX8MP_CLK_CAN1_ROOT>;
627 clock-names = "ipg", "per";
628 assigned-clocks = <&clk IMX8MP_CLK_CAN1>;
629 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_40M>;
630 assigned-clock-rates = <40000000>;
631 fsl,clk-source = /bits/ 8 <0>;
632 fsl,stop-mode = <&gpr 0x10 4>;
633 status = "disabled";
634 };
635
636 flexcan2: can@308d0000 {
637 compatible = "fsl,imx8mp-flexcan", "fsl,imx6q-flexcan";
638 reg = <0x308d0000 0x10000>;
639 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
640 clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
641 <&clk IMX8MP_CLK_CAN2_ROOT>;
642 clock-names = "ipg", "per";
643 assigned-clocks = <&clk IMX8MP_CLK_CAN2>;
644 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_40M>;
645 assigned-clock-rates = <40000000>;
646 fsl,clk-source = /bits/ 8 <0>;
647 fsl,stop-mode = <&gpr 0x10 5>;
Peng Fan0b865d12019-12-30 10:03:44 +0800648 status = "disabled";
649 };
650
Peng Fanf2a869d2020-12-27 11:22:52 +0800651 crypto: crypto@30900000 {
652 compatible = "fsl,sec-v4.0";
653 #address-cells = <1>;
654 #size-cells = <1>;
655 reg = <0x30900000 0x40000>;
656 ranges = <0 0x30900000 0x40000>;
657 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
658 clocks = <&clk IMX8MP_CLK_AHB>,
659 <&clk IMX8MP_CLK_IPG_ROOT>;
660 clock-names = "aclk", "ipg";
661
662 sec_jr0: jr@1000 {
663 compatible = "fsl,sec-v4.0-job-ring";
664 reg = <0x1000 0x1000>;
665 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
666 };
667
668 sec_jr1: jr@2000 {
669 compatible = "fsl,sec-v4.0-job-ring";
670 reg = <0x2000 0x1000>;
671 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
672 };
673
674 sec_jr2: jr@3000 {
675 compatible = "fsl,sec-v4.0-job-ring";
676 reg = <0x3000 0x1000>;
677 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
678 };
679 };
680
Peng Fan0b865d12019-12-30 10:03:44 +0800681 i2c1: i2c@30a20000 {
682 compatible = "fsl,imx8mp-i2c", "fsl,imx21-i2c";
683 #address-cells = <1>;
684 #size-cells = <0>;
685 reg = <0x30a20000 0x10000>;
686 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
687 clocks = <&clk IMX8MP_CLK_I2C1_ROOT>;
688 status = "disabled";
689 };
690
691 i2c2: i2c@30a30000 {
692 compatible = "fsl,imx8mp-i2c", "fsl,imx21-i2c";
693 #address-cells = <1>;
694 #size-cells = <0>;
695 reg = <0x30a30000 0x10000>;
696 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
697 clocks = <&clk IMX8MP_CLK_I2C2_ROOT>;
698 status = "disabled";
699 };
700
701 i2c3: i2c@30a40000 {
Peng Fanf2a869d2020-12-27 11:22:52 +0800702 compatible = "fsl,imx8mp-i2c", "fsl,imx21-i2c";
Peng Fan0b865d12019-12-30 10:03:44 +0800703 #address-cells = <1>;
704 #size-cells = <0>;
705 reg = <0x30a40000 0x10000>;
706 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
707 clocks = <&clk IMX8MP_CLK_I2C3_ROOT>;
708 status = "disabled";
709 };
710
711 i2c4: i2c@30a50000 {
712 compatible = "fsl,imx8mp-i2c", "fsl,imx21-i2c";
713 #address-cells = <1>;
714 #size-cells = <0>;
715 reg = <0x30a50000 0x10000>;
716 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
717 clocks = <&clk IMX8MP_CLK_I2C4_ROOT>;
718 status = "disabled";
719 };
720
721 uart4: serial@30a60000 {
722 compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart";
723 reg = <0x30a60000 0x10000>;
724 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
725 clocks = <&clk IMX8MP_CLK_UART4_ROOT>,
726 <&clk IMX8MP_CLK_UART4_ROOT>;
727 clock-names = "ipg", "per";
728 dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>;
729 dma-names = "rx", "tx";
730 status = "disabled";
731 };
732
Peng Fanf2a869d2020-12-27 11:22:52 +0800733 mu: mailbox@30aa0000 {
734 compatible = "fsl,imx8mp-mu", "fsl,imx6sx-mu";
735 reg = <0x30aa0000 0x10000>;
736 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
737 clocks = <&clk IMX8MP_CLK_MU_ROOT>;
738 #mbox-cells = <2>;
739 };
740
Peng Fan0b865d12019-12-30 10:03:44 +0800741 i2c5: i2c@30ad0000 {
742 compatible = "fsl,imx8mp-i2c", "fsl,imx21-i2c";
743 #address-cells = <1>;
744 #size-cells = <0>;
745 reg = <0x30ad0000 0x10000>;
746 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
747 clocks = <&clk IMX8MP_CLK_I2C5_ROOT>;
748 status = "disabled";
749 };
750
751 i2c6: i2c@30ae0000 {
752 compatible = "fsl,imx8mp-i2c", "fsl,imx21-i2c";
753 #address-cells = <1>;
754 #size-cells = <0>;
755 reg = <0x30ae0000 0x10000>;
756 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
757 clocks = <&clk IMX8MP_CLK_I2C6_ROOT>;
758 status = "disabled";
759 };
760
761 usdhc1: mmc@30b40000 {
Peng Fanf2a869d2020-12-27 11:22:52 +0800762 compatible = "fsl,imx8mp-usdhc", "fsl,imx7d-usdhc";
Peng Fan0b865d12019-12-30 10:03:44 +0800763 reg = <0x30b40000 0x10000>;
764 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
765 clocks = <&clk IMX8MP_CLK_DUMMY>,
766 <&clk IMX8MP_CLK_NAND_USDHC_BUS>,
767 <&clk IMX8MP_CLK_USDHC1_ROOT>;
768 clock-names = "ipg", "ahb", "per";
769 fsl,tuning-start-tap = <20>;
770 fsl,tuning-step= <2>;
771 bus-width = <4>;
772 status = "disabled";
773 };
774
775 usdhc2: mmc@30b50000 {
Peng Fanf2a869d2020-12-27 11:22:52 +0800776 compatible = "fsl,imx8mp-usdhc", "fsl,imx7d-usdhc";
Peng Fan0b865d12019-12-30 10:03:44 +0800777 reg = <0x30b50000 0x10000>;
778 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
779 clocks = <&clk IMX8MP_CLK_DUMMY>,
780 <&clk IMX8MP_CLK_NAND_USDHC_BUS>,
781 <&clk IMX8MP_CLK_USDHC2_ROOT>;
782 clock-names = "ipg", "ahb", "per";
783 fsl,tuning-start-tap = <20>;
784 fsl,tuning-step= <2>;
785 bus-width = <4>;
786 status = "disabled";
787 };
788
789 usdhc3: mmc@30b60000 {
Peng Fanf2a869d2020-12-27 11:22:52 +0800790 compatible = "fsl,imx8mp-usdhc", "fsl,imx7d-usdhc";
Peng Fan0b865d12019-12-30 10:03:44 +0800791 reg = <0x30b60000 0x10000>;
792 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
793 clocks = <&clk IMX8MP_CLK_DUMMY>,
794 <&clk IMX8MP_CLK_NAND_USDHC_BUS>,
795 <&clk IMX8MP_CLK_USDHC3_ROOT>;
796 clock-names = "ipg", "ahb", "per";
797 fsl,tuning-start-tap = <20>;
798 fsl,tuning-step= <2>;
799 bus-width = <4>;
800 status = "disabled";
801 };
802
Marek Vasutf5eb9fb2022-03-09 04:19:34 +0100803 flexspi: spi@30bb0000 {
804 compatible = "nxp,imx8mp-fspi";
805 reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>;
806 reg-names = "fspi_base", "fspi_mmap";
807 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
808 clocks = <&clk IMX8MP_CLK_QSPI_ROOT>,
809 <&clk IMX8MP_CLK_QSPI_ROOT>;
810 clock-names = "fspi_en", "fspi";
811 assigned-clock-rates = <80000000>;
812 assigned-clocks = <&clk IMX8MP_CLK_QSPI>;
813 #address-cells = <1>;
814 #size-cells = <0>;
815 status = "disabled";
816 };
817
Peng Fan0b865d12019-12-30 10:03:44 +0800818 sdma1: dma-controller@30bd0000 {
819 compatible = "fsl,imx8mp-sdma", "fsl,imx8mq-sdma";
820 reg = <0x30bd0000 0x10000>;
821 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
822 clocks = <&clk IMX8MP_CLK_SDMA1_ROOT>,
Peng Fanf2a869d2020-12-27 11:22:52 +0800823 <&clk IMX8MP_CLK_AHB>;
Peng Fan0b865d12019-12-30 10:03:44 +0800824 clock-names = "ipg", "ahb";
825 #dma-cells = <3>;
826 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
827 };
828
829 fec: ethernet@30be0000 {
Peng Fanf2a869d2020-12-27 11:22:52 +0800830 compatible = "fsl,imx8mp-fec", "fsl,imx8mq-fec", "fsl,imx6sx-fec";
Peng Fan0b865d12019-12-30 10:03:44 +0800831 reg = <0x30be0000 0x10000>;
832 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
833 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
Peng Fanf2a869d2020-12-27 11:22:52 +0800834 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
835 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
Peng Fan0b865d12019-12-30 10:03:44 +0800836 clocks = <&clk IMX8MP_CLK_ENET1_ROOT>,
837 <&clk IMX8MP_CLK_SIM_ENET_ROOT>,
838 <&clk IMX8MP_CLK_ENET_TIMER>,
839 <&clk IMX8MP_CLK_ENET_REF>,
840 <&clk IMX8MP_CLK_ENET_PHY_REF>;
841 clock-names = "ipg", "ahb", "ptp",
842 "enet_clk_ref", "enet_out";
843 assigned-clocks = <&clk IMX8MP_CLK_ENET_AXI>,
844 <&clk IMX8MP_CLK_ENET_TIMER>,
845 <&clk IMX8MP_CLK_ENET_REF>,
Teresa Remmetd73f0012021-07-07 12:57:56 +0000846 <&clk IMX8MP_CLK_ENET_PHY_REF>;
Peng Fan0b865d12019-12-30 10:03:44 +0800847 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_266M>,
848 <&clk IMX8MP_SYS_PLL2_100M>,
Teresa Remmetd73f0012021-07-07 12:57:56 +0000849 <&clk IMX8MP_SYS_PLL2_125M>,
850 <&clk IMX8MP_SYS_PLL2_50M>;
851 assigned-clock-rates = <0>, <100000000>, <125000000>, <0>;
Peng Fan0b865d12019-12-30 10:03:44 +0800852 fsl,num-tx-queues = <3>;
853 fsl,num-rx-queues = <3>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000854 nvmem-cells = <&eth_mac1>;
855 nvmem-cell-names = "mac-address";
856 fsl,stop-mode = <&gpr 0x10 3>;
857 nvmem_macaddr_swap;
858 status = "disabled";
859 };
860
861 eqos: ethernet@30bf0000 {
862 compatible = "nxp,imx8mp-dwmac-eqos", "snps,dwmac-5.10a";
863 reg = <0x30bf0000 0x10000>;
864 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
865 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
866 interrupt-names = "eth_wake_irq", "macirq";
867 clocks = <&clk IMX8MP_CLK_ENET_QOS_ROOT>,
868 <&clk IMX8MP_CLK_QOS_ENET_ROOT>,
869 <&clk IMX8MP_CLK_ENET_QOS_TIMER>,
870 <&clk IMX8MP_CLK_ENET_QOS>;
871 clock-names = "stmmaceth", "pclk", "ptp_ref", "tx";
872 assigned-clocks = <&clk IMX8MP_CLK_ENET_AXI>,
873 <&clk IMX8MP_CLK_ENET_QOS_TIMER>,
874 <&clk IMX8MP_CLK_ENET_QOS>;
875 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_266M>,
876 <&clk IMX8MP_SYS_PLL2_100M>,
877 <&clk IMX8MP_SYS_PLL2_125M>;
878 assigned-clock-rates = <0>, <100000000>, <125000000>;
879 intf_mode = <&gpr 0x4>;
Peng Fan0b865d12019-12-30 10:03:44 +0800880 status = "disabled";
881 };
882 };
883
Marek Vasut7700f752022-04-13 00:42:57 +0200884 aips4: bus@32c00000 {
885 compatible = "fsl,aips-bus", "simple-bus";
886 reg = <0x32c00000 0x400000>;
887 #address-cells = <1>;
888 #size-cells = <1>;
889 ranges;
890
891 hsio_blk_ctrl: blk-ctrl@32f10000 {
892 compatible = "fsl,imx8mp-hsio-blk-ctrl", "syscon";
893 reg = <0x32f10000 0x24>;
894 clocks = <&clk IMX8MP_CLK_USB_ROOT>,
895 <&clk IMX8MP_CLK_PCIE_ROOT>;
896 clock-names = "usb", "pcie";
897 power-domains = <&pgc_hsiomix>, <&pgc_hsiomix>,
898 <&pgc_usb1_phy>, <&pgc_usb2_phy>,
899 <&pgc_hsiomix>, <&pgc_pcie_phy>;
900 power-domain-names = "bus", "usb", "usb-phy1",
901 "usb-phy2", "pcie", "pcie-phy";
902 #power-domain-cells = <1>;
903 };
904 };
905
Peng Fan0b865d12019-12-30 10:03:44 +0800906 gic: interrupt-controller@38800000 {
907 compatible = "arm,gic-v3";
908 reg = <0x38800000 0x10000>,
909 <0x38880000 0xc0000>;
910 #interrupt-cells = <3>;
911 interrupt-controller;
912 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
913 interrupt-parent = <&gic>;
914 };
Peng Fanf2a869d2020-12-27 11:22:52 +0800915
916 ddr-pmu@3d800000 {
917 compatible = "fsl,imx8mp-ddr-pmu", "fsl,imx8m-ddr-pmu";
918 reg = <0x3d800000 0x400000>;
919 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
920 };
Teresa Remmetd73f0012021-07-07 12:57:56 +0000921
922 usb3_phy0: usb-phy@381f0040 {
923 compatible = "fsl,imx8mp-usb-phy";
924 reg = <0x381f0040 0x40>;
925 clocks = <&clk IMX8MP_CLK_USB_PHY_ROOT>;
926 clock-names = "phy";
927 assigned-clocks = <&clk IMX8MP_CLK_USB_PHY_REF>;
928 assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
Marek Vasut7700f752022-04-13 00:42:57 +0200929 power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB_PHY1>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000930 #phy-cells = <0>;
931 status = "disabled";
932 };
933
934 usb3_0: usb@32f10100 {
935 compatible = "fsl,imx8mp-dwc3";
Marek Vasut7700f752022-04-13 00:42:57 +0200936 reg = <0x32f10100 0x8>,
937 <0x381f0000 0x20>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000938 clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
939 <&clk IMX8MP_CLK_USB_ROOT>;
940 clock-names = "hsio", "suspend";
941 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
Marek Vasut7700f752022-04-13 00:42:57 +0200942 power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000943 #address-cells = <1>;
944 #size-cells = <1>;
945 dma-ranges = <0x40000000 0x40000000 0xc0000000>;
946 ranges;
947 status = "disabled";
948
949 usb_dwc3_0: usb@38100000 {
950 compatible = "snps,dwc3";
951 reg = <0x38100000 0x10000>;
952 clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
953 <&clk IMX8MP_CLK_USB_CORE_REF>,
954 <&clk IMX8MP_CLK_USB_ROOT>;
955 clock-names = "bus_early", "ref", "suspend";
956 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
957 assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>;
958 assigned-clock-rates = <500000000>;
959 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
960 phys = <&usb3_phy0>, <&usb3_phy0>;
961 phy-names = "usb2-phy", "usb3-phy";
962 snps,dis-u2-freeclk-exists-quirk;
963 };
964
965 };
966
967 usb3_phy1: usb-phy@382f0040 {
968 compatible = "fsl,imx8mp-usb-phy";
969 reg = <0x382f0040 0x40>;
970 clocks = <&clk IMX8MP_CLK_USB_PHY_ROOT>;
971 clock-names = "phy";
972 assigned-clocks = <&clk IMX8MP_CLK_USB_PHY_REF>;
973 assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
Marek Vasut7700f752022-04-13 00:42:57 +0200974 power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB_PHY2>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000975 #phy-cells = <0>;
Marek Vasut7700f752022-04-13 00:42:57 +0200976 status = "disabled";
Teresa Remmetd73f0012021-07-07 12:57:56 +0000977 };
978
979 usb3_1: usb@32f10108 {
980 compatible = "fsl,imx8mp-dwc3";
Marek Vasut7700f752022-04-13 00:42:57 +0200981 reg = <0x32f10108 0x8>,
982 <0x382f0000 0x20>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000983 clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
984 <&clk IMX8MP_CLK_USB_ROOT>;
985 clock-names = "hsio", "suspend";
986 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
Marek Vasut7700f752022-04-13 00:42:57 +0200987 power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>;
Teresa Remmetd73f0012021-07-07 12:57:56 +0000988 #address-cells = <1>;
989 #size-cells = <1>;
990 dma-ranges = <0x40000000 0x40000000 0xc0000000>;
991 ranges;
992 status = "disabled";
993
994 usb_dwc3_1: usb@38200000 {
995 compatible = "snps,dwc3";
996 reg = <0x38200000 0x10000>;
997 clocks = <&clk IMX8MP_CLK_HSIO_AXI>,
998 <&clk IMX8MP_CLK_USB_CORE_REF>,
999 <&clk IMX8MP_CLK_USB_ROOT>;
1000 clock-names = "bus_early", "ref", "suspend";
1001 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
1002 assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>;
1003 assigned-clock-rates = <500000000>;
1004 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
1005 phys = <&usb3_phy1>, <&usb3_phy1>;
1006 phy-names = "usb2-phy", "usb3-phy";
1007 snps,dis-u2-freeclk-exists-quirk;
1008 };
1009 };
Peng Fan0b865d12019-12-30 10:03:44 +08001010 };
1011};