1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd
6 #include <dt-bindings/clock/px30-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/power/px30-power.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
15 compatible = "rockchip,px30";
17 interrupt-parent = <&gic>;
43 compatible = "arm,cortex-a35";
45 enable-method = "psci";
46 clocks = <&cru ARMCLK>;
48 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
49 dynamic-power-coefficient = <90>;
50 operating-points-v2 = <&cpu0_opp_table>;
55 compatible = "arm,cortex-a35";
57 enable-method = "psci";
58 clocks = <&cru ARMCLK>;
60 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
61 dynamic-power-coefficient = <90>;
62 operating-points-v2 = <&cpu0_opp_table>;
67 compatible = "arm,cortex-a35";
69 enable-method = "psci";
70 clocks = <&cru ARMCLK>;
72 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
73 dynamic-power-coefficient = <90>;
74 operating-points-v2 = <&cpu0_opp_table>;
79 compatible = "arm,cortex-a35";
81 enable-method = "psci";
82 clocks = <&cru ARMCLK>;
84 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
85 dynamic-power-coefficient = <90>;
86 operating-points-v2 = <&cpu0_opp_table>;
90 entry-method = "psci";
92 CPU_SLEEP: cpu-sleep {
93 compatible = "arm,idle-state";
95 arm,psci-suspend-param = <0x0010000>;
96 entry-latency-us = <120>;
97 exit-latency-us = <250>;
98 min-residency-us = <900>;
101 CLUSTER_SLEEP: cluster-sleep {
102 compatible = "arm,idle-state";
104 arm,psci-suspend-param = <0x1010000>;
105 entry-latency-us = <400>;
106 exit-latency-us = <500>;
107 min-residency-us = <2000>;
112 cpu0_opp_table: cpu0-opp-table {
113 compatible = "operating-points-v2";
117 opp-hz = /bits/ 64 <408000000>;
118 opp-microvolt = <950000 950000 1350000>;
119 clock-latency-ns = <40000>;
123 opp-hz = /bits/ 64 <600000000>;
124 opp-microvolt = <950000 950000 1350000>;
125 clock-latency-ns = <40000>;
128 opp-hz = /bits/ 64 <816000000>;
129 opp-microvolt = <1050000 1050000 1350000>;
130 clock-latency-ns = <40000>;
133 opp-hz = /bits/ 64 <1008000000>;
134 opp-microvolt = <1175000 1175000 1350000>;
135 clock-latency-ns = <40000>;
138 opp-hz = /bits/ 64 <1200000000>;
139 opp-microvolt = <1300000 1300000 1350000>;
140 clock-latency-ns = <40000>;
143 opp-hz = /bits/ 64 <1296000000>;
144 opp-microvolt = <1350000 1350000 1350000>;
145 clock-latency-ns = <40000>;
150 compatible = "arm,cortex-a53-pmu";
151 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
152 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
153 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
154 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
155 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
159 compatible = "rockchip,px30-dmc", "syscon";
160 reg = <0x0 0xff2a0000 0x0 0x1000>;
163 display_subsystem: display-subsystem {
164 compatible = "rockchip,display-subsystem";
165 ports = <&vopb_out>, <&vopl_out>;
169 gmac_clkin: external-gmac-clock {
170 compatible = "fixed-clock";
171 clock-frequency = <50000000>;
172 clock-output-names = "gmac_clkin";
177 compatible = "arm,psci-1.0";
182 compatible = "arm,armv8-timer";
183 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
184 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
185 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
186 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
190 compatible = "fixed-clock";
192 clock-frequency = <24000000>;
193 clock-output-names = "xin24m";
196 pmu: power-management@ff000000 {
197 compatible = "rockchip,px30-pmu", "syscon", "simple-mfd";
198 reg = <0x0 0xff000000 0x0 0x1000>;
200 power: power-controller {
201 compatible = "rockchip,px30-power-controller";
202 #power-domain-cells = <1>;
203 #address-cells = <1>;
206 /* These power domains are grouped by VD_LOGIC */
209 clocks = <&cru HCLK_HOST>,
212 pm_qos = <&qos_usb_host>, <&qos_usb_otg>;
214 pd_sdcard@PX30_PD_SDCARD {
215 reg = <PX30_PD_SDCARD>;
216 clocks = <&cru HCLK_SDMMC>,
218 pm_qos = <&qos_sdmmc>;
220 pd_gmac@PX30_PD_GMAC {
221 reg = <PX30_PD_GMAC>;
222 clocks = <&cru ACLK_GMAC>,
225 <&cru SCLK_GMAC_RX_TX>;
226 pm_qos = <&qos_gmac>;
228 pd_mmc_nand@PX30_PD_MMC_NAND {
229 reg = <PX30_PD_MMC_NAND>;
230 clocks = <&cru HCLK_NANDC>,
238 pm_qos = <&qos_emmc>, <&qos_nand>,
239 <&qos_sdio>, <&qos_sfc>;
243 clocks = <&cru ACLK_VPU>,
245 <&cru SCLK_CORE_VPU>;
246 pm_qos = <&qos_vpu>, <&qos_vpu_r128>;
250 clocks = <&cru ACLK_RGA>,
258 <&cru PCLK_MIPI_DSI>,
259 <&cru SCLK_RGA_CORE>,
260 <&cru SCLK_VOPB_PWM>;
261 pm_qos = <&qos_rga_rd>, <&qos_rga_wr>,
262 <&qos_vop_m0>, <&qos_vop_m1>;
266 clocks = <&cru ACLK_CIF>,
271 pm_qos = <&qos_isp_128>, <&qos_isp_rd>,
272 <&qos_isp_wr>, <&qos_isp_m1>,
277 clocks = <&cru SCLK_GPU>;
283 pmugrf: syscon@ff010000 {
284 compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd";
285 reg = <0x0 0xff010000 0x0 0x1000>;
286 #address-cells = <1>;
289 pmu_io_domains: io-domains {
290 compatible = "rockchip,px30-pmu-io-voltage-domain";
295 compatible = "syscon-reboot-mode";
297 mode-bootloader = <BOOT_BL_DOWNLOAD>;
298 mode-fastboot = <BOOT_FASTBOOT>;
299 mode-loader = <BOOT_BL_DOWNLOAD>;
300 mode-normal = <BOOT_NORMAL>;
301 mode-recovery = <BOOT_RECOVERY>;
305 uart0: serial@ff030000 {
306 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
307 reg = <0x0 0xff030000 0x0 0x100>;
308 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&pmucru SCLK_UART0_PMU>, <&pmucru PCLK_UART0_PMU>;
310 clock-names = "baudclk", "apb_pclk";
311 dmas = <&dmac 0>, <&dmac 1>;
312 dma-names = "tx", "rx";
315 pinctrl-names = "default";
316 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
320 i2s1_2ch: i2s@ff070000 {
321 compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
322 reg = <0x0 0xff070000 0x0 0x1000>;
323 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
324 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1>;
325 clock-names = "i2s_clk", "i2s_hclk";
326 dmas = <&dmac 18>, <&dmac 19>;
327 dma-names = "tx", "rx";
328 pinctrl-names = "default";
329 pinctrl-0 = <&i2s1_2ch_sclk &i2s1_2ch_lrck
330 &i2s1_2ch_sdi &i2s1_2ch_sdo>;
331 #sound-dai-cells = <0>;
335 i2s2_2ch: i2s@ff080000 {
336 compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
337 reg = <0x0 0xff080000 0x0 0x1000>;
338 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
339 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2>;
340 clock-names = "i2s_clk", "i2s_hclk";
341 dmas = <&dmac 20>, <&dmac 21>;
342 dma-names = "tx", "rx";
343 pinctrl-names = "default";
344 pinctrl-0 = <&i2s2_2ch_sclk &i2s2_2ch_lrck
345 &i2s2_2ch_sdi &i2s2_2ch_sdo>;
346 #sound-dai-cells = <0>;
350 gic: interrupt-controller@ff131000 {
351 compatible = "arm,gic-400";
352 #interrupt-cells = <3>;
353 #address-cells = <0>;
354 interrupt-controller;
355 reg = <0x0 0xff131000 0 0x1000>,
356 <0x0 0xff132000 0 0x2000>,
357 <0x0 0xff134000 0 0x2000>,
358 <0x0 0xff136000 0 0x2000>;
359 interrupts = <GIC_PPI 9
360 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
363 grf: syscon@ff140000 {
364 compatible = "rockchip,px30-grf", "syscon", "simple-mfd";
365 reg = <0x0 0xff140000 0x0 0x1000>;
366 #address-cells = <1>;
369 io_domains: io-domains {
370 compatible = "rockchip,px30-io-voltage-domain";
375 uart1: serial@ff158000 {
376 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
377 reg = <0x0 0xff158000 0x0 0x100>;
378 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
379 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
380 clock-names = "baudclk", "apb_pclk";
381 dmas = <&dmac 2>, <&dmac 3>;
382 dma-names = "tx", "rx";
385 pinctrl-names = "default";
386 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
390 uart2: serial@ff160000 {
391 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
392 reg = <0x0 0xff160000 0x0 0x100>;
393 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
394 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
395 clock-names = "baudclk", "apb_pclk";
396 dmas = <&dmac 4>, <&dmac 5>;
397 dma-names = "tx", "rx";
400 pinctrl-names = "default";
401 pinctrl-0 = <&uart2m0_xfer>;
405 uart3: serial@ff168000 {
406 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
407 reg = <0x0 0xff168000 0x0 0x100>;
408 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
409 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
410 clock-names = "baudclk", "apb_pclk";
411 dmas = <&dmac 6>, <&dmac 7>;
412 dma-names = "tx", "rx";
415 pinctrl-names = "default";
416 pinctrl-0 = <&uart3m1_xfer &uart3m1_cts &uart3m1_rts>;
420 uart4: serial@ff170000 {
421 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
422 reg = <0x0 0xff170000 0x0 0x100>;
423 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
424 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
425 clock-names = "baudclk", "apb_pclk";
426 dmas = <&dmac 8>, <&dmac 9>;
427 dma-names = "tx", "rx";
430 pinctrl-names = "default";
431 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
435 uart5: serial@ff178000 {
436 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
437 reg = <0x0 0xff178000 0x0 0x100>;
438 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
439 clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
440 clock-names = "baudclk", "apb_pclk";
441 dmas = <&dmac 10>, <&dmac 11>;
442 dma-names = "tx", "rx";
445 pinctrl-names = "default";
446 pinctrl-0 = <&uart5_xfer &uart5_cts &uart5_rts>;
451 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
452 reg = <0x0 0xff180000 0x0 0x1000>;
453 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
454 clock-names = "i2c", "pclk";
455 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
456 pinctrl-names = "default";
457 pinctrl-0 = <&i2c0_xfer>;
458 #address-cells = <1>;
464 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
465 reg = <0x0 0xff190000 0x0 0x1000>;
466 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
467 clock-names = "i2c", "pclk";
468 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
469 pinctrl-names = "default";
470 pinctrl-0 = <&i2c1_xfer>;
471 #address-cells = <1>;
477 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
478 reg = <0x0 0xff1a0000 0x0 0x1000>;
479 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
480 clock-names = "i2c", "pclk";
481 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
482 pinctrl-names = "default";
483 pinctrl-0 = <&i2c2_xfer>;
484 #address-cells = <1>;
490 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
491 reg = <0x0 0xff1b0000 0x0 0x1000>;
492 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
493 clock-names = "i2c", "pclk";
494 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
495 pinctrl-names = "default";
496 pinctrl-0 = <&i2c3_xfer>;
497 #address-cells = <1>;
503 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
504 reg = <0x0 0xff1d0000 0x0 0x1000>;
505 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
506 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
507 clock-names = "spiclk", "apb_pclk";
508 dmas = <&dmac 12>, <&dmac 13>;
509 dma-names = "tx", "rx";
510 pinctrl-names = "default";
511 pinctrl-0 = <&spi0_clk &spi0_csn &spi0_miso &spi0_mosi>;
512 #address-cells = <1>;
518 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
519 reg = <0x0 0xff1d8000 0x0 0x1000>;
520 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
521 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
522 clock-names = "spiclk", "apb_pclk";
523 dmas = <&dmac 14>, <&dmac 15>;
524 dma-names = "tx", "rx";
525 pinctrl-names = "default";
526 pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_csn1 &spi1_miso &spi1_mosi>;
527 #address-cells = <1>;
532 wdt: watchdog@ff1e0000 {
533 compatible = "snps,dw-wdt";
534 reg = <0x0 0xff1e0000 0x0 0x100>;
535 clocks = <&cru PCLK_WDT_NS>;
536 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
541 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
542 reg = <0x0 0xff200000 0x0 0x10>;
543 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
544 clock-names = "pwm", "pclk";
545 pinctrl-names = "default";
546 pinctrl-0 = <&pwm0_pin>;
552 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
553 reg = <0x0 0xff200010 0x0 0x10>;
554 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
555 clock-names = "pwm", "pclk";
556 pinctrl-names = "default";
557 pinctrl-0 = <&pwm1_pin>;
563 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
564 reg = <0x0 0xff200020 0x0 0x10>;
565 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
566 clock-names = "pwm", "pclk";
567 pinctrl-names = "default";
568 pinctrl-0 = <&pwm2_pin>;
574 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
575 reg = <0x0 0xff200030 0x0 0x10>;
576 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
577 clock-names = "pwm", "pclk";
578 pinctrl-names = "default";
579 pinctrl-0 = <&pwm3_pin>;
585 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
586 reg = <0x0 0xff208000 0x0 0x10>;
587 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
588 clock-names = "pwm", "pclk";
589 pinctrl-names = "default";
590 pinctrl-0 = <&pwm4_pin>;
596 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
597 reg = <0x0 0xff208010 0x0 0x10>;
598 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
599 clock-names = "pwm", "pclk";
600 pinctrl-names = "default";
601 pinctrl-0 = <&pwm5_pin>;
607 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
608 reg = <0x0 0xff208020 0x0 0x10>;
609 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
610 clock-names = "pwm", "pclk";
611 pinctrl-names = "default";
612 pinctrl-0 = <&pwm6_pin>;
618 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
619 reg = <0x0 0xff208030 0x0 0x10>;
620 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
621 clock-names = "pwm", "pclk";
622 pinctrl-names = "default";
623 pinctrl-0 = <&pwm7_pin>;
628 rktimer: timer@ff210000 {
629 compatible = "rockchip,px30-timer", "rockchip,rk3288-timer";
630 reg = <0x0 0xff210000 0x0 0x1000>;
631 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
632 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
633 clock-names = "pclk", "timer";
637 compatible = "simple-bus";
638 #address-cells = <2>;
642 dmac: dmac@ff240000 {
643 compatible = "arm,pl330", "arm,primecell";
644 reg = <0x0 0xff240000 0x0 0x4000>;
645 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
646 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
647 clocks = <&cru ACLK_DMAC>;
648 clock-names = "apb_pclk";
653 saradc: saradc@ff288000 {
654 compatible = "rockchip,px30-saradc", "rockchip,rk3399-saradc";
655 reg = <0x0 0xff288000 0x0 0x100>;
656 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
657 #io-channel-cells = <1>;
658 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
659 clock-names = "saradc", "apb_pclk";
660 resets = <&cru SRST_SARADC_P>;
661 reset-names = "saradc-apb";
665 otp: nvmem@ff290000 {
666 compatible = "rockchip,px30-otp";
667 reg = <0x0 0xff290000 0x0 0x4000>;
668 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
670 clock-names = "otp", "apb_pclk", "phy";
671 resets = <&cru SRST_OTP_PHY>;
673 #address-cells = <1>;
680 cpu_leakage: cpu-leakage@17 {
683 performance: performance@1e {
689 cru: clock-controller@ff2b0000 {
690 compatible = "rockchip,px30-cru";
691 reg = <0x0 0xff2b0000 0x0 0x1000>;
692 clocks = <&xin24m>, <&pmucru PLL_GPLL>;
693 clock-names = "xin24m", "gpll";
694 rockchip,grf = <&grf>;
699 pmucru: clock-controller@ff2bc000 {
700 compatible = "rockchip,px30-pmucru";
701 reg = <0x0 0xff2bc000 0x0 0x1000>;
703 clock-names = "xin24m";
704 rockchip,grf = <&grf>;
709 dsi_dphy: phy@ff2e0000 {
710 compatible = "rockchip,px30-dsi-dphy";
711 reg = <0x0 0xff2e0000 0x0 0x10000>;
712 clocks = <&pmucru SCLK_MIPIDSIPHY_REF>, <&cru PCLK_MIPIDSIPHY>;
713 clock-names = "ref", "pclk";
715 resets = <&cru SRST_MIPIDSIPHY_P>;
718 power-domains = <&power PX30_PD_VO>;
722 usb20_otg: usb@ff300000 {
723 compatible = "rockchip,px30-usb", "rockchip,rk3066-usb",
725 reg = <0x0 0xff300000 0x0 0x40000>;
726 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
727 clocks = <&cru HCLK_OTG>;
730 g-np-tx-fifo-size = <16>;
731 g-rx-fifo-size = <280>;
732 g-tx-fifo-size = <256 128 128 64 32 16>;
734 power-domains = <&power PX30_PD_USB>;
738 usb_host0_ehci: usb@ff340000 {
739 compatible = "generic-ehci";
740 reg = <0x0 0xff340000 0x0 0x10000>;
741 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
742 clocks = <&cru HCLK_HOST>;
743 clock-names = "usbhost";
744 power-domains = <&power PX30_PD_USB>;
748 usb_host0_ohci: usb@ff350000 {
749 compatible = "generic-ohci";
750 reg = <0x0 0xff350000 0x0 0x10000>;
751 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
752 clocks = <&cru HCLK_HOST>;
753 clock-names = "usbhost";
754 power-domains = <&power PX30_PD_USB>;
758 gmac: ethernet@ff360000 {
759 compatible = "rockchip,px30-gmac";
760 reg = <0x0 0xff360000 0x0 0x10000>;
761 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
762 interrupt-names = "macirq";
763 clocks = <&cru SCLK_GMAC>, <&cru SCLK_GMAC_RX_TX>,
764 <&cru SCLK_GMAC_RX_TX>, <&cru SCLK_MAC_REF>,
765 <&cru SCLK_MAC_REFOUT>, <&cru ACLK_GMAC>,
766 <&cru PCLK_GMAC>, <&cru SCLK_GMAC_RMII>;
767 clock-names = "stmmaceth", "mac_clk_rx",
768 "mac_clk_tx", "clk_mac_ref",
769 "clk_mac_refout", "aclk_mac",
770 "pclk_mac", "clk_mac_speed";
771 rockchip,grf = <&grf>;
773 pinctrl-names = "default";
774 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
775 power-domains = <&power PX30_PD_GMAC>;
776 resets = <&cru SRST_GMAC_A>;
777 reset-names = "stmmaceth";
781 sdmmc: dwmmc@ff370000 {
782 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
783 reg = <0x0 0xff370000 0x0 0x4000>;
784 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
785 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
786 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
787 clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
788 fifo-depth = <0x100>;
789 max-frequency = <150000000>;
790 pinctrl-names = "default";
791 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
792 power-domains = <&power PX30_PD_SDCARD>;
796 sdio: dwmmc@ff380000 {
797 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
798 reg = <0x0 0xff380000 0x0 0x4000>;
799 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
800 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
801 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
802 clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
803 fifo-depth = <0x100>;
804 max-frequency = <150000000>;
805 pinctrl-names = "default";
806 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
807 power-domains = <&power PX30_PD_MMC_NAND>;
811 emmc: dwmmc@ff390000 {
812 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
813 reg = <0x0 0xff390000 0x0 0x4000>;
814 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
815 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
816 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
817 clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
818 fifo-depth = <0x100>;
819 max-frequency = <150000000>;
820 pinctrl-names = "default";
821 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
822 power-domains = <&power PX30_PD_MMC_NAND>;
827 compatible = "rockchip,px30-mipi-dsi";
828 reg = <0x0 0xff450000 0x0 0x10000>;
829 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
830 clocks = <&cru PCLK_MIPI_DSI>, <&dsi_dphy>;
831 clock-names = "pclk", "pll";
832 resets = <&cru SRST_MIPIDSI_HOST_P>;
836 power-domains = <&power PX30_PD_VO>;
837 rockchip,grf = <&grf>;
838 #address-cells = <1>;
843 #address-cells = <1>;
848 #address-cells = <1>;
851 dsi_in_vopb: endpoint@0 {
853 remote-endpoint = <&vopb_out_dsi>;
856 dsi_in_vopl: endpoint@1 {
858 remote-endpoint = <&vopl_out_dsi>;
865 compatible = "rockchip,px30-vop-big";
866 reg = <0x0 0xff460000 0x0 0xefc>;
867 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
868 clocks = <&cru ACLK_VOPB>, <&cru DCLK_VOPB>,
870 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
871 resets = <&cru SRST_VOPB_A>, <&cru SRST_VOPB_H>, <&cru SRST_VOPB>;
872 reset-names = "axi", "ahb", "dclk";
873 iommus = <&vopb_mmu>;
874 power-domains = <&power PX30_PD_VO>;
875 rockchip,grf = <&grf>;
879 #address-cells = <1>;
882 vopb_out_dsi: endpoint@0 {
884 remote-endpoint = <&dsi_in_vopb>;
889 vopb_mmu: iommu@ff460f00 {
890 compatible = "rockchip,iommu";
891 reg = <0x0 0xff460f00 0x0 0x100>;
892 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
893 interrupt-names = "vopb_mmu";
894 clocks = <&cru ACLK_VOPB>, <&cru HCLK_VOPB>;
895 clock-names = "aclk", "iface";
896 power-domains = <&power PX30_PD_VO>;
902 compatible = "rockchip,px30-vop-lit";
903 reg = <0x0 0xff470000 0x0 0xefc>;
904 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
905 clocks = <&cru ACLK_VOPL>, <&cru DCLK_VOPL>,
907 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
908 resets = <&cru SRST_VOPL_A>, <&cru SRST_VOPL_H>, <&cru SRST_VOPL>;
909 reset-names = "axi", "ahb", "dclk";
910 iommus = <&vopl_mmu>;
911 power-domains = <&power PX30_PD_VO>;
912 rockchip,grf = <&grf>;
916 #address-cells = <1>;
919 vopl_out_dsi: endpoint@0 {
921 remote-endpoint = <&dsi_in_vopl>;
926 vopl_mmu: iommu@ff470f00 {
927 compatible = "rockchip,iommu";
928 reg = <0x0 0xff470f00 0x0 0x100>;
929 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
930 interrupt-names = "vopl_mmu";
931 clocks = <&cru ACLK_VOPL>, <&cru HCLK_VOPL>;
932 clock-names = "aclk", "iface";
933 power-domains = <&power PX30_PD_VO>;
938 qos_gmac: qos@ff518000 {
939 compatible = "syscon";
940 reg = <0x0 0xff518000 0x0 0x20>;
943 qos_gpu: qos@ff520000 {
944 compatible = "syscon";
945 reg = <0x0 0xff520000 0x0 0x20>;
948 qos_sdmmc: qos@ff52c000 {
949 compatible = "syscon";
950 reg = <0x0 0xff52c000 0x0 0x20>;
953 qos_emmc: qos@ff538000 {
954 compatible = "syscon";
955 reg = <0x0 0xff538000 0x0 0x20>;
958 qos_nand: qos@ff538080 {
959 compatible = "syscon";
960 reg = <0x0 0xff538080 0x0 0x20>;
963 qos_sdio: qos@ff538100 {
964 compatible = "syscon";
965 reg = <0x0 0xff538100 0x0 0x20>;
968 qos_sfc: qos@ff538180 {
969 compatible = "syscon";
970 reg = <0x0 0xff538180 0x0 0x20>;
973 qos_usb_host: qos@ff540000 {
974 compatible = "syscon";
975 reg = <0x0 0xff540000 0x0 0x20>;
978 qos_usb_otg: qos@ff540080 {
979 compatible = "syscon";
980 reg = <0x0 0xff540080 0x0 0x20>;
983 qos_isp_128: qos@ff548000 {
984 compatible = "syscon";
985 reg = <0x0 0xff548000 0x0 0x20>;
988 qos_isp_rd: qos@ff548080 {
989 compatible = "syscon";
990 reg = <0x0 0xff548080 0x0 0x20>;
993 qos_isp_wr: qos@ff548100 {
994 compatible = "syscon";
995 reg = <0x0 0xff548100 0x0 0x20>;
998 qos_isp_m1: qos@ff548180 {
999 compatible = "syscon";
1000 reg = <0x0 0xff548180 0x0 0x20>;
1003 qos_vip: qos@ff548200 {
1004 compatible = "syscon";
1005 reg = <0x0 0xff548200 0x0 0x20>;
1008 qos_rga_rd: qos@ff550000 {
1009 compatible = "syscon";
1010 reg = <0x0 0xff550000 0x0 0x20>;
1013 qos_rga_wr: qos@ff550080 {
1014 compatible = "syscon";
1015 reg = <0x0 0xff550080 0x0 0x20>;
1018 qos_vop_m0: qos@ff550100 {
1019 compatible = "syscon";
1020 reg = <0x0 0xff550100 0x0 0x20>;
1023 qos_vop_m1: qos@ff550180 {
1024 compatible = "syscon";
1025 reg = <0x0 0xff550180 0x0 0x20>;
1028 qos_vpu: qos@ff558000 {
1029 compatible = "syscon";
1030 reg = <0x0 0xff558000 0x0 0x20>;
1033 qos_vpu_r128: qos@ff558080 {
1034 compatible = "syscon";
1035 reg = <0x0 0xff558080 0x0 0x20>;
1039 compatible = "rockchip,px30-pinctrl";
1040 rockchip,grf = <&grf>;
1041 rockchip,pmu = <&pmugrf>;
1042 #address-cells = <2>;
1046 gpio0: gpio0@ff040000 {
1047 compatible = "rockchip,gpio-bank";
1048 reg = <0x0 0xff040000 0x0 0x100>;
1049 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
1050 clocks = <&pmucru PCLK_GPIO0_PMU>;
1054 interrupt-controller;
1055 #interrupt-cells = <2>;
1058 gpio1: gpio1@ff250000 {
1059 compatible = "rockchip,gpio-bank";
1060 reg = <0x0 0xff250000 0x0 0x100>;
1061 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1062 clocks = <&cru PCLK_GPIO1>;
1066 interrupt-controller;
1067 #interrupt-cells = <2>;
1070 gpio2: gpio2@ff260000 {
1071 compatible = "rockchip,gpio-bank";
1072 reg = <0x0 0xff260000 0x0 0x100>;
1073 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1074 clocks = <&cru PCLK_GPIO2>;
1078 interrupt-controller;
1079 #interrupt-cells = <2>;
1082 gpio3: gpio3@ff270000 {
1083 compatible = "rockchip,gpio-bank";
1084 reg = <0x0 0xff270000 0x0 0x100>;
1085 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1086 clocks = <&cru PCLK_GPIO3>;
1090 interrupt-controller;
1091 #interrupt-cells = <2>;
1094 pcfg_pull_up: pcfg-pull-up {
1098 pcfg_pull_down: pcfg-pull-down {
1102 pcfg_pull_none: pcfg-pull-none {
1106 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
1108 drive-strength = <2>;
1111 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1113 drive-strength = <2>;
1116 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1118 drive-strength = <4>;
1121 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
1123 drive-strength = <4>;
1126 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
1128 drive-strength = <4>;
1131 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
1133 drive-strength = <8>;
1136 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1138 drive-strength = <8>;
1141 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1143 drive-strength = <12>;
1146 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1148 drive-strength = <12>;
1151 pcfg_pull_none_smt: pcfg-pull-none-smt {
1153 input-schmitt-enable;
1156 pcfg_output_high: pcfg-output-high {
1160 pcfg_output_low: pcfg-output-low {
1164 pcfg_input_high: pcfg-input-high {
1169 pcfg_input: pcfg-input {
1174 i2c0_xfer: i2c0-xfer {
1176 <0 RK_PB0 1 &pcfg_pull_none_smt>,
1177 <0 RK_PB1 1 &pcfg_pull_none_smt>;
1182 i2c1_xfer: i2c1-xfer {
1184 <0 RK_PC2 1 &pcfg_pull_none_smt>,
1185 <0 RK_PC3 1 &pcfg_pull_none_smt>;
1190 i2c2_xfer: i2c2-xfer {
1192 <2 RK_PB7 2 &pcfg_pull_none_smt>,
1193 <2 RK_PC0 2 &pcfg_pull_none_smt>;
1198 i2c3_xfer: i2c3-xfer {
1200 <1 RK_PB4 4 &pcfg_pull_none_smt>,
1201 <1 RK_PB5 4 &pcfg_pull_none_smt>;
1206 tsadc_otp_gpio: tsadc-otp-gpio {
1208 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
1211 tsadc_otp_out: tsadc-otp-out {
1213 <0 RK_PA6 1 &pcfg_pull_none>;
1218 uart0_xfer: uart0-xfer {
1220 <0 RK_PB2 1 &pcfg_pull_up>,
1221 <0 RK_PB3 1 &pcfg_pull_up>;
1224 uart0_cts: uart0-cts {
1226 <0 RK_PB4 1 &pcfg_pull_none>;
1229 uart0_rts: uart0-rts {
1231 <0 RK_PB5 1 &pcfg_pull_none>;
1236 uart1_xfer: uart1-xfer {
1238 <1 RK_PC1 1 &pcfg_pull_up>,
1239 <1 RK_PC0 1 &pcfg_pull_up>;
1242 uart1_cts: uart1-cts {
1244 <1 RK_PC2 1 &pcfg_pull_none>;
1247 uart1_rts: uart1-rts {
1249 <1 RK_PC3 1 &pcfg_pull_none>;
1254 uart2m0_xfer: uart2m0-xfer {
1256 <1 RK_PD2 2 &pcfg_pull_up>,
1257 <1 RK_PD3 2 &pcfg_pull_up>;
1262 uart2m1_xfer: uart2m1-xfer {
1264 <2 RK_PB4 2 &pcfg_pull_up>,
1265 <2 RK_PB6 2 &pcfg_pull_up>;
1270 uart3m0_xfer: uart3m0-xfer {
1272 <0 RK_PC0 2 &pcfg_pull_up>,
1273 <0 RK_PC1 2 &pcfg_pull_up>;
1276 uart3m0_cts: uart3m0-cts {
1278 <0 RK_PC2 2 &pcfg_pull_none>;
1281 uart3m0_rts: uart3m0-rts {
1283 <0 RK_PC3 2 &pcfg_pull_none>;
1288 uart3m1_xfer: uart3m1-xfer {
1290 <1 RK_PB6 2 &pcfg_pull_up>,
1291 <1 RK_PB7 2 &pcfg_pull_up>;
1294 uart3m1_cts: uart3m1-cts {
1296 <1 RK_PB4 2 &pcfg_pull_none>;
1299 uart3m1_rts: uart3m1-rts {
1301 <1 RK_PB5 2 &pcfg_pull_none>;
1306 uart4_xfer: uart4-xfer {
1308 <1 RK_PD4 2 &pcfg_pull_up>,
1309 <1 RK_PD5 2 &pcfg_pull_up>;
1312 uart4_cts: uart4-cts {
1314 <1 RK_PD6 2 &pcfg_pull_none>;
1317 uart4_rts: uart4-rts {
1319 <1 RK_PD7 2 &pcfg_pull_none>;
1324 uart5_xfer: uart5-xfer {
1326 <3 RK_PA2 4 &pcfg_pull_up>,
1327 <3 RK_PA1 4 &pcfg_pull_up>;
1330 uart5_cts: uart5-cts {
1332 <3 RK_PA3 4 &pcfg_pull_none>;
1335 uart5_rts: uart5-rts {
1337 <3 RK_PA5 4 &pcfg_pull_none>;
1342 spi0_clk: spi0-clk {
1344 <1 RK_PB7 3 &pcfg_pull_up_4ma>;
1347 spi0_csn: spi0-csn {
1349 <1 RK_PB6 3 &pcfg_pull_up_4ma>;
1352 spi0_miso: spi0-miso {
1354 <1 RK_PB5 3 &pcfg_pull_up_4ma>;
1357 spi0_mosi: spi0-mosi {
1359 <1 RK_PB4 3 &pcfg_pull_up_4ma>;
1362 spi0_clk_hs: spi0-clk-hs {
1364 <1 RK_PB7 3 &pcfg_pull_up_8ma>;
1367 spi0_miso_hs: spi0-miso-hs {
1369 <1 RK_PB5 3 &pcfg_pull_up_8ma>;
1372 spi0_mosi_hs: spi0-mosi-hs {
1374 <1 RK_PB4 3 &pcfg_pull_up_8ma>;
1379 spi1_clk: spi1-clk {
1381 <3 RK_PB7 4 &pcfg_pull_up_4ma>;
1384 spi1_csn0: spi1-csn0 {
1386 <3 RK_PB1 4 &pcfg_pull_up_4ma>;
1389 spi1_csn1: spi1-csn1 {
1391 <3 RK_PB2 2 &pcfg_pull_up_4ma>;
1394 spi1_miso: spi1-miso {
1396 <3 RK_PB6 4 &pcfg_pull_up_4ma>;
1399 spi1_mosi: spi1-mosi {
1401 <3 RK_PB4 4 &pcfg_pull_up_4ma>;
1404 spi1_clk_hs: spi1-clk-hs {
1406 <3 RK_PB7 4 &pcfg_pull_up_8ma>;
1409 spi1_miso_hs: spi1-miso-hs {
1411 <3 RK_PB6 4 &pcfg_pull_up_8ma>;
1414 spi1_mosi_hs: spi1-mosi-hs {
1416 <3 RK_PB4 4 &pcfg_pull_up_8ma>;
1421 pdm_clk0m0: pdm-clk0m0 {
1423 <3 RK_PC6 2 &pcfg_pull_none>;
1426 pdm_clk0m1: pdm-clk0m1 {
1428 <2 RK_PC6 1 &pcfg_pull_none>;
1431 pdm_clk1: pdm-clk1 {
1433 <3 RK_PC7 2 &pcfg_pull_none>;
1436 pdm_sdi0m0: pdm-sdi0m0 {
1438 <3 RK_PD3 2 &pcfg_pull_none>;
1441 pdm_sdi0m1: pdm-sdi0m1 {
1443 <2 RK_PC5 2 &pcfg_pull_none>;
1446 pdm_sdi1: pdm-sdi1 {
1448 <3 RK_PD0 2 &pcfg_pull_none>;
1451 pdm_sdi2: pdm-sdi2 {
1453 <3 RK_PD1 2 &pcfg_pull_none>;
1456 pdm_sdi3: pdm-sdi3 {
1458 <3 RK_PD2 2 &pcfg_pull_none>;
1461 pdm_clk0m0_sleep: pdm-clk0m0-sleep {
1463 <3 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1466 pdm_clk0m_sleep1: pdm-clk0m1-sleep {
1468 <2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1471 pdm_clk1_sleep: pdm-clk1-sleep {
1473 <3 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
1476 pdm_sdi0m0_sleep: pdm-sdi0m0-sleep {
1478 <3 RK_PD3 RK_FUNC_GPIO &pcfg_input_high>;
1481 pdm_sdi0m1_sleep: pdm-sdi0m1-sleep {
1483 <2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>;
1486 pdm_sdi1_sleep: pdm-sdi1-sleep {
1488 <3 RK_PD0 RK_FUNC_GPIO &pcfg_input_high>;
1491 pdm_sdi2_sleep: pdm-sdi2-sleep {
1493 <3 RK_PD1 RK_FUNC_GPIO &pcfg_input_high>;
1496 pdm_sdi3_sleep: pdm-sdi3-sleep {
1498 <3 RK_PD2 RK_FUNC_GPIO &pcfg_input_high>;
1503 i2s0_8ch_mclk: i2s0-8ch-mclk {
1505 <3 RK_PC1 2 &pcfg_pull_none>;
1508 i2s0_8ch_sclktx: i2s0-8ch-sclktx {
1510 <3 RK_PC3 2 &pcfg_pull_none>;
1513 i2s0_8ch_sclkrx: i2s0-8ch-sclkrx {
1515 <3 RK_PB4 2 &pcfg_pull_none>;
1518 i2s0_8ch_lrcktx: i2s0-8ch-lrcktx {
1520 <3 RK_PC2 2 &pcfg_pull_none>;
1523 i2s0_8ch_lrckrx: i2s0-8ch-lrckrx {
1525 <3 RK_PB5 2 &pcfg_pull_none>;
1528 i2s0_8ch_sdo0: i2s0-8ch-sdo0 {
1530 <3 RK_PC4 2 &pcfg_pull_none>;
1533 i2s0_8ch_sdo1: i2s0-8ch-sdo1 {
1535 <3 RK_PC0 2 &pcfg_pull_none>;
1538 i2s0_8ch_sdo2: i2s0-8ch-sdo2 {
1540 <3 RK_PB7 2 &pcfg_pull_none>;
1543 i2s0_8ch_sdo3: i2s0-8ch-sdo3 {
1545 <3 RK_PB6 2 &pcfg_pull_none>;
1548 i2s0_8ch_sdi0: i2s0-8ch-sdi0 {
1550 <3 RK_PC5 2 &pcfg_pull_none>;
1553 i2s0_8ch_sdi1: i2s0-8ch-sdi1 {
1555 <3 RK_PB3 2 &pcfg_pull_none>;
1558 i2s0_8ch_sdi2: i2s0-8ch-sdi2 {
1560 <3 RK_PB1 2 &pcfg_pull_none>;
1563 i2s0_8ch_sdi3: i2s0-8ch-sdi3 {
1565 <3 RK_PB0 2 &pcfg_pull_none>;
1570 i2s1_2ch_mclk: i2s1-2ch-mclk {
1572 <2 RK_PC3 1 &pcfg_pull_none>;
1575 i2s1_2ch_sclk: i2s1-2ch-sclk {
1577 <2 RK_PC2 1 &pcfg_pull_none>;
1580 i2s1_2ch_lrck: i2s1-2ch-lrck {
1582 <2 RK_PC1 1 &pcfg_pull_none>;
1585 i2s1_2ch_sdi: i2s1-2ch-sdi {
1587 <2 RK_PC5 1 &pcfg_pull_none>;
1590 i2s1_2ch_sdo: i2s1-2ch-sdo {
1592 <2 RK_PC4 1 &pcfg_pull_none>;
1597 i2s2_2ch_mclk: i2s2-2ch-mclk {
1599 <3 RK_PA1 2 &pcfg_pull_none>;
1602 i2s2_2ch_sclk: i2s2-2ch-sclk {
1604 <3 RK_PA2 2 &pcfg_pull_none>;
1607 i2s2_2ch_lrck: i2s2-2ch-lrck {
1609 <3 RK_PA3 2 &pcfg_pull_none>;
1612 i2s2_2ch_sdi: i2s2-2ch-sdi {
1614 <3 RK_PA5 2 &pcfg_pull_none>;
1617 i2s2_2ch_sdo: i2s2-2ch-sdo {
1619 <3 RK_PA7 2 &pcfg_pull_none>;
1624 sdmmc_clk: sdmmc-clk {
1626 <1 RK_PD6 1 &pcfg_pull_none_8ma>;
1629 sdmmc_cmd: sdmmc-cmd {
1631 <1 RK_PD7 1 &pcfg_pull_up_8ma>;
1634 sdmmc_det: sdmmc-det {
1636 <0 RK_PA3 1 &pcfg_pull_up_8ma>;
1639 sdmmc_bus1: sdmmc-bus1 {
1641 <1 RK_PD2 1 &pcfg_pull_up_8ma>;
1644 sdmmc_bus4: sdmmc-bus4 {
1646 <1 RK_PD2 1 &pcfg_pull_up_8ma>,
1647 <1 RK_PD3 1 &pcfg_pull_up_8ma>,
1648 <1 RK_PD4 1 &pcfg_pull_up_8ma>,
1649 <1 RK_PD5 1 &pcfg_pull_up_8ma>;
1654 sdio_clk: sdio-clk {
1656 <1 RK_PC5 1 &pcfg_pull_none>;
1659 sdio_cmd: sdio-cmd {
1661 <1 RK_PC4 1 &pcfg_pull_up>;
1664 sdio_bus4: sdio-bus4 {
1666 <1 RK_PC6 1 &pcfg_pull_up>,
1667 <1 RK_PC7 1 &pcfg_pull_up>,
1668 <1 RK_PD0 1 &pcfg_pull_up>,
1669 <1 RK_PD1 1 &pcfg_pull_up>;
1674 emmc_clk: emmc-clk {
1676 <1 RK_PB1 2 &pcfg_pull_none_8ma>;
1679 emmc_cmd: emmc-cmd {
1681 <1 RK_PB2 2 &pcfg_pull_up_8ma>;
1684 emmc_rstnout: emmc-rstnout {
1686 <1 RK_PB3 2 &pcfg_pull_none>;
1689 emmc_bus1: emmc-bus1 {
1691 <1 RK_PA0 2 &pcfg_pull_up_8ma>;
1694 emmc_bus4: emmc-bus4 {
1696 <1 RK_PA0 2 &pcfg_pull_up_8ma>,
1697 <1 RK_PA1 2 &pcfg_pull_up_8ma>,
1698 <1 RK_PA2 2 &pcfg_pull_up_8ma>,
1699 <1 RK_PA3 2 &pcfg_pull_up_8ma>;
1702 emmc_bus8: emmc-bus8 {
1704 <1 RK_PA0 2 &pcfg_pull_up_8ma>,
1705 <1 RK_PA1 2 &pcfg_pull_up_8ma>,
1706 <1 RK_PA2 2 &pcfg_pull_up_8ma>,
1707 <1 RK_PA3 2 &pcfg_pull_up_8ma>,
1708 <1 RK_PA4 2 &pcfg_pull_up_8ma>,
1709 <1 RK_PA5 2 &pcfg_pull_up_8ma>,
1710 <1 RK_PA6 2 &pcfg_pull_up_8ma>,
1711 <1 RK_PA7 2 &pcfg_pull_up_8ma>;
1716 flash_cs0: flash-cs0 {
1718 <1 RK_PB0 1 &pcfg_pull_none>;
1721 flash_rdy: flash-rdy {
1723 <1 RK_PB1 1 &pcfg_pull_none>;
1726 flash_dqs: flash-dqs {
1728 <1 RK_PB2 1 &pcfg_pull_none>;
1731 flash_ale: flash-ale {
1733 <1 RK_PB3 1 &pcfg_pull_none>;
1736 flash_cle: flash-cle {
1738 <1 RK_PB4 1 &pcfg_pull_none>;
1741 flash_wrn: flash-wrn {
1743 <1 RK_PB5 1 &pcfg_pull_none>;
1746 flash_csl: flash-csl {
1748 <1 RK_PB6 1 &pcfg_pull_none>;
1751 flash_rdn: flash-rdn {
1753 <1 RK_PB7 1 &pcfg_pull_none>;
1756 flash_bus8: flash-bus8 {
1758 <1 RK_PA0 1 &pcfg_pull_up_12ma>,
1759 <1 RK_PA1 1 &pcfg_pull_up_12ma>,
1760 <1 RK_PA2 1 &pcfg_pull_up_12ma>,
1761 <1 RK_PA3 1 &pcfg_pull_up_12ma>,
1762 <1 RK_PA4 1 &pcfg_pull_up_12ma>,
1763 <1 RK_PA5 1 &pcfg_pull_up_12ma>,
1764 <1 RK_PA6 1 &pcfg_pull_up_12ma>,
1765 <1 RK_PA7 1 &pcfg_pull_up_12ma>;
1770 lcdc_rgb_dclk_pin: lcdc-rgb-dclk-pin {
1772 <3 RK_PA0 1 &pcfg_pull_none_12ma>;
1775 lcdc_rgb_m0_hsync_pin: lcdc-rgb-m0-hsync-pin {
1777 <3 RK_PA1 1 &pcfg_pull_none_12ma>;
1780 lcdc_rgb_m0_vsync_pin: lcdc-rgb-m0-vsync-pin {
1782 <3 RK_PA2 1 &pcfg_pull_none_12ma>;
1785 lcdc_rgb_m0_den_pin: lcdc-rgb-m0-den-pin {
1787 <3 RK_PA3 1 &pcfg_pull_none_12ma>;
1790 lcdc_rgb888_m0_data_pins: lcdc-rgb888-m0-data-pins {
1792 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
1793 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
1794 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
1795 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
1796 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
1797 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
1798 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
1799 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
1800 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
1801 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
1802 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
1803 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
1804 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
1805 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
1806 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
1807 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
1808 <3 RK_PC7 1 &pcfg_pull_none_8ma>, /* lcdc_d19 */
1809 <3 RK_PC6 1 &pcfg_pull_none_8ma>, /* lcdc_d18 */
1810 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
1811 <3 RK_PC4 1 &pcfg_pull_none_8ma>, /* lcdc_d16 */
1812 <3 RK_PD3 1 &pcfg_pull_none_8ma>, /* lcdc_d23 */
1813 <3 RK_PD2 1 &pcfg_pull_none_8ma>, /* lcdc_d22 */
1814 <3 RK_PD1 1 &pcfg_pull_none_8ma>, /* lcdc_d21 */
1815 <3 RK_PD0 1 &pcfg_pull_none_8ma>; /* lcdc_d20 */
1818 lcdc_rgb666_m0_data_pins: lcdc-rgb666-m0-data-pins {
1820 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
1821 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
1822 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
1823 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
1824 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
1825 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
1826 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
1827 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
1828 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
1829 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
1830 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
1831 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
1832 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
1833 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
1834 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
1835 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
1836 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
1837 <3 RK_PC4 1 &pcfg_pull_none_8ma>; /* lcdc_d16 */
1840 lcdc_rgb565_m0_data_pins: lcdc-rgb565-m0-data-pins {
1842 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
1843 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
1844 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
1845 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
1846 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
1847 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
1848 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
1849 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
1850 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
1851 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
1852 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
1853 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
1854 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
1855 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
1856 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
1857 <3 RK_PC0 1 &pcfg_pull_none_8ma>; /* lcdc_d12 */
1860 lcdc_rgb888_m1_data_pins: lcdc-rgb888-m1-data-pins {
1862 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
1863 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
1864 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
1865 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
1866 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
1867 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
1868 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
1869 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
1870 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
1871 <3 RK_PC7 1 &pcfg_pull_none_8ma>, /* lcdc_d19 */
1872 <3 RK_PC6 1 &pcfg_pull_none_8ma>, /* lcdc_d18 */
1873 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
1874 <3 RK_PC4 1 &pcfg_pull_none_8ma>, /* lcdc_d16 */
1875 <3 RK_PD3 1 &pcfg_pull_none_8ma>, /* lcdc_d23 */
1876 <3 RK_PD2 1 &pcfg_pull_none_8ma>, /* lcdc_d22 */
1877 <3 RK_PD1 1 &pcfg_pull_none_8ma>, /* lcdc_d21 */
1878 <3 RK_PD0 1 &pcfg_pull_none_8ma>; /* lcdc_d20 */
1881 lcdc_rgb666_m1_data_pins: lcdc-rgb666-m1-data-pins {
1883 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
1884 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
1885 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
1886 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
1887 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
1888 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
1889 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
1890 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
1891 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
1892 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
1893 <3 RK_PC4 1 &pcfg_pull_none_8ma>; /* lcdc_d16 */
1896 lcdc_rgb565_m1_data_pins: lcdc-rgb565-m1-data-pins {
1898 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
1899 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
1900 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
1901 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
1902 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
1903 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
1904 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
1905 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
1906 <3 RK_PC0 1 &pcfg_pull_none_8ma>; /* lcdc_d12 */
1911 pwm0_pin: pwm0-pin {
1913 <0 RK_PB7 1 &pcfg_pull_none>;
1918 pwm1_pin: pwm1-pin {
1920 <0 RK_PC0 1 &pcfg_pull_none>;
1925 pwm2_pin: pwm2-pin {
1927 <2 RK_PB5 1 &pcfg_pull_none>;
1932 pwm3_pin: pwm3-pin {
1934 <0 RK_PC1 1 &pcfg_pull_none>;
1939 pwm4_pin: pwm4-pin {
1941 <3 RK_PC2 3 &pcfg_pull_none>;
1946 pwm5_pin: pwm5-pin {
1948 <3 RK_PC3 3 &pcfg_pull_none>;
1953 pwm6_pin: pwm6-pin {
1955 <3 RK_PC4 3 &pcfg_pull_none>;
1960 pwm7_pin: pwm7-pin {
1962 <3 RK_PC5 3 &pcfg_pull_none>;
1967 rmii_pins: rmii-pins {
1969 <2 RK_PA0 2 &pcfg_pull_none_12ma>, /* mac_txen */
1970 <2 RK_PA1 2 &pcfg_pull_none_12ma>, /* mac_txd1 */
1971 <2 RK_PA2 2 &pcfg_pull_none_12ma>, /* mac_txd0 */
1972 <2 RK_PA3 2 &pcfg_pull_none>, /* mac_rxd0 */
1973 <2 RK_PA4 2 &pcfg_pull_none>, /* mac_rxd1 */
1974 <2 RK_PA5 2 &pcfg_pull_none>, /* mac_rxer */
1975 <2 RK_PA6 2 &pcfg_pull_none>, /* mac_rxdv */
1976 <2 RK_PA7 2 &pcfg_pull_none>, /* mac_mdio */
1977 <2 RK_PB1 2 &pcfg_pull_none>; /* mac_mdc */
1980 mac_refclk_12ma: mac-refclk-12ma {
1982 <2 RK_PB2 2 &pcfg_pull_none_12ma>;
1985 mac_refclk: mac-refclk {
1987 <2 RK_PB2 2 &pcfg_pull_none>;
1992 cif_clkout_m0: cif-clkout-m0 {
1994 <2 RK_PB3 1 &pcfg_pull_none>;
1997 dvp_d2d9_m0: dvp-d2d9-m0 {
1999 <2 RK_PA0 1 &pcfg_pull_none>, /* cif_data2 */
2000 <2 RK_PA1 1 &pcfg_pull_none>, /* cif_data3 */
2001 <2 RK_PA2 1 &pcfg_pull_none>, /* cif_data4 */
2002 <2 RK_PA3 1 &pcfg_pull_none>, /* cif_data5 */
2003 <2 RK_PA4 1 &pcfg_pull_none>, /* cif_data6 */
2004 <2 RK_PA5 1 &pcfg_pull_none>, /* cif_data7 */
2005 <2 RK_PA6 1 &pcfg_pull_none>, /* cif_data8 */
2006 <2 RK_PA7 1 &pcfg_pull_none>, /* cif_data9 */
2007 <2 RK_PB0 1 &pcfg_pull_none>, /* cif_sync */
2008 <2 RK_PB1 1 &pcfg_pull_none>, /* cif_href */
2009 <2 RK_PB2 1 &pcfg_pull_none>, /* cif_clkin */
2010 <2 RK_PB3 1 &pcfg_pull_none>; /* cif_clkout */
2013 dvp_d0d1_m0: dvp-d0d1-m0 {
2015 <2 RK_PB4 1 &pcfg_pull_none>, /* cif_data0 */
2016 <2 RK_PB6 1 &pcfg_pull_none>; /* cif_data1 */
2019 dvp_d10d11_m0:d10-d11-m0 {
2021 <2 RK_PB7 1 &pcfg_pull_none>, /* cif_data10 */
2022 <2 RK_PC0 1 &pcfg_pull_none>; /* cif_data11 */
2027 cif_clkout_m1: cif-clkout-m1 {
2029 <3 RK_PD0 3 &pcfg_pull_none>;
2032 dvp_d2d9_m1: dvp-d2d9-m1 {
2034 <3 RK_PA3 3 &pcfg_pull_none>, /* cif_data2 */
2035 <3 RK_PA5 3 &pcfg_pull_none>, /* cif_data3 */
2036 <3 RK_PA7 3 &pcfg_pull_none>, /* cif_data4 */
2037 <3 RK_PB0 3 &pcfg_pull_none>, /* cif_data5 */
2038 <3 RK_PB1 3 &pcfg_pull_none>, /* cif_data6 */
2039 <3 RK_PB4 3 &pcfg_pull_none>, /* cif_data7 */
2040 <3 RK_PB6 3 &pcfg_pull_none>, /* cif_data8 */
2041 <3 RK_PB7 3 &pcfg_pull_none>, /* cif_data9 */
2042 <3 RK_PD1 3 &pcfg_pull_none>, /* cif_sync */
2043 <3 RK_PD2 3 &pcfg_pull_none>, /* cif_href */
2044 <3 RK_PD3 3 &pcfg_pull_none>, /* cif_clkin */
2045 <3 RK_PD0 3 &pcfg_pull_none>; /* cif_clkout */
2048 dvp_d0d1_m1: dvp-d0d1-m1 {
2050 <3 RK_PA1 3 &pcfg_pull_none>, /* cif_data0 */
2051 <3 RK_PA2 3 &pcfg_pull_none>; /* cif_data1 */
2054 dvp_d10d11_m1:d10-d11-m1 {
2056 <3 RK_PC6 3 &pcfg_pull_none>, /* cif_data10 */
2057 <3 RK_PC7 3 &pcfg_pull_none>; /* cif_data11 */
2062 isp_prelight: isp-prelight {
2064 <3 RK_PD1 4 &pcfg_pull_none>;