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