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>;
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: opp-table-0 {
113 compatible = "operating-points-v2";
117 opp-hz = /bits/ 64 <600000000>;
118 opp-microvolt = <950000 950000 1350000>;
119 clock-latency-ns = <40000>;
123 opp-hz = /bits/ 64 <816000000>;
124 opp-microvolt = <1050000 1050000 1350000>;
125 clock-latency-ns = <40000>;
128 opp-hz = /bits/ 64 <1008000000>;
129 opp-microvolt = <1175000 1175000 1350000>;
130 clock-latency-ns = <40000>;
133 opp-hz = /bits/ 64 <1200000000>;
134 opp-microvolt = <1300000 1300000 1350000>;
135 clock-latency-ns = <40000>;
138 opp-hz = /bits/ 64 <1296000000>;
139 opp-microvolt = <1350000 1350000 1350000>;
140 clock-latency-ns = <40000>;
145 compatible = "arm,cortex-a35-pmu";
146 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
147 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
150 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
153 display_subsystem: display-subsystem {
154 compatible = "rockchip,display-subsystem";
155 ports = <&vopb_out>, <&vopl_out>;
159 gmac_clkin: external-gmac-clock {
160 compatible = "fixed-clock";
161 clock-frequency = <50000000>;
162 clock-output-names = "gmac_clkin";
167 compatible = "arm,psci-1.0";
172 compatible = "arm,armv8-timer";
173 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
174 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
175 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
176 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
179 thermal_zones: thermal-zones {
180 soc_thermal: soc-thermal {
181 polling-delay-passive = <20>;
182 polling-delay = <1000>;
183 sustainable-power = <750>;
184 thermal-sensors = <&tsadc 0>;
187 threshold: trip-point-0 {
188 temperature = <70000>;
193 target: trip-point-1 {
194 temperature = <85000>;
200 temperature = <115000>;
209 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
210 contribution = <4096>;
215 gpu_thermal: gpu-thermal {
216 polling-delay-passive = <100>; /* milliseconds */
217 polling-delay = <1000>; /* milliseconds */
218 thermal-sensors = <&tsadc 1>;
221 gpu_threshold: gpu-threshold {
222 temperature = <70000>;
227 gpu_target: gpu-target {
228 temperature = <85000>;
234 temperature = <115000>;
242 trip = <&gpu_target>;
243 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
250 compatible = "fixed-clock";
252 clock-frequency = <24000000>;
253 clock-output-names = "xin24m";
256 pmu: power-management@ff000000 {
257 compatible = "rockchip,px30-pmu", "syscon", "simple-mfd";
258 reg = <0x0 0xff000000 0x0 0x1000>;
260 power: power-controller {
261 compatible = "rockchip,px30-power-controller";
262 #power-domain-cells = <1>;
263 #address-cells = <1>;
266 /* These power domains are grouped by VD_LOGIC */
267 power-domain@PX30_PD_USB {
269 clocks = <&cru HCLK_HOST>,
272 pm_qos = <&qos_usb_host>, <&qos_usb_otg>;
273 #power-domain-cells = <0>;
275 power-domain@PX30_PD_SDCARD {
276 reg = <PX30_PD_SDCARD>;
277 clocks = <&cru HCLK_SDMMC>,
279 pm_qos = <&qos_sdmmc>;
280 #power-domain-cells = <0>;
282 power-domain@PX30_PD_GMAC {
283 reg = <PX30_PD_GMAC>;
284 clocks = <&cru ACLK_GMAC>,
287 <&cru SCLK_GMAC_RX_TX>;
288 pm_qos = <&qos_gmac>;
289 #power-domain-cells = <0>;
291 power-domain@PX30_PD_MMC_NAND {
292 reg = <PX30_PD_MMC_NAND>;
293 clocks = <&cru HCLK_NANDC>,
301 pm_qos = <&qos_emmc>, <&qos_nand>,
302 <&qos_sdio>, <&qos_sfc>;
303 #power-domain-cells = <0>;
305 power-domain@PX30_PD_VPU {
307 clocks = <&cru ACLK_VPU>,
309 <&cru SCLK_CORE_VPU>;
310 pm_qos = <&qos_vpu>, <&qos_vpu_r128>;
311 #power-domain-cells = <0>;
313 power-domain@PX30_PD_VO {
315 clocks = <&cru ACLK_RGA>,
323 <&cru PCLK_MIPI_DSI>,
324 <&cru SCLK_RGA_CORE>,
325 <&cru SCLK_VOPB_PWM>;
326 pm_qos = <&qos_rga_rd>, <&qos_rga_wr>,
327 <&qos_vop_m0>, <&qos_vop_m1>;
328 #power-domain-cells = <0>;
330 power-domain@PX30_PD_VI {
332 clocks = <&cru ACLK_CIF>,
337 pm_qos = <&qos_isp_128>, <&qos_isp_rd>,
338 <&qos_isp_wr>, <&qos_isp_m1>,
340 #power-domain-cells = <0>;
342 power-domain@PX30_PD_GPU {
344 clocks = <&cru SCLK_GPU>;
346 #power-domain-cells = <0>;
351 pmugrf: syscon@ff010000 {
352 compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd";
353 reg = <0x0 0xff010000 0x0 0x1000>;
354 #address-cells = <1>;
357 pmu_io_domains: io-domains {
358 compatible = "rockchip,px30-pmu-io-voltage-domain";
363 compatible = "syscon-reboot-mode";
365 mode-bootloader = <BOOT_BL_DOWNLOAD>;
366 mode-fastboot = <BOOT_FASTBOOT>;
367 mode-loader = <BOOT_BL_DOWNLOAD>;
368 mode-normal = <BOOT_NORMAL>;
369 mode-recovery = <BOOT_RECOVERY>;
373 uart0: serial@ff030000 {
374 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
375 reg = <0x0 0xff030000 0x0 0x100>;
376 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&pmucru SCLK_UART0_PMU>, <&pmucru PCLK_UART0_PMU>;
378 clock-names = "baudclk", "apb_pclk";
379 dmas = <&dmac 0>, <&dmac 1>;
380 dma-names = "tx", "rx";
383 pinctrl-names = "default";
384 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
388 i2s0_8ch: i2s@ff060000 {
389 compatible = "rockchip,px30-i2s-tdm";
390 reg = <0x0 0xff060000 0x0 0x1000>;
391 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
392 clocks = <&cru SCLK_I2S0_TX>, <&cru SCLK_I2S0_RX>, <&cru HCLK_I2S0>;
393 clock-names = "mclk_tx", "mclk_rx", "hclk";
394 dmas = <&dmac 16>, <&dmac 17>;
395 dma-names = "tx", "rx";
396 rockchip,grf = <&grf>;
397 resets = <&cru SRST_I2S0_TX>, <&cru SRST_I2S0_RX>;
398 reset-names = "tx-m", "rx-m";
399 pinctrl-names = "default";
400 pinctrl-0 = <&i2s0_8ch_sclktx &i2s0_8ch_sclkrx
401 &i2s0_8ch_lrcktx &i2s0_8ch_lrckrx
402 &i2s0_8ch_sdo0 &i2s0_8ch_sdi0
403 &i2s0_8ch_sdo1 &i2s0_8ch_sdi1
404 &i2s0_8ch_sdo2 &i2s0_8ch_sdi2
405 &i2s0_8ch_sdo3 &i2s0_8ch_sdi3>;
406 #sound-dai-cells = <0>;
410 i2s1_2ch: i2s@ff070000 {
411 compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
412 reg = <0x0 0xff070000 0x0 0x1000>;
413 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
414 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1>;
415 clock-names = "i2s_clk", "i2s_hclk";
416 dmas = <&dmac 18>, <&dmac 19>;
417 dma-names = "tx", "rx";
418 pinctrl-names = "default";
419 pinctrl-0 = <&i2s1_2ch_sclk &i2s1_2ch_lrck
420 &i2s1_2ch_sdi &i2s1_2ch_sdo>;
421 #sound-dai-cells = <0>;
425 i2s2_2ch: i2s@ff080000 {
426 compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
427 reg = <0x0 0xff080000 0x0 0x1000>;
428 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
429 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2>;
430 clock-names = "i2s_clk", "i2s_hclk";
431 dmas = <&dmac 20>, <&dmac 21>;
432 dma-names = "tx", "rx";
433 pinctrl-names = "default";
434 pinctrl-0 = <&i2s2_2ch_sclk &i2s2_2ch_lrck
435 &i2s2_2ch_sdi &i2s2_2ch_sdo>;
436 #sound-dai-cells = <0>;
440 gic: interrupt-controller@ff131000 {
441 compatible = "arm,gic-400";
442 #interrupt-cells = <3>;
443 #address-cells = <0>;
444 interrupt-controller;
445 reg = <0x0 0xff131000 0 0x1000>,
446 <0x0 0xff132000 0 0x2000>,
447 <0x0 0xff134000 0 0x2000>,
448 <0x0 0xff136000 0 0x2000>;
449 interrupts = <GIC_PPI 9
450 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
453 grf: syscon@ff140000 {
454 compatible = "rockchip,px30-grf", "syscon", "simple-mfd";
455 reg = <0x0 0xff140000 0x0 0x1000>;
456 #address-cells = <1>;
459 io_domains: io-domains {
460 compatible = "rockchip,px30-io-voltage-domain";
465 compatible = "rockchip,px30-lvds";
468 rockchip,grf = <&grf>;
469 rockchip,output = "lvds";
473 #address-cells = <1>;
478 #address-cells = <1>;
481 lvds_vopb_in: endpoint@0 {
483 remote-endpoint = <&vopb_out_lvds>;
486 lvds_vopl_in: endpoint@1 {
488 remote-endpoint = <&vopl_out_lvds>;
499 uart1: serial@ff158000 {
500 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
501 reg = <0x0 0xff158000 0x0 0x100>;
502 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
503 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
504 clock-names = "baudclk", "apb_pclk";
505 dmas = <&dmac 2>, <&dmac 3>;
506 dma-names = "tx", "rx";
509 pinctrl-names = "default";
510 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
514 uart2: serial@ff160000 {
515 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
516 reg = <0x0 0xff160000 0x0 0x100>;
517 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
518 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
519 clock-names = "baudclk", "apb_pclk";
520 dmas = <&dmac 4>, <&dmac 5>;
521 dma-names = "tx", "rx";
524 pinctrl-names = "default";
525 pinctrl-0 = <&uart2m0_xfer>;
529 uart3: serial@ff168000 {
530 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
531 reg = <0x0 0xff168000 0x0 0x100>;
532 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
533 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
534 clock-names = "baudclk", "apb_pclk";
535 dmas = <&dmac 6>, <&dmac 7>;
536 dma-names = "tx", "rx";
539 pinctrl-names = "default";
540 pinctrl-0 = <&uart3m1_xfer &uart3m1_cts &uart3m1_rts>;
544 uart4: serial@ff170000 {
545 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
546 reg = <0x0 0xff170000 0x0 0x100>;
547 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
548 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
549 clock-names = "baudclk", "apb_pclk";
550 dmas = <&dmac 8>, <&dmac 9>;
551 dma-names = "tx", "rx";
554 pinctrl-names = "default";
555 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
559 uart5: serial@ff178000 {
560 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
561 reg = <0x0 0xff178000 0x0 0x100>;
562 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
563 clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
564 clock-names = "baudclk", "apb_pclk";
565 dmas = <&dmac 10>, <&dmac 11>;
566 dma-names = "tx", "rx";
569 pinctrl-names = "default";
570 pinctrl-0 = <&uart5_xfer &uart5_cts &uart5_rts>;
575 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
576 reg = <0x0 0xff180000 0x0 0x1000>;
577 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
578 clock-names = "i2c", "pclk";
579 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
580 pinctrl-names = "default";
581 pinctrl-0 = <&i2c0_xfer>;
582 #address-cells = <1>;
588 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
589 reg = <0x0 0xff190000 0x0 0x1000>;
590 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
591 clock-names = "i2c", "pclk";
592 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
593 pinctrl-names = "default";
594 pinctrl-0 = <&i2c1_xfer>;
595 #address-cells = <1>;
601 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
602 reg = <0x0 0xff1a0000 0x0 0x1000>;
603 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
604 clock-names = "i2c", "pclk";
605 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
606 pinctrl-names = "default";
607 pinctrl-0 = <&i2c2_xfer>;
608 #address-cells = <1>;
614 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
615 reg = <0x0 0xff1b0000 0x0 0x1000>;
616 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
617 clock-names = "i2c", "pclk";
618 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
619 pinctrl-names = "default";
620 pinctrl-0 = <&i2c3_xfer>;
621 #address-cells = <1>;
627 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
628 reg = <0x0 0xff1d0000 0x0 0x1000>;
629 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
630 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
631 clock-names = "spiclk", "apb_pclk";
632 dmas = <&dmac 12>, <&dmac 13>;
633 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";
651 pinctrl-names = "default";
652 pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_csn1 &spi1_miso &spi1_mosi>;
653 #address-cells = <1>;
658 wdt: watchdog@ff1e0000 {
659 compatible = "rockchip,px30-wdt", "snps,dw-wdt";
660 reg = <0x0 0xff1e0000 0x0 0x100>;
661 clocks = <&cru PCLK_WDT_NS>;
662 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
667 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
668 reg = <0x0 0xff200000 0x0 0x10>;
669 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
670 clock-names = "pwm", "pclk";
671 pinctrl-names = "default";
672 pinctrl-0 = <&pwm0_pin>;
678 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
679 reg = <0x0 0xff200010 0x0 0x10>;
680 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
681 clock-names = "pwm", "pclk";
682 pinctrl-names = "default";
683 pinctrl-0 = <&pwm1_pin>;
689 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
690 reg = <0x0 0xff200020 0x0 0x10>;
691 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
692 clock-names = "pwm", "pclk";
693 pinctrl-names = "default";
694 pinctrl-0 = <&pwm2_pin>;
700 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
701 reg = <0x0 0xff200030 0x0 0x10>;
702 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
703 clock-names = "pwm", "pclk";
704 pinctrl-names = "default";
705 pinctrl-0 = <&pwm3_pin>;
711 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
712 reg = <0x0 0xff208000 0x0 0x10>;
713 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
714 clock-names = "pwm", "pclk";
715 pinctrl-names = "default";
716 pinctrl-0 = <&pwm4_pin>;
722 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
723 reg = <0x0 0xff208010 0x0 0x10>;
724 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
725 clock-names = "pwm", "pclk";
726 pinctrl-names = "default";
727 pinctrl-0 = <&pwm5_pin>;
733 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
734 reg = <0x0 0xff208020 0x0 0x10>;
735 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
736 clock-names = "pwm", "pclk";
737 pinctrl-names = "default";
738 pinctrl-0 = <&pwm6_pin>;
744 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
745 reg = <0x0 0xff208030 0x0 0x10>;
746 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
747 clock-names = "pwm", "pclk";
748 pinctrl-names = "default";
749 pinctrl-0 = <&pwm7_pin>;
754 rktimer: timer@ff210000 {
755 compatible = "rockchip,px30-timer", "rockchip,rk3288-timer";
756 reg = <0x0 0xff210000 0x0 0x1000>;
757 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
758 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
759 clock-names = "pclk", "timer";
762 dmac: dma-controller@ff240000 {
763 compatible = "arm,pl330", "arm,primecell";
764 reg = <0x0 0xff240000 0x0 0x4000>;
765 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
766 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
767 arm,pl330-periph-burst;
768 clocks = <&cru ACLK_DMAC>;
769 clock-names = "apb_pclk";
773 tsadc: tsadc@ff280000 {
774 compatible = "rockchip,px30-tsadc";
775 reg = <0x0 0xff280000 0x0 0x100>;
776 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
777 assigned-clocks = <&cru SCLK_TSADC>;
778 assigned-clock-rates = <50000>;
779 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
780 clock-names = "tsadc", "apb_pclk";
781 resets = <&cru SRST_TSADC>;
782 reset-names = "tsadc-apb";
783 rockchip,grf = <&grf>;
784 rockchip,hw-tshut-temp = <120000>;
785 pinctrl-names = "init", "default", "sleep";
786 pinctrl-0 = <&tsadc_otp_pin>;
787 pinctrl-1 = <&tsadc_otp_out>;
788 pinctrl-2 = <&tsadc_otp_pin>;
789 #thermal-sensor-cells = <1>;
793 saradc: saradc@ff288000 {
794 compatible = "rockchip,px30-saradc", "rockchip,rk3399-saradc";
795 reg = <0x0 0xff288000 0x0 0x100>;
796 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
797 #io-channel-cells = <1>;
798 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
799 clock-names = "saradc", "apb_pclk";
800 resets = <&cru SRST_SARADC_P>;
801 reset-names = "saradc-apb";
805 otp: nvmem@ff290000 {
806 compatible = "rockchip,px30-otp";
807 reg = <0x0 0xff290000 0x0 0x4000>;
808 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
810 clock-names = "otp", "apb_pclk", "phy";
811 resets = <&cru SRST_OTP_PHY>;
813 #address-cells = <1>;
820 cpu_leakage: cpu-leakage@17 {
823 performance: performance@1e {
829 cru: clock-controller@ff2b0000 {
830 compatible = "rockchip,px30-cru";
831 reg = <0x0 0xff2b0000 0x0 0x1000>;
832 clocks = <&xin24m>, <&pmucru PLL_GPLL>;
833 clock-names = "xin24m", "gpll";
834 rockchip,grf = <&grf>;
838 assigned-clocks = <&cru PLL_NPLL>,
839 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
840 <&cru HCLK_BUS_PRE>, <&cru HCLK_PERI_PRE>,
841 <&cru PCLK_BUS_PRE>, <&cru SCLK_GPU>;
843 assigned-clock-rates = <1188000000>,
844 <200000000>, <200000000>,
845 <150000000>, <150000000>,
846 <100000000>, <200000000>;
849 pmucru: clock-controller@ff2bc000 {
850 compatible = "rockchip,px30-pmucru";
851 reg = <0x0 0xff2bc000 0x0 0x1000>;
853 clock-names = "xin24m";
854 rockchip,grf = <&grf>;
859 <&pmucru PLL_GPLL>, <&pmucru PCLK_PMU_PRE>,
860 <&pmucru SCLK_WIFI_PMU>;
861 assigned-clock-rates =
862 <1200000000>, <100000000>,
866 usb2phy_grf: syscon@ff2c0000 {
867 compatible = "rockchip,px30-usb2phy-grf", "syscon",
869 reg = <0x0 0xff2c0000 0x0 0x10000>;
870 #address-cells = <1>;
874 compatible = "rockchip,px30-usb2phy";
876 clocks = <&pmucru SCLK_USBPHY_REF>;
877 clock-names = "phyclk";
879 assigned-clocks = <&cru USB480M>;
880 assigned-clock-parents = <&u2phy>;
881 clock-output-names = "usb480m_phy";
884 u2phy_host: host-port {
886 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
887 interrupt-names = "linestate";
891 u2phy_otg: otg-port {
893 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
894 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
895 <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
896 interrupt-names = "otg-bvalid", "otg-id",
903 dsi_dphy: phy@ff2e0000 {
904 compatible = "rockchip,px30-dsi-dphy";
905 reg = <0x0 0xff2e0000 0x0 0x10000>;
906 clocks = <&pmucru SCLK_MIPIDSIPHY_REF>, <&cru PCLK_MIPIDSIPHY>;
907 clock-names = "ref", "pclk";
908 resets = <&cru SRST_MIPIDSIPHY_P>;
911 power-domains = <&power PX30_PD_VO>;
915 csi_dphy: phy@ff2f0000 {
916 compatible = "rockchip,px30-csi-dphy";
917 reg = <0x0 0xff2f0000 0x0 0x4000>;
918 clocks = <&cru PCLK_MIPICSIPHY>;
919 clock-names = "pclk";
921 power-domains = <&power PX30_PD_VI>;
922 resets = <&cru SRST_MIPICSIPHY_P>;
924 rockchip,grf = <&grf>;
928 usb20_otg: usb@ff300000 {
929 compatible = "rockchip,px30-usb", "rockchip,rk3066-usb",
931 reg = <0x0 0xff300000 0x0 0x40000>;
932 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
933 clocks = <&cru HCLK_OTG>;
936 g-np-tx-fifo-size = <16>;
937 g-rx-fifo-size = <280>;
938 g-tx-fifo-size = <256 128 128 64 32 16>;
940 phy-names = "usb2-phy";
941 power-domains = <&power PX30_PD_USB>;
945 usb_host0_ehci: usb@ff340000 {
946 compatible = "generic-ehci";
947 reg = <0x0 0xff340000 0x0 0x10000>;
948 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
949 clocks = <&cru HCLK_HOST>;
950 phys = <&u2phy_host>;
952 power-domains = <&power PX30_PD_USB>;
956 usb_host0_ohci: usb@ff350000 {
957 compatible = "generic-ohci";
958 reg = <0x0 0xff350000 0x0 0x10000>;
959 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
960 clocks = <&cru HCLK_HOST>;
961 phys = <&u2phy_host>;
963 power-domains = <&power PX30_PD_USB>;
967 gmac: ethernet@ff360000 {
968 compatible = "rockchip,px30-gmac";
969 reg = <0x0 0xff360000 0x0 0x10000>;
970 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
971 interrupt-names = "macirq";
972 clocks = <&cru SCLK_GMAC>, <&cru SCLK_GMAC_RX_TX>,
973 <&cru SCLK_GMAC_RX_TX>, <&cru SCLK_MAC_REF>,
974 <&cru SCLK_MAC_REFOUT>, <&cru ACLK_GMAC>,
975 <&cru PCLK_GMAC>, <&cru SCLK_GMAC_RMII>;
976 clock-names = "stmmaceth", "mac_clk_rx",
977 "mac_clk_tx", "clk_mac_ref",
978 "clk_mac_refout", "aclk_mac",
979 "pclk_mac", "clk_mac_speed";
980 rockchip,grf = <&grf>;
982 pinctrl-names = "default";
983 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
984 power-domains = <&power PX30_PD_GMAC>;
985 resets = <&cru SRST_GMAC_A>;
986 reset-names = "stmmaceth";
990 sdmmc: mmc@ff370000 {
991 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
992 reg = <0x0 0xff370000 0x0 0x4000>;
993 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
994 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
995 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
996 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
998 fifo-depth = <0x100>;
999 max-frequency = <150000000>;
1000 pinctrl-names = "default";
1001 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
1002 power-domains = <&power PX30_PD_SDCARD>;
1003 status = "disabled";
1006 sdio: mmc@ff380000 {
1007 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
1008 reg = <0x0 0xff380000 0x0 0x4000>;
1009 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
1010 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
1011 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
1012 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1014 fifo-depth = <0x100>;
1015 max-frequency = <150000000>;
1016 pinctrl-names = "default";
1017 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
1018 power-domains = <&power PX30_PD_MMC_NAND>;
1019 status = "disabled";
1022 emmc: mmc@ff390000 {
1023 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
1024 reg = <0x0 0xff390000 0x0 0x4000>;
1025 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
1026 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
1027 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
1028 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1030 fifo-depth = <0x100>;
1031 max-frequency = <150000000>;
1032 pinctrl-names = "default";
1033 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
1034 power-domains = <&power PX30_PD_MMC_NAND>;
1035 status = "disabled";
1039 compatible = "rockchip,sfc";
1040 reg = <0x0 0xff3a0000 0x0 0x4000>;
1041 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
1042 clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
1043 clock-names = "clk_sfc", "hclk_sfc";
1044 pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
1045 pinctrl-names = "default";
1046 power-domains = <&power PX30_PD_MMC_NAND>;
1047 status = "disabled";
1050 nfc: nand-controller@ff3b0000 {
1051 compatible = "rockchip,px30-nfc";
1052 reg = <0x0 0xff3b0000 0x0 0x4000>;
1053 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
1054 clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
1055 clock-names = "ahb", "nfc";
1056 assigned-clocks = <&cru SCLK_NANDC>;
1057 assigned-clock-rates = <150000000>;
1058 pinctrl-names = "default";
1059 pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0
1060 &flash_rdn &flash_rdy &flash_wrn &flash_dqs>;
1061 power-domains = <&power PX30_PD_MMC_NAND>;
1062 status = "disabled";
1065 gpu_opp_table: opp-table-1 {
1066 compatible = "operating-points-v2";
1069 opp-hz = /bits/ 64 <200000000>;
1070 opp-microvolt = <950000>;
1073 opp-hz = /bits/ 64 <300000000>;
1074 opp-microvolt = <975000>;
1077 opp-hz = /bits/ 64 <400000000>;
1078 opp-microvolt = <1050000>;
1081 opp-hz = /bits/ 64 <480000000>;
1082 opp-microvolt = <1125000>;
1087 compatible = "rockchip,px30-mali", "arm,mali-bifrost";
1088 reg = <0x0 0xff400000 0x0 0x4000>;
1089 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
1090 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
1091 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
1092 interrupt-names = "job", "mmu", "gpu";
1093 clocks = <&cru SCLK_GPU>;
1094 #cooling-cells = <2>;
1095 power-domains = <&power PX30_PD_GPU>;
1096 operating-points-v2 = <&gpu_opp_table>;
1097 status = "disabled";
1100 vpu: video-codec@ff442000 {
1101 compatible = "rockchip,px30-vpu";
1102 reg = <0x0 0xff442000 0x0 0x800>;
1103 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
1104 <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1105 interrupt-names = "vepu", "vdpu";
1106 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
1107 clock-names = "aclk", "hclk";
1108 iommus = <&vpu_mmu>;
1109 power-domains = <&power PX30_PD_VPU>;
1112 vpu_mmu: iommu@ff442800 {
1113 compatible = "rockchip,iommu";
1114 reg = <0x0 0xff442800 0x0 0x100>;
1115 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1116 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
1117 clock-names = "aclk", "iface";
1119 power-domains = <&power PX30_PD_VPU>;
1123 compatible = "rockchip,px30-mipi-dsi", "snps,dw-mipi-dsi";
1124 reg = <0x0 0xff450000 0x0 0x10000>;
1125 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1126 clocks = <&cru PCLK_MIPI_DSI>;
1127 clock-names = "pclk";
1130 power-domains = <&power PX30_PD_VO>;
1131 resets = <&cru SRST_MIPIDSI_HOST_P>;
1132 reset-names = "apb";
1133 rockchip,grf = <&grf>;
1134 #address-cells = <1>;
1136 status = "disabled";
1139 #address-cells = <1>;
1144 #address-cells = <1>;
1147 dsi_in_vopb: endpoint@0 {
1149 remote-endpoint = <&vopb_out_dsi>;
1152 dsi_in_vopl: endpoint@1 {
1154 remote-endpoint = <&vopl_out_dsi>;
1164 vopb: vop@ff460000 {
1165 compatible = "rockchip,px30-vop-big";
1166 reg = <0x0 0xff460000 0x0 0xefc>;
1167 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
1168 clocks = <&cru ACLK_VOPB>, <&cru DCLK_VOPB>,
1170 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1171 resets = <&cru SRST_VOPB_A>, <&cru SRST_VOPB_H>, <&cru SRST_VOPB>;
1172 reset-names = "axi", "ahb", "dclk";
1173 iommus = <&vopb_mmu>;
1174 power-domains = <&power PX30_PD_VO>;
1175 status = "disabled";
1178 #address-cells = <1>;
1181 vopb_out_dsi: endpoint@0 {
1183 remote-endpoint = <&dsi_in_vopb>;
1186 vopb_out_lvds: endpoint@1 {
1188 remote-endpoint = <&lvds_vopb_in>;
1193 vopb_mmu: iommu@ff460f00 {
1194 compatible = "rockchip,iommu";
1195 reg = <0x0 0xff460f00 0x0 0x100>;
1196 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
1197 clocks = <&cru ACLK_VOPB>, <&cru HCLK_VOPB>;
1198 clock-names = "aclk", "iface";
1199 power-domains = <&power PX30_PD_VO>;
1201 status = "disabled";
1204 vopl: vop@ff470000 {
1205 compatible = "rockchip,px30-vop-lit";
1206 reg = <0x0 0xff470000 0x0 0xefc>;
1207 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
1208 clocks = <&cru ACLK_VOPL>, <&cru DCLK_VOPL>,
1210 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1211 resets = <&cru SRST_VOPL_A>, <&cru SRST_VOPL_H>, <&cru SRST_VOPL>;
1212 reset-names = "axi", "ahb", "dclk";
1213 iommus = <&vopl_mmu>;
1214 power-domains = <&power PX30_PD_VO>;
1215 status = "disabled";
1218 #address-cells = <1>;
1221 vopl_out_dsi: endpoint@0 {
1223 remote-endpoint = <&dsi_in_vopl>;
1226 vopl_out_lvds: endpoint@1 {
1228 remote-endpoint = <&lvds_vopl_in>;
1233 vopl_mmu: iommu@ff470f00 {
1234 compatible = "rockchip,iommu";
1235 reg = <0x0 0xff470f00 0x0 0x100>;
1236 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
1237 clocks = <&cru ACLK_VOPL>, <&cru HCLK_VOPL>;
1238 clock-names = "aclk", "iface";
1239 power-domains = <&power PX30_PD_VO>;
1241 status = "disabled";
1245 compatible = "rockchip,px30-cif-isp"; /*rk3326-rkisp1*/
1246 reg = <0x0 0xff4a0000 0x0 0x8000>;
1247 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
1248 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
1249 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
1250 interrupt-names = "isp", "mi", "mipi";
1251 clocks = <&cru SCLK_ISP>,
1255 clock-names = "isp", "aclk", "hclk", "pclk";
1256 iommus = <&isp_mmu>;
1259 power-domains = <&power PX30_PD_VI>;
1260 status = "disabled";
1263 #address-cells = <1>;
1268 #address-cells = <1>;
1274 isp_mmu: iommu@ff4a8000 {
1275 compatible = "rockchip,iommu";
1276 reg = <0x0 0xff4a8000 0x0 0x100>;
1277 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1278 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>;
1279 clock-names = "aclk", "iface";
1280 power-domains = <&power PX30_PD_VI>;
1281 rockchip,disable-mmu-reset;
1285 qos_gmac: qos@ff518000 {
1286 compatible = "rockchip,px30-qos", "syscon";
1287 reg = <0x0 0xff518000 0x0 0x20>;
1290 qos_gpu: qos@ff520000 {
1291 compatible = "rockchip,px30-qos", "syscon";
1292 reg = <0x0 0xff520000 0x0 0x20>;
1295 qos_sdmmc: qos@ff52c000 {
1296 compatible = "rockchip,px30-qos", "syscon";
1297 reg = <0x0 0xff52c000 0x0 0x20>;
1300 qos_emmc: qos@ff538000 {
1301 compatible = "rockchip,px30-qos", "syscon";
1302 reg = <0x0 0xff538000 0x0 0x20>;
1305 qos_nand: qos@ff538080 {
1306 compatible = "rockchip,px30-qos", "syscon";
1307 reg = <0x0 0xff538080 0x0 0x20>;
1310 qos_sdio: qos@ff538100 {
1311 compatible = "rockchip,px30-qos", "syscon";
1312 reg = <0x0 0xff538100 0x0 0x20>;
1315 qos_sfc: qos@ff538180 {
1316 compatible = "rockchip,px30-qos", "syscon";
1317 reg = <0x0 0xff538180 0x0 0x20>;
1320 qos_usb_host: qos@ff540000 {
1321 compatible = "rockchip,px30-qos", "syscon";
1322 reg = <0x0 0xff540000 0x0 0x20>;
1325 qos_usb_otg: qos@ff540080 {
1326 compatible = "rockchip,px30-qos", "syscon";
1327 reg = <0x0 0xff540080 0x0 0x20>;
1330 qos_isp_128: qos@ff548000 {
1331 compatible = "rockchip,px30-qos", "syscon";
1332 reg = <0x0 0xff548000 0x0 0x20>;
1335 qos_isp_rd: qos@ff548080 {
1336 compatible = "rockchip,px30-qos", "syscon";
1337 reg = <0x0 0xff548080 0x0 0x20>;
1340 qos_isp_wr: qos@ff548100 {
1341 compatible = "rockchip,px30-qos", "syscon";
1342 reg = <0x0 0xff548100 0x0 0x20>;
1345 qos_isp_m1: qos@ff548180 {
1346 compatible = "rockchip,px30-qos", "syscon";
1347 reg = <0x0 0xff548180 0x0 0x20>;
1350 qos_vip: qos@ff548200 {
1351 compatible = "rockchip,px30-qos", "syscon";
1352 reg = <0x0 0xff548200 0x0 0x20>;
1355 qos_rga_rd: qos@ff550000 {
1356 compatible = "rockchip,px30-qos", "syscon";
1357 reg = <0x0 0xff550000 0x0 0x20>;
1360 qos_rga_wr: qos@ff550080 {
1361 compatible = "rockchip,px30-qos", "syscon";
1362 reg = <0x0 0xff550080 0x0 0x20>;
1365 qos_vop_m0: qos@ff550100 {
1366 compatible = "rockchip,px30-qos", "syscon";
1367 reg = <0x0 0xff550100 0x0 0x20>;
1370 qos_vop_m1: qos@ff550180 {
1371 compatible = "rockchip,px30-qos", "syscon";
1372 reg = <0x0 0xff550180 0x0 0x20>;
1375 qos_vpu: qos@ff558000 {
1376 compatible = "rockchip,px30-qos", "syscon";
1377 reg = <0x0 0xff558000 0x0 0x20>;
1380 qos_vpu_r128: qos@ff558080 {
1381 compatible = "rockchip,px30-qos", "syscon";
1382 reg = <0x0 0xff558080 0x0 0x20>;
1386 compatible = "rockchip,px30-pinctrl";
1387 rockchip,grf = <&grf>;
1388 rockchip,pmu = <&pmugrf>;
1389 #address-cells = <2>;
1393 gpio0: gpio@ff040000 {
1394 compatible = "rockchip,gpio-bank";
1395 reg = <0x0 0xff040000 0x0 0x100>;
1396 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
1397 clocks = <&pmucru PCLK_GPIO0_PMU>;
1401 interrupt-controller;
1402 #interrupt-cells = <2>;
1405 gpio1: gpio@ff250000 {
1406 compatible = "rockchip,gpio-bank";
1407 reg = <0x0 0xff250000 0x0 0x100>;
1408 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1409 clocks = <&cru PCLK_GPIO1>;
1413 interrupt-controller;
1414 #interrupt-cells = <2>;
1417 gpio2: gpio@ff260000 {
1418 compatible = "rockchip,gpio-bank";
1419 reg = <0x0 0xff260000 0x0 0x100>;
1420 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1421 clocks = <&cru PCLK_GPIO2>;
1425 interrupt-controller;
1426 #interrupt-cells = <2>;
1429 gpio3: gpio@ff270000 {
1430 compatible = "rockchip,gpio-bank";
1431 reg = <0x0 0xff270000 0x0 0x100>;
1432 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1433 clocks = <&cru PCLK_GPIO3>;
1437 interrupt-controller;
1438 #interrupt-cells = <2>;
1441 pcfg_pull_up: pcfg-pull-up {
1445 pcfg_pull_down: pcfg-pull-down {
1449 pcfg_pull_none: pcfg-pull-none {
1453 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
1455 drive-strength = <2>;
1458 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1460 drive-strength = <2>;
1463 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1465 drive-strength = <4>;
1468 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
1470 drive-strength = <4>;
1473 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
1475 drive-strength = <4>;
1478 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
1480 drive-strength = <8>;
1483 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1485 drive-strength = <8>;
1488 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1490 drive-strength = <12>;
1493 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1495 drive-strength = <12>;
1498 pcfg_pull_none_smt: pcfg-pull-none-smt {
1500 input-schmitt-enable;
1503 pcfg_output_high: pcfg-output-high {
1507 pcfg_output_low: pcfg-output-low {
1511 pcfg_input_high: pcfg-input-high {
1516 pcfg_input: pcfg-input {
1521 i2c0_xfer: i2c0-xfer {
1523 <0 RK_PB0 1 &pcfg_pull_none_smt>,
1524 <0 RK_PB1 1 &pcfg_pull_none_smt>;
1529 i2c1_xfer: i2c1-xfer {
1531 <0 RK_PC2 1 &pcfg_pull_none_smt>,
1532 <0 RK_PC3 1 &pcfg_pull_none_smt>;
1537 i2c2_xfer: i2c2-xfer {
1539 <2 RK_PB7 2 &pcfg_pull_none_smt>,
1540 <2 RK_PC0 2 &pcfg_pull_none_smt>;
1545 i2c3_xfer: i2c3-xfer {
1547 <1 RK_PB4 4 &pcfg_pull_none_smt>,
1548 <1 RK_PB5 4 &pcfg_pull_none_smt>;
1553 tsadc_otp_pin: tsadc-otp-pin {
1555 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
1558 tsadc_otp_out: tsadc-otp-out {
1560 <0 RK_PA6 1 &pcfg_pull_none>;
1565 uart0_xfer: uart0-xfer {
1567 <0 RK_PB2 1 &pcfg_pull_up>,
1568 <0 RK_PB3 1 &pcfg_pull_up>;
1571 uart0_cts: uart0-cts {
1573 <0 RK_PB4 1 &pcfg_pull_none>;
1576 uart0_rts: uart0-rts {
1578 <0 RK_PB5 1 &pcfg_pull_none>;
1583 uart1_xfer: uart1-xfer {
1585 <1 RK_PC1 1 &pcfg_pull_up>,
1586 <1 RK_PC0 1 &pcfg_pull_up>;
1589 uart1_cts: uart1-cts {
1591 <1 RK_PC2 1 &pcfg_pull_none>;
1594 uart1_rts: uart1-rts {
1596 <1 RK_PC3 1 &pcfg_pull_none>;
1601 uart2m0_xfer: uart2m0-xfer {
1603 <1 RK_PD2 2 &pcfg_pull_up>,
1604 <1 RK_PD3 2 &pcfg_pull_up>;
1609 uart2m1_xfer: uart2m1-xfer {
1611 <2 RK_PB4 2 &pcfg_pull_up>,
1612 <2 RK_PB6 2 &pcfg_pull_up>;
1617 uart3m0_xfer: uart3m0-xfer {
1619 <0 RK_PC0 2 &pcfg_pull_up>,
1620 <0 RK_PC1 2 &pcfg_pull_up>;
1623 uart3m0_cts: uart3m0-cts {
1625 <0 RK_PC2 2 &pcfg_pull_none>;
1628 uart3m0_rts: uart3m0-rts {
1630 <0 RK_PC3 2 &pcfg_pull_none>;
1635 uart3m1_xfer: uart3m1-xfer {
1637 <1 RK_PB6 2 &pcfg_pull_up>,
1638 <1 RK_PB7 2 &pcfg_pull_up>;
1641 uart3m1_cts: uart3m1-cts {
1643 <1 RK_PB4 2 &pcfg_pull_none>;
1646 uart3m1_rts: uart3m1-rts {
1648 <1 RK_PB5 2 &pcfg_pull_none>;
1653 uart4_xfer: uart4-xfer {
1655 <1 RK_PD4 2 &pcfg_pull_up>,
1656 <1 RK_PD5 2 &pcfg_pull_up>;
1659 uart4_cts: uart4-cts {
1661 <1 RK_PD6 2 &pcfg_pull_none>;
1664 uart4_rts: uart4-rts {
1666 <1 RK_PD7 2 &pcfg_pull_none>;
1671 uart5_xfer: uart5-xfer {
1673 <3 RK_PA2 4 &pcfg_pull_up>,
1674 <3 RK_PA1 4 &pcfg_pull_up>;
1677 uart5_cts: uart5-cts {
1679 <3 RK_PA3 4 &pcfg_pull_none>;
1682 uart5_rts: uart5-rts {
1684 <3 RK_PA5 4 &pcfg_pull_none>;
1689 spi0_clk: spi0-clk {
1691 <1 RK_PB7 3 &pcfg_pull_up_4ma>;
1694 spi0_csn: spi0-csn {
1696 <1 RK_PB6 3 &pcfg_pull_up_4ma>;
1699 spi0_miso: spi0-miso {
1701 <1 RK_PB5 3 &pcfg_pull_up_4ma>;
1704 spi0_mosi: spi0-mosi {
1706 <1 RK_PB4 3 &pcfg_pull_up_4ma>;
1709 spi0_clk_hs: spi0-clk-hs {
1711 <1 RK_PB7 3 &pcfg_pull_up_8ma>;
1714 spi0_miso_hs: spi0-miso-hs {
1716 <1 RK_PB5 3 &pcfg_pull_up_8ma>;
1719 spi0_mosi_hs: spi0-mosi-hs {
1721 <1 RK_PB4 3 &pcfg_pull_up_8ma>;
1726 spi1_clk: spi1-clk {
1728 <3 RK_PB7 4 &pcfg_pull_up_4ma>;
1731 spi1_csn0: spi1-csn0 {
1733 <3 RK_PB1 4 &pcfg_pull_up_4ma>;
1736 spi1_csn1: spi1-csn1 {
1738 <3 RK_PB2 2 &pcfg_pull_up_4ma>;
1741 spi1_miso: spi1-miso {
1743 <3 RK_PB6 4 &pcfg_pull_up_4ma>;
1746 spi1_mosi: spi1-mosi {
1748 <3 RK_PB4 4 &pcfg_pull_up_4ma>;
1751 spi1_clk_hs: spi1-clk-hs {
1753 <3 RK_PB7 4 &pcfg_pull_up_8ma>;
1756 spi1_miso_hs: spi1-miso-hs {
1758 <3 RK_PB6 4 &pcfg_pull_up_8ma>;
1761 spi1_mosi_hs: spi1-mosi-hs {
1763 <3 RK_PB4 4 &pcfg_pull_up_8ma>;
1768 pdm_clk0m0: pdm-clk0m0 {
1770 <3 RK_PC6 2 &pcfg_pull_none>;
1773 pdm_clk0m1: pdm-clk0m1 {
1775 <2 RK_PC6 1 &pcfg_pull_none>;
1778 pdm_clk1: pdm-clk1 {
1780 <3 RK_PC7 2 &pcfg_pull_none>;
1783 pdm_sdi0m0: pdm-sdi0m0 {
1785 <3 RK_PD3 2 &pcfg_pull_none>;
1788 pdm_sdi0m1: pdm-sdi0m1 {
1790 <2 RK_PC5 2 &pcfg_pull_none>;
1793 pdm_sdi1: pdm-sdi1 {
1795 <3 RK_PD0 2 &pcfg_pull_none>;
1798 pdm_sdi2: pdm-sdi2 {
1800 <3 RK_PD1 2 &pcfg_pull_none>;
1803 pdm_sdi3: pdm-sdi3 {
1805 <3 RK_PD2 2 &pcfg_pull_none>;
1808 pdm_clk0m0_sleep: pdm-clk0m0-sleep {
1810 <3 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1813 pdm_clk0m_sleep1: pdm-clk0m1-sleep {
1815 <2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1818 pdm_clk1_sleep: pdm-clk1-sleep {
1820 <3 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
1823 pdm_sdi0m0_sleep: pdm-sdi0m0-sleep {
1825 <3 RK_PD3 RK_FUNC_GPIO &pcfg_input_high>;
1828 pdm_sdi0m1_sleep: pdm-sdi0m1-sleep {
1830 <2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>;
1833 pdm_sdi1_sleep: pdm-sdi1-sleep {
1835 <3 RK_PD0 RK_FUNC_GPIO &pcfg_input_high>;
1838 pdm_sdi2_sleep: pdm-sdi2-sleep {
1840 <3 RK_PD1 RK_FUNC_GPIO &pcfg_input_high>;
1843 pdm_sdi3_sleep: pdm-sdi3-sleep {
1845 <3 RK_PD2 RK_FUNC_GPIO &pcfg_input_high>;
1850 i2s0_8ch_mclk: i2s0-8ch-mclk {
1852 <3 RK_PC1 2 &pcfg_pull_none>;
1855 i2s0_8ch_sclktx: i2s0-8ch-sclktx {
1857 <3 RK_PC3 2 &pcfg_pull_none>;
1860 i2s0_8ch_sclkrx: i2s0-8ch-sclkrx {
1862 <3 RK_PB4 2 &pcfg_pull_none>;
1865 i2s0_8ch_lrcktx: i2s0-8ch-lrcktx {
1867 <3 RK_PC2 2 &pcfg_pull_none>;
1870 i2s0_8ch_lrckrx: i2s0-8ch-lrckrx {
1872 <3 RK_PB5 2 &pcfg_pull_none>;
1875 i2s0_8ch_sdo0: i2s0-8ch-sdo0 {
1877 <3 RK_PC4 2 &pcfg_pull_none>;
1880 i2s0_8ch_sdo1: i2s0-8ch-sdo1 {
1882 <3 RK_PC0 2 &pcfg_pull_none>;
1885 i2s0_8ch_sdo2: i2s0-8ch-sdo2 {
1887 <3 RK_PB7 2 &pcfg_pull_none>;
1890 i2s0_8ch_sdo3: i2s0-8ch-sdo3 {
1892 <3 RK_PB6 2 &pcfg_pull_none>;
1895 i2s0_8ch_sdi0: i2s0-8ch-sdi0 {
1897 <3 RK_PC5 2 &pcfg_pull_none>;
1900 i2s0_8ch_sdi1: i2s0-8ch-sdi1 {
1902 <3 RK_PB3 2 &pcfg_pull_none>;
1905 i2s0_8ch_sdi2: i2s0-8ch-sdi2 {
1907 <3 RK_PB1 2 &pcfg_pull_none>;
1910 i2s0_8ch_sdi3: i2s0-8ch-sdi3 {
1912 <3 RK_PB0 2 &pcfg_pull_none>;
1917 i2s1_2ch_mclk: i2s1-2ch-mclk {
1919 <2 RK_PC3 1 &pcfg_pull_none>;
1922 i2s1_2ch_sclk: i2s1-2ch-sclk {
1924 <2 RK_PC2 1 &pcfg_pull_none>;
1927 i2s1_2ch_lrck: i2s1-2ch-lrck {
1929 <2 RK_PC1 1 &pcfg_pull_none>;
1932 i2s1_2ch_sdi: i2s1-2ch-sdi {
1934 <2 RK_PC5 1 &pcfg_pull_none>;
1937 i2s1_2ch_sdo: i2s1-2ch-sdo {
1939 <2 RK_PC4 1 &pcfg_pull_none>;
1944 i2s2_2ch_mclk: i2s2-2ch-mclk {
1946 <3 RK_PA1 2 &pcfg_pull_none>;
1949 i2s2_2ch_sclk: i2s2-2ch-sclk {
1951 <3 RK_PA2 2 &pcfg_pull_none>;
1954 i2s2_2ch_lrck: i2s2-2ch-lrck {
1956 <3 RK_PA3 2 &pcfg_pull_none>;
1959 i2s2_2ch_sdi: i2s2-2ch-sdi {
1961 <3 RK_PA5 2 &pcfg_pull_none>;
1964 i2s2_2ch_sdo: i2s2-2ch-sdo {
1966 <3 RK_PA7 2 &pcfg_pull_none>;
1971 sdmmc_clk: sdmmc-clk {
1973 <1 RK_PD6 1 &pcfg_pull_none_8ma>;
1976 sdmmc_cmd: sdmmc-cmd {
1978 <1 RK_PD7 1 &pcfg_pull_up_8ma>;
1981 sdmmc_det: sdmmc-det {
1983 <0 RK_PA3 1 &pcfg_pull_up_8ma>;
1986 sdmmc_bus1: sdmmc-bus1 {
1988 <1 RK_PD2 1 &pcfg_pull_up_8ma>;
1991 sdmmc_bus4: sdmmc-bus4 {
1993 <1 RK_PD2 1 &pcfg_pull_up_8ma>,
1994 <1 RK_PD3 1 &pcfg_pull_up_8ma>,
1995 <1 RK_PD4 1 &pcfg_pull_up_8ma>,
1996 <1 RK_PD5 1 &pcfg_pull_up_8ma>;
2001 sdio_clk: sdio-clk {
2003 <1 RK_PC5 1 &pcfg_pull_none>;
2006 sdio_cmd: sdio-cmd {
2008 <1 RK_PC4 1 &pcfg_pull_up>;
2011 sdio_bus4: sdio-bus4 {
2013 <1 RK_PC6 1 &pcfg_pull_up>,
2014 <1 RK_PC7 1 &pcfg_pull_up>,
2015 <1 RK_PD0 1 &pcfg_pull_up>,
2016 <1 RK_PD1 1 &pcfg_pull_up>;
2021 emmc_clk: emmc-clk {
2023 <1 RK_PB1 2 &pcfg_pull_none_8ma>;
2026 emmc_cmd: emmc-cmd {
2028 <1 RK_PB2 2 &pcfg_pull_up_8ma>;
2031 emmc_rstnout: emmc-rstnout {
2033 <1 RK_PB3 2 &pcfg_pull_none>;
2036 emmc_bus1: emmc-bus1 {
2038 <1 RK_PA0 2 &pcfg_pull_up_8ma>;
2041 emmc_bus4: emmc-bus4 {
2043 <1 RK_PA0 2 &pcfg_pull_up_8ma>,
2044 <1 RK_PA1 2 &pcfg_pull_up_8ma>,
2045 <1 RK_PA2 2 &pcfg_pull_up_8ma>,
2046 <1 RK_PA3 2 &pcfg_pull_up_8ma>;
2049 emmc_bus8: emmc-bus8 {
2051 <1 RK_PA0 2 &pcfg_pull_up_8ma>,
2052 <1 RK_PA1 2 &pcfg_pull_up_8ma>,
2053 <1 RK_PA2 2 &pcfg_pull_up_8ma>,
2054 <1 RK_PA3 2 &pcfg_pull_up_8ma>,
2055 <1 RK_PA4 2 &pcfg_pull_up_8ma>,
2056 <1 RK_PA5 2 &pcfg_pull_up_8ma>,
2057 <1 RK_PA6 2 &pcfg_pull_up_8ma>,
2058 <1 RK_PA7 2 &pcfg_pull_up_8ma>;
2063 flash_cs0: flash-cs0 {
2065 <1 RK_PB0 1 &pcfg_pull_none>;
2068 flash_rdy: flash-rdy {
2070 <1 RK_PB1 1 &pcfg_pull_none>;
2073 flash_dqs: flash-dqs {
2075 <1 RK_PB2 1 &pcfg_pull_none>;
2078 flash_ale: flash-ale {
2080 <1 RK_PB3 1 &pcfg_pull_none>;
2083 flash_cle: flash-cle {
2085 <1 RK_PB4 1 &pcfg_pull_none>;
2088 flash_wrn: flash-wrn {
2090 <1 RK_PB5 1 &pcfg_pull_none>;
2093 flash_csl: flash-csl {
2095 <1 RK_PB6 1 &pcfg_pull_none>;
2098 flash_rdn: flash-rdn {
2100 <1 RK_PB7 1 &pcfg_pull_none>;
2103 flash_bus8: flash-bus8 {
2105 <1 RK_PA0 1 &pcfg_pull_up_12ma>,
2106 <1 RK_PA1 1 &pcfg_pull_up_12ma>,
2107 <1 RK_PA2 1 &pcfg_pull_up_12ma>,
2108 <1 RK_PA3 1 &pcfg_pull_up_12ma>,
2109 <1 RK_PA4 1 &pcfg_pull_up_12ma>,
2110 <1 RK_PA5 1 &pcfg_pull_up_12ma>,
2111 <1 RK_PA6 1 &pcfg_pull_up_12ma>,
2112 <1 RK_PA7 1 &pcfg_pull_up_12ma>;
2117 sfc_bus4: sfc-bus4 {
2119 <1 RK_PA0 3 &pcfg_pull_none>,
2120 <1 RK_PA1 3 &pcfg_pull_none>,
2121 <1 RK_PA2 3 &pcfg_pull_none>,
2122 <1 RK_PA3 3 &pcfg_pull_none>;
2125 sfc_bus2: sfc-bus2 {
2127 <1 RK_PA0 3 &pcfg_pull_none>,
2128 <1 RK_PA1 3 &pcfg_pull_none>;
2133 <1 RK_PA4 3 &pcfg_pull_none>;
2138 <1 RK_PB1 3 &pcfg_pull_none>;
2143 lcdc_rgb_dclk_pin: lcdc-rgb-dclk-pin {
2145 <3 RK_PA0 1 &pcfg_pull_none_12ma>;
2148 lcdc_rgb_m0_hsync_pin: lcdc-rgb-m0-hsync-pin {
2150 <3 RK_PA1 1 &pcfg_pull_none_12ma>;
2153 lcdc_rgb_m0_vsync_pin: lcdc-rgb-m0-vsync-pin {
2155 <3 RK_PA2 1 &pcfg_pull_none_12ma>;
2158 lcdc_rgb_m0_den_pin: lcdc-rgb-m0-den-pin {
2160 <3 RK_PA3 1 &pcfg_pull_none_12ma>;
2163 lcdc_rgb888_m0_data_pins: lcdc-rgb888-m0-data-pins {
2165 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
2166 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2167 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
2168 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2169 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2170 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2171 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
2172 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
2173 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
2174 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2175 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2176 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2177 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2178 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2179 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2180 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2181 <3 RK_PC7 1 &pcfg_pull_none_8ma>, /* lcdc_d19 */
2182 <3 RK_PC6 1 &pcfg_pull_none_8ma>, /* lcdc_d18 */
2183 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2184 <3 RK_PC4 1 &pcfg_pull_none_8ma>, /* lcdc_d16 */
2185 <3 RK_PD3 1 &pcfg_pull_none_8ma>, /* lcdc_d23 */
2186 <3 RK_PD2 1 &pcfg_pull_none_8ma>, /* lcdc_d22 */
2187 <3 RK_PD1 1 &pcfg_pull_none_8ma>, /* lcdc_d21 */
2188 <3 RK_PD0 1 &pcfg_pull_none_8ma>; /* lcdc_d20 */
2191 lcdc_rgb666_m0_data_pins: lcdc-rgb666-m0-data-pins {
2193 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
2194 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2195 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
2196 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2197 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2198 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2199 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
2200 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
2201 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
2202 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2203 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2204 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2205 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2206 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2207 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2208 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2209 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2210 <3 RK_PC4 1 &pcfg_pull_none_8ma>; /* lcdc_d16 */
2213 lcdc_rgb565_m0_data_pins: lcdc-rgb565-m0-data-pins {
2215 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
2216 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2217 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
2218 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2219 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2220 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2221 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
2222 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
2223 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
2224 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2225 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2226 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2227 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2228 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2229 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2230 <3 RK_PC0 1 &pcfg_pull_none_8ma>; /* lcdc_d12 */
2233 lcdc_rgb888_m1_data_pins: lcdc-rgb888-m1-data-pins {
2235 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2236 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2237 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2238 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2239 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2240 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2241 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2242 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2243 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2244 <3 RK_PC7 1 &pcfg_pull_none_8ma>, /* lcdc_d19 */
2245 <3 RK_PC6 1 &pcfg_pull_none_8ma>, /* lcdc_d18 */
2246 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2247 <3 RK_PC4 1 &pcfg_pull_none_8ma>, /* lcdc_d16 */
2248 <3 RK_PD3 1 &pcfg_pull_none_8ma>, /* lcdc_d23 */
2249 <3 RK_PD2 1 &pcfg_pull_none_8ma>, /* lcdc_d22 */
2250 <3 RK_PD1 1 &pcfg_pull_none_8ma>, /* lcdc_d21 */
2251 <3 RK_PD0 1 &pcfg_pull_none_8ma>; /* lcdc_d20 */
2254 lcdc_rgb666_m1_data_pins: lcdc-rgb666-m1-data-pins {
2256 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2257 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2258 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2259 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2260 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2261 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2262 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2263 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2264 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2265 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2266 <3 RK_PC4 1 &pcfg_pull_none_8ma>; /* lcdc_d16 */
2269 lcdc_rgb565_m1_data_pins: lcdc-rgb565-m1-data-pins {
2271 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2272 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2273 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2274 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2275 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2276 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2277 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2278 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2279 <3 RK_PC0 1 &pcfg_pull_none_8ma>; /* lcdc_d12 */
2284 pwm0_pin: pwm0-pin {
2286 <0 RK_PB7 1 &pcfg_pull_none>;
2291 pwm1_pin: pwm1-pin {
2293 <0 RK_PC0 1 &pcfg_pull_none>;
2298 pwm2_pin: pwm2-pin {
2300 <2 RK_PB5 1 &pcfg_pull_none>;
2305 pwm3_pin: pwm3-pin {
2307 <0 RK_PC1 1 &pcfg_pull_none>;
2312 pwm4_pin: pwm4-pin {
2314 <3 RK_PC2 3 &pcfg_pull_none>;
2319 pwm5_pin: pwm5-pin {
2321 <3 RK_PC3 3 &pcfg_pull_none>;
2326 pwm6_pin: pwm6-pin {
2328 <3 RK_PC4 3 &pcfg_pull_none>;
2333 pwm7_pin: pwm7-pin {
2335 <3 RK_PC5 3 &pcfg_pull_none>;
2340 rmii_pins: rmii-pins {
2342 <2 RK_PA0 2 &pcfg_pull_none_12ma>, /* mac_txen */
2343 <2 RK_PA1 2 &pcfg_pull_none_12ma>, /* mac_txd1 */
2344 <2 RK_PA2 2 &pcfg_pull_none_12ma>, /* mac_txd0 */
2345 <2 RK_PA3 2 &pcfg_pull_none>, /* mac_rxd0 */
2346 <2 RK_PA4 2 &pcfg_pull_none>, /* mac_rxd1 */
2347 <2 RK_PA5 2 &pcfg_pull_none>, /* mac_rxer */
2348 <2 RK_PA6 2 &pcfg_pull_none>, /* mac_rxdv */
2349 <2 RK_PA7 2 &pcfg_pull_none>, /* mac_mdio */
2350 <2 RK_PB1 2 &pcfg_pull_none>; /* mac_mdc */
2353 mac_refclk_12ma: mac-refclk-12ma {
2355 <2 RK_PB2 2 &pcfg_pull_none_12ma>;
2358 mac_refclk: mac-refclk {
2360 <2 RK_PB2 2 &pcfg_pull_none>;
2365 cif_clkout_m0: cif-clkout-m0 {
2367 <2 RK_PB3 1 &pcfg_pull_none>;
2370 dvp_d2d9_m0: dvp-d2d9-m0 {
2372 <2 RK_PA0 1 &pcfg_pull_none>, /* cif_data2 */
2373 <2 RK_PA1 1 &pcfg_pull_none>, /* cif_data3 */
2374 <2 RK_PA2 1 &pcfg_pull_none>, /* cif_data4 */
2375 <2 RK_PA3 1 &pcfg_pull_none>, /* cif_data5 */
2376 <2 RK_PA4 1 &pcfg_pull_none>, /* cif_data6 */
2377 <2 RK_PA5 1 &pcfg_pull_none>, /* cif_data7 */
2378 <2 RK_PA6 1 &pcfg_pull_none>, /* cif_data8 */
2379 <2 RK_PA7 1 &pcfg_pull_none>, /* cif_data9 */
2380 <2 RK_PB0 1 &pcfg_pull_none>, /* cif_sync */
2381 <2 RK_PB1 1 &pcfg_pull_none>, /* cif_href */
2382 <2 RK_PB2 1 &pcfg_pull_none>, /* cif_clkin */
2383 <2 RK_PB3 1 &pcfg_pull_none>; /* cif_clkout */
2386 dvp_d0d1_m0: dvp-d0d1-m0 {
2388 <2 RK_PB4 1 &pcfg_pull_none>, /* cif_data0 */
2389 <2 RK_PB6 1 &pcfg_pull_none>; /* cif_data1 */
2392 dvp_d10d11_m0:d10-d11-m0 {
2394 <2 RK_PB7 1 &pcfg_pull_none>, /* cif_data10 */
2395 <2 RK_PC0 1 &pcfg_pull_none>; /* cif_data11 */
2400 cif_clkout_m1: cif-clkout-m1 {
2402 <3 RK_PD0 3 &pcfg_pull_none>;
2405 dvp_d2d9_m1: dvp-d2d9-m1 {
2407 <3 RK_PA3 3 &pcfg_pull_none>, /* cif_data2 */
2408 <3 RK_PA5 3 &pcfg_pull_none>, /* cif_data3 */
2409 <3 RK_PA7 3 &pcfg_pull_none>, /* cif_data4 */
2410 <3 RK_PB0 3 &pcfg_pull_none>, /* cif_data5 */
2411 <3 RK_PB1 3 &pcfg_pull_none>, /* cif_data6 */
2412 <3 RK_PB4 3 &pcfg_pull_none>, /* cif_data7 */
2413 <3 RK_PB6 3 &pcfg_pull_none>, /* cif_data8 */
2414 <3 RK_PB7 3 &pcfg_pull_none>, /* cif_data9 */
2415 <3 RK_PD1 3 &pcfg_pull_none>, /* cif_sync */
2416 <3 RK_PD2 3 &pcfg_pull_none>, /* cif_href */
2417 <3 RK_PD3 3 &pcfg_pull_none>, /* cif_clkin */
2418 <3 RK_PD0 3 &pcfg_pull_none>; /* cif_clkout */
2421 dvp_d0d1_m1: dvp-d0d1-m1 {
2423 <3 RK_PA1 3 &pcfg_pull_none>, /* cif_data0 */
2424 <3 RK_PA2 3 &pcfg_pull_none>; /* cif_data1 */
2427 dvp_d10d11_m1:d10-d11-m1 {
2429 <3 RK_PC6 3 &pcfg_pull_none>, /* cif_data10 */
2430 <3 RK_PC7 3 &pcfg_pull_none>; /* cif_data11 */
2435 isp_prelight: isp-prelight {
2437 <3 RK_PD1 4 &pcfg_pull_none>;