1 #include <dt-bindings/interrupt-controller/arm-gic.h>
2 #include <dt-bindings/suspend/rockchip-pm.h>
3 #include <dt-bindings/pinctrl/rockchip.h>
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/sensor-dev.h>
6 #include <dt-bindings/clock/rk_system_status.h>
8 #include "rk3368-clocks.dtsi"
11 compatible = "rockchip,rk3368";
13 rockchip,sram = <&sram>;
14 interrupt-parent = <&gic>;
42 compatible = "arm,cortex-a53", "arm,armv8";
44 enable-method = "psci";
48 compatible = "arm,cortex-a53", "arm,armv8";
50 enable-method = "psci";
54 compatible = "arm,cortex-a53", "arm,armv8";
56 enable-method = "psci";
60 compatible = "arm,cortex-a53", "arm,armv8";
62 enable-method = "psci";
66 compatible = "arm,cortex-a53", "arm,armv8";
68 enable-method = "psci";
72 compatible = "arm,cortex-a53", "arm,armv8";
74 enable-method = "psci";
78 compatible = "arm,cortex-a53", "arm,armv8";
80 enable-method = "psci";
84 compatible = "arm,cortex-a53", "arm,armv8";
86 enable-method = "psci";
122 compatible = "arm,psci";
124 cpu_on = <0xC4000003>;
127 gic: interrupt-controller@ffb70000 {
128 compatible = "arm,cortex-a15-gic";
129 #interrupt-cells = <3>;
130 #address-cells = <0>;
131 interrupt-controller;
132 reg = <0x0 0xffb71000 0 0x1000>,
133 <0x0 0xffb72000 0 0x1000>;
136 pmu: syscon@ff730000 {
137 compatible = "rockchip,rk3368-pmu", "rockchip,pmu", "syscon";
138 reg = <0x0 0xff730000 0x0 0x1000>;
141 pmugrf: syscon@ff738000 {
142 compatible = "rockchip,rk3368-pmugrf", "rockchip,pmugrf", "syscon";
143 reg = <0x0 0xff738000 0x0 0x1000>;
146 sgrf: syscon@ff740000 {
147 compatible = "rockchip,rk3368-sgrf", "rockchip,sgrf", "syscon";
148 reg = <0x0 0xff740000 0x0 0x1000>;
152 cru: syscon@ff760000 {
153 compatible = "rockchip,rk3368-cru", "rockchip,cru", "syscon";
154 reg = <0x0 0xff760000 0x0 0x1000>;
157 grf: syscon@ff770000 {
158 compatible = "rockchip,rk3368-grf", "rockchip,grf", "syscon";
159 reg = <0x0 0xff770000 0x0 0x1000>;
163 compatible = "arm,armv8-pmuv3";
164 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
165 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
166 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
167 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
168 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
169 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
170 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
171 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
174 cpu_axi_bus: cpu_axi_bus {
175 compatible = "rockchip,cpu_axi_bus";
176 #address-cells = <2>;
181 #address-cells = <2>;
186 reg = <0x0 0xffa80000 0x0 0x20>;
189 reg = <0x0 0xffa80080 0x0 0x20>;
192 reg = <0x0 0xffa90000 0x0 0x20>;
195 reg = <0x0 0xffaa0000 0x0 0x20>;
198 reg = <0x0 0xffaa0080 0x0 0x20>;
201 reg = <0x0 0xffab0000 0x0 0x20>;
204 reg = <0x0 0xffad0000 0x0 0x20>;
207 reg = <0x0 0xffad0080 0x0 0x20>;
210 reg = <0x0 0xffad0100 0x0 0x20>;
213 reg = <0x0 0xffad0180 0x0 0x20>;
214 rockchip,priority = <2 2>;
217 reg = <0x0 0xffad0200 0x0 0x20>;
218 rockchip,priority = <2 2>;
221 reg = <0x0 0xffad0280 0x0 0x20>;
224 reg = <0x0 0xffad0300 0x0 0x20>;
225 rockchip,priority = <2 2>;
228 reg = <0x0 0xffad0380 0x0 0x20>;
231 reg = <0x0 0xffad0400 0x0 0x20>;
234 reg = <0x0 0xffae0000 0x0 0x20>;
237 reg = <0x0 0xffae0080 0x0 0x20>;
240 reg = <0x0 0xffae0100 0x0 0x20>;
245 #address-cells = <2>;
250 reg = <0x0 0xffac0000 0x0 0x3c>;
251 rockchip,read-latency = <0x34>;
257 compatible = "arm,armv8-timer";
258 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
259 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
260 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
261 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
262 clock-frequency = <24000000>;
266 compatible = "rockchip,timer";
267 reg = <0x0 0xff810000 0x0 0x20>;
268 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
269 rockchip,broadcast = <1>;
272 sram: sram@ff8c0000 {
273 compatible = "mmio-sram";
274 reg = <0x0 0xff8c0000 0x0 0x10000>; /* 64k */
278 watchdog: wdt@ff800000 {
279 compatible = "rockchip,watch dog";
280 reg = <0x0 0xff800000 0x0 0x100>;
281 clocks = <&pclk_alive_pre>;
282 clock-names = "pclk_wdt";
283 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
285 rockchip,timeout = <60>;
286 rockchip,atboot = <1>;
287 rockchip,debug = <0>;
292 #address-cells = <2>;
294 compatible = "arm,amba-bus";
295 interrupt-parent = <&gic>;
298 pdma0: pdma@ff600000 {
299 compatible = "arm,pl330", "arm,primecell";
300 reg = <0x0 0xff600000 0x0 0x4000>;
301 clocks = <&clk_gates12 11>;
302 clock-names = "apb_pclk";
303 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
309 pdma1: pdma@ff250000 {
310 compatible = "arm,pl330", "arm,primecell";
311 reg = <0x0 0xff250000 0x0 0x4000>;
312 clocks = <&clk_gates19 3>;
313 clock-names = "apb_pclk";
314 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
315 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
320 reset: reset@ff760300{
321 compatible = "rockchip,reset";
322 reg = <0x0 0xff760300 0x0 0x38>;
323 rockchip,reset-flag = <ROCKCHIP_RESET_HIWORD_MASK>;
327 nandc0: nandc@ff400000 {
328 compatible = "rockchip,rk-nandc";
329 reg = <0x0 0xff400000 0x0 0x4000>;
330 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
332 clocks = <&clk_nandc0>, <&clk_gates7 8>, <&clk_gates20 11>;
333 clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
336 nandc0reg: nandc0@ff400000 {
337 compatible = "rockchip,rk-nandc";
338 reg = <0x0 0xff400000 0x0 0x4000>;
341 emmc: rksdmmc@ff0f0000 {
342 compatible = "rockchip,rk_mmc", "rockchip,rk3368-sdmmc";
343 reg = <0x0 0xff0f0000 0x0 0x4000>;
344 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
345 #address-cells = <1>;
347 clocks = <&clk_emmc>, <&clk_gates21 2>, <&clk_gates20 10>;
348 clock-names = "clk_mmc", "hclk_mmc", "hpclk_mmc";
349 rockchip,grf = <&grf>;
351 fifo-depth = <0x100>;
355 sdmmc: rksdmmc@ff0c0000 {
356 compatible = "rockchip,rk_mmc", "rockchip,rk3368-sdmmc";
357 reg = <0x0 0xff0c0000 0x0 0x4000>;
358 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
359 #address-cells = <1>;
361 pinctrl-names = "default", "idle";
362 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_dectn &sdmmc_bus4>;
363 pinctrl-1 = <&sdmmc_gpio>;
364 cd-gpios = <&gpio2 GPIO_B3 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
365 clocks = <&clk_sdmmc0>, <&clk_gates21 0>, <&clk_gates20 10>;
366 clock-names = "clk_mmc", "hclk_mmc", "hpclk_mmc";
367 rockchip,grf = <&grf>;
369 fifo-depth = <0x100>;
373 sdio: rksdmmc@ff0d0000 {
374 compatible = "rockchip,rk_mmc", "rockchip,rk3368-sdmmc";
375 reg = <0x0 0xff0d0000 0x0 0x4000>;
376 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
377 #address-cells = <1>;
379 pinctrl-names = "default","idle";
380 pinctrl-0 = <&sdio0_clk &sdio0_cmd &sdio0_wrprt &sdio0_pwren &sdio0_bkpwr &sdio0_int &sdio0_bus4>;
381 pinctrl-1 = <&sdio0_gpio>;
382 clocks = <&clk_sdio0>, <&clk_gates21 1>, <&clk_gates20 10>;
383 clock-names = "clk_mmc", "hclk_mmc", "hpclk_mmc";
384 rockchip,grf = <&grf>;
386 fifo-depth = <0x100>;
391 compatible = "rockchip,rockchip-spi";
392 reg = <0x0 0xff110000 0x0 0x1000>;
393 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
394 #address-cells = <1>;
396 pinctrl-names = "default";
397 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0 &spi0_cs1>;
398 rockchip,spi-src-clk = <0>;
400 clocks =<&clk_spi0>, <&clk_gates19 4>;
401 clock-names = "spi", "pclk_spi0";
402 //dmas = <&pdma1 11>, <&pdma1 12>;
404 //dma-names = "tx", "rx";
409 compatible = "rockchip,rockchip-spi";
410 reg = <0x0 0xff120000 0x0 0x1000>;
411 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
412 #address-cells = <1>;
414 pinctrl-names = "default";
415 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
416 rockchip,spi-src-clk = <1>;
418 clocks = <&clk_spi1>, <&clk_gates19 5>;
419 clock-names = "spi", "pclk_spi1";
420 //dmas = <&pdma1 13>, <&pdma1 14>;
422 //dma-names = "tx", "rx";
427 compatible = "rockchip,rockchip-spi";
428 reg = <0x0 0xff130000 0x0 0x1000>;
429 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
430 #address-cells = <1>;
432 pinctrl-names = "default";
433 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
434 rockchip,spi-src-clk = <2>;
436 clocks = <&clk_spi2>, <&clk_gates19 6>;
437 clock-names = "spi", "pclk_spi2";
438 //dmas = <&pdma1 15>, <&pdma1 16>;
440 //dma-names = "tx", "rx";
444 uart_bt: serial@ff180000 {
445 compatible = "rockchip,serial";
446 reg = <0x0 0xff180000 0x0 0x100>;
447 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
448 clock-frequency = <24000000>;
449 clocks = <&clk_uart0>, <&clk_gates19 7>;
450 clock-names = "sclk_uart", "pclk_uart";
453 //dmas = <&pdma1 1>, <&pdma1 2>;
455 pinctrl-names = "default";
456 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
460 uart_bb: serial@ff190000 {
461 compatible = "rockchip,serial";
462 reg = <0x0 0xff190000 0x0 0x100>;
463 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
464 clock-frequency = <24000000>;
465 clocks = <&clk_uart1>, <&clk_gates19 8>;
466 clock-names = "sclk_uart", "pclk_uart";
469 //dmas = <&pdma1 3>, <&pdma1 4>;
471 pinctrl-names = "default";
472 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
476 uart_dbg: serial@ff690000 {
477 compatible = "rockchip,serial";
478 reg = <0x0 0xff690000 0x0 0x100>;
479 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
480 clock-frequency = <24000000>;
481 clocks = <&clk_uart2>, <&clk_gates13 5>;
482 clock-names = "sclk_uart", "pclk_uart";
485 //dmas = <&pdma0 4>, <&pdma0 5>;
487 //pinctrl-names = "default";
488 //pinctrl-0 = <&uart2_xfer>;
492 uart_gps: serial@ff1b0000 {
493 compatible = "rockchip,serial";
494 reg = <0x0 0xff1b0000 0x0 0x100>;
495 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
496 clock-frequency = <24000000>;
497 clocks = <&clk_uart3>, <&clk_gates19 9>;
498 clock-names = "sclk_uart", "pclk_uart";
499 current-speed = <115200>;
502 //dmas = <&pdma1 7>, <&pdma1 8>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&uart3_xfer &uart3_cts &uart3_rts>;
509 uart_exp: serial@ff1c0000 {
510 compatible = "rockchip,serial";
511 reg = <0x0 0xff1c0000 0x0 0x100>;
512 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
513 clock-frequency = <24000000>;
514 clocks = <&clk_uart4>, <&clk_gates19 10>;
515 clock-names = "sclk_uart", "pclk_uart";
518 //dmas = <&pdma1 9>, <&pdma1 10>;
520 pinctrl-names = "default";
521 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
525 rockchip_clocks_init: clocks-init{
526 compatible = "rockchip,clocks-init";
527 rockchip,clocks-init-parent =
528 <&i2s_pll &clk_gpll>, <&spdif_8ch_pll &clk_gpll>,
529 <&i2s_2ch_pll &clk_gpll>, <&usbphy_480m &usbotg_480m_out>,
530 <&clk_uart_pll &clk_gpll>, <&aclk_gpu &clk_cpll>,
531 <&clk_cs &clk_gpll>, <&clk_32k_mux &pvtm_clkout>;
532 rockchip,clocks-init-rate =
533 <&clk_gpll 576000000>, <&clk_core_b 792000000>,
534 <&clk_core_l 600000000>, <&clk_cpll 400000000>,
535 /*<&clk_npll 500000000>,*/ <&aclk_bus 300000000>,
536 <&hclk_bus 150000000>, <&pclk_bus 75000000>,
537 <&clk_crypto 150000000>, <&aclk_peri 300000000>,
538 <&hclk_peri 150000000>, <&pclk_peri 75000000>,
539 <&pclk_alive_pre 100000000>, <&pclk_pmu_pre 100000000>,
540 <&clk_cs 300000000>, <&clkin_trace 300000000>,
541 <&aclk_cci 600000000>, <&clk_mac 125000000>,
542 <&aclk_vio0 400000000>, <&hclk_vio 100000000>,
543 <&aclk_rga_pre 400000000>, <&clk_rga 400000000>,
544 <&clk_isp 400000000>, <&clk_edp 200000000>,
545 <&clk_gpu_core 400000000>, <&aclk_gpu_mem 400000000>,
546 <&aclk_gpu_cfg 400000000>, <&aclk_vepu 400000000>,
547 <&aclk_vdpu 400000000>, <&clk_hevc_core 300000000>,
548 <&clk_hevc_cabac 300000000>;
550 rockchip,clocks-uboot-has-init =
555 rockchip_clocks_enable: clocks-enable {
556 compatible = "rockchip,clocks-enable";
573 <&clk_gates12 12>,/*aclk_strc_sys*/
574 <&clk_gates12 6>,/*aclk_intmem1*/
575 <&clk_gates12 5>,/*aclk_intmem0*/
576 <&clk_gates12 4>,/*aclk_intmem*/
577 <&clk_gates13 9>,/*aclk_gic400*/
580 <&clk_gates22 13>,/*pclk_timer1*/
581 <&clk_gates22 12>,/*pclk_timer0*/
582 <&clk_gates22 9>,/*pclk_alive_niu*/
583 <&clk_gates22 8>,/*pclk_grf*/
586 <&clk_gates23 5>,/*pclk_pmugrf*/
587 <&clk_gates23 3>,/*pclk_sgrf*/
588 <&clk_gates23 2>,/*pclk_pmu_noc*/
589 <&clk_gates23 1>,/*pclk_intmem1*/
590 <&clk_gates23 0>,/*pclk_pmu*/
593 <&clk_gates19 2>,/*aclk_peri_axi_matrix*/
594 <&clk_gates20 8>,/*aclk_peri_niu*/
595 <&clk_gates21 4>,/*aclk_peri_mmu*/
596 <&clk_gates19 0>,/*hclk_peri_axi_matrix*/
597 <&clk_gates20 7>,/*hclk_peri_ahb_arbi*/
598 <&clk_gates19 1>;/*pclk_peri_axi_matrix*/
603 compatible = "rockchip,rk30-i2c";
604 reg = <0x0 0xff650000 0x0 0x1000>;
605 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
606 #address-cells = <1>;
608 pinctrl-names = "default", "gpio";
609 pinctrl-0 = <&i2c0_xfer>;
610 pinctrl-1 = <&i2c0_gpio>;
611 gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
612 clocks = <&clk_gates12 2>;
613 rockchip,check-idle = <1>;
619 compatible = "rockchip,rk30-i2c";
620 reg = <0x0 0xff660000 0x0 0x1000>;
621 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
622 #address-cells = <1>;
624 pinctrl-names = "default", "gpio";
625 pinctrl-0 = <&i2c1_xfer>;
626 pinctrl-1 = <&i2c1_gpio>;
627 gpios = <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C6 GPIO_ACTIVE_LOW>;
628 clocks = <&clk_gates12 3>;
629 rockchip,check-idle = <1>;
635 compatible = "rockchip,rk30-i2c";
636 reg = <0x0 0xff140000 0x0 0x1000>;
637 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
638 #address-cells = <1>;
640 pinctrl-names = "default", "gpio";
641 pinctrl-0 = <&i2c2_xfer>;
642 pinctrl-1 = <&i2c2_gpio>;
643 gpios = <&gpio3 GPIO_D7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_B1 GPIO_ACTIVE_LOW>;
644 clocks = <&clk_gates19 11>;
645 rockchip,check-idle = <1>;
651 compatible = "rockchip,rk30-i2c";
652 reg = <0x0 0xff150000 0x0 0x1000>;
653 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
654 #address-cells = <1>;
656 pinctrl-names = "default", "gpio";
657 pinctrl-0 = <&i2c3_xfer>;
658 pinctrl-1 = <&i2c3_gpio>;
659 gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_LOW>, <&gpio1 GPIO_C0 GPIO_ACTIVE_LOW>;
660 clocks = <&clk_gates19 12>;
661 rockchip,check-idle = <1>;
667 compatible = "rockchip,rk30-i2c";
668 reg = <0x0 0xff160000 0x0 0x1000>;
669 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
670 #address-cells = <1>;
672 pinctrl-names = "default", "gpio";
673 pinctrl-0 = <&i2c4_xfer>;
674 pinctrl-1 = <&i2c4_gpio>;
675 gpios = <&gpio3 GPIO_D0 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D1 GPIO_ACTIVE_LOW>;
676 clocks = <&clk_gates19 13>;
677 rockchip,check-idle = <1>;
683 compatible = "rockchip,rk30-i2c";
684 reg = <0x0 0xff170000 0x0 0x1000>;
685 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
686 #address-cells = <1>;
688 pinctrl-names = "default", "gpio";
689 pinctrl-0 = <&i2c5_xfer>;
690 pinctrl-1 = <&i2c5_gpio>;
691 gpios = <&gpio3 GPIO_D2 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
692 clocks = <&clk_gates19 14>;
693 rockchip,check-idle = <1>;
698 compatible = "rockchip,rk-fb";
699 rockchip,disp-mode = <NO_DUAL>;
703 rk_screen: rk_screen {
704 compatible = "rockchip,screen";
707 dsihost0: mipi@ff960000{
708 compatible = "rockchip,rk3368-dsi";
710 reg = <0x0 0xff960000 0x0 0x4000>, <0x0 0xff968000 0x0 0x4000>;
711 reg-names = "mipi_dsi_host" ,"mipi_dsi_phy";
712 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
713 clocks = <&clk_gates4 14>, <&clk_gates22 10>, <&clk_gates17 3>;
714 clock-names = "clk_mipi_24m", "pclk_mipi_dsi", "pclk_mipi_dsi_host";
718 lvds: lvds@ff968000 {
719 compatible = "rockchip,rk3368-lvds";
720 rockchip,grf = <&grf>;
721 reg = <0x0 0xff968000 0x0 0x4000>, <0x0 0xff9600a0 0x0 0x20>;
722 reg-names = "mipi_lvds_phy", "mipi_lvds_ctl";
723 clocks = <&clk_gates22 10>, <&clk_gates17 3>;
724 clock-names = "pclk_lvds", "pclk_lvds_ctl";
729 compatible = "rockchip,rk32-edp";
730 reg = <0x0 0xff970000 0x0 0x4000>;
731 rockchip,grf = <&grf>;
732 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
733 clocks = <&clk_edp>, <&clk_edp_24m>, <&clk_gates17 9>;
734 clock-names = "clk_edp", "clk_edp_24m", "pclk_edp";
735 resets = <&reset RK3368_SRST_EDP_24M>, <&reset RK3368_SRST_EDP_P>;
736 reset-names = "edp_24m", "edp_apb";
739 hdmi: hdmi@ff980000 {
740 compatible = "rockchip,rk3368-hdmi";
741 reg = <0x0 0xff980000 0x0 0x20000>;
742 rockchip,grf = <&grf>;
743 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
744 pinctrl-names = "default", "gpio";
745 pinctrl-0 = <&hdmii2c_xfer &hdmi_cec>;
746 pinctrl-1 = <&i2c5_gpio>;
747 clocks = <&clk_gates17 6>, <&clk_gates4 13>, <&clk_gates4 12>;
748 clock-names = "pclk_hdmi", "hdcp_clk_hdmi", "cec_clk_hdmi";
752 hdmi_hdcp2: hdmi_hdcp2@ff978000 {
753 compatible = "rockchip,rk3368-hdmi-hdcp2";
754 reg = <0x0 0xff978000 0x0 0x2000>;
755 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
756 clocks = <&clk_gates17 10>, <&clk_gates17 12>, <&clk_gates17 11>, <&clk_hdcp>;
757 clock-names ="aclk_hdcp2", "hclk_hdcp2_mmu", "pclk_hdcp2", "hdcp2_clk_hdmi";
761 lcdc: lcdc@ff930000 {
762 compatible = "rockchip,rk3368-lcdc";
763 rockchip,grf = <&grf>;
764 rockchip,pmugrf = <&pmugrf>;
765 rockchip,prop = <PRMRY>;
766 rockchip,pwr18 = <0>;
767 rockchip,iommu-enabled = <0>;
768 reg = <0x0 0xff930000 0x0 0x10000>;
769 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
770 /*pinctrl-names = "default", "gpio";
771 *pinctrl-0 = <&lcdc_lcdc>;
772 *pinctrl-1 = <&lcdc_gpio>;
775 clocks = <&clk_gates16 5>, <&dclk_vop0>, <&clk_gates16 6>, <&clk_npll>;
776 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "sclk_pll";
780 compatible = "rockchip,saradc";
781 reg = <0x0 0xff100000 0x0 0x100>;
782 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
783 #io-channel-cells = <1>;
785 rockchip,adc-vref = <1800>;
786 clock-frequency = <1000000>;
787 clocks = <&clk_saradc>, <&clk_gates19 15>;
788 clock-names = "saradc", "pclk_saradc";
793 compatible = "rockchip,rk3368-rga2";
794 reg = <0x0 0xff920000 0x0 0x1000>;
795 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
796 clocks = <&clk_gates16 1>, <&clk_gates16 0>, <&clk_rga>;
797 clock-names = "hclk_rga", "aclk_rga", "clk_rga";
800 i2s0: i2s0@ff898000 {
801 compatible = "rockchip-i2s";
802 reg = <0x0 0xff898000 0x0 0x1000>;
804 clocks = <&clk_i2s>, <&i2s_out>, <&clk_gates12 7>;
805 clock-names = "i2s_clk", "i2s_mclk", "i2s_hclk";
806 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
807 dmas = <&pdma0 0>, <&pdma0 1>;
809 dma-names = "tx", "rx";
810 pinctrl-names = "default", "sleep";
811 pinctrl-0 = <&i2s_mclk &i2s_sclk &i2s_lrckrx &i2s_lrcktx &i2s_sdi &i2s_sdo0 &i2s_sdo1 &i2s_sdo2 &i2s_sdo3>;
812 pinctrl-1 = <&i2s_gpio>;
815 i2s1: i2s1@ff890000 {
816 compatible = "rockchip-i2s";
817 reg = <0x0 0xff890000 0x0 0x1000>;
819 clocks = <&clk_i2s_2ch>, <&clk_gates12 8>;
820 clock-names = "i2s_clk", "i2s_hclk";
821 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
822 dmas = <&pdma0 6>, <&pdma0 7>;
824 dma-names = "tx", "rx";
827 spdif: spdif@ff880000 {
828 compatible = "rockchip-spdif";
829 reg = <0x0 0xff880000 0x0 0x1000>;
830 clocks = <&clk_spidf_8ch>, <&clk_gates12 10>;
831 clock-names = "spdif_mclk", "spdif_hclk";
832 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
836 pinctrl-names = "default";
837 pinctrl-0 = <&spdif_tx>;
841 compatible = "rockchip,rk-pwm";
842 reg = <0x0 0xff680000 0x0 0x10>;
844 pinctrl-names = "default";
845 pinctrl-0 = <&pwm0_pin>;
846 clocks = <&clk_gates13 6>;
847 clock-names = "pclk_pwm";
852 compatible = "rockchip,rk-pwm";
853 reg = <0x0 0xff680010 0x0 0x10>;
855 pinctrl-names = "default";
856 pinctrl-0 = <&pwm1_pin>;
857 clocks = <&clk_gates13 6>;
858 clock-names = "pclk_pwm";
863 compatible = "rockchip,rk-pwm";
864 reg = <0x0 0xff680020 0x0 0x10>;
866 //pinctrl-names = "default";
867 //pinctrl-0 = <&pwm1_pin>;
868 clocks = <&clk_gates13 6>;
869 clock-names = "pclk_pwm";
874 compatible = "rockchip,rk-pwm";
875 reg = <0x0 0xff680030 0x0 0x10>;
877 pinctrl-names = "default";
878 pinctrl-0 = <&pwm3_pin>;
879 clocks = <&clk_gates13 6>;
880 clock-names = "pclk_pwm";
884 remotectl: pwm@ff680030 {
885 compatible = "rockchip,remotectl-pwm";
886 reg = <0x0 0xff680030 0x0 0x50>;
888 pinctrl-names = "default";
889 pinctrl-0 = <&pwm3_pin>;
890 clocks = <&clk_gates13 6>;
891 clock-names = "pclk_pwm";
896 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
900 voppwm: pwm@ff9301a0 {
901 compatible = "rockchip,vop-pwm";
902 reg = <0x0 0xff9301a0 0x0 0x10>;
904 pinctrl-names = "default";
905 pinctrl-0 = <&vop_pwm_pin>;
906 clocks = <&clk_gates4 2>, <&clk_gates16 5>, <&clk_gates16 6>;
907 clock-names = "pclk_pwm", "aclk_lcdc", "hclk_lcdc";
912 compatible = "rockchip,rk3368-pvtm";
913 rockchip,grf = <&grf>;
914 rockchip,pmugrf = <&pmugrf>;
915 rockchip,pvtm-clk-out = <1>;
919 compatible = "rockchip,rk3368-cpufreq";
920 rockchip,grf = <&grf>;
926 regulator_name = "vdd_arm";
927 suspend_volt = <1000>; //mV
929 clk_core_b_dvfs_table: clk_core_b {
939 clk_core_l_dvfs_table: clk_core_l {
953 regulator_name = "vdd_logic";
954 suspend_volt = <1000>; //mV
956 clk_ddr_dvfs_table: clk_ddr {
969 clk_gpu_dvfs_table: clk_gpu {
990 compatible = "rockchip,ion";
991 #address-cells = <1>;
994 ion_cma: rockchip,ion-heap@4 { /* CMA HEAP */
995 compatible = "rockchip,ion-heap";
996 rockchip,ion_heap = <4>;
997 reg = <0x00000000 0x08000000>; /* 512MB */
999 rockchip,ion-heap@0 { /* VMALLOC HEAP */
1000 compatible = "rockchip,ion-heap";
1001 rockchip,ion_heap = <0>;
1006 compatible = "rockchip,vpu_sub";
1007 iommu_enabled = <0>;
1008 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
1009 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1010 interrupt-names = "irq_enc", "irq_dec";
1012 name = "vpu_service";
1015 hevc: hevc_service {
1016 compatible = "rockchip,hevc_sub";
1017 iommu_enabled = <0>;
1018 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1019 interrupt-names = "irq_dec";
1021 name = "hevc_service";
1024 vpu_combo: vpu_combo@ff9a0000 {
1025 compatible = "rockchip,vpu_combo";
1026 reg = <0x0 0xff9a0000 0x0 0x800>;
1027 rockchip,grf = <&grf>;
1029 rockchip,sub = <&vpu>, <&hevc>;
1030 clocks = <&aclk_vdpu>, <&hclk_vdpu>, <&clk_hevc_core>, <&clk_hevc_cabac>;
1031 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core", "clk_cabac";
1033 mode_ctrl = <0x418>;
1039 compatible = "rockchip,iep";
1040 iommu_enabled = <0>;
1041 reg = <0x0 0xff900000 0x0 0x800>;
1042 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1043 clocks = <&clk_gates15 2>, <&clk_gates15 3>;
1044 clock-names = "aclk_iep", "hclk_iep";
1048 gmac: eth@ff290000 {
1049 compatible = "rockchip,rk3368-gmac";
1050 reg = <0x0 0xff290000 0x0 0x10000>;
1051 rockchip,grf = <&grf>;
1052 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; /*irq=59*/
1053 interrupt-names = "macirq";
1055 clocks = <&clk_mac>, <&clk_gates7 4>,
1056 <&clk_gates7 5>, <&clk_gates7 6>,
1057 <&clk_gates7 7>, <&clk_gates20 13>,
1059 clock-names = "clk_mac", "mac_clk_rx",
1060 "mac_clk_tx", "clk_mac_ref",
1061 "clk_mac_refout", "aclk_mac",
1065 pinctrl-names = "default";
1066 pinctrl-0 = <&rgmii_pins>;
1070 compatible = "arm,rogue-G6110", "arm,rk3368-gpu";
1071 reg = <0x0 0xffa30000 0x0 0x10000>;
1072 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1073 interrupt-names = "GPU";
1078 compatible = "rockchip,iep_mmu";
1079 reg = <0x0 0xff900800 0x0 0x100>;
1080 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1081 interrupt-names = "iep_mmu";
1086 compatible = "rockchip,vip_mmu";
1087 reg = <0x0 0xff950800 0x0 0x100>;
1088 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1089 interrupt-names = "vip_mmu";
1094 compatible = "rockchip,vopb_mmu";
1095 reg = <0x0 0xff930300 0x0 0x100>;
1096 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1097 interrupt-names = "vop_mmu";
1101 dbgname = "isp_mmu";
1102 compatible = "rockchip,isp_mmu";
1103 reg = <0x0 0xff914000 0x0 0x100>,
1104 <0x0 0xff915000 0x0 0x100>;
1105 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1106 interrupt-names = "isp_mmu";
1110 dbgname = "hdcp_mmu";
1111 compatible = "rockchip,hdcp_mmu";
1112 reg = <0x0 0xff940000 0x0 0x100>;
1113 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1114 interrupt-names = "hdcp_mmu";
1119 compatible = "rockchip,hevc_mmu";
1120 reg = <0x0 0xff9c0440 0x0 0x40>, /*need to fix*/
1121 <0x0 0xff9c0480 0x0 0x40>;
1122 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; /*need to fix*/
1123 interrupt-names = "hevc_mmu";
1128 compatible = "rockchip,vpu_mmu";
1129 reg = <0x0 0xff9a0800 0x0 0x100>; /*need to fix*/
1130 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; /*need to fix*/
1131 interrupt-names = "vpu_mmu";
1135 rockchip,ctrbits = <
1142 |RKPM_CTR_SYSCLK_DIV
1143 |RKPM_CTR_IDLEAUTO_MD
1144 |RKPM_CTR_ARMOFF_LPMD
1146 |RKPM_CTR_ARMOFF_LOGDP_LPMD
1149 rockchip,pmic-suspend_gpios = <
1150 /* RKPM_PINGPIO_BITS_OUTPUT(GPIO7_A1,RKPM_GPIO_OUT_H) */
1152 rockchip,pmic-resume_gpios = <
1153 /* RKPM_PINGPIO_BITS_FUN(PWM1,RKPM_GPIO_PULL_DN) */
1158 compatible = "rockchip,isp";
1159 reg = <0x0 0xff910000 0x0 0x10000>;
1160 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1161 clocks = <&clk_gates17 0>, <&clk_gates16 14>, <&clk_isp>, <&clk_isp>, <&pclk_isp>, <&clk_vip>, <&clk_vip_pll>, <&clk_gates17 4>, <&clk_gates22 11>;
1162 clock-names = "aclk_isp", "hclk_isp", "clk_isp", "clk_isp_jpe", "pclkin_isp", "clk_cif_out", "clk_cif_pll", "hclk_mipiphy1", "pclk_dphyrx";
1163 pinctrl-names = "default", "isp_dvp8bit2", "isp_dvp10bit", "isp_dvp12bit", "isp_dvp8bit0", "isp_mipi_fl", "isp_mipi_fl_prefl","isp_flash_as_gpio","isp_flash_as_trigger_out";
1164 pinctrl-0 = <&cif_clkout>;
1165 pinctrl-1 = <&cif_clkout &isp_dvp_d2d9>;
1166 pinctrl-2 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d0d1>;
1167 pinctrl-3 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d0d1 &isp_dvp_d10d11>;
1168 pinctrl-4 = <&cif_clkout &isp_dvp_d0d7>;
1169 pinctrl-5 = <&cif_clkout>;
1170 pinctrl-6 = <&cif_clkout &isp_prelight>;
1171 pinctrl-7 = <&isp_flash_trigger_as_gpio>;
1172 pinctrl-8 = <&isp_flash_trigger>;
1173 rockchip,isp,mipiphy = <2>;
1174 rockchip,isp,cifphy = <1>;
1175 rockchip,isp,mipiphy1,reg = <0xff964000 0x4000>;
1176 rockchip,isp,csiphy,reg = <0xff96C000 0x4000>;
1177 rockchip,grf = <&grf>;
1178 rockchip,cru = <&cru>;
1179 rockchip,gpios = <&gpio3 GPIO_C4 GPIO_ACTIVE_HIGH>;
1180 rockchip,isp,iommu_enable = <0>;
1185 compatible = "rockchip,cif";
1186 reg = <0x0 0xff950000 0x0 0x10000>;
1187 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1188 //clocks = <&pd_isp>,<&clk_gates15 14>,<&clk_gates15 15>,<&pclkin_vip>,<&clk_gates16 0>,<&clk_cif_out>;
1189 clocks = <&clk_gates16 11>,<&clk_gates16 12>,<&pclkin_vip>,<&clk_vip>;
1190 clock-names = "aclk_cif0","hclk_cif0","cif0_in","cif0_out";
1191 pinctrl-names = "cif_pin_all";
1192 pinctrl-0 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d10d11>;
1193 rockchip,grf = <&grf>;
1194 rockchip,cru = <&cru>;
1200 #include "rk3368-thermal.dtsi"
1204 tsadc: tsadc@ff280000 {
1205 compatible = "rockchip,rk3368-tsadc";
1206 reg = <0x0 0xff280000 0x0 0x100>;
1207 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1208 clocks = <&clk_tsadc>, <&clk_gates20 0>;
1209 rockchip,grf = <&grf>;
1210 rockchip,cru = <&cru>;
1211 rockchip,pmu = <&pmu>;
1212 clock-names = "tsadc", "apb_pclk";
1213 clock-frequency = <32000>;
1214 resets = <&reset RK3368_SRST_TSADC_P>;
1215 reset-names = "tsadc-apb";
1216 //pinctrl-names = "default";
1217 //pinctrl-0 = <&tsadc_int>;
1218 #thermal-sensor-cells = <1>;
1219 hw-shut-temp = <120000>;
1220 status = "disabled";
1224 compatible = "rockchip,rk3368-tsp";
1225 reg = <0x0 0xFF8B0000 0x0 0x10000>;
1226 clocks = <&clk_tsp>, <&clk_gates13 10>, <&clk_gates13 7>;
1227 clock-names = "clk_tsp", "hclk_tsp", "clk_hsadc0_tsp";
1228 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
1229 interrupt-names = "irq_tsp";
1230 // pinctrl-names = "default";
1231 // pinctrl-0 = <&isp_hsadc>;
1235 crypto: crypto@FF8A0000{
1236 compatible = "rockchip,rk3368-crypto";
1237 reg = <0x0 0xFF8A0000 0x0 0x10000>;
1238 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1239 interrupt-names = "irq_crypto";
1240 clocks = <&clk_crypto>, <&clk_gates13 4>, <&clk_gates13 3>;
1241 clock-names = "clk_crypto", "sclk_crypto", "mclk_crypto";
1245 dwc_control_usb: dwc-control-usb {
1246 compatible = "rockchip,rk3368-dwc-control-usb";
1247 rockchip,grf = <&grf>;
1248 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
1249 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1250 interrupt-names = "otg_id", "otg_bvalid",
1251 "otg_linestate", "host0_linestate";
1252 clocks = <&clk_gates20 6>, <&usbphy_480m>;
1253 clock-names = "hclk_usb_peri", "usbphy_480m";
1254 //resets = <&reset RK3128_RST_USBPOR>;
1255 //reset-names = "usbphy_por";
1257 compatible = "inno,phy";
1258 regbase = &dwc_control_usb;
1259 rk_usb,bvalid = <0x4bc 23 1>;
1260 rk_usb,iddig = <0x4bc 26 1>;
1261 rk_usb,vdmsrcen = <0x718 12 1>;
1262 rk_usb,vdpsrcen = <0x718 11 1>;
1263 rk_usb,rdmpden = <0x718 10 1>;
1264 rk_usb,idpsrcen = <0x718 9 1>;
1265 rk_usb,idmsinken = <0x718 8 1>;
1266 rk_usb,idpsinken = <0x718 7 1>;
1267 rk_usb,dpattach = <0x4b8 31 1>;
1268 rk_usb,cpdet = <0x4b8 30 1>;
1269 rk_usb,dcpattach = <0x4b8 29 1>;
1273 usb0: usb@ff580000 {
1274 compatible = "rockchip,rk3368_usb20_otg";
1275 reg = <0x0 0xff580000 0x0 0x40000>;
1276 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1277 clocks = <&clk_gates8 1>, <&clk_gates20 1>;
1278 clock-names = "clk_usbphy0", "hclk_otg";
1279 resets = <&reset RK3368_SRST_USBOTG0_H>, <&reset RK3368_SRST_USBOTGPHY0>,
1280 <&reset RK3368_SRST_USBOTGC0>;
1281 reset-names = "otg_ahb", "otg_phy", "otg_controller";
1282 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
1283 rockchip,usb-mode = <0>;
1286 usb_ehci: usb@ff500000 {
1287 compatible = "generic-ehci";
1288 reg = <0x0 0xff500000 0x0 0x20000>;
1289 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1290 clocks = <&clk_gates8 1>, <&clk_gates20 3>;
1291 clock-names = "clk_usbphy0", "hclk_ehci";
1292 //resets = <&reset RK3288_SOFT_RST_USBHOST0_H>, <&reset RK3288_SOFT_RST_USBHOST0PHY>,
1293 // <&reset RK3288_SOFT_RST_USBHOST0C>, <&reset RK3288_SOFT_RST_USB_HOST0>;
1294 //reset-names = "ehci_ahb", "ehci_phy", "ehci_controller", "ehci";
1297 usb_ohci: usb@ff520000 {
1298 compatible = "generic-ohci";
1299 reg = <0x0 0xff520000 0x0 0x20000>;
1300 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1301 clocks = <&clk_gates8 1>, <&clk_gates20 3>;
1302 clock-names = "clk_usbphy0", "hclk_ohci";
1305 usb_hsic: usb@ff5c0000 {
1306 compatible = "rockchip,rk3288_rk_hsic_host";
1307 reg = <0x0 0xff5c0000 0x0 0x40000>;
1308 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
1310 clocks = <&hsicphy_480m>, <&clk_gates7 8>,
1311 <&hsicphy_12m>, <&usbphy_480m>,
1312 <&otgphy1_480m>, <&otgphy2_480m>;
1313 clock-names = "hsicphy_480m", "hclk_hsic",
1314 "hsicphy_12m", "usbphy_480m",
1315 "hsic_usbphy1", "hsic_usbphy2";
1316 resets = <&reset RK3288_SOFT_RST_HSIC>, <&reset RK3288_SOFT_RST_HSIC_AUX>,
1317 <&reset RK3288_SOFT_RST_HSICPHY>;
1318 reset-names = "hsic_ahb", "hsic_aux", "hsic_phy";
1320 status = "disabled";
1324 compatible = "rockchip,rk3368-pinctrl";
1325 rockchip,grf = <&grf>;
1326 rockchip,pmugrf = <&pmugrf>;
1327 #address-cells = <2>;
1331 gpio0: gpio0@ff750000 {
1332 compatible = "rockchip,gpio-bank";
1333 reg = <0x0 0xff750000 0x0 0x100>;
1334 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1335 clocks = <&clk_gates23 4>;
1340 interrupt-controller;
1341 #interrupt-cells = <2>;
1344 gpio1: gpio1@ff780000 {
1345 compatible = "rockchip,gpio-bank";
1346 reg = <0x0 0xff780000 0x0 0x100>;
1347 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1348 clocks = <&clk_gates22 1>;
1353 interrupt-controller;
1354 #interrupt-cells = <2>;
1357 gpio2: gpio2@ff790000 {
1358 compatible = "rockchip,gpio-bank";
1359 reg = <0x0 0xff790000 0x0 0x100>;
1360 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1361 clocks = <&clk_gates22 2>;
1366 interrupt-controller;
1367 #interrupt-cells = <2>;
1370 gpio3: gpio3@ff7a0000 {
1371 compatible = "rockchip,gpio-bank";
1372 reg = <0x0 0xff7a0000 0x0 0x100>;
1373 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
1374 clocks = <&clk_gates22 3>;
1379 interrupt-controller;
1380 #interrupt-cells = <2>;
1383 pcfg_pull_up: pcfg-pull-up {
1387 pcfg_pull_down: pcfg-pull-down {
1391 pcfg_pull_none: pcfg-pull-none {
1395 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
1396 drive-strength = <8>;
1399 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma {
1400 drive-strength = <12>;
1403 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
1405 drive-strength = <8>;
1408 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
1409 drive-strength = <4>;
1412 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
1414 drive-strength = <4>;
1417 pcfg_output_high: pcfg-output-high {
1421 pcfg_output_low: pcfg-output-low {
1426 i2c0_xfer: i2c0-xfer {
1427 rockchip,pins = <0 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,
1428 <0 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>;
1430 i2c0_gpio: i2c0-gpio {
1431 rockchip,pins = <0 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_none>,
1432 <0 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_none>;
1437 i2c1_xfer: i2c1-xfer {
1438 rockchip,pins = <2 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,
1439 <2 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>;
1441 i2c1_gpio: i2c1-gpio {
1442 rockchip,pins = <2 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_none>,
1443 <2 GPIO_C6 RK_FUNC_GPIO &pcfg_pull_none>;
1448 i2c2_xfer: i2c2-xfer {
1449 rockchip,pins = <3 GPIO_D7 RK_FUNC_2 &pcfg_pull_none>,
1450 <0 GPIO_B1 RK_FUNC_2 &pcfg_pull_none>;
1452 i2c2_gpio: i2c2-gpio {
1453 rockchip,pins = <3 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_none>,
1454 <0 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_none>;
1459 i2c3_xfer: i2c3-xfer {
1460 rockchip,pins = <1 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,
1461 <1 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
1463 i2c3_gpio: i2c3-gpio {
1464 rockchip,pins = <1 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,
1465 <1 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>;
1470 i2c4_xfer: i2c4-xfer {
1471 rockchip,pins = <3 GPIO_D0 RK_FUNC_2 &pcfg_pull_none>,
1472 <3 GPIO_D1 RK_FUNC_2 &pcfg_pull_none>;
1474 i2c4_gpio: i2c4-gpio {
1475 rockchip,pins = <3 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_none>,
1476 <3 GPIO_D1 RK_FUNC_GPIO &pcfg_pull_none>;
1481 i2c5_xfer: i2c5-xfer {
1482 rockchip,pins = <3 GPIO_D2 RK_FUNC_2 &pcfg_pull_none>,
1483 <3 GPIO_D3 RK_FUNC_2 &pcfg_pull_none>;
1485 i2c5_gpio: i2c5-gpio {
1486 rockchip,pins = <3 GPIO_D2 RK_FUNC_GPIO &pcfg_pull_none>,
1487 <3 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>;
1492 uart0_xfer: uart0-xfer {
1493 rockchip,pins = <2 GPIO_D0 RK_FUNC_1 &pcfg_pull_up>,
1494 <2 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>;
1497 uart0_cts: uart0-cts {
1498 rockchip,pins = <2 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>;
1501 uart0_rts: uart0-rts {
1502 rockchip,pins = <2 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
1505 uart0_rts_gpio: uart0-rts-gpio {
1506 rockchip,pins = <2 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>;
1511 uart1_xfer: uart1-xfer {
1512 rockchip,pins = <0 GPIO_C4 RK_FUNC_3 &pcfg_pull_up>,
1513 <0 GPIO_C5 RK_FUNC_3 &pcfg_pull_none>;
1516 uart1_cts: uart1-cts {
1517 rockchip,pins = <0 GPIO_C6 RK_FUNC_3 &pcfg_pull_none>;
1520 uart1_rts: uart1-rts {
1521 rockchip,pins = <0 GPIO_C7 RK_FUNC_3 &pcfg_pull_none>;
1526 uart2_xfer: uart2-xfer {
1527 rockchip,pins = <2 GPIO_A6 RK_FUNC_2 &pcfg_pull_up>,
1528 <2 GPIO_A5 RK_FUNC_2 &pcfg_pull_none>;
1533 uart3_xfer: uart3-xfer {
1534 rockchip,pins = <3 GPIO_D5 RK_FUNC_2 &pcfg_pull_up>,
1535 <3 GPIO_D6 RK_FUNC_2 &pcfg_pull_none>;
1538 uart3_cts: uart3-cts {
1539 rockchip,pins = <3 GPIO_C0 RK_FUNC_2 &pcfg_pull_none>;
1542 uart3_rts: uart3-rts {
1543 rockchip,pins = <3 GPIO_C1 RK_FUNC_2 &pcfg_pull_none>;
1548 uart4_xfer: uart4-xfer {
1549 rockchip,pins = <0 GPIO_D3 RK_FUNC_3 &pcfg_pull_up>,
1550 <0 GPIO_D2 RK_FUNC_3 &pcfg_pull_none>;
1553 uart4_cts: uart4-cts {
1554 rockchip,pins = <0 GPIO_D0 RK_FUNC_3 &pcfg_pull_none>;
1557 uart4_rts: uart4-rts {
1558 rockchip,pins = <0 GPIO_D1 RK_FUNC_3 &pcfg_pull_none>;
1563 spi0_clk: spi0-clk {
1564 rockchip,pins = <1 GPIO_D5 RK_FUNC_2 &pcfg_pull_up>;
1566 spi0_cs0: spi0-cs0 {
1567 rockchip,pins = <1 GPIO_D0 RK_FUNC_3 &pcfg_pull_up>;
1570 rockchip,pins = <1 GPIO_C7 RK_FUNC_3 &pcfg_pull_up>;
1573 rockchip,pins = <1 GPIO_C6 RK_FUNC_3 &pcfg_pull_up>;
1575 spi0_cs1: spi0-cs1 {
1576 rockchip,pins = <1 GPIO_D1 RK_FUNC_3 &pcfg_pull_up>;
1581 spi1_clk: spi1-clk {
1582 rockchip,pins = <1 GPIO_B6 RK_FUNC_2 &pcfg_pull_up>;
1584 spi1_cs0: spi1-cs0 {
1585 rockchip,pins = <1 GPIO_B7 RK_FUNC_2 &pcfg_pull_up>;
1588 rockchip,pins = <1 GPIO_C0 RK_FUNC_2 &pcfg_pull_up>;
1591 rockchip,pins = <1 GPIO_C1 RK_FUNC_2 &pcfg_pull_up>;
1596 spi2_clk: spi2-clk {
1597 rockchip,pins = <0 GPIO_B4 RK_FUNC_2 &pcfg_pull_up>;
1599 spi2_cs0: spi2-cs0 {
1600 rockchip,pins = <0 GPIO_B5 RK_FUNC_2 &pcfg_pull_up>;
1603 rockchip,pins = <0 GPIO_B2 RK_FUNC_2 &pcfg_pull_up>;
1606 rockchip,pins = <0 GPIO_B3 RK_FUNC_2 &pcfg_pull_up>;
1611 i2s_mclk: i2s-mclk {
1612 rockchip,pins = <2 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>;
1616 rockchip,pins = <2 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>;
1619 i2s_lrckrx:i2s-lrckrx {
1620 rockchip,pins = <2 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;
1623 i2s_lrcktx:i2s-lrcktx {
1624 rockchip,pins = <2 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>;
1628 rockchip,pins = <2 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;
1632 rockchip,pins = <2 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>;
1636 rockchip,pins = <2 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
1640 rockchip,pins = <2 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>;
1644 rockchip,pins = <2 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>;
1647 i2s_gpio: i2s-gpio {
1648 rockchip,pins = <2 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>,
1649 <2 GPIO_B4 RK_FUNC_GPIO &pcfg_pull_none>,
1650 <2 GPIO_B5 RK_FUNC_GPIO &pcfg_pull_none>,
1651 <2 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_none>,
1652 <2 GPIO_B7 RK_FUNC_GPIO &pcfg_pull_none>,
1653 <2 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,
1654 <2 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>,
1655 <2 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_none>,
1656 <2 GPIO_C3 RK_FUNC_GPIO &pcfg_pull_none>;
1661 spdif_tx: spdif-tx {
1662 rockchip,pins = <2 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>;
1667 sdmmc_clk: sdmmc-clk {
1668 rockchip,pins = <2 GPIO_B1 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
1671 sdmmc_cmd: sdmmc-cmd {
1672 rockchip,pins = <2 GPIO_B2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1675 sdmmc_dectn: sdmmc-dectn {
1676 rockchip,pins = <2 GPIO_B3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1679 sdmmc_bus1: sdmmc-bus1 {
1680 rockchip,pins = <2 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1683 sdmmc_bus4: sdmmc-bus4 {
1684 rockchip,pins = <2 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1685 <2 GPIO_A6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1686 <2 GPIO_A7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1687 <2 GPIO_B0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1690 sdmmc_gpio: sdmmc-gpio {
1691 rockchip,pins = <2 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CLK
1692 <2 GPIO_B2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CMD
1693 <2 GPIO_B3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DET
1694 <2 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DO
1695 <2 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D1
1696 <2 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D2
1697 <2 GPIO_B0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;//D3
1702 sdio0_bus1: sdio0-bus1 {
1703 rockchip,pins = <2 GPIO_D4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1706 sdio0_bus4: sdio0-bus4 {
1707 rockchip,pins = <2 GPIO_D4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1708 <2 GPIO_D5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1709 <2 GPIO_D6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1710 <2 GPIO_D7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1713 sdio0_cmd: sdio0-cmd {
1714 rockchip,pins = <3 GPIO_A0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1717 sdio0_clk: sdio0-clk {
1718 rockchip,pins = <3 GPIO_A1 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
1721 sdio0_dectn: sdio0-dectn {
1722 rockchip,pins = <3 GPIO_A2 RK_FUNC_1 &pcfg_pull_up>;
1725 sdio0_wrprt: sdio0-wrprt {
1726 rockchip,pins = <3 GPIO_A3 RK_FUNC_1 &pcfg_pull_up>;
1729 sdio0_pwren: sdio0-pwren {
1730 rockchip,pins = <3 GPIO_A4 RK_FUNC_1 &pcfg_pull_up>;
1733 sdio0_bkpwr: sdio0-bkpwr {
1734 rockchip,pins = <3 GPIO_A5 RK_FUNC_1 &pcfg_pull_up>;
1737 sdio0_int: sdio0-int {
1738 rockchip,pins = <3 GPIO_A6 RK_FUNC_1 &pcfg_pull_up>;
1741 sdio0_gpio: sdio0-gpio {
1742 rockchip,pins = <3 GPIO_A0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CMD
1743 <3 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CLK
1744 <3 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DET
1745 <3 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//wrprt
1746 <3 GPIO_A4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//PWREN
1747 <3 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//BKPWR
1748 <3 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//INTN
1749 <2 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DO
1750 <2 GPIO_D5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D1
1751 <2 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D2
1752 <2 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;//D3
1757 emmc_clk: emmc-clk {
1758 rockchip,pins = <2 GPIO_A4 RK_FUNC_2 &pcfg_pull_none_drv_8ma>;
1761 emmc_cmd: emmc-cmd {
1762 rockchip,pins = <1 GPIO_D2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
1765 emmc_pwren: emmc-pwren {
1766 rockchip,pins = <1 GPIO_D3 RK_FUNC_2 &pcfg_pull_none>;
1769 emmc_rstnout: emmc_rstnout {
1770 rockchip,pins = <2 GPIO_A3 RK_FUNC_2 &pcfg_pull_none>;
1773 emmc_bus1: emmc-bus1 {
1774 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;//DO
1777 emmc_bus4: emmc-bus4 {
1778 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//DO
1779 <1 GPIO_C3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//D1
1780 <1 GPIO_C4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//D2
1781 <1 GPIO_C5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;//D3
1786 pwm0_pin: pwm0-pin {
1787 rockchip,pins = <3 GPIO_B0 RK_FUNC_2 &pcfg_pull_none>;
1790 vop_pwm_pin:vop-pwm {
1791 rockchip,pins = <3 GPIO_B0 RK_FUNC_3 &pcfg_pull_none>;
1796 pwm1_pin: pwm1-pin {
1797 rockchip,pins = <0 GPIO_B0 RK_FUNC_2 &pcfg_pull_none>;
1802 pwm3_pin: pwm3-pin {
1803 rockchip,pins = <3 GPIO_D6 RK_FUNC_3 &pcfg_pull_none>;
1808 lcdc_lcdc: lcdc-lcdc {
1810 <0 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D10
1811 <0 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D11
1812 <0 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D12
1813 <0 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D13
1814 <0 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D14
1815 <0 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D15
1816 <0 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D16
1817 <0 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D17
1818 <0 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D18
1819 <0 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D19
1820 <0 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D20
1821 <0 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D21
1822 <0 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D22
1823 <0 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D23
1824 <0 GPIO_D7 RK_FUNC_1 &pcfg_pull_none>,//DCLK
1825 <0 GPIO_D6 RK_FUNC_1 &pcfg_pull_none>,//DEN
1826 <0 GPIO_D4 RK_FUNC_1 &pcfg_pull_none>,//HSYNC
1827 <0 GPIO_D5 RK_FUNC_1 &pcfg_pull_none>;//VSYN
1830 lcdc_gpio: lcdc-gpio {
1832 <0 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D10
1833 <0 GPIO_B7 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D11
1834 <0 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D12
1835 <0 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D13
1836 <0 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D14
1837 <0 GPIO_C3 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D15
1838 <0 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D16
1839 <0 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D17
1840 <0 GPIO_C6 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D18
1841 <0 GPIO_C7 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D19
1842 <0 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D20
1843 <0 GPIO_D1 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D21
1844 <0 GPIO_D2 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D22
1845 <0 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D23
1846 <0 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_none>,//DCLK
1847 <0 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_none>,//DEN
1848 <0 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_none>,//HSYNC
1849 <0 GPIO_D5 RK_FUNC_GPIO &pcfg_pull_none>;//VSYN
1854 cif_clkout: cif-clkout {
1855 rockchip,pins = <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
1858 isp_dvp_d2d9: isp-dvp-d2d9 {
1859 rockchip,pins = <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
1860 <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
1861 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1862 <1 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1863 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1864 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_none>,//cif_data7
1865 <1 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,//cif_data8
1866 <1 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>,//cif_data9
1867 <1 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>,//cif_sync
1868 <1 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>,//cif_href
1869 <1 GPIO_B2 RK_FUNC_1 &pcfg_pull_none>,//cif_clkin
1870 <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
1873 isp_dvp_d0d1: isp-dvp-d0d1 {
1874 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
1875 <1 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;//cif_data1
1878 isp_dvp_d10d11:isp_d10d11 {
1879 rockchip,pins = <1 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//cif_data10
1880 <1 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;//cif_data11
1883 isp_dvp_d0d7: isp-dvp-d0d7 {
1884 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
1885 <1 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>,//cif_data1
1886 <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
1887 <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
1888 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1889 <1 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1890 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1891 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_none>;//cif_data7
1894 isp_shutter: isp-shutter {
1895 rockchip,pins = <3 GPIO_C3 RK_FUNC_2 &pcfg_pull_none>, //SHUTTEREN
1896 <3 GPIO_C6 RK_FUNC_2 &pcfg_pull_none>;//SHUTTERTRIG
1899 isp_flash_trigger: isp-flash-trigger {
1900 rockchip,pins = <3 GPIO_C4 RK_FUNC_2 &pcfg_pull_none>; //ISP_FLASHTRIGOU
1903 isp_prelight: isp-prelight {
1904 rockchip,pins = <3 GPIO_C5 RK_FUNC_2 &pcfg_pull_none>;//ISP_PRELIGHTTRIG
1907 isp_flash_trigger_as_gpio: isp_flash_trigger_as_gpio {
1908 rockchip,pins = <3 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>;//ISP_FLASHTRIGOU
1914 rockchip,pins = <3 GPIO_B6 RK_FUNC_2 &pcfg_pull_none>;
1918 rockchip,pins = <3 GPIO_B7 RK_FUNC_2 &pcfg_pull_none>;
1922 gps_rfclk: gps-rfclk {
1923 rockchip,pins = <3 GPIO_C0 RK_FUNC_3 &pcfg_pull_none>;
1928 rgmii_pins: rgmii-pins {
1929 rockchip,pins = <3 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>,//MAC_CLK
1930 <3 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>,//MDIO
1931 <3 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>,//MDC
1932 <3 GPIO_B0 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXD0
1933 <3 GPIO_B1 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXD1
1934 <3 GPIO_B2 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXD2
1935 <3 GPIO_B6 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXD3
1936 <3 GPIO_D4 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXCLK
1937 <3 GPIO_B5 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXEN
1938 <3 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>,//RXD0
1939 <3 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,//RXD1
1940 <3 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,//RXD2
1941 <3 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>,//RXD3
1942 <3 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,//RXCLK
1943 <3 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>;//RXDV
1946 rmii_pins: rmii-pins {
1947 rockchip,pins = <3 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>,//MAC_CLK
1948 <3 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>,//MDIO
1949 <3 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>,//MDC
1950 <3 GPIO_B0 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXD0
1951 <3 GPIO_B1 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXD1
1952 <3 GPIO_B5 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,//TXEN
1953 <3 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>,//RXD0
1954 <3 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,//RXD1
1955 <3 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>,//RXDV
1956 <3 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>;//RXER
1961 tsadc_int: tsadc-int {
1962 rockchip,pins = <0 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>;
1964 tsadc_gpio: tsadc-gpio {
1965 rockchip,pins = <0 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_none>;
1970 hdmi_cec: hdmi-cec {
1971 rockchip,pins = <3 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>;
1976 hdmii2c_xfer: hdmii2c-xfer {
1977 rockchip,pins = <3 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>,
1978 <3 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
1984 compatible = "rockchip,rk3368-reboot";
1985 rockchip,cru = <&cru>;
1986 rockchip,pmugrf = <&pmugrf>;