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>
13 #include <dt-bindings/thermal/thermal.h>
16 compatible = "rockchip,px30";
18 interrupt-parent = <&gic>;
44 compatible = "arm,cortex-a35";
46 enable-method = "psci";
47 clocks = <&cru ARMCLK>;
49 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
50 dynamic-power-coefficient = <90>;
51 operating-points-v2 = <&cpu0_opp_table>;
56 compatible = "arm,cortex-a35";
58 enable-method = "psci";
59 clocks = <&cru ARMCLK>;
61 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
62 dynamic-power-coefficient = <90>;
63 operating-points-v2 = <&cpu0_opp_table>;
68 compatible = "arm,cortex-a35";
70 enable-method = "psci";
71 clocks = <&cru ARMCLK>;
73 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
74 dynamic-power-coefficient = <90>;
75 operating-points-v2 = <&cpu0_opp_table>;
80 compatible = "arm,cortex-a35";
82 enable-method = "psci";
83 clocks = <&cru ARMCLK>;
85 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
86 dynamic-power-coefficient = <90>;
87 operating-points-v2 = <&cpu0_opp_table>;
91 entry-method = "psci";
93 CPU_SLEEP: cpu-sleep {
94 compatible = "arm,idle-state";
96 arm,psci-suspend-param = <0x0010000>;
97 entry-latency-us = <120>;
98 exit-latency-us = <250>;
99 min-residency-us = <900>;
102 CLUSTER_SLEEP: cluster-sleep {
103 compatible = "arm,idle-state";
105 arm,psci-suspend-param = <0x1010000>;
106 entry-latency-us = <400>;
107 exit-latency-us = <500>;
108 min-residency-us = <2000>;
113 cpu0_opp_table: opp-table-0 {
114 compatible = "operating-points-v2";
118 opp-hz = /bits/ 64 <600000000>;
119 opp-microvolt = <950000 950000 1350000>;
120 clock-latency-ns = <40000>;
124 opp-hz = /bits/ 64 <816000000>;
125 opp-microvolt = <1050000 1050000 1350000>;
126 clock-latency-ns = <40000>;
129 opp-hz = /bits/ 64 <1008000000>;
130 opp-microvolt = <1175000 1175000 1350000>;
131 clock-latency-ns = <40000>;
134 opp-hz = /bits/ 64 <1200000000>;
135 opp-microvolt = <1300000 1300000 1350000>;
136 clock-latency-ns = <40000>;
139 opp-hz = /bits/ 64 <1296000000>;
140 opp-microvolt = <1350000 1350000 1350000>;
141 clock-latency-ns = <40000>;
146 compatible = "arm,cortex-a35-pmu";
147 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
150 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
151 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
154 display_subsystem: display-subsystem {
155 compatible = "rockchip,display-subsystem";
156 ports = <&vopb_out>, <&vopl_out>;
160 gmac_clkin: external-gmac-clock {
161 compatible = "fixed-clock";
162 clock-frequency = <50000000>;
163 clock-output-names = "gmac_clkin";
168 compatible = "arm,psci-1.0";
173 compatible = "arm,armv8-timer";
174 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
175 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
176 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
177 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
180 thermal_zones: thermal-zones {
181 soc_thermal: soc-thermal {
182 polling-delay-passive = <20>;
183 polling-delay = <1000>;
184 sustainable-power = <750>;
185 thermal-sensors = <&tsadc 0>;
188 threshold: trip-point-0 {
189 temperature = <70000>;
194 target: trip-point-1 {
195 temperature = <85000>;
201 temperature = <115000>;
210 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
211 contribution = <4096>;
216 gpu_thermal: gpu-thermal {
217 polling-delay-passive = <100>; /* milliseconds */
218 polling-delay = <1000>; /* milliseconds */
219 thermal-sensors = <&tsadc 1>;
222 gpu_threshold: gpu-threshold {
223 temperature = <70000>;
228 gpu_target: gpu-target {
229 temperature = <85000>;
235 temperature = <115000>;
243 trip = <&gpu_target>;
244 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
251 compatible = "fixed-clock";
253 clock-frequency = <24000000>;
254 clock-output-names = "xin24m";
257 pmu: power-management@ff000000 {
258 compatible = "rockchip,px30-pmu", "syscon", "simple-mfd";
259 reg = <0x0 0xff000000 0x0 0x1000>;
261 power: power-controller {
262 compatible = "rockchip,px30-power-controller";
263 #power-domain-cells = <1>;
264 #address-cells = <1>;
267 /* These power domains are grouped by VD_LOGIC */
268 power-domain@PX30_PD_USB {
270 clocks = <&cru HCLK_HOST>,
273 pm_qos = <&qos_usb_host>, <&qos_usb_otg>;
274 #power-domain-cells = <0>;
276 power-domain@PX30_PD_SDCARD {
277 reg = <PX30_PD_SDCARD>;
278 clocks = <&cru HCLK_SDMMC>,
280 pm_qos = <&qos_sdmmc>;
281 #power-domain-cells = <0>;
283 power-domain@PX30_PD_GMAC {
284 reg = <PX30_PD_GMAC>;
285 clocks = <&cru ACLK_GMAC>,
288 <&cru SCLK_GMAC_RX_TX>;
289 pm_qos = <&qos_gmac>;
290 #power-domain-cells = <0>;
292 power-domain@PX30_PD_MMC_NAND {
293 reg = <PX30_PD_MMC_NAND>;
294 clocks = <&cru HCLK_NANDC>,
302 pm_qos = <&qos_emmc>, <&qos_nand>,
303 <&qos_sdio>, <&qos_sfc>;
304 #power-domain-cells = <0>;
306 power-domain@PX30_PD_VPU {
308 clocks = <&cru ACLK_VPU>,
310 <&cru SCLK_CORE_VPU>;
311 pm_qos = <&qos_vpu>, <&qos_vpu_r128>;
312 #power-domain-cells = <0>;
314 power-domain@PX30_PD_VO {
316 clocks = <&cru ACLK_RGA>,
324 <&cru PCLK_MIPI_DSI>,
325 <&cru SCLK_RGA_CORE>,
326 <&cru SCLK_VOPB_PWM>;
327 pm_qos = <&qos_rga_rd>, <&qos_rga_wr>,
328 <&qos_vop_m0>, <&qos_vop_m1>;
329 #power-domain-cells = <0>;
331 power-domain@PX30_PD_VI {
333 clocks = <&cru ACLK_CIF>,
338 pm_qos = <&qos_isp_128>, <&qos_isp_rd>,
339 <&qos_isp_wr>, <&qos_isp_m1>,
341 #power-domain-cells = <0>;
343 power-domain@PX30_PD_GPU {
345 clocks = <&cru SCLK_GPU>;
347 #power-domain-cells = <0>;
352 pmugrf: syscon@ff010000 {
353 compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd";
354 reg = <0x0 0xff010000 0x0 0x1000>;
355 #address-cells = <1>;
358 pmu_io_domains: io-domains {
359 compatible = "rockchip,px30-pmu-io-voltage-domain";
364 compatible = "syscon-reboot-mode";
366 mode-bootloader = <BOOT_BL_DOWNLOAD>;
367 mode-fastboot = <BOOT_FASTBOOT>;
368 mode-loader = <BOOT_BL_DOWNLOAD>;
369 mode-normal = <BOOT_NORMAL>;
370 mode-recovery = <BOOT_RECOVERY>;
374 uart0: serial@ff030000 {
375 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
376 reg = <0x0 0xff030000 0x0 0x100>;
377 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
378 clocks = <&pmucru SCLK_UART0_PMU>, <&pmucru PCLK_UART0_PMU>;
379 clock-names = "baudclk", "apb_pclk";
380 dmas = <&dmac 0>, <&dmac 1>;
381 dma-names = "tx", "rx";
384 pinctrl-names = "default";
385 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
389 i2s0_8ch: i2s@ff060000 {
390 compatible = "rockchip,px30-i2s-tdm";
391 reg = <0x0 0xff060000 0x0 0x1000>;
392 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
393 clocks = <&cru SCLK_I2S0_TX>, <&cru SCLK_I2S0_RX>, <&cru HCLK_I2S0>;
394 clock-names = "mclk_tx", "mclk_rx", "hclk";
395 dmas = <&dmac 16>, <&dmac 17>;
396 dma-names = "tx", "rx";
397 rockchip,grf = <&grf>;
398 resets = <&cru SRST_I2S0_TX>, <&cru SRST_I2S0_RX>;
399 reset-names = "tx-m", "rx-m";
400 pinctrl-names = "default";
401 pinctrl-0 = <&i2s0_8ch_sclktx &i2s0_8ch_sclkrx
402 &i2s0_8ch_lrcktx &i2s0_8ch_lrckrx
403 &i2s0_8ch_sdo0 &i2s0_8ch_sdi0
404 &i2s0_8ch_sdo1 &i2s0_8ch_sdi1
405 &i2s0_8ch_sdo2 &i2s0_8ch_sdi2
406 &i2s0_8ch_sdo3 &i2s0_8ch_sdi3>;
407 #sound-dai-cells = <0>;
411 i2s1_2ch: i2s@ff070000 {
412 compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
413 reg = <0x0 0xff070000 0x0 0x1000>;
414 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
415 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1>;
416 clock-names = "i2s_clk", "i2s_hclk";
417 dmas = <&dmac 18>, <&dmac 19>;
418 dma-names = "tx", "rx";
419 pinctrl-names = "default";
420 pinctrl-0 = <&i2s1_2ch_sclk &i2s1_2ch_lrck
421 &i2s1_2ch_sdi &i2s1_2ch_sdo>;
422 #sound-dai-cells = <0>;
426 i2s2_2ch: i2s@ff080000 {
427 compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
428 reg = <0x0 0xff080000 0x0 0x1000>;
429 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
430 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2>;
431 clock-names = "i2s_clk", "i2s_hclk";
432 dmas = <&dmac 20>, <&dmac 21>;
433 dma-names = "tx", "rx";
434 pinctrl-names = "default";
435 pinctrl-0 = <&i2s2_2ch_sclk &i2s2_2ch_lrck
436 &i2s2_2ch_sdi &i2s2_2ch_sdo>;
437 #sound-dai-cells = <0>;
441 gic: interrupt-controller@ff131000 {
442 compatible = "arm,gic-400";
443 #interrupt-cells = <3>;
444 #address-cells = <0>;
445 interrupt-controller;
446 reg = <0x0 0xff131000 0 0x1000>,
447 <0x0 0xff132000 0 0x2000>,
448 <0x0 0xff134000 0 0x2000>,
449 <0x0 0xff136000 0 0x2000>;
450 interrupts = <GIC_PPI 9
451 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
454 grf: syscon@ff140000 {
455 compatible = "rockchip,px30-grf", "syscon", "simple-mfd";
456 reg = <0x0 0xff140000 0x0 0x1000>;
457 #address-cells = <1>;
460 io_domains: io-domains {
461 compatible = "rockchip,px30-io-voltage-domain";
466 compatible = "rockchip,px30-lvds";
469 rockchip,grf = <&grf>;
470 rockchip,output = "lvds";
474 #address-cells = <1>;
479 #address-cells = <1>;
482 lvds_vopb_in: endpoint@0 {
484 remote-endpoint = <&vopb_out_lvds>;
487 lvds_vopl_in: endpoint@1 {
489 remote-endpoint = <&vopl_out_lvds>;
500 uart1: serial@ff158000 {
501 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
502 reg = <0x0 0xff158000 0x0 0x100>;
503 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
504 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
505 clock-names = "baudclk", "apb_pclk";
506 dmas = <&dmac 2>, <&dmac 3>;
507 dma-names = "tx", "rx";
510 pinctrl-names = "default";
511 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
515 uart2: serial@ff160000 {
516 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
517 reg = <0x0 0xff160000 0x0 0x100>;
518 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
519 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
520 clock-names = "baudclk", "apb_pclk";
521 dmas = <&dmac 4>, <&dmac 5>;
522 dma-names = "tx", "rx";
525 pinctrl-names = "default";
526 pinctrl-0 = <&uart2m0_xfer>;
530 uart3: serial@ff168000 {
531 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
532 reg = <0x0 0xff168000 0x0 0x100>;
533 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
535 clock-names = "baudclk", "apb_pclk";
536 dmas = <&dmac 6>, <&dmac 7>;
537 dma-names = "tx", "rx";
540 pinctrl-names = "default";
541 pinctrl-0 = <&uart3m1_xfer &uart3m1_cts &uart3m1_rts>;
545 uart4: serial@ff170000 {
546 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
547 reg = <0x0 0xff170000 0x0 0x100>;
548 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
549 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
550 clock-names = "baudclk", "apb_pclk";
551 dmas = <&dmac 8>, <&dmac 9>;
552 dma-names = "tx", "rx";
555 pinctrl-names = "default";
556 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
560 uart5: serial@ff178000 {
561 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
562 reg = <0x0 0xff178000 0x0 0x100>;
563 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
564 clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
565 clock-names = "baudclk", "apb_pclk";
566 dmas = <&dmac 10>, <&dmac 11>;
567 dma-names = "tx", "rx";
570 pinctrl-names = "default";
571 pinctrl-0 = <&uart5_xfer &uart5_cts &uart5_rts>;
576 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
577 reg = <0x0 0xff180000 0x0 0x1000>;
578 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
579 clock-names = "i2c", "pclk";
580 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
581 pinctrl-names = "default";
582 pinctrl-0 = <&i2c0_xfer>;
583 #address-cells = <1>;
589 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
590 reg = <0x0 0xff190000 0x0 0x1000>;
591 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
592 clock-names = "i2c", "pclk";
593 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
594 pinctrl-names = "default";
595 pinctrl-0 = <&i2c1_xfer>;
596 #address-cells = <1>;
602 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
603 reg = <0x0 0xff1a0000 0x0 0x1000>;
604 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
605 clock-names = "i2c", "pclk";
606 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
607 pinctrl-names = "default";
608 pinctrl-0 = <&i2c2_xfer>;
609 #address-cells = <1>;
615 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
616 reg = <0x0 0xff1b0000 0x0 0x1000>;
617 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
618 clock-names = "i2c", "pclk";
619 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
620 pinctrl-names = "default";
621 pinctrl-0 = <&i2c3_xfer>;
622 #address-cells = <1>;
628 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
629 reg = <0x0 0xff1d0000 0x0 0x1000>;
630 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
631 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
632 clock-names = "spiclk", "apb_pclk";
633 dmas = <&dmac 12>, <&dmac 13>;
634 dma-names = "tx", "rx";
635 pinctrl-names = "default";
636 pinctrl-0 = <&spi0_clk &spi0_csn &spi0_miso &spi0_mosi>;
637 #address-cells = <1>;
643 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
644 reg = <0x0 0xff1d8000 0x0 0x1000>;
645 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
646 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
647 clock-names = "spiclk", "apb_pclk";
648 dmas = <&dmac 14>, <&dmac 15>;
649 dma-names = "tx", "rx";
650 pinctrl-names = "default";
651 pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_csn1 &spi1_miso &spi1_mosi>;
652 #address-cells = <1>;
657 wdt: watchdog@ff1e0000 {
658 compatible = "rockchip,px30-wdt", "snps,dw-wdt";
659 reg = <0x0 0xff1e0000 0x0 0x100>;
660 clocks = <&cru PCLK_WDT_NS>;
661 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
666 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
667 reg = <0x0 0xff200000 0x0 0x10>;
668 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
669 clock-names = "pwm", "pclk";
670 pinctrl-names = "default";
671 pinctrl-0 = <&pwm0_pin>;
677 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
678 reg = <0x0 0xff200010 0x0 0x10>;
679 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
680 clock-names = "pwm", "pclk";
681 pinctrl-names = "default";
682 pinctrl-0 = <&pwm1_pin>;
688 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
689 reg = <0x0 0xff200020 0x0 0x10>;
690 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
691 clock-names = "pwm", "pclk";
692 pinctrl-names = "default";
693 pinctrl-0 = <&pwm2_pin>;
699 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
700 reg = <0x0 0xff200030 0x0 0x10>;
701 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
702 clock-names = "pwm", "pclk";
703 pinctrl-names = "default";
704 pinctrl-0 = <&pwm3_pin>;
710 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
711 reg = <0x0 0xff208000 0x0 0x10>;
712 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
713 clock-names = "pwm", "pclk";
714 pinctrl-names = "default";
715 pinctrl-0 = <&pwm4_pin>;
721 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
722 reg = <0x0 0xff208010 0x0 0x10>;
723 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
724 clock-names = "pwm", "pclk";
725 pinctrl-names = "default";
726 pinctrl-0 = <&pwm5_pin>;
732 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
733 reg = <0x0 0xff208020 0x0 0x10>;
734 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
735 clock-names = "pwm", "pclk";
736 pinctrl-names = "default";
737 pinctrl-0 = <&pwm6_pin>;
743 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
744 reg = <0x0 0xff208030 0x0 0x10>;
745 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
746 clock-names = "pwm", "pclk";
747 pinctrl-names = "default";
748 pinctrl-0 = <&pwm7_pin>;
753 rktimer: timer@ff210000 {
754 compatible = "rockchip,px30-timer", "rockchip,rk3288-timer";
755 reg = <0x0 0xff210000 0x0 0x1000>;
756 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
757 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
758 clock-names = "pclk", "timer";
761 dmac: dma-controller@ff240000 {
762 compatible = "arm,pl330", "arm,primecell";
763 reg = <0x0 0xff240000 0x0 0x4000>;
764 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
765 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
766 arm,pl330-periph-burst;
767 clocks = <&cru ACLK_DMAC>;
768 clock-names = "apb_pclk";
772 tsadc: tsadc@ff280000 {
773 compatible = "rockchip,px30-tsadc";
774 reg = <0x0 0xff280000 0x0 0x100>;
775 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
776 assigned-clocks = <&cru SCLK_TSADC>;
777 assigned-clock-rates = <50000>;
778 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
779 clock-names = "tsadc", "apb_pclk";
780 resets = <&cru SRST_TSADC>;
781 reset-names = "tsadc-apb";
782 rockchip,grf = <&grf>;
783 rockchip,hw-tshut-temp = <120000>;
784 pinctrl-names = "init", "default", "sleep";
785 pinctrl-0 = <&tsadc_otp_pin>;
786 pinctrl-1 = <&tsadc_otp_out>;
787 pinctrl-2 = <&tsadc_otp_pin>;
788 #thermal-sensor-cells = <1>;
792 saradc: saradc@ff288000 {
793 compatible = "rockchip,px30-saradc", "rockchip,rk3399-saradc";
794 reg = <0x0 0xff288000 0x0 0x100>;
795 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
796 #io-channel-cells = <1>;
797 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
798 clock-names = "saradc", "apb_pclk";
799 resets = <&cru SRST_SARADC_P>;
800 reset-names = "saradc-apb";
804 otp: nvmem@ff290000 {
805 compatible = "rockchip,px30-otp";
806 reg = <0x0 0xff290000 0x0 0x4000>;
807 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
809 clock-names = "otp", "apb_pclk", "phy";
810 resets = <&cru SRST_OTP_PHY>;
812 #address-cells = <1>;
819 cpu_leakage: cpu-leakage@17 {
822 performance: performance@1e {
828 cru: clock-controller@ff2b0000 {
829 compatible = "rockchip,px30-cru";
830 reg = <0x0 0xff2b0000 0x0 0x1000>;
831 clocks = <&xin24m>, <&pmucru PLL_GPLL>;
832 clock-names = "xin24m", "gpll";
833 rockchip,grf = <&grf>;
837 assigned-clocks = <&cru PLL_NPLL>,
838 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
839 <&cru HCLK_BUS_PRE>, <&cru HCLK_PERI_PRE>,
840 <&cru PCLK_BUS_PRE>, <&cru SCLK_GPU>;
842 assigned-clock-rates = <1188000000>,
843 <200000000>, <200000000>,
844 <150000000>, <150000000>,
845 <100000000>, <200000000>;
848 pmucru: clock-controller@ff2bc000 {
849 compatible = "rockchip,px30-pmucru";
850 reg = <0x0 0xff2bc000 0x0 0x1000>;
852 clock-names = "xin24m";
853 rockchip,grf = <&grf>;
858 <&pmucru PLL_GPLL>, <&pmucru PCLK_PMU_PRE>,
859 <&pmucru SCLK_WIFI_PMU>;
860 assigned-clock-rates =
861 <1200000000>, <100000000>,
865 usb2phy_grf: syscon@ff2c0000 {
866 compatible = "rockchip,px30-usb2phy-grf", "syscon",
868 reg = <0x0 0xff2c0000 0x0 0x10000>;
869 #address-cells = <1>;
873 compatible = "rockchip,px30-usb2phy";
875 clocks = <&pmucru SCLK_USBPHY_REF>;
876 clock-names = "phyclk";
878 assigned-clocks = <&cru USB480M>;
879 assigned-clock-parents = <&u2phy>;
880 clock-output-names = "usb480m_phy";
883 u2phy_host: host-port {
885 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
886 interrupt-names = "linestate";
890 u2phy_otg: otg-port {
892 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
893 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
894 <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
895 interrupt-names = "otg-bvalid", "otg-id",
902 dsi_dphy: phy@ff2e0000 {
903 compatible = "rockchip,px30-dsi-dphy";
904 reg = <0x0 0xff2e0000 0x0 0x10000>;
905 clocks = <&pmucru SCLK_MIPIDSIPHY_REF>, <&cru PCLK_MIPIDSIPHY>;
906 clock-names = "ref", "pclk";
907 resets = <&cru SRST_MIPIDSIPHY_P>;
910 power-domains = <&power PX30_PD_VO>;
914 csi_dphy: phy@ff2f0000 {
915 compatible = "rockchip,px30-csi-dphy";
916 reg = <0x0 0xff2f0000 0x0 0x4000>;
917 clocks = <&cru PCLK_MIPICSIPHY>;
918 clock-names = "pclk";
920 power-domains = <&power PX30_PD_VI>;
921 resets = <&cru SRST_MIPICSIPHY_P>;
923 rockchip,grf = <&grf>;
927 usb20_otg: usb@ff300000 {
928 compatible = "rockchip,px30-usb", "rockchip,rk3066-usb",
930 reg = <0x0 0xff300000 0x0 0x40000>;
931 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
932 clocks = <&cru HCLK_OTG>;
935 g-np-tx-fifo-size = <16>;
936 g-rx-fifo-size = <280>;
937 g-tx-fifo-size = <256 128 128 64 32 16>;
939 phy-names = "usb2-phy";
940 power-domains = <&power PX30_PD_USB>;
944 usb_host0_ehci: usb@ff340000 {
945 compatible = "generic-ehci";
946 reg = <0x0 0xff340000 0x0 0x10000>;
947 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
948 clocks = <&cru HCLK_HOST>;
949 phys = <&u2phy_host>;
951 power-domains = <&power PX30_PD_USB>;
955 usb_host0_ohci: usb@ff350000 {
956 compatible = "generic-ohci";
957 reg = <0x0 0xff350000 0x0 0x10000>;
958 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
959 clocks = <&cru HCLK_HOST>;
960 phys = <&u2phy_host>;
962 power-domains = <&power PX30_PD_USB>;
966 gmac: ethernet@ff360000 {
967 compatible = "rockchip,px30-gmac";
968 reg = <0x0 0xff360000 0x0 0x10000>;
969 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
970 interrupt-names = "macirq";
971 clocks = <&cru SCLK_GMAC>, <&cru SCLK_GMAC_RX_TX>,
972 <&cru SCLK_GMAC_RX_TX>, <&cru SCLK_MAC_REF>,
973 <&cru SCLK_MAC_REFOUT>, <&cru ACLK_GMAC>,
974 <&cru PCLK_GMAC>, <&cru SCLK_GMAC_RMII>;
975 clock-names = "stmmaceth", "mac_clk_rx",
976 "mac_clk_tx", "clk_mac_ref",
977 "clk_mac_refout", "aclk_mac",
978 "pclk_mac", "clk_mac_speed";
979 rockchip,grf = <&grf>;
981 pinctrl-names = "default";
982 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
983 power-domains = <&power PX30_PD_GMAC>;
984 resets = <&cru SRST_GMAC_A>;
985 reset-names = "stmmaceth";
989 sdmmc: mmc@ff370000 {
990 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
991 reg = <0x0 0xff370000 0x0 0x4000>;
992 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
993 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
994 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
995 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
997 fifo-depth = <0x100>;
998 max-frequency = <150000000>;
999 pinctrl-names = "default";
1000 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
1001 power-domains = <&power PX30_PD_SDCARD>;
1002 status = "disabled";
1005 sdio: mmc@ff380000 {
1006 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
1007 reg = <0x0 0xff380000 0x0 0x4000>;
1008 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
1009 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
1010 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
1011 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1013 fifo-depth = <0x100>;
1014 max-frequency = <150000000>;
1015 pinctrl-names = "default";
1016 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
1017 power-domains = <&power PX30_PD_MMC_NAND>;
1018 status = "disabled";
1021 emmc: mmc@ff390000 {
1022 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
1023 reg = <0x0 0xff390000 0x0 0x4000>;
1024 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
1025 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
1026 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
1027 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1029 fifo-depth = <0x100>;
1030 max-frequency = <150000000>;
1031 pinctrl-names = "default";
1032 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
1033 power-domains = <&power PX30_PD_MMC_NAND>;
1034 status = "disabled";
1038 compatible = "rockchip,sfc";
1039 reg = <0x0 0xff3a0000 0x0 0x4000>;
1040 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
1041 clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
1042 clock-names = "clk_sfc", "hclk_sfc";
1043 pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
1044 pinctrl-names = "default";
1045 power-domains = <&power PX30_PD_MMC_NAND>;
1046 status = "disabled";
1049 nfc: nand-controller@ff3b0000 {
1050 compatible = "rockchip,px30-nfc";
1051 reg = <0x0 0xff3b0000 0x0 0x4000>;
1052 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
1053 clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
1054 clock-names = "ahb", "nfc";
1055 assigned-clocks = <&cru SCLK_NANDC>;
1056 assigned-clock-rates = <150000000>;
1057 pinctrl-names = "default";
1058 pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0
1059 &flash_rdn &flash_rdy &flash_wrn &flash_dqs>;
1060 power-domains = <&power PX30_PD_MMC_NAND>;
1061 status = "disabled";
1064 gpu_opp_table: opp-table-1 {
1065 compatible = "operating-points-v2";
1068 opp-hz = /bits/ 64 <200000000>;
1069 opp-microvolt = <950000>;
1072 opp-hz = /bits/ 64 <300000000>;
1073 opp-microvolt = <975000>;
1076 opp-hz = /bits/ 64 <400000000>;
1077 opp-microvolt = <1050000>;
1080 opp-hz = /bits/ 64 <480000000>;
1081 opp-microvolt = <1125000>;
1086 compatible = "rockchip,px30-mali", "arm,mali-bifrost";
1087 reg = <0x0 0xff400000 0x0 0x4000>;
1088 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
1089 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
1090 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
1091 interrupt-names = "job", "mmu", "gpu";
1092 clocks = <&cru SCLK_GPU>;
1093 #cooling-cells = <2>;
1094 power-domains = <&power PX30_PD_GPU>;
1095 operating-points-v2 = <&gpu_opp_table>;
1096 status = "disabled";
1099 vpu: video-codec@ff442000 {
1100 compatible = "rockchip,px30-vpu";
1101 reg = <0x0 0xff442000 0x0 0x800>;
1102 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
1103 <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1104 interrupt-names = "vepu", "vdpu";
1105 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
1106 clock-names = "aclk", "hclk";
1107 iommus = <&vpu_mmu>;
1108 power-domains = <&power PX30_PD_VPU>;
1111 vpu_mmu: iommu@ff442800 {
1112 compatible = "rockchip,iommu";
1113 reg = <0x0 0xff442800 0x0 0x100>;
1114 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1115 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
1116 clock-names = "aclk", "iface";
1118 power-domains = <&power PX30_PD_VPU>;
1122 compatible = "rockchip,px30-mipi-dsi", "snps,dw-mipi-dsi";
1123 reg = <0x0 0xff450000 0x0 0x10000>;
1124 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1125 clocks = <&cru PCLK_MIPI_DSI>;
1126 clock-names = "pclk";
1129 power-domains = <&power PX30_PD_VO>;
1130 resets = <&cru SRST_MIPIDSI_HOST_P>;
1131 reset-names = "apb";
1132 rockchip,grf = <&grf>;
1133 #address-cells = <1>;
1135 status = "disabled";
1138 #address-cells = <1>;
1143 #address-cells = <1>;
1146 dsi_in_vopb: endpoint@0 {
1148 remote-endpoint = <&vopb_out_dsi>;
1151 dsi_in_vopl: endpoint@1 {
1153 remote-endpoint = <&vopl_out_dsi>;
1163 vopb: vop@ff460000 {
1164 compatible = "rockchip,px30-vop-big";
1165 reg = <0x0 0xff460000 0x0 0xefc>;
1166 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
1167 clocks = <&cru ACLK_VOPB>, <&cru DCLK_VOPB>,
1169 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1170 resets = <&cru SRST_VOPB_A>, <&cru SRST_VOPB_H>, <&cru SRST_VOPB>;
1171 reset-names = "axi", "ahb", "dclk";
1172 iommus = <&vopb_mmu>;
1173 power-domains = <&power PX30_PD_VO>;
1174 status = "disabled";
1177 #address-cells = <1>;
1180 vopb_out_dsi: endpoint@0 {
1182 remote-endpoint = <&dsi_in_vopb>;
1185 vopb_out_lvds: endpoint@1 {
1187 remote-endpoint = <&lvds_vopb_in>;
1192 vopb_mmu: iommu@ff460f00 {
1193 compatible = "rockchip,iommu";
1194 reg = <0x0 0xff460f00 0x0 0x100>;
1195 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
1196 clocks = <&cru ACLK_VOPB>, <&cru HCLK_VOPB>;
1197 clock-names = "aclk", "iface";
1198 power-domains = <&power PX30_PD_VO>;
1200 status = "disabled";
1203 vopl: vop@ff470000 {
1204 compatible = "rockchip,px30-vop-lit";
1205 reg = <0x0 0xff470000 0x0 0xefc>;
1206 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
1207 clocks = <&cru ACLK_VOPL>, <&cru DCLK_VOPL>,
1209 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1210 resets = <&cru SRST_VOPL_A>, <&cru SRST_VOPL_H>, <&cru SRST_VOPL>;
1211 reset-names = "axi", "ahb", "dclk";
1212 iommus = <&vopl_mmu>;
1213 power-domains = <&power PX30_PD_VO>;
1214 status = "disabled";
1217 #address-cells = <1>;
1220 vopl_out_dsi: endpoint@0 {
1222 remote-endpoint = <&dsi_in_vopl>;
1225 vopl_out_lvds: endpoint@1 {
1227 remote-endpoint = <&lvds_vopl_in>;
1232 vopl_mmu: iommu@ff470f00 {
1233 compatible = "rockchip,iommu";
1234 reg = <0x0 0xff470f00 0x0 0x100>;
1235 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
1236 clocks = <&cru ACLK_VOPL>, <&cru HCLK_VOPL>;
1237 clock-names = "aclk", "iface";
1238 power-domains = <&power PX30_PD_VO>;
1240 status = "disabled";
1244 compatible = "rockchip,px30-cif-isp"; /*rk3326-rkisp1*/
1245 reg = <0x0 0xff4a0000 0x0 0x8000>;
1246 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
1247 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
1248 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
1249 interrupt-names = "isp", "mi", "mipi";
1250 clocks = <&cru SCLK_ISP>,
1254 clock-names = "isp", "aclk", "hclk", "pclk";
1255 iommus = <&isp_mmu>;
1258 power-domains = <&power PX30_PD_VI>;
1259 status = "disabled";
1262 #address-cells = <1>;
1267 #address-cells = <1>;
1273 isp_mmu: iommu@ff4a8000 {
1274 compatible = "rockchip,iommu";
1275 reg = <0x0 0xff4a8000 0x0 0x100>;
1276 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1277 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>;
1278 clock-names = "aclk", "iface";
1279 power-domains = <&power PX30_PD_VI>;
1280 rockchip,disable-mmu-reset;
1284 qos_gmac: qos@ff518000 {
1285 compatible = "rockchip,px30-qos", "syscon";
1286 reg = <0x0 0xff518000 0x0 0x20>;
1289 qos_gpu: qos@ff520000 {
1290 compatible = "rockchip,px30-qos", "syscon";
1291 reg = <0x0 0xff520000 0x0 0x20>;
1294 qos_sdmmc: qos@ff52c000 {
1295 compatible = "rockchip,px30-qos", "syscon";
1296 reg = <0x0 0xff52c000 0x0 0x20>;
1299 qos_emmc: qos@ff538000 {
1300 compatible = "rockchip,px30-qos", "syscon";
1301 reg = <0x0 0xff538000 0x0 0x20>;
1304 qos_nand: qos@ff538080 {
1305 compatible = "rockchip,px30-qos", "syscon";
1306 reg = <0x0 0xff538080 0x0 0x20>;
1309 qos_sdio: qos@ff538100 {
1310 compatible = "rockchip,px30-qos", "syscon";
1311 reg = <0x0 0xff538100 0x0 0x20>;
1314 qos_sfc: qos@ff538180 {
1315 compatible = "rockchip,px30-qos", "syscon";
1316 reg = <0x0 0xff538180 0x0 0x20>;
1319 qos_usb_host: qos@ff540000 {
1320 compatible = "rockchip,px30-qos", "syscon";
1321 reg = <0x0 0xff540000 0x0 0x20>;
1324 qos_usb_otg: qos@ff540080 {
1325 compatible = "rockchip,px30-qos", "syscon";
1326 reg = <0x0 0xff540080 0x0 0x20>;
1329 qos_isp_128: qos@ff548000 {
1330 compatible = "rockchip,px30-qos", "syscon";
1331 reg = <0x0 0xff548000 0x0 0x20>;
1334 qos_isp_rd: qos@ff548080 {
1335 compatible = "rockchip,px30-qos", "syscon";
1336 reg = <0x0 0xff548080 0x0 0x20>;
1339 qos_isp_wr: qos@ff548100 {
1340 compatible = "rockchip,px30-qos", "syscon";
1341 reg = <0x0 0xff548100 0x0 0x20>;
1344 qos_isp_m1: qos@ff548180 {
1345 compatible = "rockchip,px30-qos", "syscon";
1346 reg = <0x0 0xff548180 0x0 0x20>;
1349 qos_vip: qos@ff548200 {
1350 compatible = "rockchip,px30-qos", "syscon";
1351 reg = <0x0 0xff548200 0x0 0x20>;
1354 qos_rga_rd: qos@ff550000 {
1355 compatible = "rockchip,px30-qos", "syscon";
1356 reg = <0x0 0xff550000 0x0 0x20>;
1359 qos_rga_wr: qos@ff550080 {
1360 compatible = "rockchip,px30-qos", "syscon";
1361 reg = <0x0 0xff550080 0x0 0x20>;
1364 qos_vop_m0: qos@ff550100 {
1365 compatible = "rockchip,px30-qos", "syscon";
1366 reg = <0x0 0xff550100 0x0 0x20>;
1369 qos_vop_m1: qos@ff550180 {
1370 compatible = "rockchip,px30-qos", "syscon";
1371 reg = <0x0 0xff550180 0x0 0x20>;
1374 qos_vpu: qos@ff558000 {
1375 compatible = "rockchip,px30-qos", "syscon";
1376 reg = <0x0 0xff558000 0x0 0x20>;
1379 qos_vpu_r128: qos@ff558080 {
1380 compatible = "rockchip,px30-qos", "syscon";
1381 reg = <0x0 0xff558080 0x0 0x20>;
1385 compatible = "rockchip,px30-pinctrl";
1386 rockchip,grf = <&grf>;
1387 rockchip,pmu = <&pmugrf>;
1388 #address-cells = <2>;
1392 gpio0: gpio@ff040000 {
1393 compatible = "rockchip,gpio-bank";
1394 reg = <0x0 0xff040000 0x0 0x100>;
1395 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
1396 clocks = <&pmucru PCLK_GPIO0_PMU>;
1400 interrupt-controller;
1401 #interrupt-cells = <2>;
1404 gpio1: gpio@ff250000 {
1405 compatible = "rockchip,gpio-bank";
1406 reg = <0x0 0xff250000 0x0 0x100>;
1407 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1408 clocks = <&cru PCLK_GPIO1>;
1412 interrupt-controller;
1413 #interrupt-cells = <2>;
1416 gpio2: gpio@ff260000 {
1417 compatible = "rockchip,gpio-bank";
1418 reg = <0x0 0xff260000 0x0 0x100>;
1419 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1420 clocks = <&cru PCLK_GPIO2>;
1424 interrupt-controller;
1425 #interrupt-cells = <2>;
1428 gpio3: gpio@ff270000 {
1429 compatible = "rockchip,gpio-bank";
1430 reg = <0x0 0xff270000 0x0 0x100>;
1431 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1432 clocks = <&cru PCLK_GPIO3>;
1436 interrupt-controller;
1437 #interrupt-cells = <2>;
1440 pcfg_pull_up: pcfg-pull-up {
1444 pcfg_pull_down: pcfg-pull-down {
1448 pcfg_pull_none: pcfg-pull-none {
1452 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
1454 drive-strength = <2>;
1457 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1459 drive-strength = <2>;
1462 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1464 drive-strength = <4>;
1467 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
1469 drive-strength = <4>;
1472 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
1474 drive-strength = <4>;
1477 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
1479 drive-strength = <8>;
1482 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1484 drive-strength = <8>;
1487 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1489 drive-strength = <12>;
1492 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1494 drive-strength = <12>;
1497 pcfg_pull_none_smt: pcfg-pull-none-smt {
1499 input-schmitt-enable;
1502 pcfg_output_high: pcfg-output-high {
1506 pcfg_output_low: pcfg-output-low {
1510 pcfg_input_high: pcfg-input-high {
1515 pcfg_input: pcfg-input {
1520 i2c0_xfer: i2c0-xfer {
1522 <0 RK_PB0 1 &pcfg_pull_none_smt>,
1523 <0 RK_PB1 1 &pcfg_pull_none_smt>;
1528 i2c1_xfer: i2c1-xfer {
1530 <0 RK_PC2 1 &pcfg_pull_none_smt>,
1531 <0 RK_PC3 1 &pcfg_pull_none_smt>;
1536 i2c2_xfer: i2c2-xfer {
1538 <2 RK_PB7 2 &pcfg_pull_none_smt>,
1539 <2 RK_PC0 2 &pcfg_pull_none_smt>;
1544 i2c3_xfer: i2c3-xfer {
1546 <1 RK_PB4 4 &pcfg_pull_none_smt>,
1547 <1 RK_PB5 4 &pcfg_pull_none_smt>;
1552 tsadc_otp_pin: tsadc-otp-pin {
1554 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
1557 tsadc_otp_out: tsadc-otp-out {
1559 <0 RK_PA6 1 &pcfg_pull_none>;
1564 uart0_xfer: uart0-xfer {
1566 <0 RK_PB2 1 &pcfg_pull_up>,
1567 <0 RK_PB3 1 &pcfg_pull_up>;
1570 uart0_cts: uart0-cts {
1572 <0 RK_PB4 1 &pcfg_pull_none>;
1575 uart0_rts: uart0-rts {
1577 <0 RK_PB5 1 &pcfg_pull_none>;
1582 uart1_xfer: uart1-xfer {
1584 <1 RK_PC1 1 &pcfg_pull_up>,
1585 <1 RK_PC0 1 &pcfg_pull_up>;
1588 uart1_cts: uart1-cts {
1590 <1 RK_PC2 1 &pcfg_pull_none>;
1593 uart1_rts: uart1-rts {
1595 <1 RK_PC3 1 &pcfg_pull_none>;
1600 uart2m0_xfer: uart2m0-xfer {
1602 <1 RK_PD2 2 &pcfg_pull_up>,
1603 <1 RK_PD3 2 &pcfg_pull_up>;
1608 uart2m1_xfer: uart2m1-xfer {
1610 <2 RK_PB4 2 &pcfg_pull_up>,
1611 <2 RK_PB6 2 &pcfg_pull_up>;
1616 uart3m0_xfer: uart3m0-xfer {
1618 <0 RK_PC0 2 &pcfg_pull_up>,
1619 <0 RK_PC1 2 &pcfg_pull_up>;
1622 uart3m0_cts: uart3m0-cts {
1624 <0 RK_PC2 2 &pcfg_pull_none>;
1627 uart3m0_rts: uart3m0-rts {
1629 <0 RK_PC3 2 &pcfg_pull_none>;
1634 uart3m1_xfer: uart3m1-xfer {
1636 <1 RK_PB6 2 &pcfg_pull_up>,
1637 <1 RK_PB7 2 &pcfg_pull_up>;
1640 uart3m1_cts: uart3m1-cts {
1642 <1 RK_PB4 2 &pcfg_pull_none>;
1645 uart3m1_rts: uart3m1-rts {
1647 <1 RK_PB5 2 &pcfg_pull_none>;
1652 uart4_xfer: uart4-xfer {
1654 <1 RK_PD4 2 &pcfg_pull_up>,
1655 <1 RK_PD5 2 &pcfg_pull_up>;
1658 uart4_cts: uart4-cts {
1660 <1 RK_PD6 2 &pcfg_pull_none>;
1663 uart4_rts: uart4-rts {
1665 <1 RK_PD7 2 &pcfg_pull_none>;
1670 uart5_xfer: uart5-xfer {
1672 <3 RK_PA2 4 &pcfg_pull_up>,
1673 <3 RK_PA1 4 &pcfg_pull_up>;
1676 uart5_cts: uart5-cts {
1678 <3 RK_PA3 4 &pcfg_pull_none>;
1681 uart5_rts: uart5-rts {
1683 <3 RK_PA5 4 &pcfg_pull_none>;
1688 spi0_clk: spi0-clk {
1690 <1 RK_PB7 3 &pcfg_pull_up_4ma>;
1693 spi0_csn: spi0-csn {
1695 <1 RK_PB6 3 &pcfg_pull_up_4ma>;
1698 spi0_miso: spi0-miso {
1700 <1 RK_PB5 3 &pcfg_pull_up_4ma>;
1703 spi0_mosi: spi0-mosi {
1705 <1 RK_PB4 3 &pcfg_pull_up_4ma>;
1708 spi0_clk_hs: spi0-clk-hs {
1710 <1 RK_PB7 3 &pcfg_pull_up_8ma>;
1713 spi0_miso_hs: spi0-miso-hs {
1715 <1 RK_PB5 3 &pcfg_pull_up_8ma>;
1718 spi0_mosi_hs: spi0-mosi-hs {
1720 <1 RK_PB4 3 &pcfg_pull_up_8ma>;
1725 spi1_clk: spi1-clk {
1727 <3 RK_PB7 4 &pcfg_pull_up_4ma>;
1730 spi1_csn0: spi1-csn0 {
1732 <3 RK_PB1 4 &pcfg_pull_up_4ma>;
1735 spi1_csn1: spi1-csn1 {
1737 <3 RK_PB2 2 &pcfg_pull_up_4ma>;
1740 spi1_miso: spi1-miso {
1742 <3 RK_PB6 4 &pcfg_pull_up_4ma>;
1745 spi1_mosi: spi1-mosi {
1747 <3 RK_PB4 4 &pcfg_pull_up_4ma>;
1750 spi1_clk_hs: spi1-clk-hs {
1752 <3 RK_PB7 4 &pcfg_pull_up_8ma>;
1755 spi1_miso_hs: spi1-miso-hs {
1757 <3 RK_PB6 4 &pcfg_pull_up_8ma>;
1760 spi1_mosi_hs: spi1-mosi-hs {
1762 <3 RK_PB4 4 &pcfg_pull_up_8ma>;
1767 pdm_clk0m0: pdm-clk0m0 {
1769 <3 RK_PC6 2 &pcfg_pull_none>;
1772 pdm_clk0m1: pdm-clk0m1 {
1774 <2 RK_PC6 1 &pcfg_pull_none>;
1777 pdm_clk1: pdm-clk1 {
1779 <3 RK_PC7 2 &pcfg_pull_none>;
1782 pdm_sdi0m0: pdm-sdi0m0 {
1784 <3 RK_PD3 2 &pcfg_pull_none>;
1787 pdm_sdi0m1: pdm-sdi0m1 {
1789 <2 RK_PC5 2 &pcfg_pull_none>;
1792 pdm_sdi1: pdm-sdi1 {
1794 <3 RK_PD0 2 &pcfg_pull_none>;
1797 pdm_sdi2: pdm-sdi2 {
1799 <3 RK_PD1 2 &pcfg_pull_none>;
1802 pdm_sdi3: pdm-sdi3 {
1804 <3 RK_PD2 2 &pcfg_pull_none>;
1807 pdm_clk0m0_sleep: pdm-clk0m0-sleep {
1809 <3 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1812 pdm_clk0m_sleep1: pdm-clk0m1-sleep {
1814 <2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1817 pdm_clk1_sleep: pdm-clk1-sleep {
1819 <3 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
1822 pdm_sdi0m0_sleep: pdm-sdi0m0-sleep {
1824 <3 RK_PD3 RK_FUNC_GPIO &pcfg_input_high>;
1827 pdm_sdi0m1_sleep: pdm-sdi0m1-sleep {
1829 <2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>;
1832 pdm_sdi1_sleep: pdm-sdi1-sleep {
1834 <3 RK_PD0 RK_FUNC_GPIO &pcfg_input_high>;
1837 pdm_sdi2_sleep: pdm-sdi2-sleep {
1839 <3 RK_PD1 RK_FUNC_GPIO &pcfg_input_high>;
1842 pdm_sdi3_sleep: pdm-sdi3-sleep {
1844 <3 RK_PD2 RK_FUNC_GPIO &pcfg_input_high>;
1849 i2s0_8ch_mclk: i2s0-8ch-mclk {
1851 <3 RK_PC1 2 &pcfg_pull_none>;
1854 i2s0_8ch_sclktx: i2s0-8ch-sclktx {
1856 <3 RK_PC3 2 &pcfg_pull_none>;
1859 i2s0_8ch_sclkrx: i2s0-8ch-sclkrx {
1861 <3 RK_PB4 2 &pcfg_pull_none>;
1864 i2s0_8ch_lrcktx: i2s0-8ch-lrcktx {
1866 <3 RK_PC2 2 &pcfg_pull_none>;
1869 i2s0_8ch_lrckrx: i2s0-8ch-lrckrx {
1871 <3 RK_PB5 2 &pcfg_pull_none>;
1874 i2s0_8ch_sdo0: i2s0-8ch-sdo0 {
1876 <3 RK_PC4 2 &pcfg_pull_none>;
1879 i2s0_8ch_sdo1: i2s0-8ch-sdo1 {
1881 <3 RK_PC0 2 &pcfg_pull_none>;
1884 i2s0_8ch_sdo2: i2s0-8ch-sdo2 {
1886 <3 RK_PB7 2 &pcfg_pull_none>;
1889 i2s0_8ch_sdo3: i2s0-8ch-sdo3 {
1891 <3 RK_PB6 2 &pcfg_pull_none>;
1894 i2s0_8ch_sdi0: i2s0-8ch-sdi0 {
1896 <3 RK_PC5 2 &pcfg_pull_none>;
1899 i2s0_8ch_sdi1: i2s0-8ch-sdi1 {
1901 <3 RK_PB3 2 &pcfg_pull_none>;
1904 i2s0_8ch_sdi2: i2s0-8ch-sdi2 {
1906 <3 RK_PB1 2 &pcfg_pull_none>;
1909 i2s0_8ch_sdi3: i2s0-8ch-sdi3 {
1911 <3 RK_PB0 2 &pcfg_pull_none>;
1916 i2s1_2ch_mclk: i2s1-2ch-mclk {
1918 <2 RK_PC3 1 &pcfg_pull_none>;
1921 i2s1_2ch_sclk: i2s1-2ch-sclk {
1923 <2 RK_PC2 1 &pcfg_pull_none>;
1926 i2s1_2ch_lrck: i2s1-2ch-lrck {
1928 <2 RK_PC1 1 &pcfg_pull_none>;
1931 i2s1_2ch_sdi: i2s1-2ch-sdi {
1933 <2 RK_PC5 1 &pcfg_pull_none>;
1936 i2s1_2ch_sdo: i2s1-2ch-sdo {
1938 <2 RK_PC4 1 &pcfg_pull_none>;
1943 i2s2_2ch_mclk: i2s2-2ch-mclk {
1945 <3 RK_PA1 2 &pcfg_pull_none>;
1948 i2s2_2ch_sclk: i2s2-2ch-sclk {
1950 <3 RK_PA2 2 &pcfg_pull_none>;
1953 i2s2_2ch_lrck: i2s2-2ch-lrck {
1955 <3 RK_PA3 2 &pcfg_pull_none>;
1958 i2s2_2ch_sdi: i2s2-2ch-sdi {
1960 <3 RK_PA5 2 &pcfg_pull_none>;
1963 i2s2_2ch_sdo: i2s2-2ch-sdo {
1965 <3 RK_PA7 2 &pcfg_pull_none>;
1970 sdmmc_clk: sdmmc-clk {
1972 <1 RK_PD6 1 &pcfg_pull_none_8ma>;
1975 sdmmc_cmd: sdmmc-cmd {
1977 <1 RK_PD7 1 &pcfg_pull_up_8ma>;
1980 sdmmc_det: sdmmc-det {
1982 <0 RK_PA3 1 &pcfg_pull_up_8ma>;
1985 sdmmc_bus1: sdmmc-bus1 {
1987 <1 RK_PD2 1 &pcfg_pull_up_8ma>;
1990 sdmmc_bus4: sdmmc-bus4 {
1992 <1 RK_PD2 1 &pcfg_pull_up_8ma>,
1993 <1 RK_PD3 1 &pcfg_pull_up_8ma>,
1994 <1 RK_PD4 1 &pcfg_pull_up_8ma>,
1995 <1 RK_PD5 1 &pcfg_pull_up_8ma>;
2000 sdio_clk: sdio-clk {
2002 <1 RK_PC5 1 &pcfg_pull_none>;
2005 sdio_cmd: sdio-cmd {
2007 <1 RK_PC4 1 &pcfg_pull_up>;
2010 sdio_bus4: sdio-bus4 {
2012 <1 RK_PC6 1 &pcfg_pull_up>,
2013 <1 RK_PC7 1 &pcfg_pull_up>,
2014 <1 RK_PD0 1 &pcfg_pull_up>,
2015 <1 RK_PD1 1 &pcfg_pull_up>;
2020 emmc_clk: emmc-clk {
2022 <1 RK_PB1 2 &pcfg_pull_none_8ma>;
2025 emmc_cmd: emmc-cmd {
2027 <1 RK_PB2 2 &pcfg_pull_up_8ma>;
2030 emmc_rstnout: emmc-rstnout {
2032 <1 RK_PB3 2 &pcfg_pull_none>;
2035 emmc_bus1: emmc-bus1 {
2037 <1 RK_PA0 2 &pcfg_pull_up_8ma>;
2040 emmc_bus4: emmc-bus4 {
2042 <1 RK_PA0 2 &pcfg_pull_up_8ma>,
2043 <1 RK_PA1 2 &pcfg_pull_up_8ma>,
2044 <1 RK_PA2 2 &pcfg_pull_up_8ma>,
2045 <1 RK_PA3 2 &pcfg_pull_up_8ma>;
2048 emmc_bus8: emmc-bus8 {
2050 <1 RK_PA0 2 &pcfg_pull_up_8ma>,
2051 <1 RK_PA1 2 &pcfg_pull_up_8ma>,
2052 <1 RK_PA2 2 &pcfg_pull_up_8ma>,
2053 <1 RK_PA3 2 &pcfg_pull_up_8ma>,
2054 <1 RK_PA4 2 &pcfg_pull_up_8ma>,
2055 <1 RK_PA5 2 &pcfg_pull_up_8ma>,
2056 <1 RK_PA6 2 &pcfg_pull_up_8ma>,
2057 <1 RK_PA7 2 &pcfg_pull_up_8ma>;
2062 flash_cs0: flash-cs0 {
2064 <1 RK_PB0 1 &pcfg_pull_none>;
2067 flash_rdy: flash-rdy {
2069 <1 RK_PB1 1 &pcfg_pull_none>;
2072 flash_dqs: flash-dqs {
2074 <1 RK_PB2 1 &pcfg_pull_none>;
2077 flash_ale: flash-ale {
2079 <1 RK_PB3 1 &pcfg_pull_none>;
2082 flash_cle: flash-cle {
2084 <1 RK_PB4 1 &pcfg_pull_none>;
2087 flash_wrn: flash-wrn {
2089 <1 RK_PB5 1 &pcfg_pull_none>;
2092 flash_csl: flash-csl {
2094 <1 RK_PB6 1 &pcfg_pull_none>;
2097 flash_rdn: flash-rdn {
2099 <1 RK_PB7 1 &pcfg_pull_none>;
2102 flash_bus8: flash-bus8 {
2104 <1 RK_PA0 1 &pcfg_pull_up_12ma>,
2105 <1 RK_PA1 1 &pcfg_pull_up_12ma>,
2106 <1 RK_PA2 1 &pcfg_pull_up_12ma>,
2107 <1 RK_PA3 1 &pcfg_pull_up_12ma>,
2108 <1 RK_PA4 1 &pcfg_pull_up_12ma>,
2109 <1 RK_PA5 1 &pcfg_pull_up_12ma>,
2110 <1 RK_PA6 1 &pcfg_pull_up_12ma>,
2111 <1 RK_PA7 1 &pcfg_pull_up_12ma>;
2116 sfc_bus4: sfc-bus4 {
2118 <1 RK_PA0 3 &pcfg_pull_none>,
2119 <1 RK_PA1 3 &pcfg_pull_none>,
2120 <1 RK_PA2 3 &pcfg_pull_none>,
2121 <1 RK_PA3 3 &pcfg_pull_none>;
2124 sfc_bus2: sfc-bus2 {
2126 <1 RK_PA0 3 &pcfg_pull_none>,
2127 <1 RK_PA1 3 &pcfg_pull_none>;
2132 <1 RK_PA4 3 &pcfg_pull_none>;
2137 <1 RK_PB1 3 &pcfg_pull_none>;
2142 lcdc_rgb_dclk_pin: lcdc-rgb-dclk-pin {
2144 <3 RK_PA0 1 &pcfg_pull_none_12ma>;
2147 lcdc_rgb_m0_hsync_pin: lcdc-rgb-m0-hsync-pin {
2149 <3 RK_PA1 1 &pcfg_pull_none_12ma>;
2152 lcdc_rgb_m0_vsync_pin: lcdc-rgb-m0-vsync-pin {
2154 <3 RK_PA2 1 &pcfg_pull_none_12ma>;
2157 lcdc_rgb_m0_den_pin: lcdc-rgb-m0-den-pin {
2159 <3 RK_PA3 1 &pcfg_pull_none_12ma>;
2162 lcdc_rgb888_m0_data_pins: lcdc-rgb888-m0-data-pins {
2164 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
2165 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2166 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
2167 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2168 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2169 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2170 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
2171 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
2172 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
2173 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2174 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2175 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2176 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2177 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2178 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2179 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2180 <3 RK_PC7 1 &pcfg_pull_none_8ma>, /* lcdc_d19 */
2181 <3 RK_PC6 1 &pcfg_pull_none_8ma>, /* lcdc_d18 */
2182 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2183 <3 RK_PC4 1 &pcfg_pull_none_8ma>, /* lcdc_d16 */
2184 <3 RK_PD3 1 &pcfg_pull_none_8ma>, /* lcdc_d23 */
2185 <3 RK_PD2 1 &pcfg_pull_none_8ma>, /* lcdc_d22 */
2186 <3 RK_PD1 1 &pcfg_pull_none_8ma>, /* lcdc_d21 */
2187 <3 RK_PD0 1 &pcfg_pull_none_8ma>; /* lcdc_d20 */
2190 lcdc_rgb666_m0_data_pins: lcdc-rgb666-m0-data-pins {
2192 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
2193 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2194 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
2195 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2196 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2197 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2198 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
2199 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
2200 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
2201 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2202 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2203 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2204 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2205 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2206 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2207 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2208 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2209 <3 RK_PC4 1 &pcfg_pull_none_8ma>; /* lcdc_d16 */
2212 lcdc_rgb565_m0_data_pins: lcdc-rgb565-m0-data-pins {
2214 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
2215 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2216 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
2217 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2218 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2219 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2220 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
2221 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
2222 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
2223 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2224 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2225 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2226 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2227 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2228 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2229 <3 RK_PC0 1 &pcfg_pull_none_8ma>; /* lcdc_d12 */
2232 lcdc_rgb888_m1_data_pins: lcdc-rgb888-m1-data-pins {
2234 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2235 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2236 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2237 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2238 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2239 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2240 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2241 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2242 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2243 <3 RK_PC7 1 &pcfg_pull_none_8ma>, /* lcdc_d19 */
2244 <3 RK_PC6 1 &pcfg_pull_none_8ma>, /* lcdc_d18 */
2245 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2246 <3 RK_PC4 1 &pcfg_pull_none_8ma>, /* lcdc_d16 */
2247 <3 RK_PD3 1 &pcfg_pull_none_8ma>, /* lcdc_d23 */
2248 <3 RK_PD2 1 &pcfg_pull_none_8ma>, /* lcdc_d22 */
2249 <3 RK_PD1 1 &pcfg_pull_none_8ma>, /* lcdc_d21 */
2250 <3 RK_PD0 1 &pcfg_pull_none_8ma>; /* lcdc_d20 */
2253 lcdc_rgb666_m1_data_pins: lcdc-rgb666-m1-data-pins {
2255 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2256 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2257 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2258 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2259 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2260 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2261 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2262 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2263 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2264 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2265 <3 RK_PC4 1 &pcfg_pull_none_8ma>; /* lcdc_d16 */
2268 lcdc_rgb565_m1_data_pins: lcdc-rgb565-m1-data-pins {
2270 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2271 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2272 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2273 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2274 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2275 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2276 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2277 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2278 <3 RK_PC0 1 &pcfg_pull_none_8ma>; /* lcdc_d12 */
2283 pwm0_pin: pwm0-pin {
2285 <0 RK_PB7 1 &pcfg_pull_none>;
2290 pwm1_pin: pwm1-pin {
2292 <0 RK_PC0 1 &pcfg_pull_none>;
2297 pwm2_pin: pwm2-pin {
2299 <2 RK_PB5 1 &pcfg_pull_none>;
2304 pwm3_pin: pwm3-pin {
2306 <0 RK_PC1 1 &pcfg_pull_none>;
2311 pwm4_pin: pwm4-pin {
2313 <3 RK_PC2 3 &pcfg_pull_none>;
2318 pwm5_pin: pwm5-pin {
2320 <3 RK_PC3 3 &pcfg_pull_none>;
2325 pwm6_pin: pwm6-pin {
2327 <3 RK_PC4 3 &pcfg_pull_none>;
2332 pwm7_pin: pwm7-pin {
2334 <3 RK_PC5 3 &pcfg_pull_none>;
2339 rmii_pins: rmii-pins {
2341 <2 RK_PA0 2 &pcfg_pull_none_12ma>, /* mac_txen */
2342 <2 RK_PA1 2 &pcfg_pull_none_12ma>, /* mac_txd1 */
2343 <2 RK_PA2 2 &pcfg_pull_none_12ma>, /* mac_txd0 */
2344 <2 RK_PA3 2 &pcfg_pull_none>, /* mac_rxd0 */
2345 <2 RK_PA4 2 &pcfg_pull_none>, /* mac_rxd1 */
2346 <2 RK_PA5 2 &pcfg_pull_none>, /* mac_rxer */
2347 <2 RK_PA6 2 &pcfg_pull_none>, /* mac_rxdv */
2348 <2 RK_PA7 2 &pcfg_pull_none>, /* mac_mdio */
2349 <2 RK_PB1 2 &pcfg_pull_none>; /* mac_mdc */
2352 mac_refclk_12ma: mac-refclk-12ma {
2354 <2 RK_PB2 2 &pcfg_pull_none_12ma>;
2357 mac_refclk: mac-refclk {
2359 <2 RK_PB2 2 &pcfg_pull_none>;
2364 cif_clkout_m0: cif-clkout-m0 {
2366 <2 RK_PB3 1 &pcfg_pull_none>;
2369 dvp_d2d9_m0: dvp-d2d9-m0 {
2371 <2 RK_PA0 1 &pcfg_pull_none>, /* cif_data2 */
2372 <2 RK_PA1 1 &pcfg_pull_none>, /* cif_data3 */
2373 <2 RK_PA2 1 &pcfg_pull_none>, /* cif_data4 */
2374 <2 RK_PA3 1 &pcfg_pull_none>, /* cif_data5 */
2375 <2 RK_PA4 1 &pcfg_pull_none>, /* cif_data6 */
2376 <2 RK_PA5 1 &pcfg_pull_none>, /* cif_data7 */
2377 <2 RK_PA6 1 &pcfg_pull_none>, /* cif_data8 */
2378 <2 RK_PA7 1 &pcfg_pull_none>, /* cif_data9 */
2379 <2 RK_PB0 1 &pcfg_pull_none>, /* cif_sync */
2380 <2 RK_PB1 1 &pcfg_pull_none>, /* cif_href */
2381 <2 RK_PB2 1 &pcfg_pull_none>, /* cif_clkin */
2382 <2 RK_PB3 1 &pcfg_pull_none>; /* cif_clkout */
2385 dvp_d0d1_m0: dvp-d0d1-m0 {
2387 <2 RK_PB4 1 &pcfg_pull_none>, /* cif_data0 */
2388 <2 RK_PB6 1 &pcfg_pull_none>; /* cif_data1 */
2391 dvp_d10d11_m0:d10-d11-m0 {
2393 <2 RK_PB7 1 &pcfg_pull_none>, /* cif_data10 */
2394 <2 RK_PC0 1 &pcfg_pull_none>; /* cif_data11 */
2399 cif_clkout_m1: cif-clkout-m1 {
2401 <3 RK_PD0 3 &pcfg_pull_none>;
2404 dvp_d2d9_m1: dvp-d2d9-m1 {
2406 <3 RK_PA3 3 &pcfg_pull_none>, /* cif_data2 */
2407 <3 RK_PA5 3 &pcfg_pull_none>, /* cif_data3 */
2408 <3 RK_PA7 3 &pcfg_pull_none>, /* cif_data4 */
2409 <3 RK_PB0 3 &pcfg_pull_none>, /* cif_data5 */
2410 <3 RK_PB1 3 &pcfg_pull_none>, /* cif_data6 */
2411 <3 RK_PB4 3 &pcfg_pull_none>, /* cif_data7 */
2412 <3 RK_PB6 3 &pcfg_pull_none>, /* cif_data8 */
2413 <3 RK_PB7 3 &pcfg_pull_none>, /* cif_data9 */
2414 <3 RK_PD1 3 &pcfg_pull_none>, /* cif_sync */
2415 <3 RK_PD2 3 &pcfg_pull_none>, /* cif_href */
2416 <3 RK_PD3 3 &pcfg_pull_none>, /* cif_clkin */
2417 <3 RK_PD0 3 &pcfg_pull_none>; /* cif_clkout */
2420 dvp_d0d1_m1: dvp-d0d1-m1 {
2422 <3 RK_PA1 3 &pcfg_pull_none>, /* cif_data0 */
2423 <3 RK_PA2 3 &pcfg_pull_none>; /* cif_data1 */
2426 dvp_d10d11_m1:d10-d11-m1 {
2428 <3 RK_PC6 3 &pcfg_pull_none>, /* cif_data10 */
2429 <3 RK_PC7 3 &pcfg_pull_none>; /* cif_data11 */
2434 isp_prelight: isp-prelight {
2436 <3 RK_PD1 4 &pcfg_pull_none>;