blob: b0a59ec5183b75a80130df0e7728c90f924710bf [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
4 */
5
6#include <dt-bindings/clock/rockchip,rk3588-cru.h>
7#include <dt-bindings/interrupt-controller/arm-gic.h>
8#include <dt-bindings/interrupt-controller/irq.h>
9#include <dt-bindings/power/rk3588-power.h>
10#include <dt-bindings/reset/rockchip,rk3588-cru.h>
11#include <dt-bindings/phy/phy.h>
12#include <dt-bindings/ata/ahci.h>
13
14/ {
15 compatible = "rockchip,rk3588";
16
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
20
Tom Rini93743d22024-04-01 09:08:13 -040021 aliases {
22 gpio0 = &gpio0;
23 gpio1 = &gpio1;
24 gpio2 = &gpio2;
25 gpio3 = &gpio3;
26 gpio4 = &gpio4;
27 i2c0 = &i2c0;
28 i2c1 = &i2c1;
29 i2c2 = &i2c2;
30 i2c3 = &i2c3;
31 i2c4 = &i2c4;
32 i2c5 = &i2c5;
33 i2c6 = &i2c6;
34 i2c7 = &i2c7;
35 i2c8 = &i2c8;
36 serial0 = &uart0;
37 serial1 = &uart1;
38 serial2 = &uart2;
39 serial3 = &uart3;
40 serial4 = &uart4;
41 serial5 = &uart5;
42 serial6 = &uart6;
43 serial7 = &uart7;
44 serial8 = &uart8;
45 serial9 = &uart9;
46 spi0 = &spi0;
47 spi1 = &spi1;
48 spi2 = &spi2;
49 spi3 = &spi3;
50 spi4 = &spi4;
51 };
52
Tom Rini53633a82024-02-29 12:33:36 -050053 cpus {
54 #address-cells = <1>;
55 #size-cells = <0>;
56
57 cpu-map {
58 cluster0 {
59 core0 {
60 cpu = <&cpu_l0>;
61 };
62 core1 {
63 cpu = <&cpu_l1>;
64 };
65 core2 {
66 cpu = <&cpu_l2>;
67 };
68 core3 {
69 cpu = <&cpu_l3>;
70 };
71 };
72 cluster1 {
73 core0 {
74 cpu = <&cpu_b0>;
75 };
76 core1 {
77 cpu = <&cpu_b1>;
78 };
79 };
80 cluster2 {
81 core0 {
82 cpu = <&cpu_b2>;
83 };
84 core1 {
85 cpu = <&cpu_b3>;
86 };
87 };
88 };
89
90 cpu_l0: cpu@0 {
91 device_type = "cpu";
92 compatible = "arm,cortex-a55";
93 reg = <0x0>;
94 enable-method = "psci";
95 capacity-dmips-mhz = <530>;
96 clocks = <&scmi_clk SCMI_CLK_CPUL>;
97 assigned-clocks = <&scmi_clk SCMI_CLK_CPUL>;
98 assigned-clock-rates = <816000000>;
99 cpu-idle-states = <&CPU_SLEEP>;
100 i-cache-size = <32768>;
101 i-cache-line-size = <64>;
102 i-cache-sets = <128>;
103 d-cache-size = <32768>;
104 d-cache-line-size = <64>;
105 d-cache-sets = <128>;
106 next-level-cache = <&l2_cache_l0>;
107 dynamic-power-coefficient = <228>;
108 #cooling-cells = <2>;
109 };
110
111 cpu_l1: cpu@100 {
112 device_type = "cpu";
113 compatible = "arm,cortex-a55";
114 reg = <0x100>;
115 enable-method = "psci";
116 capacity-dmips-mhz = <530>;
117 clocks = <&scmi_clk SCMI_CLK_CPUL>;
118 cpu-idle-states = <&CPU_SLEEP>;
119 i-cache-size = <32768>;
120 i-cache-line-size = <64>;
121 i-cache-sets = <128>;
122 d-cache-size = <32768>;
123 d-cache-line-size = <64>;
124 d-cache-sets = <128>;
125 next-level-cache = <&l2_cache_l1>;
126 dynamic-power-coefficient = <228>;
127 #cooling-cells = <2>;
128 };
129
130 cpu_l2: cpu@200 {
131 device_type = "cpu";
132 compatible = "arm,cortex-a55";
133 reg = <0x200>;
134 enable-method = "psci";
135 capacity-dmips-mhz = <530>;
136 clocks = <&scmi_clk SCMI_CLK_CPUL>;
137 cpu-idle-states = <&CPU_SLEEP>;
138 i-cache-size = <32768>;
139 i-cache-line-size = <64>;
140 i-cache-sets = <128>;
141 d-cache-size = <32768>;
142 d-cache-line-size = <64>;
143 d-cache-sets = <128>;
144 next-level-cache = <&l2_cache_l2>;
145 dynamic-power-coefficient = <228>;
146 #cooling-cells = <2>;
147 };
148
149 cpu_l3: cpu@300 {
150 device_type = "cpu";
151 compatible = "arm,cortex-a55";
152 reg = <0x300>;
153 enable-method = "psci";
154 capacity-dmips-mhz = <530>;
155 clocks = <&scmi_clk SCMI_CLK_CPUL>;
156 cpu-idle-states = <&CPU_SLEEP>;
157 i-cache-size = <32768>;
158 i-cache-line-size = <64>;
159 i-cache-sets = <128>;
160 d-cache-size = <32768>;
161 d-cache-line-size = <64>;
162 d-cache-sets = <128>;
163 next-level-cache = <&l2_cache_l3>;
164 dynamic-power-coefficient = <228>;
165 #cooling-cells = <2>;
166 };
167
168 cpu_b0: cpu@400 {
169 device_type = "cpu";
170 compatible = "arm,cortex-a76";
171 reg = <0x400>;
172 enable-method = "psci";
173 capacity-dmips-mhz = <1024>;
174 clocks = <&scmi_clk SCMI_CLK_CPUB01>;
175 assigned-clocks = <&scmi_clk SCMI_CLK_CPUB01>;
176 assigned-clock-rates = <816000000>;
177 cpu-idle-states = <&CPU_SLEEP>;
178 i-cache-size = <65536>;
179 i-cache-line-size = <64>;
180 i-cache-sets = <256>;
181 d-cache-size = <65536>;
182 d-cache-line-size = <64>;
183 d-cache-sets = <256>;
184 next-level-cache = <&l2_cache_b0>;
185 dynamic-power-coefficient = <416>;
186 #cooling-cells = <2>;
187 };
188
189 cpu_b1: cpu@500 {
190 device_type = "cpu";
191 compatible = "arm,cortex-a76";
192 reg = <0x500>;
193 enable-method = "psci";
194 capacity-dmips-mhz = <1024>;
195 clocks = <&scmi_clk SCMI_CLK_CPUB01>;
196 cpu-idle-states = <&CPU_SLEEP>;
197 i-cache-size = <65536>;
198 i-cache-line-size = <64>;
199 i-cache-sets = <256>;
200 d-cache-size = <65536>;
201 d-cache-line-size = <64>;
202 d-cache-sets = <256>;
203 next-level-cache = <&l2_cache_b1>;
204 dynamic-power-coefficient = <416>;
205 #cooling-cells = <2>;
206 };
207
208 cpu_b2: cpu@600 {
209 device_type = "cpu";
210 compatible = "arm,cortex-a76";
211 reg = <0x600>;
212 enable-method = "psci";
213 capacity-dmips-mhz = <1024>;
214 clocks = <&scmi_clk SCMI_CLK_CPUB23>;
215 assigned-clocks = <&scmi_clk SCMI_CLK_CPUB23>;
216 assigned-clock-rates = <816000000>;
217 cpu-idle-states = <&CPU_SLEEP>;
218 i-cache-size = <65536>;
219 i-cache-line-size = <64>;
220 i-cache-sets = <256>;
221 d-cache-size = <65536>;
222 d-cache-line-size = <64>;
223 d-cache-sets = <256>;
224 next-level-cache = <&l2_cache_b2>;
225 dynamic-power-coefficient = <416>;
226 #cooling-cells = <2>;
227 };
228
229 cpu_b3: cpu@700 {
230 device_type = "cpu";
231 compatible = "arm,cortex-a76";
232 reg = <0x700>;
233 enable-method = "psci";
234 capacity-dmips-mhz = <1024>;
235 clocks = <&scmi_clk SCMI_CLK_CPUB23>;
236 cpu-idle-states = <&CPU_SLEEP>;
237 i-cache-size = <65536>;
238 i-cache-line-size = <64>;
239 i-cache-sets = <256>;
240 d-cache-size = <65536>;
241 d-cache-line-size = <64>;
242 d-cache-sets = <256>;
243 next-level-cache = <&l2_cache_b3>;
244 dynamic-power-coefficient = <416>;
245 #cooling-cells = <2>;
246 };
247
248 idle-states {
249 entry-method = "psci";
250 CPU_SLEEP: cpu-sleep {
251 compatible = "arm,idle-state";
252 local-timer-stop;
253 arm,psci-suspend-param = <0x0010000>;
254 entry-latency-us = <100>;
255 exit-latency-us = <120>;
256 min-residency-us = <1000>;
257 };
258 };
259
260 l2_cache_l0: l2-cache-l0 {
261 compatible = "cache";
262 cache-size = <131072>;
263 cache-line-size = <64>;
264 cache-sets = <512>;
265 cache-level = <2>;
266 cache-unified;
267 next-level-cache = <&l3_cache>;
268 };
269
270 l2_cache_l1: l2-cache-l1 {
271 compatible = "cache";
272 cache-size = <131072>;
273 cache-line-size = <64>;
274 cache-sets = <512>;
275 cache-level = <2>;
276 cache-unified;
277 next-level-cache = <&l3_cache>;
278 };
279
280 l2_cache_l2: l2-cache-l2 {
281 compatible = "cache";
282 cache-size = <131072>;
283 cache-line-size = <64>;
284 cache-sets = <512>;
285 cache-level = <2>;
286 cache-unified;
287 next-level-cache = <&l3_cache>;
288 };
289
290 l2_cache_l3: l2-cache-l3 {
291 compatible = "cache";
292 cache-size = <131072>;
293 cache-line-size = <64>;
294 cache-sets = <512>;
295 cache-level = <2>;
296 cache-unified;
297 next-level-cache = <&l3_cache>;
298 };
299
300 l2_cache_b0: l2-cache-b0 {
301 compatible = "cache";
302 cache-size = <524288>;
303 cache-line-size = <64>;
304 cache-sets = <1024>;
305 cache-level = <2>;
306 cache-unified;
307 next-level-cache = <&l3_cache>;
308 };
309
310 l2_cache_b1: l2-cache-b1 {
311 compatible = "cache";
312 cache-size = <524288>;
313 cache-line-size = <64>;
314 cache-sets = <1024>;
315 cache-level = <2>;
316 cache-unified;
317 next-level-cache = <&l3_cache>;
318 };
319
320 l2_cache_b2: l2-cache-b2 {
321 compatible = "cache";
322 cache-size = <524288>;
323 cache-line-size = <64>;
324 cache-sets = <1024>;
325 cache-level = <2>;
326 cache-unified;
327 next-level-cache = <&l3_cache>;
328 };
329
330 l2_cache_b3: l2-cache-b3 {
331 compatible = "cache";
332 cache-size = <524288>;
333 cache-line-size = <64>;
334 cache-sets = <1024>;
335 cache-level = <2>;
336 cache-unified;
337 next-level-cache = <&l3_cache>;
338 };
339
340 l3_cache: l3-cache {
341 compatible = "cache";
342 cache-size = <3145728>;
343 cache-line-size = <64>;
344 cache-sets = <4096>;
345 cache-level = <3>;
346 cache-unified;
347 };
348 };
349
Diederik de Haas2fed50d2024-05-29 01:03:58 +0800350 display_subsystem: display-subsystem {
351 compatible = "rockchip,display-subsystem";
352 ports = <&vop_out>;
353 };
354
Tom Rini53633a82024-02-29 12:33:36 -0500355 firmware {
356 optee: optee {
357 compatible = "linaro,optee-tz";
358 method = "smc";
359 };
360
361 scmi: scmi {
362 compatible = "arm,scmi-smc";
363 arm,smc-id = <0x82000010>;
364 shmem = <&scmi_shmem>;
365 #address-cells = <1>;
366 #size-cells = <0>;
367
368 scmi_clk: protocol@14 {
369 reg = <0x14>;
370 #clock-cells = <1>;
371 };
372
373 scmi_reset: protocol@16 {
374 reg = <0x16>;
375 #reset-cells = <1>;
376 };
377 };
378 };
379
380 pmu-a55 {
381 compatible = "arm,cortex-a55-pmu";
382 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_partition0>;
383 };
384
385 pmu-a76 {
386 compatible = "arm,cortex-a76-pmu";
387 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_partition1>;
388 };
389
390 psci {
391 compatible = "arm,psci-1.0";
392 method = "smc";
393 };
394
395 spll: clock-0 {
396 compatible = "fixed-clock";
397 clock-frequency = <702000000>;
398 clock-output-names = "spll";
399 #clock-cells = <0>;
400 };
401
402 timer {
403 compatible = "arm,armv8-timer";
404 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH 0>,
405 <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH 0>,
406 <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH 0>,
407 <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH 0>,
408 <GIC_PPI 12 IRQ_TYPE_LEVEL_HIGH 0>;
409 interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", "hyp-virt";
410 };
411
412 xin24m: clock-1 {
413 compatible = "fixed-clock";
414 clock-frequency = <24000000>;
415 clock-output-names = "xin24m";
416 #clock-cells = <0>;
417 };
418
419 xin32k: clock-2 {
420 compatible = "fixed-clock";
421 clock-frequency = <32768>;
422 clock-output-names = "xin32k";
423 #clock-cells = <0>;
424 };
425
426 pmu_sram: sram@10f000 {
427 compatible = "mmio-sram";
428 reg = <0x0 0x0010f000 0x0 0x100>;
429 ranges = <0 0x0 0x0010f000 0x100>;
430 #address-cells = <1>;
431 #size-cells = <1>;
432
433 scmi_shmem: sram@0 {
434 compatible = "arm,scmi-shmem";
435 reg = <0x0 0x100>;
436 };
437 };
438
Diederik de Haas2fed50d2024-05-29 01:03:58 +0800439 gpu: gpu@fb000000 {
440 compatible = "rockchip,rk3588-mali", "arm,mali-valhall-csf";
441 reg = <0x0 0xfb000000 0x0 0x200000>;
442 #cooling-cells = <2>;
443 assigned-clocks = <&scmi_clk SCMI_CLK_GPU>;
444 assigned-clock-rates = <200000000>;
445 clocks = <&cru CLK_GPU>, <&cru CLK_GPU_COREGROUP>,
446 <&cru CLK_GPU_STACKS>;
447 clock-names = "core", "coregroup", "stacks";
448 dynamic-power-coefficient = <2982>;
449 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH 0>,
450 <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH 0>,
451 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH 0>;
452 interrupt-names = "job", "mmu", "gpu";
453 operating-points-v2 = <&gpu_opp_table>;
454 power-domains = <&power RK3588_PD_GPU>;
455 status = "disabled";
456
457 gpu_opp_table: opp-table {
458 compatible = "operating-points-v2";
459
460 opp-300000000 {
461 opp-hz = /bits/ 64 <300000000>;
462 opp-microvolt = <675000 675000 850000>;
463 };
464 opp-400000000 {
465 opp-hz = /bits/ 64 <400000000>;
466 opp-microvolt = <675000 675000 850000>;
467 };
468 opp-500000000 {
469 opp-hz = /bits/ 64 <500000000>;
470 opp-microvolt = <675000 675000 850000>;
471 };
472 opp-600000000 {
473 opp-hz = /bits/ 64 <600000000>;
474 opp-microvolt = <675000 675000 850000>;
475 };
476 opp-700000000 {
477 opp-hz = /bits/ 64 <700000000>;
478 opp-microvolt = <700000 700000 850000>;
479 };
480 opp-800000000 {
481 opp-hz = /bits/ 64 <800000000>;
482 opp-microvolt = <750000 750000 850000>;
483 };
484 opp-900000000 {
485 opp-hz = /bits/ 64 <900000000>;
486 opp-microvolt = <800000 800000 850000>;
487 };
488 opp-1000000000 {
489 opp-hz = /bits/ 64 <1000000000>;
490 opp-microvolt = <850000 850000 850000>;
491 };
492 };
493 };
494
Sebastian Reichele7f39592024-05-29 01:04:02 +0800495 usb_host0_xhci: usb@fc000000 {
496 compatible = "rockchip,rk3588-dwc3", "snps,dwc3";
497 reg = <0x0 0xfc000000 0x0 0x400000>;
498 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 0>;
499 clocks = <&cru REF_CLK_USB3OTG0>, <&cru SUSPEND_CLK_USB3OTG0>,
500 <&cru ACLK_USB3OTG0>;
501 clock-names = "ref_clk", "suspend_clk", "bus_clk";
502 dr_mode = "otg";
503 phys = <&u2phy0_otg>, <&usbdp_phy0 PHY_TYPE_USB3>;
504 phy-names = "usb2-phy", "usb3-phy";
505 phy_type = "utmi_wide";
506 power-domains = <&power RK3588_PD_USB>;
507 resets = <&cru SRST_A_USB3OTG0>;
508 snps,dis_enblslpm_quirk;
509 snps,dis-u1-entry-quirk;
510 snps,dis-u2-entry-quirk;
511 snps,dis-u2-freeclk-exists-quirk;
512 snps,dis-del-phy-power-chg-quirk;
513 snps,dis-tx-ipgap-linecheck-quirk;
514 status = "disabled";
515 };
516
Tom Rini53633a82024-02-29 12:33:36 -0500517 usb_host0_ehci: usb@fc800000 {
518 compatible = "rockchip,rk3588-ehci", "generic-ehci";
519 reg = <0x0 0xfc800000 0x0 0x40000>;
520 interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH 0>;
521 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST_ARB0>, <&cru ACLK_USB>, <&u2phy2>;
522 phys = <&u2phy2_host>;
523 phy-names = "usb";
524 power-domains = <&power RK3588_PD_USB>;
525 status = "disabled";
526 };
527
528 usb_host0_ohci: usb@fc840000 {
529 compatible = "rockchip,rk3588-ohci", "generic-ohci";
530 reg = <0x0 0xfc840000 0x0 0x40000>;
531 interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 0>;
532 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST_ARB0>, <&cru ACLK_USB>, <&u2phy2>;
533 phys = <&u2phy2_host>;
534 phy-names = "usb";
535 power-domains = <&power RK3588_PD_USB>;
536 status = "disabled";
537 };
538
539 usb_host1_ehci: usb@fc880000 {
540 compatible = "rockchip,rk3588-ehci", "generic-ehci";
541 reg = <0x0 0xfc880000 0x0 0x40000>;
542 interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 0>;
543 clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST_ARB1>, <&cru ACLK_USB>, <&u2phy3>;
544 phys = <&u2phy3_host>;
545 phy-names = "usb";
546 power-domains = <&power RK3588_PD_USB>;
547 status = "disabled";
548 };
549
550 usb_host1_ohci: usb@fc8c0000 {
551 compatible = "rockchip,rk3588-ohci", "generic-ohci";
552 reg = <0x0 0xfc8c0000 0x0 0x40000>;
553 interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 0>;
554 clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST_ARB1>, <&cru ACLK_USB>, <&u2phy3>;
555 phys = <&u2phy3_host>;
556 phy-names = "usb";
557 power-domains = <&power RK3588_PD_USB>;
558 status = "disabled";
559 };
560
561 usb_host2_xhci: usb@fcd00000 {
562 compatible = "rockchip,rk3588-dwc3", "snps,dwc3";
563 reg = <0x0 0xfcd00000 0x0 0x400000>;
564 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH 0>;
565 clocks = <&cru REF_CLK_USB3OTG2>, <&cru SUSPEND_CLK_USB3OTG2>,
566 <&cru ACLK_USB3OTG2>, <&cru CLK_UTMI_OTG2>,
567 <&cru CLK_PIPEPHY2_PIPE_U3_G>;
568 clock-names = "ref_clk", "suspend_clk", "bus_clk", "utmi", "pipe";
569 dr_mode = "host";
570 phys = <&combphy2_psu PHY_TYPE_USB3>;
571 phy-names = "usb3-phy";
572 phy_type = "utmi_wide";
573 resets = <&cru SRST_A_USB3OTG2>;
574 snps,dis_enblslpm_quirk;
575 snps,dis-u2-freeclk-exists-quirk;
576 snps,dis-del-phy-power-chg-quirk;
577 snps,dis-tx-ipgap-linecheck-quirk;
578 snps,dis_rxdet_inp3_quirk;
579 status = "disabled";
Boris Brezillon189f7582024-05-29 01:03:57 +0800580 };
581
Tom Rini53633a82024-02-29 12:33:36 -0500582 pmu1grf: syscon@fd58a000 {
583 compatible = "rockchip,rk3588-pmugrf", "syscon", "simple-mfd";
584 reg = <0x0 0xfd58a000 0x0 0x10000>;
585 };
586
587 sys_grf: syscon@fd58c000 {
588 compatible = "rockchip,rk3588-sys-grf", "syscon";
589 reg = <0x0 0xfd58c000 0x0 0x1000>;
590 };
591
Tom Rini93743d22024-04-01 09:08:13 -0400592 vop_grf: syscon@fd5a4000 {
593 compatible = "rockchip,rk3588-vop-grf", "syscon";
594 reg = <0x0 0xfd5a4000 0x0 0x2000>;
595 };
596
Sebastian Reichel00c0bfb2024-05-29 01:04:01 +0800597 vo0_grf: syscon@fd5a6000 {
598 compatible = "rockchip,rk3588-vo-grf", "syscon";
599 reg = <0x0 0xfd5a6000 0x0 0x2000>;
600 clocks = <&cru PCLK_VO0GRF>;
601 };
602
Tom Rini93743d22024-04-01 09:08:13 -0400603 vo1_grf: syscon@fd5a8000 {
604 compatible = "rockchip,rk3588-vo-grf", "syscon";
605 reg = <0x0 0xfd5a8000 0x0 0x100>;
Tom Rini6bb92fc2024-05-20 09:54:58 -0600606 clocks = <&cru PCLK_VO1GRF>;
Tom Rini93743d22024-04-01 09:08:13 -0400607 };
608
Sebastian Reichel00c0bfb2024-05-29 01:04:01 +0800609 usb_grf: syscon@fd5ac000 {
610 compatible = "rockchip,rk3588-usb-grf", "syscon";
611 reg = <0x0 0xfd5ac000 0x0 0x4000>;
612 };
613
Tom Rini53633a82024-02-29 12:33:36 -0500614 php_grf: syscon@fd5b0000 {
615 compatible = "rockchip,rk3588-php-grf", "syscon";
616 reg = <0x0 0xfd5b0000 0x0 0x1000>;
617 };
618
619 pipe_phy0_grf: syscon@fd5bc000 {
620 compatible = "rockchip,rk3588-pipe-phy-grf", "syscon";
621 reg = <0x0 0xfd5bc000 0x0 0x100>;
622 };
623
624 pipe_phy2_grf: syscon@fd5c4000 {
625 compatible = "rockchip,rk3588-pipe-phy-grf", "syscon";
626 reg = <0x0 0xfd5c4000 0x0 0x100>;
627 };
628
Sebastian Reichel00c0bfb2024-05-29 01:04:01 +0800629 usbdpphy0_grf: syscon@fd5c8000 {
630 compatible = "rockchip,rk3588-usbdpphy-grf", "syscon";
631 reg = <0x0 0xfd5c8000 0x0 0x4000>;
632 };
633
634 usb2phy0_grf: syscon@fd5d0000 {
635 compatible = "rockchip,rk3588-usb2phy-grf", "syscon", "simple-mfd";
636 reg = <0x0 0xfd5d0000 0x0 0x4000>;
637 #address-cells = <1>;
638 #size-cells = <1>;
639
640 u2phy0: usb2phy@0 {
641 compatible = "rockchip,rk3588-usb2phy";
642 reg = <0x0 0x10>;
643 #clock-cells = <0>;
644 clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>;
645 clock-names = "phyclk";
646 clock-output-names = "usb480m_phy0";
647 interrupts = <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH 0>;
648 resets = <&cru SRST_OTGPHY_U3_0>, <&cru SRST_P_USB2PHY_U3_0_GRF0>;
649 reset-names = "phy", "apb";
650 status = "disabled";
651
652 u2phy0_otg: otg-port {
653 #phy-cells = <0>;
654 status = "disabled";
655 };
656 };
657 };
658
Tom Rini53633a82024-02-29 12:33:36 -0500659 usb2phy2_grf: syscon@fd5d8000 {
660 compatible = "rockchip,rk3588-usb2phy-grf", "syscon", "simple-mfd";
661 reg = <0x0 0xfd5d8000 0x0 0x4000>;
662 #address-cells = <1>;
663 #size-cells = <1>;
664
Sebastian Reichela3ecb692024-05-29 01:03:59 +0800665 u2phy2: usb2phy@8000 {
Tom Rini53633a82024-02-29 12:33:36 -0500666 compatible = "rockchip,rk3588-usb2phy";
667 reg = <0x8000 0x10>;
Sebastian Reichelf1f74e42024-05-29 01:04:00 +0800668 #clock-cells = <0>;
Tom Rini53633a82024-02-29 12:33:36 -0500669 clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>;
670 clock-names = "phyclk";
671 clock-output-names = "usb480m_phy2";
Sebastian Reichelf1f74e42024-05-29 01:04:00 +0800672 interrupts = <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH 0>;
673 resets = <&cru SRST_OTGPHY_U2_0>, <&cru SRST_P_USB2PHY_U2_0_GRF0>;
674 reset-names = "phy", "apb";
Tom Rini53633a82024-02-29 12:33:36 -0500675 status = "disabled";
676
677 u2phy2_host: host-port {
678 #phy-cells = <0>;
679 status = "disabled";
680 };
681 };
682 };
683
684 usb2phy3_grf: syscon@fd5dc000 {
685 compatible = "rockchip,rk3588-usb2phy-grf", "syscon", "simple-mfd";
686 reg = <0x0 0xfd5dc000 0x0 0x4000>;
687 #address-cells = <1>;
688 #size-cells = <1>;
689
Sebastian Reichela3ecb692024-05-29 01:03:59 +0800690 u2phy3: usb2phy@c000 {
Tom Rini53633a82024-02-29 12:33:36 -0500691 compatible = "rockchip,rk3588-usb2phy";
692 reg = <0xc000 0x10>;
Sebastian Reichelf1f74e42024-05-29 01:04:00 +0800693 #clock-cells = <0>;
Tom Rini53633a82024-02-29 12:33:36 -0500694 clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>;
695 clock-names = "phyclk";
696 clock-output-names = "usb480m_phy3";
Sebastian Reichelf1f74e42024-05-29 01:04:00 +0800697 interrupts = <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH 0>;
698 resets = <&cru SRST_OTGPHY_U2_1>, <&cru SRST_P_USB2PHY_U2_1_GRF0>;
699 reset-names = "phy", "apb";
Tom Rini53633a82024-02-29 12:33:36 -0500700 status = "disabled";
701
702 u2phy3_host: host-port {
703 #phy-cells = <0>;
704 status = "disabled";
705 };
706 };
707 };
708
Tom Rini6bb92fc2024-05-20 09:54:58 -0600709 hdptxphy0_grf: syscon@fd5e0000 {
710 compatible = "rockchip,rk3588-hdptxphy-grf", "syscon";
711 reg = <0x0 0xfd5e0000 0x0 0x100>;
712 };
713
Tom Rini53633a82024-02-29 12:33:36 -0500714 ioc: syscon@fd5f0000 {
715 compatible = "rockchip,rk3588-ioc", "syscon";
716 reg = <0x0 0xfd5f0000 0x0 0x10000>;
717 };
718
719 system_sram1: sram@fd600000 {
720 compatible = "mmio-sram";
721 reg = <0x0 0xfd600000 0x0 0x100000>;
722 ranges = <0x0 0x0 0xfd600000 0x100000>;
723 #address-cells = <1>;
724 #size-cells = <1>;
725 };
726
727 cru: clock-controller@fd7c0000 {
728 compatible = "rockchip,rk3588-cru";
729 reg = <0x0 0xfd7c0000 0x0 0x5c000>;
730 assigned-clocks =
731 <&cru PLL_PPLL>, <&cru PLL_AUPLL>,
732 <&cru PLL_NPLL>, <&cru PLL_GPLL>,
733 <&cru ACLK_CENTER_ROOT>,
734 <&cru HCLK_CENTER_ROOT>, <&cru ACLK_CENTER_LOW_ROOT>,
735 <&cru ACLK_TOP_ROOT>, <&cru PCLK_TOP_ROOT>,
736 <&cru ACLK_LOW_TOP_ROOT>, <&cru PCLK_PMU0_ROOT>,
737 <&cru HCLK_PMU_CM0_ROOT>, <&cru ACLK_VOP>,
738 <&cru ACLK_BUS_ROOT>, <&cru CLK_150M_SRC>,
739 <&cru CLK_GPU>;
740 assigned-clock-rates =
741 <1100000000>, <786432000>,
742 <850000000>, <1188000000>,
743 <702000000>,
744 <400000000>, <500000000>,
745 <800000000>, <100000000>,
746 <400000000>, <100000000>,
747 <200000000>, <500000000>,
748 <375000000>, <150000000>,
749 <200000000>;
750 rockchip,grf = <&php_grf>;
751 #clock-cells = <1>;
752 #reset-cells = <1>;
753 };
754
755 i2c0: i2c@fd880000 {
756 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
757 reg = <0x0 0xfd880000 0x0 0x1000>;
758 interrupts = <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 0>;
759 clocks = <&cru CLK_I2C0>, <&cru PCLK_I2C0>;
760 clock-names = "i2c", "pclk";
761 pinctrl-0 = <&i2c0m0_xfer>;
762 pinctrl-names = "default";
763 #address-cells = <1>;
764 #size-cells = <0>;
765 status = "disabled";
766 };
767
768 uart0: serial@fd890000 {
769 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
770 reg = <0x0 0xfd890000 0x0 0x100>;
771 interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH 0>;
772 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
773 clock-names = "baudclk", "apb_pclk";
774 dmas = <&dmac0 6>, <&dmac0 7>;
775 dma-names = "tx", "rx";
776 pinctrl-0 = <&uart0m1_xfer>;
777 pinctrl-names = "default";
778 reg-shift = <2>;
779 reg-io-width = <4>;
780 status = "disabled";
781 };
782
783 pwm0: pwm@fd8b0000 {
784 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
785 reg = <0x0 0xfd8b0000 0x0 0x10>;
786 clocks = <&cru CLK_PMU1PWM>, <&cru PCLK_PMU1PWM>;
787 clock-names = "pwm", "pclk";
788 pinctrl-0 = <&pwm0m0_pins>;
789 pinctrl-names = "default";
790 #pwm-cells = <3>;
791 status = "disabled";
792 };
793
794 pwm1: pwm@fd8b0010 {
795 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
796 reg = <0x0 0xfd8b0010 0x0 0x10>;
797 clocks = <&cru CLK_PMU1PWM>, <&cru PCLK_PMU1PWM>;
798 clock-names = "pwm", "pclk";
799 pinctrl-0 = <&pwm1m0_pins>;
800 pinctrl-names = "default";
801 #pwm-cells = <3>;
802 status = "disabled";
803 };
804
805 pwm2: pwm@fd8b0020 {
806 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
807 reg = <0x0 0xfd8b0020 0x0 0x10>;
808 clocks = <&cru CLK_PMU1PWM>, <&cru PCLK_PMU1PWM>;
809 clock-names = "pwm", "pclk";
810 pinctrl-0 = <&pwm2m0_pins>;
811 pinctrl-names = "default";
812 #pwm-cells = <3>;
813 status = "disabled";
814 };
815
816 pwm3: pwm@fd8b0030 {
817 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
818 reg = <0x0 0xfd8b0030 0x0 0x10>;
819 clocks = <&cru CLK_PMU1PWM>, <&cru PCLK_PMU1PWM>;
820 clock-names = "pwm", "pclk";
821 pinctrl-0 = <&pwm3m0_pins>;
822 pinctrl-names = "default";
823 #pwm-cells = <3>;
824 status = "disabled";
825 };
826
827 pmu: power-management@fd8d8000 {
828 compatible = "rockchip,rk3588-pmu", "syscon", "simple-mfd";
829 reg = <0x0 0xfd8d8000 0x0 0x400>;
830
831 power: power-controller {
832 compatible = "rockchip,rk3588-power-controller";
833 #address-cells = <1>;
834 #power-domain-cells = <1>;
835 #size-cells = <0>;
836 status = "okay";
837
838 /* These power domains are grouped by VD_NPU */
839 power-domain@RK3588_PD_NPU {
840 reg = <RK3588_PD_NPU>;
841 #power-domain-cells = <0>;
842 #address-cells = <1>;
843 #size-cells = <0>;
844
845 power-domain@RK3588_PD_NPUTOP {
846 reg = <RK3588_PD_NPUTOP>;
847 clocks = <&cru HCLK_NPU_ROOT>,
848 <&cru PCLK_NPU_ROOT>,
849 <&cru CLK_NPU_DSU0>,
850 <&cru HCLK_NPU_CM0_ROOT>;
851 pm_qos = <&qos_npu0_mwr>,
852 <&qos_npu0_mro>,
853 <&qos_mcu_npu>;
854 #power-domain-cells = <0>;
855 #address-cells = <1>;
856 #size-cells = <0>;
857
858 power-domain@RK3588_PD_NPU1 {
859 reg = <RK3588_PD_NPU1>;
860 clocks = <&cru HCLK_NPU_ROOT>,
861 <&cru PCLK_NPU_ROOT>,
862 <&cru CLK_NPU_DSU0>;
863 pm_qos = <&qos_npu1>;
864 #power-domain-cells = <0>;
865 };
866 power-domain@RK3588_PD_NPU2 {
867 reg = <RK3588_PD_NPU2>;
868 clocks = <&cru HCLK_NPU_ROOT>,
869 <&cru PCLK_NPU_ROOT>,
870 <&cru CLK_NPU_DSU0>;
871 pm_qos = <&qos_npu2>;
872 #power-domain-cells = <0>;
873 };
874 };
875 };
876 /* These power domains are grouped by VD_GPU */
877 power-domain@RK3588_PD_GPU {
878 reg = <RK3588_PD_GPU>;
879 clocks = <&cru CLK_GPU>,
880 <&cru CLK_GPU_COREGROUP>,
881 <&cru CLK_GPU_STACKS>;
882 pm_qos = <&qos_gpu_m0>,
883 <&qos_gpu_m1>,
884 <&qos_gpu_m2>,
885 <&qos_gpu_m3>;
886 #power-domain-cells = <0>;
887 };
888 /* These power domains are grouped by VD_VCODEC */
889 power-domain@RK3588_PD_VCODEC {
890 reg = <RK3588_PD_VCODEC>;
891 #address-cells = <1>;
892 #size-cells = <0>;
893 #power-domain-cells = <0>;
894
895 power-domain@RK3588_PD_RKVDEC0 {
896 reg = <RK3588_PD_RKVDEC0>;
897 clocks = <&cru HCLK_RKVDEC0>,
898 <&cru HCLK_VDPU_ROOT>,
899 <&cru ACLK_VDPU_ROOT>,
900 <&cru ACLK_RKVDEC0>,
901 <&cru ACLK_RKVDEC_CCU>;
902 pm_qos = <&qos_rkvdec0>;
903 #power-domain-cells = <0>;
904 };
905 power-domain@RK3588_PD_RKVDEC1 {
906 reg = <RK3588_PD_RKVDEC1>;
907 clocks = <&cru HCLK_RKVDEC1>,
908 <&cru HCLK_VDPU_ROOT>,
909 <&cru ACLK_VDPU_ROOT>,
910 <&cru ACLK_RKVDEC1>;
911 pm_qos = <&qos_rkvdec1>;
912 #power-domain-cells = <0>;
913 };
914 power-domain@RK3588_PD_VENC0 {
915 reg = <RK3588_PD_VENC0>;
916 clocks = <&cru HCLK_RKVENC0>,
917 <&cru ACLK_RKVENC0>;
918 pm_qos = <&qos_rkvenc0_m0ro>,
919 <&qos_rkvenc0_m1ro>,
920 <&qos_rkvenc0_m2wo>;
921 #address-cells = <1>;
922 #size-cells = <0>;
923 #power-domain-cells = <0>;
924
925 power-domain@RK3588_PD_VENC1 {
926 reg = <RK3588_PD_VENC1>;
927 clocks = <&cru HCLK_RKVENC1>,
928 <&cru HCLK_RKVENC0>,
929 <&cru ACLK_RKVENC0>,
930 <&cru ACLK_RKVENC1>;
931 pm_qos = <&qos_rkvenc1_m0ro>,
932 <&qos_rkvenc1_m1ro>,
933 <&qos_rkvenc1_m2wo>;
934 #power-domain-cells = <0>;
935 };
936 };
937 };
938 /* These power domains are grouped by VD_LOGIC */
939 power-domain@RK3588_PD_VDPU {
940 reg = <RK3588_PD_VDPU>;
941 clocks = <&cru HCLK_VDPU_ROOT>,
942 <&cru ACLK_VDPU_LOW_ROOT>,
943 <&cru ACLK_VDPU_ROOT>,
944 <&cru ACLK_JPEG_DECODER_ROOT>,
945 <&cru ACLK_IEP2P0>,
946 <&cru HCLK_IEP2P0>,
947 <&cru ACLK_JPEG_ENCODER0>,
948 <&cru HCLK_JPEG_ENCODER0>,
949 <&cru ACLK_JPEG_ENCODER1>,
950 <&cru HCLK_JPEG_ENCODER1>,
951 <&cru ACLK_JPEG_ENCODER2>,
952 <&cru HCLK_JPEG_ENCODER2>,
953 <&cru ACLK_JPEG_ENCODER3>,
954 <&cru HCLK_JPEG_ENCODER3>,
955 <&cru ACLK_JPEG_DECODER>,
956 <&cru HCLK_JPEG_DECODER>,
957 <&cru ACLK_RGA2>,
958 <&cru HCLK_RGA2>;
959 pm_qos = <&qos_iep>,
960 <&qos_jpeg_dec>,
961 <&qos_jpeg_enc0>,
962 <&qos_jpeg_enc1>,
963 <&qos_jpeg_enc2>,
964 <&qos_jpeg_enc3>,
965 <&qos_rga2_mro>,
966 <&qos_rga2_mwo>;
967 #address-cells = <1>;
968 #size-cells = <0>;
969 #power-domain-cells = <0>;
970
971
972 power-domain@RK3588_PD_AV1 {
973 reg = <RK3588_PD_AV1>;
974 clocks = <&cru PCLK_AV1>,
975 <&cru ACLK_AV1>,
976 <&cru HCLK_VDPU_ROOT>;
977 pm_qos = <&qos_av1>;
978 #power-domain-cells = <0>;
979 };
980 power-domain@RK3588_PD_RKVDEC0 {
981 reg = <RK3588_PD_RKVDEC0>;
982 clocks = <&cru HCLK_RKVDEC0>,
983 <&cru HCLK_VDPU_ROOT>,
984 <&cru ACLK_VDPU_ROOT>,
985 <&cru ACLK_RKVDEC0>;
986 pm_qos = <&qos_rkvdec0>;
987 #power-domain-cells = <0>;
988 };
989 power-domain@RK3588_PD_RKVDEC1 {
990 reg = <RK3588_PD_RKVDEC1>;
991 clocks = <&cru HCLK_RKVDEC1>,
992 <&cru HCLK_VDPU_ROOT>,
993 <&cru ACLK_VDPU_ROOT>;
994 pm_qos = <&qos_rkvdec1>;
995 #power-domain-cells = <0>;
996 };
997 power-domain@RK3588_PD_RGA30 {
998 reg = <RK3588_PD_RGA30>;
999 clocks = <&cru ACLK_RGA3_0>,
1000 <&cru HCLK_RGA3_0>;
1001 pm_qos = <&qos_rga3_0>;
1002 #power-domain-cells = <0>;
1003 };
1004 };
1005 power-domain@RK3588_PD_VOP {
1006 reg = <RK3588_PD_VOP>;
1007 clocks = <&cru PCLK_VOP_ROOT>,
1008 <&cru HCLK_VOP_ROOT>,
1009 <&cru ACLK_VOP>;
1010 pm_qos = <&qos_vop_m0>,
1011 <&qos_vop_m1>;
1012 #address-cells = <1>;
1013 #size-cells = <0>;
1014 #power-domain-cells = <0>;
1015
1016 power-domain@RK3588_PD_VO0 {
1017 reg = <RK3588_PD_VO0>;
1018 clocks = <&cru PCLK_VO0_ROOT>,
1019 <&cru PCLK_VO0_S_ROOT>,
1020 <&cru HCLK_VO0_S_ROOT>,
1021 <&cru ACLK_VO0_ROOT>,
1022 <&cru HCLK_HDCP0>,
1023 <&cru ACLK_HDCP0>,
1024 <&cru HCLK_VOP_ROOT>;
1025 pm_qos = <&qos_hdcp0>;
1026 #power-domain-cells = <0>;
1027 };
1028 };
1029 power-domain@RK3588_PD_VO1 {
1030 reg = <RK3588_PD_VO1>;
1031 clocks = <&cru PCLK_VO1_ROOT>,
1032 <&cru PCLK_VO1_S_ROOT>,
1033 <&cru HCLK_VO1_S_ROOT>,
1034 <&cru HCLK_HDCP1>,
1035 <&cru ACLK_HDCP1>,
1036 <&cru ACLK_HDMIRX_ROOT>,
1037 <&cru HCLK_VO1USB_TOP_ROOT>;
1038 pm_qos = <&qos_hdcp1>,
1039 <&qos_hdmirx>;
1040 #power-domain-cells = <0>;
1041 };
1042 power-domain@RK3588_PD_VI {
1043 reg = <RK3588_PD_VI>;
1044 clocks = <&cru HCLK_VI_ROOT>,
1045 <&cru PCLK_VI_ROOT>,
1046 <&cru HCLK_ISP0>,
1047 <&cru ACLK_ISP0>,
1048 <&cru HCLK_VICAP>,
1049 <&cru ACLK_VICAP>;
1050 pm_qos = <&qos_isp0_mro>,
1051 <&qos_isp0_mwo>,
1052 <&qos_vicap_m0>,
1053 <&qos_vicap_m1>;
1054 #address-cells = <1>;
1055 #size-cells = <0>;
1056 #power-domain-cells = <0>;
1057
1058 power-domain@RK3588_PD_ISP1 {
1059 reg = <RK3588_PD_ISP1>;
1060 clocks = <&cru HCLK_ISP1>,
1061 <&cru ACLK_ISP1>,
1062 <&cru HCLK_VI_ROOT>,
1063 <&cru PCLK_VI_ROOT>;
1064 pm_qos = <&qos_isp1_mwo>,
1065 <&qos_isp1_mro>;
1066 #power-domain-cells = <0>;
1067 };
1068 power-domain@RK3588_PD_FEC {
1069 reg = <RK3588_PD_FEC>;
1070 clocks = <&cru HCLK_FISHEYE0>,
1071 <&cru ACLK_FISHEYE0>,
1072 <&cru HCLK_FISHEYE1>,
1073 <&cru ACLK_FISHEYE1>,
1074 <&cru PCLK_VI_ROOT>;
1075 pm_qos = <&qos_fisheye0>,
1076 <&qos_fisheye1>;
1077 #power-domain-cells = <0>;
1078 };
1079 };
1080 power-domain@RK3588_PD_RGA31 {
1081 reg = <RK3588_PD_RGA31>;
1082 clocks = <&cru HCLK_RGA3_1>,
1083 <&cru ACLK_RGA3_1>;
1084 pm_qos = <&qos_rga3_1>;
1085 #power-domain-cells = <0>;
1086 };
1087 power-domain@RK3588_PD_USB {
1088 reg = <RK3588_PD_USB>;
1089 clocks = <&cru PCLK_PHP_ROOT>,
1090 <&cru ACLK_USB_ROOT>,
Tom Rini93743d22024-04-01 09:08:13 -04001091 <&cru ACLK_USB>,
Tom Rini53633a82024-02-29 12:33:36 -05001092 <&cru HCLK_USB_ROOT>,
1093 <&cru HCLK_HOST0>,
1094 <&cru HCLK_HOST_ARB0>,
1095 <&cru HCLK_HOST1>,
1096 <&cru HCLK_HOST_ARB1>;
1097 pm_qos = <&qos_usb3_0>,
1098 <&qos_usb3_1>,
1099 <&qos_usb2host_0>,
1100 <&qos_usb2host_1>;
1101 #power-domain-cells = <0>;
1102 };
1103 power-domain@RK3588_PD_GMAC {
1104 reg = <RK3588_PD_GMAC>;
1105 clocks = <&cru PCLK_PHP_ROOT>,
1106 <&cru ACLK_PCIE_ROOT>,
1107 <&cru ACLK_PHP_ROOT>;
1108 #power-domain-cells = <0>;
1109 };
1110 power-domain@RK3588_PD_PCIE {
1111 reg = <RK3588_PD_PCIE>;
1112 clocks = <&cru PCLK_PHP_ROOT>,
1113 <&cru ACLK_PCIE_ROOT>,
1114 <&cru ACLK_PHP_ROOT>;
1115 #power-domain-cells = <0>;
1116 };
1117 power-domain@RK3588_PD_SDIO {
1118 reg = <RK3588_PD_SDIO>;
1119 clocks = <&cru HCLK_SDIO>,
1120 <&cru HCLK_NVM_ROOT>;
1121 pm_qos = <&qos_sdio>;
1122 #power-domain-cells = <0>;
1123 };
1124 power-domain@RK3588_PD_AUDIO {
1125 reg = <RK3588_PD_AUDIO>;
1126 clocks = <&cru HCLK_AUDIO_ROOT>,
1127 <&cru PCLK_AUDIO_ROOT>;
1128 #power-domain-cells = <0>;
1129 };
1130 power-domain@RK3588_PD_SDMMC {
1131 reg = <RK3588_PD_SDMMC>;
1132 pm_qos = <&qos_sdmmc>;
1133 #power-domain-cells = <0>;
1134 };
1135 };
1136 };
1137
Diederik de Haas2fed50d2024-05-29 01:03:58 +08001138 av1d: video-codec@fdc70000 {
1139 compatible = "rockchip,rk3588-av1-vpu";
1140 reg = <0x0 0xfdc70000 0x0 0x800>;
1141 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>;
1142 interrupt-names = "vdpu";
1143 assigned-clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
1144 assigned-clock-rates = <400000000>, <400000000>;
1145 clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
1146 clock-names = "aclk", "hclk";
1147 power-domains = <&power RK3588_PD_AV1>;
1148 resets = <&cru SRST_A_AV1>, <&cru SRST_P_AV1>, <&cru SRST_A_AV1_BIU>, <&cru SRST_P_AV1_BIU>;
1149 };
1150
1151 vop: vop@fdd90000 {
1152 compatible = "rockchip,rk3588-vop";
1153 reg = <0x0 0xfdd90000 0x0 0x4200>, <0x0 0xfdd95000 0x0 0x1000>;
1154 reg-names = "vop", "gamma-lut";
1155 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH 0>;
1156 clocks = <&cru ACLK_VOP>,
1157 <&cru HCLK_VOP>,
1158 <&cru DCLK_VOP0>,
1159 <&cru DCLK_VOP1>,
1160 <&cru DCLK_VOP2>,
1161 <&cru DCLK_VOP3>,
1162 <&cru PCLK_VOP_ROOT>;
1163 clock-names = "aclk",
1164 "hclk",
1165 "dclk_vp0",
1166 "dclk_vp1",
1167 "dclk_vp2",
1168 "dclk_vp3",
1169 "pclk_vop";
1170 iommus = <&vop_mmu>;
1171 power-domains = <&power RK3588_PD_VOP>;
1172 rockchip,grf = <&sys_grf>;
1173 rockchip,vop-grf = <&vop_grf>;
1174 rockchip,vo1-grf = <&vo1_grf>;
1175 rockchip,pmu = <&pmu>;
1176 status = "disabled";
1177
1178 vop_out: ports {
1179 #address-cells = <1>;
1180 #size-cells = <0>;
1181
1182 vp0: port@0 {
1183 #address-cells = <1>;
1184 #size-cells = <0>;
1185 reg = <0>;
1186 };
1187
1188 vp1: port@1 {
1189 #address-cells = <1>;
1190 #size-cells = <0>;
1191 reg = <1>;
1192 };
1193
1194 vp2: port@2 {
1195 #address-cells = <1>;
1196 #size-cells = <0>;
1197 reg = <2>;
1198 };
1199
1200 vp3: port@3 {
1201 #address-cells = <1>;
1202 #size-cells = <0>;
1203 reg = <3>;
1204 };
1205 };
1206 };
1207
1208 vop_mmu: iommu@fdd97e00 {
1209 compatible = "rockchip,rk3588-iommu", "rockchip,rk3568-iommu";
1210 reg = <0x0 0xfdd97e00 0x0 0x100>, <0x0 0xfdd97f00 0x0 0x100>;
1211 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH 0>;
1212 clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
1213 clock-names = "aclk", "iface";
1214 #iommu-cells = <0>;
1215 power-domains = <&power RK3588_PD_VOP>;
1216 status = "disabled";
1217 };
1218
Tom Rini53633a82024-02-29 12:33:36 -05001219 i2s4_8ch: i2s@fddc0000 {
1220 compatible = "rockchip,rk3588-i2s-tdm";
1221 reg = <0x0 0xfddc0000 0x0 0x1000>;
1222 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH 0>;
1223 clocks = <&cru MCLK_I2S4_8CH_TX>, <&cru MCLK_I2S4_8CH_TX>, <&cru HCLK_I2S4_8CH>;
1224 clock-names = "mclk_tx", "mclk_rx", "hclk";
1225 assigned-clocks = <&cru CLK_I2S4_8CH_TX_SRC>;
1226 assigned-clock-parents = <&cru PLL_AUPLL>;
1227 dmas = <&dmac2 0>;
1228 dma-names = "tx";
1229 power-domains = <&power RK3588_PD_VO0>;
1230 resets = <&cru SRST_M_I2S4_8CH_TX>;
1231 reset-names = "tx-m";
1232 #sound-dai-cells = <0>;
1233 status = "disabled";
1234 };
1235
1236 i2s5_8ch: i2s@fddf0000 {
1237 compatible = "rockchip,rk3588-i2s-tdm";
1238 reg = <0x0 0xfddf0000 0x0 0x1000>;
1239 interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH 0>;
1240 clocks = <&cru MCLK_I2S5_8CH_TX>, <&cru MCLK_I2S5_8CH_TX>, <&cru HCLK_I2S5_8CH>;
1241 clock-names = "mclk_tx", "mclk_rx", "hclk";
1242 assigned-clocks = <&cru CLK_I2S5_8CH_TX_SRC>;
1243 assigned-clock-parents = <&cru PLL_AUPLL>;
1244 dmas = <&dmac2 2>;
1245 dma-names = "tx";
1246 power-domains = <&power RK3588_PD_VO1>;
1247 resets = <&cru SRST_M_I2S5_8CH_TX>;
1248 reset-names = "tx-m";
1249 #sound-dai-cells = <0>;
1250 status = "disabled";
1251 };
1252
1253 i2s9_8ch: i2s@fddfc000 {
1254 compatible = "rockchip,rk3588-i2s-tdm";
1255 reg = <0x0 0xfddfc000 0x0 0x1000>;
1256 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH 0>;
1257 clocks = <&cru MCLK_I2S9_8CH_RX>, <&cru MCLK_I2S9_8CH_RX>, <&cru HCLK_I2S9_8CH>;
1258 clock-names = "mclk_tx", "mclk_rx", "hclk";
1259 assigned-clocks = <&cru CLK_I2S9_8CH_RX_SRC>;
1260 assigned-clock-parents = <&cru PLL_AUPLL>;
1261 dmas = <&dmac2 23>;
1262 dma-names = "rx";
1263 power-domains = <&power RK3588_PD_VO1>;
1264 resets = <&cru SRST_M_I2S9_8CH_RX>;
1265 reset-names = "rx-m";
1266 #sound-dai-cells = <0>;
1267 status = "disabled";
1268 };
1269
1270 qos_gpu_m0: qos@fdf35000 {
1271 compatible = "rockchip,rk3588-qos", "syscon";
1272 reg = <0x0 0xfdf35000 0x0 0x20>;
1273 };
1274
1275 qos_gpu_m1: qos@fdf35200 {
1276 compatible = "rockchip,rk3588-qos", "syscon";
1277 reg = <0x0 0xfdf35200 0x0 0x20>;
1278 };
1279
1280 qos_gpu_m2: qos@fdf35400 {
1281 compatible = "rockchip,rk3588-qos", "syscon";
1282 reg = <0x0 0xfdf35400 0x0 0x20>;
1283 };
1284
1285 qos_gpu_m3: qos@fdf35600 {
1286 compatible = "rockchip,rk3588-qos", "syscon";
1287 reg = <0x0 0xfdf35600 0x0 0x20>;
1288 };
1289
1290 qos_rga3_1: qos@fdf36000 {
1291 compatible = "rockchip,rk3588-qos", "syscon";
1292 reg = <0x0 0xfdf36000 0x0 0x20>;
1293 };
1294
1295 qos_sdio: qos@fdf39000 {
1296 compatible = "rockchip,rk3588-qos", "syscon";
1297 reg = <0x0 0xfdf39000 0x0 0x20>;
1298 };
1299
1300 qos_sdmmc: qos@fdf3d800 {
1301 compatible = "rockchip,rk3588-qos", "syscon";
1302 reg = <0x0 0xfdf3d800 0x0 0x20>;
1303 };
1304
1305 qos_usb3_1: qos@fdf3e000 {
1306 compatible = "rockchip,rk3588-qos", "syscon";
1307 reg = <0x0 0xfdf3e000 0x0 0x20>;
1308 };
1309
1310 qos_usb3_0: qos@fdf3e200 {
1311 compatible = "rockchip,rk3588-qos", "syscon";
1312 reg = <0x0 0xfdf3e200 0x0 0x20>;
1313 };
1314
1315 qos_usb2host_0: qos@fdf3e400 {
1316 compatible = "rockchip,rk3588-qos", "syscon";
1317 reg = <0x0 0xfdf3e400 0x0 0x20>;
1318 };
1319
1320 qos_usb2host_1: qos@fdf3e600 {
1321 compatible = "rockchip,rk3588-qos", "syscon";
1322 reg = <0x0 0xfdf3e600 0x0 0x20>;
1323 };
1324
1325 qos_fisheye0: qos@fdf40000 {
1326 compatible = "rockchip,rk3588-qos", "syscon";
1327 reg = <0x0 0xfdf40000 0x0 0x20>;
1328 };
1329
1330 qos_fisheye1: qos@fdf40200 {
1331 compatible = "rockchip,rk3588-qos", "syscon";
1332 reg = <0x0 0xfdf40200 0x0 0x20>;
1333 };
1334
1335 qos_isp0_mro: qos@fdf40400 {
1336 compatible = "rockchip,rk3588-qos", "syscon";
1337 reg = <0x0 0xfdf40400 0x0 0x20>;
1338 };
1339
1340 qos_isp0_mwo: qos@fdf40500 {
1341 compatible = "rockchip,rk3588-qos", "syscon";
1342 reg = <0x0 0xfdf40500 0x0 0x20>;
1343 };
1344
1345 qos_vicap_m0: qos@fdf40600 {
1346 compatible = "rockchip,rk3588-qos", "syscon";
1347 reg = <0x0 0xfdf40600 0x0 0x20>;
1348 };
1349
1350 qos_vicap_m1: qos@fdf40800 {
1351 compatible = "rockchip,rk3588-qos", "syscon";
1352 reg = <0x0 0xfdf40800 0x0 0x20>;
1353 };
1354
1355 qos_isp1_mwo: qos@fdf41000 {
1356 compatible = "rockchip,rk3588-qos", "syscon";
1357 reg = <0x0 0xfdf41000 0x0 0x20>;
1358 };
1359
1360 qos_isp1_mro: qos@fdf41100 {
1361 compatible = "rockchip,rk3588-qos", "syscon";
1362 reg = <0x0 0xfdf41100 0x0 0x20>;
1363 };
1364
1365 qos_rkvenc0_m0ro: qos@fdf60000 {
1366 compatible = "rockchip,rk3588-qos", "syscon";
1367 reg = <0x0 0xfdf60000 0x0 0x20>;
1368 };
1369
1370 qos_rkvenc0_m1ro: qos@fdf60200 {
1371 compatible = "rockchip,rk3588-qos", "syscon";
1372 reg = <0x0 0xfdf60200 0x0 0x20>;
1373 };
1374
1375 qos_rkvenc0_m2wo: qos@fdf60400 {
1376 compatible = "rockchip,rk3588-qos", "syscon";
1377 reg = <0x0 0xfdf60400 0x0 0x20>;
1378 };
1379
1380 qos_rkvenc1_m0ro: qos@fdf61000 {
1381 compatible = "rockchip,rk3588-qos", "syscon";
1382 reg = <0x0 0xfdf61000 0x0 0x20>;
1383 };
1384
1385 qos_rkvenc1_m1ro: qos@fdf61200 {
1386 compatible = "rockchip,rk3588-qos", "syscon";
1387 reg = <0x0 0xfdf61200 0x0 0x20>;
1388 };
1389
1390 qos_rkvenc1_m2wo: qos@fdf61400 {
1391 compatible = "rockchip,rk3588-qos", "syscon";
1392 reg = <0x0 0xfdf61400 0x0 0x20>;
1393 };
1394
1395 qos_rkvdec0: qos@fdf62000 {
1396 compatible = "rockchip,rk3588-qos", "syscon";
1397 reg = <0x0 0xfdf62000 0x0 0x20>;
1398 };
1399
1400 qos_rkvdec1: qos@fdf63000 {
1401 compatible = "rockchip,rk3588-qos", "syscon";
1402 reg = <0x0 0xfdf63000 0x0 0x20>;
1403 };
1404
1405 qos_av1: qos@fdf64000 {
1406 compatible = "rockchip,rk3588-qos", "syscon";
1407 reg = <0x0 0xfdf64000 0x0 0x20>;
1408 };
1409
1410 qos_iep: qos@fdf66000 {
1411 compatible = "rockchip,rk3588-qos", "syscon";
1412 reg = <0x0 0xfdf66000 0x0 0x20>;
1413 };
1414
1415 qos_jpeg_dec: qos@fdf66200 {
1416 compatible = "rockchip,rk3588-qos", "syscon";
1417 reg = <0x0 0xfdf66200 0x0 0x20>;
1418 };
1419
1420 qos_jpeg_enc0: qos@fdf66400 {
1421 compatible = "rockchip,rk3588-qos", "syscon";
1422 reg = <0x0 0xfdf66400 0x0 0x20>;
1423 };
1424
1425 qos_jpeg_enc1: qos@fdf66600 {
1426 compatible = "rockchip,rk3588-qos", "syscon";
1427 reg = <0x0 0xfdf66600 0x0 0x20>;
1428 };
1429
1430 qos_jpeg_enc2: qos@fdf66800 {
1431 compatible = "rockchip,rk3588-qos", "syscon";
1432 reg = <0x0 0xfdf66800 0x0 0x20>;
1433 };
1434
1435 qos_jpeg_enc3: qos@fdf66a00 {
1436 compatible = "rockchip,rk3588-qos", "syscon";
1437 reg = <0x0 0xfdf66a00 0x0 0x20>;
1438 };
1439
1440 qos_rga2_mro: qos@fdf66c00 {
1441 compatible = "rockchip,rk3588-qos", "syscon";
1442 reg = <0x0 0xfdf66c00 0x0 0x20>;
1443 };
1444
1445 qos_rga2_mwo: qos@fdf66e00 {
1446 compatible = "rockchip,rk3588-qos", "syscon";
1447 reg = <0x0 0xfdf66e00 0x0 0x20>;
1448 };
1449
1450 qos_rga3_0: qos@fdf67000 {
1451 compatible = "rockchip,rk3588-qos", "syscon";
1452 reg = <0x0 0xfdf67000 0x0 0x20>;
1453 };
1454
1455 qos_vdpu: qos@fdf67200 {
1456 compatible = "rockchip,rk3588-qos", "syscon";
1457 reg = <0x0 0xfdf67200 0x0 0x20>;
1458 };
1459
1460 qos_npu1: qos@fdf70000 {
1461 compatible = "rockchip,rk3588-qos", "syscon";
1462 reg = <0x0 0xfdf70000 0x0 0x20>;
1463 };
1464
1465 qos_npu2: qos@fdf71000 {
1466 compatible = "rockchip,rk3588-qos", "syscon";
1467 reg = <0x0 0xfdf71000 0x0 0x20>;
1468 };
1469
1470 qos_npu0_mwr: qos@fdf72000 {
1471 compatible = "rockchip,rk3588-qos", "syscon";
1472 reg = <0x0 0xfdf72000 0x0 0x20>;
1473 };
1474
1475 qos_npu0_mro: qos@fdf72200 {
1476 compatible = "rockchip,rk3588-qos", "syscon";
1477 reg = <0x0 0xfdf72200 0x0 0x20>;
1478 };
1479
1480 qos_mcu_npu: qos@fdf72400 {
1481 compatible = "rockchip,rk3588-qos", "syscon";
1482 reg = <0x0 0xfdf72400 0x0 0x20>;
1483 };
1484
1485 qos_hdcp0: qos@fdf80000 {
1486 compatible = "rockchip,rk3588-qos", "syscon";
1487 reg = <0x0 0xfdf80000 0x0 0x20>;
1488 };
1489
1490 qos_hdcp1: qos@fdf81000 {
1491 compatible = "rockchip,rk3588-qos", "syscon";
1492 reg = <0x0 0xfdf81000 0x0 0x20>;
1493 };
1494
1495 qos_hdmirx: qos@fdf81200 {
1496 compatible = "rockchip,rk3588-qos", "syscon";
1497 reg = <0x0 0xfdf81200 0x0 0x20>;
1498 };
1499
1500 qos_vop_m0: qos@fdf82000 {
1501 compatible = "rockchip,rk3588-qos", "syscon";
1502 reg = <0x0 0xfdf82000 0x0 0x20>;
1503 };
1504
1505 qos_vop_m1: qos@fdf82200 {
1506 compatible = "rockchip,rk3588-qos", "syscon";
1507 reg = <0x0 0xfdf82200 0x0 0x20>;
1508 };
1509
Diederik de Haas2fed50d2024-05-29 01:03:58 +08001510 dfi: dfi@fe060000 {
1511 reg = <0x00 0xfe060000 0x00 0x10000>;
1512 compatible = "rockchip,rk3588-dfi";
1513 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH 0>,
1514 <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH 0>,
1515 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH 0>,
1516 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH 0>;
1517 rockchip,pmu = <&pmu1grf>;
1518 };
1519
Tom Rini53633a82024-02-29 12:33:36 -05001520 pcie2x1l1: pcie@fe180000 {
1521 compatible = "rockchip,rk3588-pcie", "rockchip,rk3568-pcie";
1522 bus-range = <0x30 0x3f>;
1523 clocks = <&cru ACLK_PCIE_1L1_MSTR>, <&cru ACLK_PCIE_1L1_SLV>,
1524 <&cru ACLK_PCIE_1L1_DBI>, <&cru PCLK_PCIE_1L1>,
1525 <&cru CLK_PCIE_AUX3>, <&cru CLK_PCIE1L1_PIPE>;
1526 clock-names = "aclk_mst", "aclk_slv",
1527 "aclk_dbi", "pclk",
1528 "aux", "pipe";
1529 device_type = "pci";
1530 interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH 0>,
1531 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH 0>,
1532 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH 0>,
1533 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH 0>,
1534 <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH 0>;
1535 interrupt-names = "sys", "pmc", "msg", "legacy", "err";
1536 #interrupt-cells = <1>;
1537 interrupt-map-mask = <0 0 0 7>;
1538 interrupt-map = <0 0 0 1 &pcie2x1l1_intc 0>,
1539 <0 0 0 2 &pcie2x1l1_intc 1>,
1540 <0 0 0 3 &pcie2x1l1_intc 2>,
1541 <0 0 0 4 &pcie2x1l1_intc 3>;
1542 linux,pci-domain = <3>;
1543 max-link-speed = <2>;
1544 msi-map = <0x3000 &its0 0x3000 0x1000>;
1545 num-lanes = <1>;
1546 phys = <&combphy2_psu PHY_TYPE_PCIE>;
1547 phy-names = "pcie-phy";
1548 power-domains = <&power RK3588_PD_PCIE>;
1549 ranges = <0x01000000 0x0 0xf3100000 0x0 0xf3100000 0x0 0x00100000>,
1550 <0x02000000 0x0 0xf3200000 0x0 0xf3200000 0x0 0x00e00000>,
1551 <0x03000000 0x0 0x40000000 0x9 0xc0000000 0x0 0x40000000>;
1552 reg = <0xa 0x40c00000 0x0 0x00400000>,
1553 <0x0 0xfe180000 0x0 0x00010000>,
1554 <0x0 0xf3000000 0x0 0x00100000>;
1555 reg-names = "dbi", "apb", "config";
1556 resets = <&cru SRST_PCIE3_POWER_UP>, <&cru SRST_P_PCIE3>;
1557 reset-names = "pwr", "pipe";
1558 #address-cells = <3>;
1559 #size-cells = <2>;
1560 status = "disabled";
1561
1562 pcie2x1l1_intc: legacy-interrupt-controller {
1563 interrupt-controller;
1564 #address-cells = <0>;
1565 #interrupt-cells = <1>;
1566 interrupt-parent = <&gic>;
1567 interrupts = <GIC_SPI 245 IRQ_TYPE_EDGE_RISING 0>;
1568 };
1569 };
1570
1571 pcie2x1l2: pcie@fe190000 {
1572 compatible = "rockchip,rk3588-pcie", "rockchip,rk3568-pcie";
1573 bus-range = <0x40 0x4f>;
1574 clocks = <&cru ACLK_PCIE_1L2_MSTR>, <&cru ACLK_PCIE_1L2_SLV>,
1575 <&cru ACLK_PCIE_1L2_DBI>, <&cru PCLK_PCIE_1L2>,
1576 <&cru CLK_PCIE_AUX4>, <&cru CLK_PCIE1L2_PIPE>;
1577 clock-names = "aclk_mst", "aclk_slv",
1578 "aclk_dbi", "pclk",
1579 "aux", "pipe";
1580 device_type = "pci";
1581 interrupts = <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH 0>,
1582 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH 0>,
1583 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH 0>,
1584 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH 0>,
1585 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH 0>;
1586 interrupt-names = "sys", "pmc", "msg", "legacy", "err";
1587 #interrupt-cells = <1>;
1588 interrupt-map-mask = <0 0 0 7>;
1589 interrupt-map = <0 0 0 1 &pcie2x1l2_intc 0>,
1590 <0 0 0 2 &pcie2x1l2_intc 1>,
1591 <0 0 0 3 &pcie2x1l2_intc 2>,
1592 <0 0 0 4 &pcie2x1l2_intc 3>;
1593 linux,pci-domain = <4>;
1594 max-link-speed = <2>;
1595 msi-map = <0x4000 &its0 0x4000 0x1000>;
1596 num-lanes = <1>;
1597 phys = <&combphy0_ps PHY_TYPE_PCIE>;
1598 phy-names = "pcie-phy";
1599 power-domains = <&power RK3588_PD_PCIE>;
1600 ranges = <0x01000000 0x0 0xf4100000 0x0 0xf4100000 0x0 0x00100000>,
1601 <0x02000000 0x0 0xf4200000 0x0 0xf4200000 0x0 0x00e00000>,
1602 <0x03000000 0x0 0x40000000 0xa 0x00000000 0x0 0x40000000>;
1603 reg = <0xa 0x41000000 0x0 0x00400000>,
1604 <0x0 0xfe190000 0x0 0x00010000>,
1605 <0x0 0xf4000000 0x0 0x00100000>;
1606 reg-names = "dbi", "apb", "config";
1607 resets = <&cru SRST_PCIE4_POWER_UP>, <&cru SRST_P_PCIE4>;
1608 reset-names = "pwr", "pipe";
1609 #address-cells = <3>;
1610 #size-cells = <2>;
1611 status = "disabled";
1612
1613 pcie2x1l2_intc: legacy-interrupt-controller {
1614 interrupt-controller;
1615 #address-cells = <0>;
1616 #interrupt-cells = <1>;
1617 interrupt-parent = <&gic>;
1618 interrupts = <GIC_SPI 250 IRQ_TYPE_EDGE_RISING 0>;
1619 };
1620 };
1621
Tom Rini53633a82024-02-29 12:33:36 -05001622 gmac1: ethernet@fe1c0000 {
1623 compatible = "rockchip,rk3588-gmac", "snps,dwmac-4.20a";
1624 reg = <0x0 0xfe1c0000 0x0 0x10000>;
1625 interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH 0>,
1626 <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH 0>;
1627 interrupt-names = "macirq", "eth_wake_irq";
1628 clocks = <&cru CLK_GMAC_125M>, <&cru CLK_GMAC_50M>,
1629 <&cru PCLK_GMAC1>, <&cru ACLK_GMAC1>,
1630 <&cru CLK_GMAC1_PTP_REF>;
1631 clock-names = "stmmaceth", "clk_mac_ref",
1632 "pclk_mac", "aclk_mac",
1633 "ptp_ref";
1634 power-domains = <&power RK3588_PD_GMAC>;
1635 resets = <&cru SRST_A_GMAC1>;
1636 reset-names = "stmmaceth";
1637 rockchip,grf = <&sys_grf>;
1638 rockchip,php-grf = <&php_grf>;
1639 snps,axi-config = <&gmac1_stmmac_axi_setup>;
1640 snps,mixed-burst;
1641 snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
1642 snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
1643 snps,tso;
1644 status = "disabled";
1645
1646 mdio1: mdio {
1647 compatible = "snps,dwmac-mdio";
1648 #address-cells = <0x1>;
1649 #size-cells = <0x0>;
1650 };
1651
1652 gmac1_stmmac_axi_setup: stmmac-axi-config {
1653 snps,blen = <0 0 0 0 16 8 4>;
1654 snps,wr_osr_lmt = <4>;
1655 snps,rd_osr_lmt = <8>;
1656 };
1657
1658 gmac1_mtl_rx_setup: rx-queues-config {
1659 snps,rx-queues-to-use = <2>;
1660 queue0 {};
1661 queue1 {};
1662 };
1663
1664 gmac1_mtl_tx_setup: tx-queues-config {
1665 snps,tx-queues-to-use = <2>;
1666 queue0 {};
1667 queue1 {};
1668 };
1669 };
1670
1671 sata0: sata@fe210000 {
1672 compatible = "rockchip,rk3588-dwc-ahci", "snps,dwc-ahci";
1673 reg = <0 0xfe210000 0 0x1000>;
1674 interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH 0>;
1675 clocks = <&cru ACLK_SATA0>, <&cru CLK_PMALIVE0>,
1676 <&cru CLK_RXOOB0>, <&cru CLK_PIPEPHY0_REF>,
1677 <&cru CLK_PIPEPHY0_PIPE_ASIC_G>;
1678 clock-names = "sata", "pmalive", "rxoob", "ref", "asic";
1679 ports-implemented = <0x1>;
1680 #address-cells = <1>;
1681 #size-cells = <0>;
1682 status = "disabled";
1683
1684 sata-port@0 {
1685 reg = <0>;
1686 hba-port-cap = <HBA_PORT_FBSCP>;
1687 phys = <&combphy0_ps PHY_TYPE_SATA>;
1688 phy-names = "sata-phy";
1689 snps,rx-ts-max = <32>;
1690 snps,tx-ts-max = <32>;
1691 };
1692 };
1693
1694 sata2: sata@fe230000 {
1695 compatible = "rockchip,rk3588-dwc-ahci", "snps,dwc-ahci";
1696 reg = <0 0xfe230000 0 0x1000>;
1697 interrupts = <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH 0>;
1698 clocks = <&cru ACLK_SATA2>, <&cru CLK_PMALIVE2>,
1699 <&cru CLK_RXOOB2>, <&cru CLK_PIPEPHY2_REF>,
1700 <&cru CLK_PIPEPHY2_PIPE_ASIC_G>;
1701 clock-names = "sata", "pmalive", "rxoob", "ref", "asic";
1702 ports-implemented = <0x1>;
1703 #address-cells = <1>;
1704 #size-cells = <0>;
1705 status = "disabled";
1706
1707 sata-port@0 {
1708 reg = <0>;
1709 hba-port-cap = <HBA_PORT_FBSCP>;
1710 phys = <&combphy2_psu PHY_TYPE_SATA>;
1711 phy-names = "sata-phy";
1712 snps,rx-ts-max = <32>;
1713 snps,tx-ts-max = <32>;
1714 };
1715 };
1716
1717 sfc: spi@fe2b0000 {
1718 compatible = "rockchip,sfc";
1719 reg = <0x0 0xfe2b0000 0x0 0x4000>;
1720 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH 0>;
1721 clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
1722 clock-names = "clk_sfc", "hclk_sfc";
1723 #address-cells = <1>;
1724 #size-cells = <0>;
1725 status = "disabled";
1726 };
1727
1728 sdmmc: mmc@fe2c0000 {
1729 compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc";
1730 reg = <0x0 0xfe2c0000 0x0 0x4000>;
1731 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH 0>;
1732 clocks = <&scmi_clk SCMI_HCLK_SD>, <&scmi_clk SCMI_CCLK_SD>,
1733 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
1734 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1735 fifo-depth = <0x100>;
1736 max-frequency = <200000000>;
1737 pinctrl-names = "default";
1738 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
1739 power-domains = <&power RK3588_PD_SDMMC>;
1740 status = "disabled";
1741 };
1742
1743 sdio: mmc@fe2d0000 {
1744 compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc";
1745 reg = <0x00 0xfe2d0000 0x00 0x4000>;
1746 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH 0>;
1747 clocks = <&cru HCLK_SDIO>, <&cru CCLK_SRC_SDIO>,
1748 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
1749 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1750 fifo-depth = <0x100>;
1751 max-frequency = <200000000>;
1752 pinctrl-names = "default";
1753 pinctrl-0 = <&sdiom1_pins>;
1754 power-domains = <&power RK3588_PD_SDIO>;
1755 status = "disabled";
1756 };
1757
1758 sdhci: mmc@fe2e0000 {
1759 compatible = "rockchip,rk3588-dwcmshc";
1760 reg = <0x0 0xfe2e0000 0x0 0x10000>;
1761 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH 0>;
1762 assigned-clocks = <&cru BCLK_EMMC>, <&cru TMCLK_EMMC>, <&cru CCLK_EMMC>;
1763 assigned-clock-rates = <200000000>, <24000000>, <200000000>;
1764 clocks = <&cru CCLK_EMMC>, <&cru HCLK_EMMC>,
1765 <&cru ACLK_EMMC>, <&cru BCLK_EMMC>,
1766 <&cru TMCLK_EMMC>;
1767 clock-names = "core", "bus", "axi", "block", "timer";
1768 max-frequency = <200000000>;
1769 pinctrl-0 = <&emmc_rstnout>, <&emmc_bus8>, <&emmc_clk>,
1770 <&emmc_cmd>, <&emmc_data_strobe>;
1771 pinctrl-names = "default";
1772 resets = <&cru SRST_C_EMMC>, <&cru SRST_H_EMMC>,
1773 <&cru SRST_A_EMMC>, <&cru SRST_B_EMMC>,
1774 <&cru SRST_T_EMMC>;
1775 reset-names = "core", "bus", "axi", "block", "timer";
1776 status = "disabled";
1777 };
1778
1779 i2s0_8ch: i2s@fe470000 {
1780 compatible = "rockchip,rk3588-i2s-tdm";
1781 reg = <0x0 0xfe470000 0x0 0x1000>;
1782 interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH 0>;
1783 clocks = <&cru MCLK_I2S0_8CH_TX>, <&cru MCLK_I2S0_8CH_RX>, <&cru HCLK_I2S0_8CH>;
1784 clock-names = "mclk_tx", "mclk_rx", "hclk";
1785 assigned-clocks = <&cru CLK_I2S0_8CH_TX_SRC>, <&cru CLK_I2S0_8CH_RX_SRC>;
1786 assigned-clock-parents = <&cru PLL_AUPLL>, <&cru PLL_AUPLL>;
1787 dmas = <&dmac0 0>, <&dmac0 1>;
1788 dma-names = "tx", "rx";
1789 power-domains = <&power RK3588_PD_AUDIO>;
1790 resets = <&cru SRST_M_I2S0_8CH_TX>, <&cru SRST_M_I2S0_8CH_RX>;
1791 reset-names = "tx-m", "rx-m";
1792 rockchip,trcm-sync-tx-only;
1793 pinctrl-names = "default";
1794 pinctrl-0 = <&i2s0_lrck
1795 &i2s0_sclk
1796 &i2s0_sdi0
1797 &i2s0_sdi1
1798 &i2s0_sdi2
1799 &i2s0_sdi3
1800 &i2s0_sdo0
1801 &i2s0_sdo1
1802 &i2s0_sdo2
1803 &i2s0_sdo3>;
1804 #sound-dai-cells = <0>;
1805 status = "disabled";
1806 };
1807
1808 i2s1_8ch: i2s@fe480000 {
1809 compatible = "rockchip,rk3588-i2s-tdm";
1810 reg = <0x0 0xfe480000 0x0 0x1000>;
1811 interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH 0>;
1812 clocks = <&cru MCLK_I2S1_8CH_TX>, <&cru MCLK_I2S1_8CH_RX>, <&cru HCLK_I2S1_8CH>;
1813 clock-names = "mclk_tx", "mclk_rx", "hclk";
1814 dmas = <&dmac0 2>, <&dmac0 3>;
1815 dma-names = "tx", "rx";
1816 resets = <&cru SRST_M_I2S1_8CH_TX>, <&cru SRST_M_I2S1_8CH_RX>;
1817 reset-names = "tx-m", "rx-m";
1818 rockchip,trcm-sync-tx-only;
1819 pinctrl-names = "default";
1820 pinctrl-0 = <&i2s1m0_lrck
1821 &i2s1m0_sclk
1822 &i2s1m0_sdi0
1823 &i2s1m0_sdi1
1824 &i2s1m0_sdi2
1825 &i2s1m0_sdi3
1826 &i2s1m0_sdo0
1827 &i2s1m0_sdo1
1828 &i2s1m0_sdo2
1829 &i2s1m0_sdo3>;
1830 #sound-dai-cells = <0>;
1831 status = "disabled";
1832 };
1833
1834 i2s2_2ch: i2s@fe490000 {
1835 compatible = "rockchip,rk3588-i2s", "rockchip,rk3066-i2s";
1836 reg = <0x0 0xfe490000 0x0 0x1000>;
1837 interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH 0>;
1838 clocks = <&cru MCLK_I2S2_2CH>, <&cru HCLK_I2S2_2CH>;
1839 clock-names = "i2s_clk", "i2s_hclk";
1840 assigned-clocks = <&cru CLK_I2S2_2CH_SRC>;
1841 assigned-clock-parents = <&cru PLL_AUPLL>;
1842 dmas = <&dmac1 0>, <&dmac1 1>;
1843 dma-names = "tx", "rx";
1844 power-domains = <&power RK3588_PD_AUDIO>;
Tom Rini53633a82024-02-29 12:33:36 -05001845 pinctrl-names = "default";
1846 pinctrl-0 = <&i2s2m1_lrck
1847 &i2s2m1_sclk
1848 &i2s2m1_sdi
1849 &i2s2m1_sdo>;
1850 #sound-dai-cells = <0>;
1851 status = "disabled";
1852 };
1853
1854 i2s3_2ch: i2s@fe4a0000 {
1855 compatible = "rockchip,rk3588-i2s", "rockchip,rk3066-i2s";
1856 reg = <0x0 0xfe4a0000 0x0 0x1000>;
1857 interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH 0>;
1858 clocks = <&cru MCLK_I2S3_2CH>, <&cru HCLK_I2S3_2CH>;
1859 clock-names = "i2s_clk", "i2s_hclk";
1860 assigned-clocks = <&cru CLK_I2S3_2CH_SRC>;
1861 assigned-clock-parents = <&cru PLL_AUPLL>;
1862 dmas = <&dmac1 2>, <&dmac1 3>;
1863 dma-names = "tx", "rx";
1864 power-domains = <&power RK3588_PD_AUDIO>;
Tom Rini53633a82024-02-29 12:33:36 -05001865 pinctrl-names = "default";
1866 pinctrl-0 = <&i2s3_lrck
1867 &i2s3_sclk
1868 &i2s3_sdi
1869 &i2s3_sdo>;
1870 #sound-dai-cells = <0>;
1871 status = "disabled";
1872 };
1873
1874 gic: interrupt-controller@fe600000 {
1875 compatible = "arm,gic-v3";
1876 reg = <0x0 0xfe600000 0 0x10000>, /* GICD */
1877 <0x0 0xfe680000 0 0x100000>; /* GICR */
1878 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
1879 interrupt-controller;
1880 mbi-alias = <0x0 0xfe610000>;
1881 mbi-ranges = <424 56>;
1882 msi-controller;
1883 ranges;
1884 #address-cells = <2>;
1885 #interrupt-cells = <4>;
1886 #size-cells = <2>;
1887
1888 its0: msi-controller@fe640000 {
1889 compatible = "arm,gic-v3-its";
1890 reg = <0x0 0xfe640000 0x0 0x20000>;
1891 msi-controller;
1892 #msi-cells = <1>;
1893 };
1894
1895 its1: msi-controller@fe660000 {
1896 compatible = "arm,gic-v3-its";
1897 reg = <0x0 0xfe660000 0x0 0x20000>;
1898 msi-controller;
1899 #msi-cells = <1>;
1900 };
1901
1902 ppi-partitions {
1903 ppi_partition0: interrupt-partition-0 {
1904 affinity = <&cpu_l0 &cpu_l1 &cpu_l2 &cpu_l3>;
1905 };
1906
1907 ppi_partition1: interrupt-partition-1 {
1908 affinity = <&cpu_b0 &cpu_b1 &cpu_b2 &cpu_b3>;
1909 };
1910 };
1911 };
1912
1913 dmac0: dma-controller@fea10000 {
1914 compatible = "arm,pl330", "arm,primecell";
1915 reg = <0x0 0xfea10000 0x0 0x4000>;
1916 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH 0>,
1917 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH 0>;
1918 arm,pl330-periph-burst;
1919 clocks = <&cru ACLK_DMAC0>;
1920 clock-names = "apb_pclk";
1921 #dma-cells = <1>;
1922 };
1923
1924 dmac1: dma-controller@fea30000 {
1925 compatible = "arm,pl330", "arm,primecell";
1926 reg = <0x0 0xfea30000 0x0 0x4000>;
1927 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH 0>,
1928 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH 0>;
1929 arm,pl330-periph-burst;
1930 clocks = <&cru ACLK_DMAC1>;
1931 clock-names = "apb_pclk";
1932 #dma-cells = <1>;
1933 };
1934
1935 i2c1: i2c@fea90000 {
1936 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
1937 reg = <0x0 0xfea90000 0x0 0x1000>;
1938 clocks = <&cru CLK_I2C1>, <&cru PCLK_I2C1>;
1939 clock-names = "i2c", "pclk";
1940 interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 0>;
1941 pinctrl-0 = <&i2c1m0_xfer>;
1942 pinctrl-names = "default";
1943 #address-cells = <1>;
1944 #size-cells = <0>;
1945 status = "disabled";
1946 };
1947
1948 i2c2: i2c@feaa0000 {
1949 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
1950 reg = <0x0 0xfeaa0000 0x0 0x1000>;
1951 clocks = <&cru CLK_I2C2>, <&cru PCLK_I2C2>;
1952 clock-names = "i2c", "pclk";
1953 interrupts = <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH 0>;
1954 pinctrl-0 = <&i2c2m0_xfer>;
1955 pinctrl-names = "default";
1956 #address-cells = <1>;
1957 #size-cells = <0>;
1958 status = "disabled";
1959 };
1960
1961 i2c3: i2c@feab0000 {
1962 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
1963 reg = <0x0 0xfeab0000 0x0 0x1000>;
1964 clocks = <&cru CLK_I2C3>, <&cru PCLK_I2C3>;
1965 clock-names = "i2c", "pclk";
1966 interrupts = <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH 0>;
1967 pinctrl-0 = <&i2c3m0_xfer>;
1968 pinctrl-names = "default";
1969 #address-cells = <1>;
1970 #size-cells = <0>;
1971 status = "disabled";
1972 };
1973
1974 i2c4: i2c@feac0000 {
1975 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
1976 reg = <0x0 0xfeac0000 0x0 0x1000>;
1977 clocks = <&cru CLK_I2C4>, <&cru PCLK_I2C4>;
1978 clock-names = "i2c", "pclk";
1979 interrupts = <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH 0>;
1980 pinctrl-0 = <&i2c4m0_xfer>;
1981 pinctrl-names = "default";
1982 #address-cells = <1>;
1983 #size-cells = <0>;
1984 status = "disabled";
1985 };
1986
1987 i2c5: i2c@fead0000 {
1988 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
1989 reg = <0x0 0xfead0000 0x0 0x1000>;
1990 clocks = <&cru CLK_I2C5>, <&cru PCLK_I2C5>;
1991 clock-names = "i2c", "pclk";
1992 interrupts = <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH 0>;
1993 pinctrl-0 = <&i2c5m0_xfer>;
1994 pinctrl-names = "default";
1995 #address-cells = <1>;
1996 #size-cells = <0>;
1997 status = "disabled";
1998 };
1999
2000 timer0: timer@feae0000 {
2001 compatible = "rockchip,rk3588-timer", "rockchip,rk3288-timer";
2002 reg = <0x0 0xfeae0000 0x0 0x20>;
2003 interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH 0>;
2004 clocks = <&cru PCLK_BUSTIMER0>, <&cru CLK_BUSTIMER0>;
2005 clock-names = "pclk", "timer";
2006 };
2007
2008 wdt: watchdog@feaf0000 {
2009 compatible = "rockchip,rk3588-wdt", "snps,dw-wdt";
2010 reg = <0x0 0xfeaf0000 0x0 0x100>;
2011 clocks = <&cru TCLK_WDT0>, <&cru PCLK_WDT0>;
2012 clock-names = "tclk", "pclk";
2013 interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 0>;
2014 };
2015
2016 spi0: spi@feb00000 {
2017 compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi";
2018 reg = <0x0 0xfeb00000 0x0 0x1000>;
2019 interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH 0>;
2020 clocks = <&cru CLK_SPI0>, <&cru PCLK_SPI0>;
2021 clock-names = "spiclk", "apb_pclk";
2022 dmas = <&dmac0 14>, <&dmac0 15>;
2023 dma-names = "tx", "rx";
2024 num-cs = <2>;
2025 pinctrl-0 = <&spi0m0_cs0 &spi0m0_cs1 &spi0m0_pins>;
2026 pinctrl-names = "default";
2027 #address-cells = <1>;
2028 #size-cells = <0>;
2029 status = "disabled";
2030 };
2031
2032 spi1: spi@feb10000 {
2033 compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi";
2034 reg = <0x0 0xfeb10000 0x0 0x1000>;
2035 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH 0>;
2036 clocks = <&cru CLK_SPI1>, <&cru PCLK_SPI1>;
2037 clock-names = "spiclk", "apb_pclk";
2038 dmas = <&dmac0 16>, <&dmac0 17>;
2039 dma-names = "tx", "rx";
2040 num-cs = <2>;
2041 pinctrl-0 = <&spi1m1_cs0 &spi1m1_cs1 &spi1m1_pins>;
2042 pinctrl-names = "default";
2043 #address-cells = <1>;
2044 #size-cells = <0>;
2045 status = "disabled";
2046 };
2047
2048 spi2: spi@feb20000 {
2049 compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi";
2050 reg = <0x0 0xfeb20000 0x0 0x1000>;
2051 interrupts = <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH 0>;
2052 clocks = <&cru CLK_SPI2>, <&cru PCLK_SPI2>;
2053 clock-names = "spiclk", "apb_pclk";
2054 dmas = <&dmac1 15>, <&dmac1 16>;
2055 dma-names = "tx", "rx";
2056 num-cs = <2>;
2057 pinctrl-0 = <&spi2m2_cs0 &spi2m2_cs1 &spi2m2_pins>;
2058 pinctrl-names = "default";
2059 #address-cells = <1>;
2060 #size-cells = <0>;
2061 status = "disabled";
2062 };
2063
2064 spi3: spi@feb30000 {
2065 compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi";
2066 reg = <0x0 0xfeb30000 0x0 0x1000>;
2067 interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH 0>;
2068 clocks = <&cru CLK_SPI3>, <&cru PCLK_SPI3>;
2069 clock-names = "spiclk", "apb_pclk";
2070 dmas = <&dmac1 17>, <&dmac1 18>;
2071 dma-names = "tx", "rx";
2072 num-cs = <2>;
2073 pinctrl-0 = <&spi3m1_cs0 &spi3m1_cs1 &spi3m1_pins>;
2074 pinctrl-names = "default";
2075 #address-cells = <1>;
2076 #size-cells = <0>;
2077 status = "disabled";
2078 };
2079
2080 uart1: serial@feb40000 {
2081 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2082 reg = <0x0 0xfeb40000 0x0 0x100>;
2083 interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH 0>;
2084 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
2085 clock-names = "baudclk", "apb_pclk";
2086 dmas = <&dmac0 8>, <&dmac0 9>;
2087 dma-names = "tx", "rx";
2088 pinctrl-0 = <&uart1m1_xfer>;
2089 pinctrl-names = "default";
2090 reg-io-width = <4>;
2091 reg-shift = <2>;
2092 status = "disabled";
2093 };
2094
2095 uart2: serial@feb50000 {
2096 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2097 reg = <0x0 0xfeb50000 0x0 0x100>;
2098 interrupts = <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH 0>;
2099 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
2100 clock-names = "baudclk", "apb_pclk";
2101 dmas = <&dmac0 10>, <&dmac0 11>;
2102 dma-names = "tx", "rx";
2103 pinctrl-0 = <&uart2m1_xfer>;
2104 pinctrl-names = "default";
2105 reg-io-width = <4>;
2106 reg-shift = <2>;
2107 status = "disabled";
2108 };
2109
2110 uart3: serial@feb60000 {
2111 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2112 reg = <0x0 0xfeb60000 0x0 0x100>;
2113 interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH 0>;
2114 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
2115 clock-names = "baudclk", "apb_pclk";
2116 dmas = <&dmac0 12>, <&dmac0 13>;
2117 dma-names = "tx", "rx";
2118 pinctrl-0 = <&uart3m1_xfer>;
2119 pinctrl-names = "default";
2120 reg-io-width = <4>;
2121 reg-shift = <2>;
2122 status = "disabled";
2123 };
2124
2125 uart4: serial@feb70000 {
2126 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2127 reg = <0x0 0xfeb70000 0x0 0x100>;
2128 interrupts = <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH 0>;
2129 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
2130 clock-names = "baudclk", "apb_pclk";
2131 dmas = <&dmac1 9>, <&dmac1 10>;
2132 dma-names = "tx", "rx";
2133 pinctrl-0 = <&uart4m1_xfer>;
2134 pinctrl-names = "default";
2135 reg-io-width = <4>;
2136 reg-shift = <2>;
2137 status = "disabled";
2138 };
2139
2140 uart5: serial@feb80000 {
2141 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2142 reg = <0x0 0xfeb80000 0x0 0x100>;
2143 interrupts = <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH 0>;
2144 clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
2145 clock-names = "baudclk", "apb_pclk";
2146 dmas = <&dmac1 11>, <&dmac1 12>;
2147 dma-names = "tx", "rx";
2148 pinctrl-0 = <&uart5m1_xfer>;
2149 pinctrl-names = "default";
2150 reg-io-width = <4>;
2151 reg-shift = <2>;
2152 status = "disabled";
2153 };
2154
2155 uart6: serial@feb90000 {
2156 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2157 reg = <0x0 0xfeb90000 0x0 0x100>;
2158 interrupts = <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH 0>;
2159 clocks = <&cru SCLK_UART6>, <&cru PCLK_UART6>;
2160 clock-names = "baudclk", "apb_pclk";
2161 dmas = <&dmac1 13>, <&dmac1 14>;
2162 dma-names = "tx", "rx";
2163 pinctrl-0 = <&uart6m1_xfer>;
2164 pinctrl-names = "default";
2165 reg-io-width = <4>;
2166 reg-shift = <2>;
2167 status = "disabled";
2168 };
2169
2170 uart7: serial@feba0000 {
2171 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2172 reg = <0x0 0xfeba0000 0x0 0x100>;
2173 interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH 0>;
2174 clocks = <&cru SCLK_UART7>, <&cru PCLK_UART7>;
2175 clock-names = "baudclk", "apb_pclk";
2176 dmas = <&dmac2 7>, <&dmac2 8>;
2177 dma-names = "tx", "rx";
2178 pinctrl-0 = <&uart7m1_xfer>;
2179 pinctrl-names = "default";
2180 reg-io-width = <4>;
2181 reg-shift = <2>;
2182 status = "disabled";
2183 };
2184
2185 uart8: serial@febb0000 {
2186 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2187 reg = <0x0 0xfebb0000 0x0 0x100>;
2188 interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH 0>;
2189 clocks = <&cru SCLK_UART8>, <&cru PCLK_UART8>;
2190 clock-names = "baudclk", "apb_pclk";
2191 dmas = <&dmac2 9>, <&dmac2 10>;
2192 dma-names = "tx", "rx";
2193 pinctrl-0 = <&uart8m1_xfer>;
2194 pinctrl-names = "default";
2195 reg-io-width = <4>;
2196 reg-shift = <2>;
2197 status = "disabled";
2198 };
2199
2200 uart9: serial@febc0000 {
2201 compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart";
2202 reg = <0x0 0xfebc0000 0x0 0x100>;
2203 interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH 0>;
2204 clocks = <&cru SCLK_UART9>, <&cru PCLK_UART9>;
2205 clock-names = "baudclk", "apb_pclk";
2206 dmas = <&dmac2 11>, <&dmac2 12>;
2207 dma-names = "tx", "rx";
2208 pinctrl-0 = <&uart9m1_xfer>;
2209 pinctrl-names = "default";
2210 reg-io-width = <4>;
2211 reg-shift = <2>;
2212 status = "disabled";
2213 };
2214
2215 pwm4: pwm@febd0000 {
2216 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2217 reg = <0x0 0xfebd0000 0x0 0x10>;
2218 clocks = <&cru CLK_PWM1>, <&cru PCLK_PWM1>;
2219 clock-names = "pwm", "pclk";
2220 pinctrl-0 = <&pwm4m0_pins>;
2221 pinctrl-names = "default";
2222 #pwm-cells = <3>;
2223 status = "disabled";
2224 };
2225
2226 pwm5: pwm@febd0010 {
2227 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2228 reg = <0x0 0xfebd0010 0x0 0x10>;
2229 clocks = <&cru CLK_PWM1>, <&cru PCLK_PWM1>;
2230 clock-names = "pwm", "pclk";
2231 pinctrl-0 = <&pwm5m0_pins>;
2232 pinctrl-names = "default";
2233 #pwm-cells = <3>;
2234 status = "disabled";
2235 };
2236
2237 pwm6: pwm@febd0020 {
2238 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2239 reg = <0x0 0xfebd0020 0x0 0x10>;
2240 clocks = <&cru CLK_PWM1>, <&cru PCLK_PWM1>;
2241 clock-names = "pwm", "pclk";
2242 pinctrl-0 = <&pwm6m0_pins>;
2243 pinctrl-names = "default";
2244 #pwm-cells = <3>;
2245 status = "disabled";
2246 };
2247
2248 pwm7: pwm@febd0030 {
2249 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2250 reg = <0x0 0xfebd0030 0x0 0x10>;
2251 clocks = <&cru CLK_PWM1>, <&cru PCLK_PWM1>;
2252 clock-names = "pwm", "pclk";
2253 pinctrl-0 = <&pwm7m0_pins>;
2254 pinctrl-names = "default";
2255 #pwm-cells = <3>;
2256 status = "disabled";
2257 };
2258
2259 pwm8: pwm@febe0000 {
2260 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2261 reg = <0x0 0xfebe0000 0x0 0x10>;
2262 clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>;
2263 clock-names = "pwm", "pclk";
2264 pinctrl-0 = <&pwm8m0_pins>;
2265 pinctrl-names = "default";
2266 #pwm-cells = <3>;
2267 status = "disabled";
2268 };
2269
2270 pwm9: pwm@febe0010 {
2271 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2272 reg = <0x0 0xfebe0010 0x0 0x10>;
2273 clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>;
2274 clock-names = "pwm", "pclk";
2275 pinctrl-0 = <&pwm9m0_pins>;
2276 pinctrl-names = "default";
2277 #pwm-cells = <3>;
2278 status = "disabled";
2279 };
2280
2281 pwm10: pwm@febe0020 {
2282 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2283 reg = <0x0 0xfebe0020 0x0 0x10>;
2284 clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>;
2285 clock-names = "pwm", "pclk";
2286 pinctrl-0 = <&pwm10m0_pins>;
2287 pinctrl-names = "default";
2288 #pwm-cells = <3>;
2289 status = "disabled";
2290 };
2291
2292 pwm11: pwm@febe0030 {
2293 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2294 reg = <0x0 0xfebe0030 0x0 0x10>;
2295 clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>;
2296 clock-names = "pwm", "pclk";
2297 pinctrl-0 = <&pwm11m0_pins>;
2298 pinctrl-names = "default";
2299 #pwm-cells = <3>;
2300 status = "disabled";
2301 };
2302
2303 pwm12: pwm@febf0000 {
2304 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2305 reg = <0x0 0xfebf0000 0x0 0x10>;
2306 clocks = <&cru CLK_PWM3>, <&cru PCLK_PWM3>;
2307 clock-names = "pwm", "pclk";
2308 pinctrl-0 = <&pwm12m0_pins>;
2309 pinctrl-names = "default";
2310 #pwm-cells = <3>;
2311 status = "disabled";
2312 };
2313
2314 pwm13: pwm@febf0010 {
2315 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2316 reg = <0x0 0xfebf0010 0x0 0x10>;
2317 clocks = <&cru CLK_PWM3>, <&cru PCLK_PWM3>;
2318 clock-names = "pwm", "pclk";
2319 pinctrl-0 = <&pwm13m0_pins>;
2320 pinctrl-names = "default";
2321 #pwm-cells = <3>;
2322 status = "disabled";
2323 };
2324
2325 pwm14: pwm@febf0020 {
2326 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2327 reg = <0x0 0xfebf0020 0x0 0x10>;
2328 clocks = <&cru CLK_PWM3>, <&cru PCLK_PWM3>;
2329 clock-names = "pwm", "pclk";
2330 pinctrl-0 = <&pwm14m0_pins>;
2331 pinctrl-names = "default";
2332 #pwm-cells = <3>;
2333 status = "disabled";
2334 };
2335
2336 pwm15: pwm@febf0030 {
2337 compatible = "rockchip,rk3588-pwm", "rockchip,rk3328-pwm";
2338 reg = <0x0 0xfebf0030 0x0 0x10>;
2339 clocks = <&cru CLK_PWM3>, <&cru PCLK_PWM3>;
2340 clock-names = "pwm", "pclk";
2341 pinctrl-0 = <&pwm15m0_pins>;
2342 pinctrl-names = "default";
2343 #pwm-cells = <3>;
2344 status = "disabled";
2345 };
2346
2347 tsadc: tsadc@fec00000 {
2348 compatible = "rockchip,rk3588-tsadc";
2349 reg = <0x0 0xfec00000 0x0 0x400>;
2350 interrupts = <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH 0>;
2351 clocks = <&cru CLK_TSADC>, <&cru PCLK_TSADC>;
2352 clock-names = "tsadc", "apb_pclk";
2353 assigned-clocks = <&cru CLK_TSADC>;
2354 assigned-clock-rates = <2000000>;
2355 resets = <&cru SRST_P_TSADC>, <&cru SRST_TSADC>;
2356 reset-names = "tsadc-apb", "tsadc";
2357 rockchip,hw-tshut-temp = <120000>;
2358 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
2359 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
2360 pinctrl-0 = <&tsadc_gpio_func>;
2361 pinctrl-1 = <&tsadc_shut>;
2362 pinctrl-names = "gpio", "otpout";
2363 #thermal-sensor-cells = <1>;
2364 status = "disabled";
2365 };
2366
2367 saradc: adc@fec10000 {
2368 compatible = "rockchip,rk3588-saradc";
2369 reg = <0x0 0xfec10000 0x0 0x10000>;
2370 interrupts = <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH 0>;
2371 #io-channel-cells = <1>;
2372 clocks = <&cru CLK_SARADC>, <&cru PCLK_SARADC>;
2373 clock-names = "saradc", "apb_pclk";
2374 resets = <&cru SRST_P_SARADC>;
2375 reset-names = "saradc-apb";
2376 status = "disabled";
2377 };
2378
2379 i2c6: i2c@fec80000 {
2380 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
2381 reg = <0x0 0xfec80000 0x0 0x1000>;
2382 clocks = <&cru CLK_I2C6>, <&cru PCLK_I2C6>;
2383 clock-names = "i2c", "pclk";
2384 interrupts = <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH 0>;
2385 pinctrl-0 = <&i2c6m0_xfer>;
2386 pinctrl-names = "default";
2387 #address-cells = <1>;
2388 #size-cells = <0>;
2389 status = "disabled";
2390 };
2391
2392 i2c7: i2c@fec90000 {
2393 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
2394 reg = <0x0 0xfec90000 0x0 0x1000>;
2395 clocks = <&cru CLK_I2C7>, <&cru PCLK_I2C7>;
2396 clock-names = "i2c", "pclk";
2397 interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH 0>;
2398 pinctrl-0 = <&i2c7m0_xfer>;
2399 pinctrl-names = "default";
2400 #address-cells = <1>;
2401 #size-cells = <0>;
2402 status = "disabled";
2403 };
2404
2405 i2c8: i2c@feca0000 {
2406 compatible = "rockchip,rk3588-i2c", "rockchip,rk3399-i2c";
2407 reg = <0x0 0xfeca0000 0x0 0x1000>;
2408 clocks = <&cru CLK_I2C8>, <&cru PCLK_I2C8>;
2409 clock-names = "i2c", "pclk";
2410 interrupts = <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH 0>;
2411 pinctrl-0 = <&i2c8m0_xfer>;
2412 pinctrl-names = "default";
2413 #address-cells = <1>;
2414 #size-cells = <0>;
2415 status = "disabled";
2416 };
2417
2418 spi4: spi@fecb0000 {
2419 compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi";
2420 reg = <0x0 0xfecb0000 0x0 0x1000>;
2421 interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH 0>;
2422 clocks = <&cru CLK_SPI4>, <&cru PCLK_SPI4>;
2423 clock-names = "spiclk", "apb_pclk";
2424 dmas = <&dmac2 13>, <&dmac2 14>;
2425 dma-names = "tx", "rx";
2426 num-cs = <2>;
2427 pinctrl-0 = <&spi4m0_cs0 &spi4m0_cs1 &spi4m0_pins>;
2428 pinctrl-names = "default";
2429 #address-cells = <1>;
2430 #size-cells = <0>;
2431 status = "disabled";
2432 };
2433
2434 otp: efuse@fecc0000 {
2435 compatible = "rockchip,rk3588-otp";
2436 reg = <0x0 0xfecc0000 0x0 0x400>;
2437 clocks = <&cru CLK_OTPC_NS>, <&cru PCLK_OTPC_NS>,
2438 <&cru CLK_OTP_PHY_G>, <&cru CLK_OTPC_ARB>;
2439 clock-names = "otp", "apb_pclk", "phy", "arb";
2440 resets = <&cru SRST_OTPC_NS>, <&cru SRST_P_OTPC_NS>,
2441 <&cru SRST_OTPC_ARB>;
2442 reset-names = "otp", "apb", "arb";
2443 #address-cells = <1>;
2444 #size-cells = <1>;
2445
2446 cpu_code: cpu-code@2 {
2447 reg = <0x02 0x2>;
2448 };
2449
2450 otp_id: id@7 {
2451 reg = <0x07 0x10>;
2452 };
2453
2454 cpub0_leakage: cpu-leakage@17 {
2455 reg = <0x17 0x1>;
2456 };
2457
2458 cpub1_leakage: cpu-leakage@18 {
2459 reg = <0x18 0x1>;
2460 };
2461
2462 cpul_leakage: cpu-leakage@19 {
2463 reg = <0x19 0x1>;
2464 };
2465
2466 log_leakage: log-leakage@1a {
2467 reg = <0x1a 0x1>;
2468 };
2469
2470 gpu_leakage: gpu-leakage@1b {
2471 reg = <0x1b 0x1>;
2472 };
2473
2474 otp_cpu_version: cpu-version@1c {
2475 reg = <0x1c 0x1>;
2476 bits = <3 3>;
2477 };
2478
2479 npu_leakage: npu-leakage@28 {
2480 reg = <0x28 0x1>;
2481 };
2482
2483 codec_leakage: codec-leakage@29 {
2484 reg = <0x29 0x1>;
2485 };
2486 };
2487
2488 dmac2: dma-controller@fed10000 {
2489 compatible = "arm,pl330", "arm,primecell";
2490 reg = <0x0 0xfed10000 0x0 0x4000>;
2491 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH 0>,
2492 <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH 0>;
2493 arm,pl330-periph-burst;
2494 clocks = <&cru ACLK_DMAC2>;
2495 clock-names = "apb_pclk";
2496 #dma-cells = <1>;
2497 };
2498
Tom Rini6bb92fc2024-05-20 09:54:58 -06002499 hdptxphy_hdmi0: phy@fed60000 {
2500 compatible = "rockchip,rk3588-hdptx-phy";
2501 reg = <0x0 0xfed60000 0x0 0x2000>;
2502 clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>, <&cru PCLK_HDPTX0>;
2503 clock-names = "ref", "apb";
2504 #phy-cells = <0>;
2505 resets = <&cru SRST_HDPTX0>, <&cru SRST_P_HDPTX0>,
2506 <&cru SRST_HDPTX0_INIT>, <&cru SRST_HDPTX0_CMN>,
2507 <&cru SRST_HDPTX0_LANE>, <&cru SRST_HDPTX0_ROPLL>,
2508 <&cru SRST_HDPTX0_LCPLL>;
2509 reset-names = "phy", "apb", "init", "cmn", "lane", "ropll",
2510 "lcpll";
2511 rockchip,grf = <&hdptxphy0_grf>;
2512 status = "disabled";
2513 };
2514
Sebastian Reichel00c0bfb2024-05-29 01:04:01 +08002515 usbdp_phy0: phy@fed80000 {
2516 compatible = "rockchip,rk3588-usbdp-phy";
2517 reg = <0x0 0xfed80000 0x0 0x10000>;
2518 #phy-cells = <1>;
2519 clocks = <&cru CLK_USBDPPHY_MIPIDCPPHY_REF>,
2520 <&cru CLK_USBDP_PHY0_IMMORTAL>,
2521 <&cru PCLK_USBDPPHY0>,
2522 <&u2phy0>;
2523 clock-names = "refclk", "immortal", "pclk", "utmi";
2524 resets = <&cru SRST_USBDP_COMBO_PHY0_INIT>,
2525 <&cru SRST_USBDP_COMBO_PHY0_CMN>,
2526 <&cru SRST_USBDP_COMBO_PHY0_LANE>,
2527 <&cru SRST_USBDP_COMBO_PHY0_PCS>,
2528 <&cru SRST_P_USBDPPHY0>;
2529 reset-names = "init", "cmn", "lane", "pcs_apb", "pma_apb";
2530 rockchip,u2phy-grf = <&usb2phy0_grf>;
2531 rockchip,usb-grf = <&usb_grf>;
2532 rockchip,usbdpphy-grf = <&usbdpphy0_grf>;
2533 rockchip,vo-grf = <&vo0_grf>;
2534 status = "disabled";
2535 };
2536
Tom Rini53633a82024-02-29 12:33:36 -05002537 combphy0_ps: phy@fee00000 {
2538 compatible = "rockchip,rk3588-naneng-combphy";
2539 reg = <0x0 0xfee00000 0x0 0x100>;
2540 clocks = <&cru CLK_REF_PIPE_PHY0>, <&cru PCLK_PCIE_COMBO_PIPE_PHY0>,
2541 <&cru PCLK_PHP_ROOT>;
2542 clock-names = "ref", "apb", "pipe";
2543 assigned-clocks = <&cru CLK_REF_PIPE_PHY0>;
2544 assigned-clock-rates = <100000000>;
2545 #phy-cells = <1>;
2546 resets = <&cru SRST_REF_PIPE_PHY0>, <&cru SRST_P_PCIE2_PHY0>;
2547 reset-names = "phy", "apb";
2548 rockchip,pipe-grf = <&php_grf>;
2549 rockchip,pipe-phy-grf = <&pipe_phy0_grf>;
2550 status = "disabled";
2551 };
2552
2553 combphy2_psu: phy@fee20000 {
2554 compatible = "rockchip,rk3588-naneng-combphy";
2555 reg = <0x0 0xfee20000 0x0 0x100>;
2556 clocks = <&cru CLK_REF_PIPE_PHY2>, <&cru PCLK_PCIE_COMBO_PIPE_PHY2>,
2557 <&cru PCLK_PHP_ROOT>;
2558 clock-names = "ref", "apb", "pipe";
2559 assigned-clocks = <&cru CLK_REF_PIPE_PHY2>;
2560 assigned-clock-rates = <100000000>;
2561 #phy-cells = <1>;
2562 resets = <&cru SRST_REF_PIPE_PHY2>, <&cru SRST_P_PCIE2_PHY2>;
2563 reset-names = "phy", "apb";
2564 rockchip,pipe-grf = <&php_grf>;
2565 rockchip,pipe-phy-grf = <&pipe_phy2_grf>;
2566 status = "disabled";
2567 };
2568
2569 system_sram2: sram@ff001000 {
2570 compatible = "mmio-sram";
2571 reg = <0x0 0xff001000 0x0 0xef000>;
2572 ranges = <0x0 0x0 0xff001000 0xef000>;
2573 #address-cells = <1>;
2574 #size-cells = <1>;
2575 };
2576
2577 pinctrl: pinctrl {
2578 compatible = "rockchip,rk3588-pinctrl";
2579 ranges;
2580 rockchip,grf = <&ioc>;
2581 #address-cells = <2>;
2582 #size-cells = <2>;
2583
2584 gpio0: gpio@fd8a0000 {
2585 compatible = "rockchip,gpio-bank";
2586 reg = <0x0 0xfd8a0000 0x0 0x100>;
2587 interrupts = <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH 0>;
2588 clocks = <&cru PCLK_GPIO0>, <&cru DBCLK_GPIO0>;
2589 gpio-controller;
2590 gpio-ranges = <&pinctrl 0 0 32>;
2591 interrupt-controller;
2592 #gpio-cells = <2>;
2593 #interrupt-cells = <2>;
2594 };
2595
2596 gpio1: gpio@fec20000 {
2597 compatible = "rockchip,gpio-bank";
2598 reg = <0x0 0xfec20000 0x0 0x100>;
2599 interrupts = <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH 0>;
2600 clocks = <&cru PCLK_GPIO1>, <&cru DBCLK_GPIO1>;
2601 gpio-controller;
2602 gpio-ranges = <&pinctrl 0 32 32>;
2603 interrupt-controller;
2604 #gpio-cells = <2>;
2605 #interrupt-cells = <2>;
2606 };
2607
2608 gpio2: gpio@fec30000 {
2609 compatible = "rockchip,gpio-bank";
2610 reg = <0x0 0xfec30000 0x0 0x100>;
2611 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH 0>;
2612 clocks = <&cru PCLK_GPIO2>, <&cru DBCLK_GPIO2>;
2613 gpio-controller;
2614 gpio-ranges = <&pinctrl 0 64 32>;
2615 interrupt-controller;
2616 #gpio-cells = <2>;
2617 #interrupt-cells = <2>;
2618 };
2619
2620 gpio3: gpio@fec40000 {
2621 compatible = "rockchip,gpio-bank";
2622 reg = <0x0 0xfec40000 0x0 0x100>;
2623 interrupts = <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH 0>;
2624 clocks = <&cru PCLK_GPIO3>, <&cru DBCLK_GPIO3>;
2625 gpio-controller;
2626 gpio-ranges = <&pinctrl 0 96 32>;
2627 interrupt-controller;
2628 #gpio-cells = <2>;
2629 #interrupt-cells = <2>;
2630 };
2631
2632 gpio4: gpio@fec50000 {
2633 compatible = "rockchip,gpio-bank";
2634 reg = <0x0 0xfec50000 0x0 0x100>;
2635 interrupts = <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH 0>;
2636 clocks = <&cru PCLK_GPIO4>, <&cru DBCLK_GPIO4>;
2637 gpio-controller;
2638 gpio-ranges = <&pinctrl 0 128 32>;
2639 interrupt-controller;
2640 #gpio-cells = <2>;
2641 #interrupt-cells = <2>;
2642 };
2643 };
Tom Rini53633a82024-02-29 12:33:36 -05002644};
2645
2646#include "rk3588s-pinctrl.dtsi"