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 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
302 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
306 pdma1: pdma@ff250000 {
307 compatible = "arm,pl330", "arm,primecell";
308 reg = <0x0 0xff250000 0x0 0x4000>;
309 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
315 reset: reset@ff760300{
316 compatible = "rockchip,reset";
317 reg = <0x0 0xff760300 0x0 0x38>;
318 rockchip,reset-flag = <ROCKCHIP_RESET_HIWORD_MASK>;
322 nandc0: nandc@ff400000 {
323 compatible = "rockchip,rk-nandc";
324 reg = <0x0 0xff400000 0x0 0x4000>;
325 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
327 clocks = <&clk_nandc0>, <&clk_gates7 8>, <&clk_gates20 11>;
328 clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
331 nandc0reg: nandc0@ff400000 {
332 compatible = "rockchip,rk-nandc";
333 reg = <0x0 0xff400000 0x0 0x4000>;
336 emmc: rksdmmc@ff0f0000 {
337 compatible = "rockchip,rk_mmc", "rockchip,rk3368-sdmmc";
338 reg = <0x0 0xff0f0000 0x0 0x4000>;
339 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
340 #address-cells = <1>;
342 clocks = <&clk_emmc>, <&clk_gates21 2>;
343 clock-names = "clk_mmc", "hclk_mmc";
344 rockchip,grf = <&grf>;
346 fifo-depth = <0x100>;
350 sdmmc: rksdmmc@ff0c0000 {
351 compatible = "rockchip,rk_mmc", "rockchip,rk3368-sdmmc";
352 reg = <0x0 0xff0c0000 0x0 0x4000>;
353 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
354 #address-cells = <1>;
356 pinctrl-names = "default", "idle";
357 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_dectn &sdmmc_bus4>;
358 pinctrl-1 = <&sdmmc_gpio>;
359 cd-gpios = <&gpio2 GPIO_B3 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
360 clocks = <&clk_sdmmc0>, <&clk_gates21 0>;
361 clock-names = "clk_mmc", "hclk_mmc";
362 rockchip,grf = <&grf>;
364 fifo-depth = <0x100>;
368 sdio: rksdmmc@ff0d0000 {
369 compatible = "rockchip,rk_mmc", "rockchip,rk3368-sdmmc";
370 reg = <0x0 0xff0d0000 0x0 0x4000>;
371 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
372 #address-cells = <1>;
374 pinctrl-names = "default","idle";
375 pinctrl-0 = <&sdio0_clk &sdio0_cmd &sdio0_wrprt &sdio0_pwren &sdio0_bkpwr &sdio0_int &sdio0_bus4>;
376 pinctrl-1 = <&sdio0_gpio>;
377 clocks = <&clk_sdio0>, <&clk_gates21 1>;
378 clock-names = "clk_mmc", "hclk_mmc";
379 rockchip,grf = <&grf>;
381 fifo-depth = <0x100>;
386 compatible = "rockchip,rockchip-spi";
387 reg = <0x0 0xff110000 0x0 0x1000>;
388 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
389 #address-cells = <1>;
391 pinctrl-names = "default";
392 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0 &spi0_cs1>;
393 rockchip,spi-src-clk = <0>;
395 clocks =<&clk_spi0>, <&clk_gates19 4>;
396 clock-names = "spi", "pclk_spi0";
397 //dmas = <&pdma1 11>, <&pdma1 12>;
399 //dma-names = "tx", "rx";
404 compatible = "rockchip,rockchip-spi";
405 reg = <0x0 0xff120000 0x0 0x1000>;
406 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
407 #address-cells = <1>;
409 pinctrl-names = "default";
410 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
411 rockchip,spi-src-clk = <1>;
413 clocks = <&clk_spi1>, <&clk_gates19 5>;
414 clock-names = "spi", "pclk_spi1";
415 //dmas = <&pdma1 13>, <&pdma1 14>;
417 //dma-names = "tx", "rx";
422 compatible = "rockchip,rockchip-spi";
423 reg = <0x0 0xff130000 0x0 0x1000>;
424 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
425 #address-cells = <1>;
427 pinctrl-names = "default";
428 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
429 rockchip,spi-src-clk = <2>;
431 clocks = <&clk_spi2>, <&clk_gates19 6>;
432 clock-names = "spi", "pclk_spi2";
433 //dmas = <&pdma1 15>, <&pdma1 16>;
435 //dma-names = "tx", "rx";
439 uart_bt: serial@ff180000 {
440 compatible = "rockchip,serial";
441 reg = <0x0 0xff180000 0x0 0x100>;
442 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
443 clock-frequency = <24000000>;
444 clocks = <&clk_uart0>, <&clk_gates19 7>;
445 clock-names = "sclk_uart", "pclk_uart";
448 //dmas = <&pdma1 1>, <&pdma1 2>;
450 pinctrl-names = "default";
451 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
455 uart_bb: serial@ff190000 {
456 compatible = "rockchip,serial";
457 reg = <0x0 0xff190000 0x0 0x100>;
458 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
459 clock-frequency = <24000000>;
460 clocks = <&clk_uart1>, <&clk_gates19 8>;
461 clock-names = "sclk_uart", "pclk_uart";
464 //dmas = <&pdma1 3>, <&pdma1 4>;
466 pinctrl-names = "default";
467 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
471 uart_dbg: serial@ff690000 {
472 compatible = "rockchip,serial";
473 reg = <0x0 0xff690000 0x0 0x100>;
474 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
475 clock-frequency = <24000000>;
476 clocks = <&clk_uart2>, <&clk_gates13 5>;
477 clock-names = "sclk_uart", "pclk_uart";
480 //dmas = <&pdma0 4>, <&pdma0 5>;
482 //pinctrl-names = "default";
483 //pinctrl-0 = <&uart2_xfer>;
487 uart_gps: serial@ff1b0000 {
488 compatible = "rockchip,serial";
489 reg = <0x0 0xff1b0000 0x0 0x100>;
490 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
491 clock-frequency = <24000000>;
492 clocks = <&clk_uart3>, <&clk_gates19 9>;
493 clock-names = "sclk_uart", "pclk_uart";
494 current-speed = <115200>;
497 //dmas = <&pdma1 7>, <&pdma1 8>;
499 pinctrl-names = "default";
500 pinctrl-0 = <&uart3_xfer &uart3_cts &uart3_rts>;
504 uart_exp: serial@ff1c0000 {
505 compatible = "rockchip,serial";
506 reg = <0x0 0xff1c0000 0x0 0x100>;
507 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
508 clock-frequency = <24000000>;
509 clocks = <&clk_uart4>, <&clk_gates19 10>;
510 clock-names = "sclk_uart", "pclk_uart";
513 //dmas = <&pdma1 9>, <&pdma1 10>;
515 pinctrl-names = "default";
516 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
520 rockchip_clocks_init: clocks-init{
521 compatible = "rockchip,clocks-init";
522 rockchip,clocks-init-parent =
523 <&i2s_pll &clk_gpll>, <&spdif_8ch_pll &clk_gpll>,
524 <&i2s_2ch_pll &clk_gpll>, <&usbphy_480m &usbotg_480m_out>,
525 <&clk_uart_pll &clk_gpll>, <&aclk_gpu &clk_cpll>,
527 rockchip,clocks-init-rate =
528 <&clk_gpll 576000000>, <&clk_core_b 792000000>,
529 <&clk_core_l 600000000>, <&clk_cpll 400000000>,
530 /*<&clk_npll 500000000>,*/ <&aclk_bus 300000000>,
531 <&hclk_bus 150000000>, <&pclk_bus 75000000>,
532 <&clk_crypto 150000000>, <&aclk_peri 300000000>,
533 <&hclk_peri 150000000>, <&pclk_peri 75000000>,
534 <&pclk_alive_pre 100000000>, <&pclk_pmu_pre 100000000>,
535 <&clk_cs 300000000>, <&clkin_trace 300000000>,
536 <&aclk_cci 600000000>, <&clk_mac 50000000>,
537 <&aclk_vio0 400000000>, <&hclk_vio 100000000>,
538 <&aclk_rga_pre 400000000>, <&clk_rga 400000000>,
539 <&clk_isp 400000000>, <&clk_edp 200000000>,
540 <&clk_gpu_core 400000000>, <&aclk_gpu_mem 400000000>,
541 <&aclk_gpu_cfg 400000000>, <&aclk_vepu 400000000>,
542 <&aclk_vdpu 400000000>, <&clk_hevc_core 300000000>,
543 <&clk_hevc_cabac 300000000>;
545 rockchip,clocks-uboot-has-init =
550 rockchip_clocks_enable: clocks-enable {
551 compatible = "rockchip,clocks-enable";
568 <&clk_gates12 12>,/*aclk_strc_sys*/
569 <&clk_gates12 6>,/*aclk_intmem1*/
570 <&clk_gates12 5>,/*aclk_intmem0*/
571 <&clk_gates12 4>,/*aclk_intmem*/
572 <&clk_gates13 9>,/*aclk_gic400*/
575 <&clk_gates22 13>,/*pclk_timer1*/
576 <&clk_gates22 12>,/*pclk_timer0*/
577 <&clk_gates22 9>,/*pclk_alive_niu*/
578 <&clk_gates22 8>,/*pclk_grf*/
581 <&clk_gates23 5>,/*pclk_pmugrf*/
582 <&clk_gates23 3>,/*pclk_sgrf*/
583 <&clk_gates23 2>,/*pclk_pmu_noc*/
584 <&clk_gates23 1>,/*pclk_intmem1*/
585 <&clk_gates23 0>,/*pclk_pmu*/
588 <&clk_gates19 2>,/*aclk_peri_axi_matrix*/
589 <&clk_gates20 8>,/*aclk_peri_niu*/
590 <&clk_gates21 4>,/*aclk_peri_mmu*/
591 <&clk_gates19 0>,/*hclk_peri_axi_matrix*/
592 <&clk_gates20 7>,/*hclk_peri_ahb_arbi*/
593 <&clk_gates19 1>;/*pclk_peri_axi_matrix*/
598 compatible = "rockchip,rk30-i2c";
599 reg = <0x0 0xff650000 0x0 0x1000>;
600 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
601 #address-cells = <1>;
603 pinctrl-names = "default", "gpio";
604 pinctrl-0 = <&i2c0_xfer>;
605 pinctrl-1 = <&i2c0_gpio>;
606 gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
607 clocks = <&clk_gates12 2>;
608 rockchip,check-idle = <1>;
614 compatible = "rockchip,rk30-i2c";
615 reg = <0x0 0xff660000 0x0 0x1000>;
616 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
617 #address-cells = <1>;
619 pinctrl-names = "default", "gpio";
620 pinctrl-0 = <&i2c1_xfer>;
621 pinctrl-1 = <&i2c1_gpio>;
622 gpios = <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C6 GPIO_ACTIVE_LOW>;
623 clocks = <&clk_gates12 3>;
624 rockchip,check-idle = <1>;
630 compatible = "rockchip,rk30-i2c";
631 reg = <0x0 0xff140000 0x0 0x1000>;
632 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
633 #address-cells = <1>;
635 pinctrl-names = "default", "gpio";
636 pinctrl-0 = <&i2c2_xfer>;
637 pinctrl-1 = <&i2c2_gpio>;
638 gpios = <&gpio3 GPIO_D7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_B1 GPIO_ACTIVE_LOW>;
639 clocks = <&clk_gates19 11>;
640 rockchip,check-idle = <1>;
646 compatible = "rockchip,rk30-i2c";
647 reg = <0x0 0xff150000 0x0 0x1000>;
648 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
649 #address-cells = <1>;
651 pinctrl-names = "default", "gpio";
652 pinctrl-0 = <&i2c3_xfer>;
653 pinctrl-1 = <&i2c3_gpio>;
654 gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_LOW>, <&gpio1 GPIO_C0 GPIO_ACTIVE_LOW>;
655 clocks = <&clk_gates19 12>;
656 rockchip,check-idle = <1>;
662 compatible = "rockchip,rk30-i2c";
663 reg = <0x0 0xff160000 0x0 0x1000>;
664 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
665 #address-cells = <1>;
667 pinctrl-names = "default", "gpio";
668 pinctrl-0 = <&i2c4_xfer>;
669 pinctrl-1 = <&i2c4_gpio>;
670 gpios = <&gpio3 GPIO_D0 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D1 GPIO_ACTIVE_LOW>;
671 clocks = <&clk_gates19 13>;
672 rockchip,check-idle = <1>;
678 compatible = "rockchip,rk30-i2c";
679 reg = <0x0 0xff170000 0x0 0x1000>;
680 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
681 #address-cells = <1>;
683 pinctrl-names = "default", "gpio";
684 pinctrl-0 = <&i2c5_xfer>;
685 pinctrl-1 = <&i2c5_gpio>;
686 gpios = <&gpio3 GPIO_D2 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
687 clocks = <&clk_gates19 14>;
688 rockchip,check-idle = <1>;
693 compatible = "rockchip,rk-fb";
694 rockchip,disp-mode = <NO_DUAL>;
698 rk_screen: rk_screen {
699 compatible = "rockchip,screen";
702 dsihost0: mipi@ff960000{
703 compatible = "rockchip,rk3368-dsi";
705 reg = <0x0 0xff960000 0x0 0x4000>, <0x0 0xff968000 0x0 0x4000>;
706 reg-names = "mipi_dsi_host" ,"mipi_dsi_phy";
707 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
708 clocks = <&clk_gates4 14>, <&clk_gates22 10>, <&clk_gates17 3>;
709 clock-names = "clk_mipi_24m", "pclk_mipi_dsi", "pclk_mipi_dsi_host";
713 lvds: lvds@ff968000 {
714 compatible = "rockchip,rk3368-lvds";
715 rockchip,grf = <&grf>;
716 reg = <0x0 0xff968000 0x0 0x4000>, <0x0 0xff9600a0 0x0 0x20>;
717 reg-names = "mipi_lvds_phy", "mipi_lvds_ctl";
718 clocks = <&clk_gates22 10>, <&clk_gates17 3>;
719 clock-names = "pclk_lvds", "pclk_lvds_ctl";
724 compatible = "rockchip,rk32-edp";
725 reg = <0x0 0xff970000 0x0 0x4000>;
726 rockchip,grf = <&grf>;
727 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
728 clocks = <&clk_edp>, <&clk_edp_24m>, <&clk_gates17 9>;
729 clock-names = "clk_edp", "clk_edp_24m", "pclk_edp";
730 resets = <&reset RK3368_SRST_EDP_24M>, <&reset RK3368_SRST_EDP_P>;
731 reset-names = "edp_24m", "edp_apb";
734 hdmi: hdmi@ff980000 {
735 compatible = "rockchip,rk3368-hdmi";
736 reg = <0x0 0xff980000 0x0 0x20000>;
737 rockchip,grf = <&grf>;
738 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
739 pinctrl-names = "default", "gpio";
740 pinctrl-0 = <&hdmii2c_xfer &hdmi_cec>;
741 pinctrl-1 = <&i2c5_gpio>;
742 clocks = <&clk_gates17 6>, <&clk_gates4 13>, <&clk_gates4 12>;
743 clock-names = "pclk_hdmi", "hdcp_clk_hdmi", "cec_clk_hdmi";
747 hdmi_hdcp2: hdmi_hdcp2@ff978000 {
748 compatible = "rockchip,rk3368-hdmi-hdcp2";
749 reg = <0x0 0xff978000 0x0 0x2000>;
750 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
751 clocks = <&clk_gates17 10>, <&clk_gates17 12>, <&clk_gates17 11>, <&clk_hdcp>;
752 clock-names ="aclk_hdcp2", "hclk_hdcp2_mmu", "pclk_hdcp2", "hdcp2_clk_hdmi";
756 lcdc: lcdc@ff930000 {
757 compatible = "rockchip,rk3368-lcdc";
758 rockchip,grf = <&grf>;
759 rockchip,pmugrf = <&pmugrf>;
760 rockchip,prop = <PRMRY>;
761 rockchip,pwr18 = <0>;
762 rockchip,iommu-enabled = <0>;
763 reg = <0x0 0xff930000 0x0 0x10000>;
764 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
765 /*pinctrl-names = "default", "gpio";
766 *pinctrl-0 = <&lcdc_lcdc>;
767 *pinctrl-1 = <&lcdc_gpio>;
770 clocks = <&clk_gates16 5>, <&dclk_vop0>, <&clk_gates16 6>, <&clk_npll>;
771 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "sclk_pll";
775 compatible = "rockchip,saradc";
776 reg = <0x0 0xff100000 0x0 0x100>;
777 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
778 #io-channel-cells = <1>;
780 rockchip,adc-vref = <1800>;
781 clock-frequency = <1000000>;
782 clocks = <&clk_saradc>, <&clk_gates19 15>;
783 clock-names = "saradc", "pclk_saradc";
788 compatible = "rockchip,rk3368-rga2";
789 reg = <0x0 0xff920000 0x0 0x1000>;
790 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
791 clocks = <&clk_gates16 1>, <&clk_gates16 0>, <&clk_rga>;
792 clock-names = "hclk_rga", "aclk_rga", "clk_rga";
795 i2s0: i2s0@ff898000 {
796 compatible = "rockchip-i2s";
797 reg = <0x0 0xff898000 0x0 0x1000>;
799 clocks = <&clk_i2s>, <&i2s_out>, <&clk_gates12 7>;
800 clock-names = "i2s_clk", "i2s_mclk", "i2s_hclk";
801 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
802 dmas = <&pdma0 0>, <&pdma0 1>;
804 dma-names = "tx", "rx";
805 pinctrl-names = "default", "sleep";
806 pinctrl-0 = <&i2s_mclk &i2s_sclk &i2s_lrckrx &i2s_lrcktx &i2s_sdi &i2s_sdo0 &i2s_sdo1 &i2s_sdo2 &i2s_sdo3>;
807 pinctrl-1 = <&i2s_gpio>;
810 i2s1: i2s1@ff890000 {
811 compatible = "rockchip-i2s";
812 reg = <0x0 0xff890000 0x0 0x1000>;
814 clocks = <&clk_i2s_2ch>, <&clk_gates12 8>;
815 clock-names = "i2s_clk", "i2s_hclk";
816 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
817 dmas = <&pdma0 6>, <&pdma0 7>;
819 dma-names = "tx", "rx";
822 spdif: spdif@ff880000 {
823 compatible = "rockchip-spdif";
824 reg = <0x0 0xff880000 0x0 0x1000>;
825 clocks = <&clk_spidf_8ch>, <&clk_gates12 10>;
826 clock-names = "spdif_mclk", "spdif_hclk";
827 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
831 pinctrl-names = "default";
832 pinctrl-0 = <&spdif_tx>;
836 compatible = "rockchip,rk-pwm";
837 reg = <0x0 0xff680000 0x0 0x10>;
839 pinctrl-names = "default";
840 pinctrl-0 = <&pwm0_pin>;
841 clocks = <&clk_gates13 6>;
842 clock-names = "pclk_pwm";
847 compatible = "rockchip,rk-pwm";
848 reg = <0x0 0xff680010 0x0 0x10>;
850 pinctrl-names = "default";
851 pinctrl-0 = <&pwm1_pin>;
852 clocks = <&clk_gates13 6>;
853 clock-names = "pclk_pwm";
858 compatible = "rockchip,rk-pwm";
859 reg = <0x0 0xff680020 0x0 0x10>;
861 //pinctrl-names = "default";
862 //pinctrl-0 = <&pwm1_pin>;
863 clocks = <&clk_gates13 6>;
864 clock-names = "pclk_pwm";
869 compatible = "rockchip,rk-pwm";
870 reg = <0x0 0xff680030 0x0 0x10>;
872 pinctrl-names = "default";
873 pinctrl-0 = <&pwm3_pin>;
874 clocks = <&clk_gates13 6>;
875 clock-names = "pclk_pwm";
879 remotectl: pwm@ff680030 {
880 compatible = "rockchip,remotectl-pwm";
881 reg = <0x0 0xff680030 0x0 0x50>;
883 pinctrl-names = "default";
884 pinctrl-0 = <&pwm3_pin>;
885 clocks = <&clk_gates13 6>;
886 clock-names = "pclk_pwm";
891 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
895 voppwm: pwm@ff9301a0 {
896 compatible = "rockchip,vop-pwm";
897 reg = <0x0 0xff9301a0 0x0 0x10>;
899 pinctrl-names = "default";
900 pinctrl-0 = <&vop_pwm_pin>;
901 clocks = <&clk_gates4 2>, <&clk_gates16 5>, <&clk_gates16 6>;
902 clock-names = "pclk_pwm", "aclk_lcdc", "hclk_lcdc";
907 compatible = "rockchip,rk3368-pvtm";
908 rockchip,grf = <&grf>;
912 compatible = "rockchip,rk3368-cpufreq";
913 rockchip,grf = <&grf>;
919 regulator_name = "vdd_arm";
920 suspend_volt = <1000>; //mV
922 clk_core_b_dvfs_table: clk_core_b {
932 clk_core_l_dvfs_table: clk_core_l {
946 regulator_name = "vdd_logic";
947 suspend_volt = <1000>; //mV
949 clk_ddr_dvfs_table: clk_ddr {
962 clk_gpu_dvfs_table: clk_gpu {
983 compatible = "rockchip,ion";
984 #address-cells = <1>;
987 ion_cma: rockchip,ion-heap@4 { /* CMA HEAP */
988 compatible = "rockchip,ion-heap";
989 rockchip,ion_heap = <4>;
990 reg = <0x00000000 0x08000000>; /* 512MB */
992 rockchip,ion-heap@0 { /* VMALLOC HEAP */
993 compatible = "rockchip,ion-heap";
994 rockchip,ion_heap = <0>;
999 compatible = "rockchip,vpu_sub";
1000 iommu_enabled = <0>;
1001 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
1002 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1003 interrupt-names = "irq_enc", "irq_dec";
1005 name = "vpu_service";
1008 hevc: hevc_service {
1009 compatible = "rockchip,hevc_sub";
1010 iommu_enabled = <0>;
1011 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1012 interrupts-names = "irq_dec";
1014 name = "hevc_service";
1017 vpu_combo: vpu_combo@ff9a0000 {
1018 compatible = "rockchip,vpu_combo";
1019 reg = <0x0 0xff9a0000 0x0 0x800>;
1020 rockchip,grf = <&grf>;
1022 rockchip,sub = <&vpu>, <&hevc>;
1023 clocks = <&aclk_vdpu>, <&hclk_vdpu>, <&clk_hevc_core>, <&clk_hevc_cabac>;
1024 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core", "clk_cabac";
1026 mode_ctrl = <0x418>;
1032 compatible = "rockchip,iep";
1033 iommu_enabled = <0>;
1034 reg = <0x0 0xff900000 0x0 0x800>;
1035 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1036 clocks = <&clk_gates15 2>, <&clk_gates15 3>;
1037 clock-names = "aclk_iep", "hclk_iep";
1041 gmac: eth@ff290000 {
1042 compatible = "rockchip,rk3368-gmac";
1043 reg = <0x0 0xff290000 0x0 0x10000>;
1044 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; /*irq=59*/
1045 interrupt-names = "macirq";
1047 clocks = <&clk_mac>, <&clk_gates5 0>,
1048 <&clk_gates5 1>, <&clk_gates5 2>,
1049 <&clk_gates5 3>, <&clk_gates8 0>,
1051 clock-names = "clk_mac", "mac_clk_rx",
1052 "mac_clk_tx", "clk_mac_ref",
1053 "clk_mac_refout", "aclk_mac",
1057 pinctrl-names = "default";
1058 pinctrl-0 = <&mac_clk &mac_txpins &mac_rxpins &mac_mdpins>;
1062 compatible = "arm,rogue-G6110", "arm,rk3368-gpu";
1063 reg = <0x0 0xffa30000 0x0 0x10000>;
1064 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1065 interrupt-names = "GPU";
1070 compatible = "rockchip,iep_mmu";
1071 reg = <0x0 0xff900800 0x0 0x100>;
1072 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1073 interrupt-names = "iep_mmu";
1078 compatible = "rockchip,vip_mmu";
1079 reg = <0x0 0xff950800 0x0 0x100>;
1080 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1081 interrupt-names = "vip_mmu";
1086 compatible = "rockchip,vop_mmu";
1087 reg = <0x0 0xff930300 0x0 0x100>;
1088 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1089 interrupt-names = "vop_mmu";
1093 dbgname = "isp_mmu";
1094 compatible = "rockchip,isp_mmu";
1095 reg = <0x0 0xff914000 0x0 0x100>,
1096 <0x0 0xff915000 0x0 0x100>;
1097 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1098 interrupt-names = "isp_mmu";
1102 dbgname = "hdcp_mmu";
1103 compatible = "rockchip,hdcp_mmu";
1104 reg = <0x0 0xff940000 0x0 0x100>;
1105 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1106 interrupt-names = "hdcp_mmu";
1111 compatible = "rockchip,hevc_mmu";
1112 reg = <0x0 0xff9c0440 0x0 0x40>, /*need to fix*/
1113 <0x0 0xff9c0480 0x0 0x40>;
1114 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; /*need to fix*/
1115 interrupt-names = "hevc_mmu";
1120 compatible = "rockchip,vpu_mmu";
1121 reg = <0x0 0xff9a0800 0x0 0x100>; /*need to fix*/
1122 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; /*need to fix*/
1123 interrupt-names = "vpu_mmu";
1127 rockchip,ctrbits = <
1134 |RKPM_CTR_SYSCLK_DIV
1135 |RKPM_CTR_IDLEAUTO_MD
1136 |RKPM_CTR_ARMOFF_LPMD
1138 |RKPM_CTR_ARMOFF_LOGDP_LPMD
1141 rockchip,pmic-suspend_gpios = <
1142 /* RKPM_PINGPIO_BITS_OUTPUT(GPIO7_A1,RKPM_GPIO_OUT_H) */
1144 rockchip,pmic-resume_gpios = <
1145 /* RKPM_PINGPIO_BITS_FUN(PWM1,RKPM_GPIO_PULL_DN) */
1150 compatible = "rockchip,isp";
1151 reg = <0x0 0xff910000 0x0 0x10000>;
1152 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1153 clocks = <&clk_gates17 0>, <&clk_gates16 14>, <&clk_isp>, <&clk_isp>, <&pclk_isp>, <&clk_vip>, <&clk_vip_pll>, <&clk_gates17 4>, <&clk_gates22 11>;
1154 clock-names = "aclk_isp", "hclk_isp", "clk_isp", "clk_isp_jpe", "pclkin_isp", "clk_cif_out", "clk_cif_pll", "hclk_mipiphy1", "pclk_dphyrx";
1155 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";
1156 pinctrl-0 = <&cif_clkout>;
1157 pinctrl-1 = <&cif_clkout &isp_dvp_d2d9>;
1158 pinctrl-2 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d0d1>;
1159 pinctrl-3 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d0d1 &isp_dvp_d10d11>;
1160 pinctrl-4 = <&cif_clkout &isp_dvp_d0d7>;
1161 pinctrl-5 = <&cif_clkout>;
1162 pinctrl-6 = <&cif_clkout &isp_prelight>;
1163 pinctrl-7 = <&isp_flash_trigger_as_gpio>;
1164 pinctrl-8 = <&isp_flash_trigger>;
1165 rockchip,isp,mipiphy = <2>;
1166 rockchip,isp,cifphy = <1>;
1167 rockchip,isp,mipiphy1,reg = <0xff964000 0x4000>;
1168 rockchip,gpios = <&gpio3 GPIO_C4 GPIO_ACTIVE_HIGH>;
1169 rockchip,isp,iommu_enable = <1>;
1173 tsadc: tsadc@ff280000 {
1174 compatible = "rockchip,tsadc";
1175 reg = <0x0 0xff280000 0x0 0x100>;
1176 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1177 #io-channel-cells = <1>;
1179 clock-frequency = <10000>;
1180 clocks = <&clk_tsadc>, <&clk_gates20 0>;
1181 clock-names = "tsadc", "pclk_tsadc";
1182 pinctrl-names = "default", "tsadc_int";
1183 pinctrl-0 = <&tsadc_gpio>;
1184 pinctrl-1 = <&tsadc_int>;
1185 tsadc-ht-temp = <120>;
1186 tsadc-ht-reset-cru = <1>;
1187 tsadc-ht-pull-gpio = <0>;
1188 status = "disabled";
1192 compatible = "rockchip,rk3368-tsp";
1193 reg = <0x0 0xFF8B0000 0x0 0x10000>;
1194 clocks = <&clk_tsp>, <&clk_gates13 10>, <&clk_gates13 7>;
1195 clock-names = "clk_tsp", "hclk_tsp", "clk_hsadc0_tsp";
1196 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
1197 interrupt-names = "irq_tsp";
1198 // pinctrl-names = "default";
1199 // pinctrl-0 = <&isp_hsadc>;
1203 crypto: crypto@FF8A0000{
1204 compatible = "rockchip,rk3368-crypto";
1205 reg = <0x0 0xFF8A0000 0x0 0x10000>;
1206 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1207 interrupt-names = "irq_crypto";
1208 clocks = <&clk_crypto>, <&clk_gates13 4>, <&clk_gates13 3>;
1209 clock-names = "clk_crypto", "sclk_crypto", "mclk_crypto";
1213 dwc_control_usb: dwc-control-usb {
1214 compatible = "rockchip,rk3368-dwc-control-usb";
1215 rockchip,grf = <&grf>;
1216 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
1217 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1218 interrupt-names = "otg_id", "otg_bvalid",
1219 "otg_linestate", "host0_linestate";
1220 clocks = <&clk_gates20 6>, <&usbphy_480m>;
1221 clock-names = "hclk_usb_peri", "usbphy_480m";
1222 //resets = <&reset RK3128_RST_USBPOR>;
1223 //reset-names = "usbphy_por";
1225 compatible = "inno,phy";
1226 regbase = &dwc_control_usb;
1227 rk_usb,bvalid = <0x4bc 23 1>;
1228 rk_usb,iddig = <0x4bc 26 1>;
1229 rk_usb,vdmsrcen = <0x718 12 1>;
1230 rk_usb,vdpsrcen = <0x718 11 1>;
1231 rk_usb,rdmpden = <0x718 10 1>;
1232 rk_usb,idpsrcen = <0x718 9 1>;
1233 rk_usb,idmsinken = <0x718 8 1>;
1234 rk_usb,idpsinken = <0x718 7 1>;
1235 rk_usb,dpattach = <0x4b8 31 1>;
1236 rk_usb,cpdet = <0x4b8 30 1>;
1237 rk_usb,dcpattach = <0x4b8 29 1>;
1241 usb0: usb@ff580000 {
1242 compatible = "rockchip,rk3368_usb20_otg";
1243 reg = <0x0 0xff580000 0x0 0x40000>;
1244 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1245 clocks = <&clk_gates8 1>, <&clk_gates20 1>;
1246 clock-names = "clk_usbphy0", "hclk_otg";
1247 resets = <&reset RK3368_SRST_USBOTG0_H>, <&reset RK3368_SRST_USBOTGPHY0>,
1248 <&reset RK3368_SRST_USBOTGC0>;
1249 reset-names = "otg_ahb", "otg_phy", "otg_controller";
1250 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
1251 rockchip,usb-mode = <0>;
1254 usb_ehci: usb@ff500000 {
1255 compatible = "generic-ehci";
1256 reg = <0x0 0xff500000 0x0 0x20000>;
1257 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1258 clocks = <&clk_gates8 1>, <&clk_gates20 3>;
1259 clock-names = "clk_usbphy0", "hclk_ehci";
1260 //resets = <&reset RK3288_SOFT_RST_USBHOST0_H>, <&reset RK3288_SOFT_RST_USBHOST0PHY>,
1261 // <&reset RK3288_SOFT_RST_USBHOST0C>, <&reset RK3288_SOFT_RST_USB_HOST0>;
1262 //reset-names = "ehci_ahb", "ehci_phy", "ehci_controller", "ehci";
1265 usb_ohci: usb@ff520000 {
1266 compatible = "generic-ohci";
1267 reg = <0x0 0xff520000 0x0 0x20000>;
1268 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1269 clocks = <&clk_gates8 1>, <&clk_gates20 3>;
1270 clock-names = "clk_usbphy0", "hclk_ohci";
1273 usb_hsic: usb@ff5c0000 {
1274 compatible = "rockchip,rk3288_rk_hsic_host";
1275 reg = <0x0 0xff5c0000 0x0 0x40000>;
1276 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
1278 clocks = <&hsicphy_480m>, <&clk_gates7 8>,
1279 <&hsicphy_12m>, <&usbphy_480m>,
1280 <&otgphy1_480m>, <&otgphy2_480m>;
1281 clock-names = "hsicphy_480m", "hclk_hsic",
1282 "hsicphy_12m", "usbphy_480m",
1283 "hsic_usbphy1", "hsic_usbphy2";
1284 resets = <&reset RK3288_SOFT_RST_HSIC>, <&reset RK3288_SOFT_RST_HSIC_AUX>,
1285 <&reset RK3288_SOFT_RST_HSICPHY>;
1286 reset-names = "hsic_ahb", "hsic_aux", "hsic_phy";
1288 status = "disabled";
1292 compatible = "rockchip,rk3368-pinctrl";
1293 rockchip,grf = <&grf>;
1294 rockchip,pmugrf = <&pmugrf>;
1295 #address-cells = <2>;
1299 gpio0: gpio0@ff750000 {
1300 compatible = "rockchip,gpio-bank";
1301 reg = <0x0 0xff750000 0x0 0x100>;
1302 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1303 clocks = <&clk_gates23 4>;
1308 interrupt-controller;
1309 #interrupt-cells = <2>;
1312 gpio1: gpio1@ff780000 {
1313 compatible = "rockchip,gpio-bank";
1314 reg = <0x0 0xff780000 0x0 0x100>;
1315 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1316 clocks = <&clk_gates22 1>;
1321 interrupt-controller;
1322 #interrupt-cells = <2>;
1325 gpio2: gpio2@ff790000 {
1326 compatible = "rockchip,gpio-bank";
1327 reg = <0x0 0xff790000 0x0 0x100>;
1328 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1329 clocks = <&clk_gates22 2>;
1334 interrupt-controller;
1335 #interrupt-cells = <2>;
1338 gpio3: gpio3@ff7a0000 {
1339 compatible = "rockchip,gpio-bank";
1340 reg = <0x0 0xff7a0000 0x0 0x100>;
1341 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
1342 clocks = <&clk_gates22 3>;
1347 interrupt-controller;
1348 #interrupt-cells = <2>;
1351 pcfg_pull_up: pcfg-pull-up {
1355 pcfg_pull_down: pcfg-pull-down {
1359 pcfg_pull_none: pcfg-pull-none {
1363 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
1364 drive-strength = <8>;
1367 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
1369 drive-strength = <8>;
1372 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
1373 drive-strength = <4>;
1376 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
1378 drive-strength = <4>;
1381 pcfg_output_high: pcfg-output-high {
1385 pcfg_output_low: pcfg-output-low {
1390 i2c0_xfer: i2c0-xfer {
1391 rockchip,pins = <0 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,
1392 <0 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>;
1394 i2c0_gpio: i2c0-gpio {
1395 rockchip,pins = <0 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_none>,
1396 <0 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_none>;
1401 i2c1_xfer: i2c1-xfer {
1402 rockchip,pins = <2 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,
1403 <2 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>;
1405 i2c1_gpio: i2c1-gpio {
1406 rockchip,pins = <2 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_none>,
1407 <2 GPIO_C6 RK_FUNC_GPIO &pcfg_pull_none>;
1412 i2c2_xfer: i2c2-xfer {
1413 rockchip,pins = <3 GPIO_D7 RK_FUNC_2 &pcfg_pull_none>,
1414 <0 GPIO_B1 RK_FUNC_2 &pcfg_pull_none>;
1416 i2c2_gpio: i2c2-gpio {
1417 rockchip,pins = <3 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_none>,
1418 <0 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_none>;
1423 i2c3_xfer: i2c3-xfer {
1424 rockchip,pins = <1 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,
1425 <1 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
1427 i2c3_gpio: i2c3-gpio {
1428 rockchip,pins = <1 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,
1429 <1 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>;
1434 i2c4_xfer: i2c4-xfer {
1435 rockchip,pins = <3 GPIO_D0 RK_FUNC_2 &pcfg_pull_none>,
1436 <3 GPIO_D1 RK_FUNC_2 &pcfg_pull_none>;
1438 i2c4_gpio: i2c4-gpio {
1439 rockchip,pins = <3 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_none>,
1440 <3 GPIO_D1 RK_FUNC_GPIO &pcfg_pull_none>;
1445 i2c5_xfer: i2c5-xfer {
1446 rockchip,pins = <3 GPIO_D2 RK_FUNC_2 &pcfg_pull_none>,
1447 <3 GPIO_D3 RK_FUNC_2 &pcfg_pull_none>;
1449 i2c5_gpio: i2c5-gpio {
1450 rockchip,pins = <3 GPIO_D2 RK_FUNC_GPIO &pcfg_pull_none>,
1451 <3 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>;
1456 uart0_xfer: uart0-xfer {
1457 rockchip,pins = <2 GPIO_D0 RK_FUNC_1 &pcfg_pull_up>,
1458 <2 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>;
1461 uart0_cts: uart0-cts {
1462 rockchip,pins = <2 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>;
1465 uart0_rts: uart0-rts {
1466 rockchip,pins = <2 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
1469 uart0_rts_gpio: uart0-rts-gpio {
1470 rockchip,pins = <2 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>;
1475 uart1_xfer: uart1-xfer {
1476 rockchip,pins = <0 GPIO_C4 RK_FUNC_3 &pcfg_pull_up>,
1477 <0 GPIO_C5 RK_FUNC_3 &pcfg_pull_none>;
1480 uart1_cts: uart1-cts {
1481 rockchip,pins = <0 GPIO_C6 RK_FUNC_3 &pcfg_pull_none>;
1484 uart1_rts: uart1-rts {
1485 rockchip,pins = <0 GPIO_C7 RK_FUNC_3 &pcfg_pull_none>;
1490 uart2_xfer: uart2-xfer {
1491 rockchip,pins = <2 GPIO_A6 RK_FUNC_2 &pcfg_pull_up>,
1492 <2 GPIO_A5 RK_FUNC_2 &pcfg_pull_none>;
1497 uart3_xfer: uart3-xfer {
1498 rockchip,pins = <3 GPIO_D5 RK_FUNC_2 &pcfg_pull_up>,
1499 <3 GPIO_D6 RK_FUNC_2 &pcfg_pull_none>;
1502 uart3_cts: uart3-cts {
1503 rockchip,pins = <3 GPIO_C0 RK_FUNC_2 &pcfg_pull_none>;
1506 uart3_rts: uart3-rts {
1507 rockchip,pins = <3 GPIO_C1 RK_FUNC_2 &pcfg_pull_none>;
1512 uart4_xfer: uart4-xfer {
1513 rockchip,pins = <0 GPIO_D3 RK_FUNC_3 &pcfg_pull_up>,
1514 <0 GPIO_D2 RK_FUNC_3 &pcfg_pull_none>;
1517 uart4_cts: uart4-cts {
1518 rockchip,pins = <0 GPIO_D0 RK_FUNC_3 &pcfg_pull_none>;
1521 uart4_rts: uart4-rts {
1522 rockchip,pins = <0 GPIO_D1 RK_FUNC_3 &pcfg_pull_none>;
1527 spi0_clk: spi0-clk {
1528 rockchip,pins = <1 GPIO_D5 RK_FUNC_2 &pcfg_pull_up>;
1530 spi0_cs0: spi0-cs0 {
1531 rockchip,pins = <1 GPIO_D0 RK_FUNC_3 &pcfg_pull_up>;
1534 rockchip,pins = <1 GPIO_C7 RK_FUNC_3 &pcfg_pull_up>;
1537 rockchip,pins = <1 GPIO_C6 RK_FUNC_3 &pcfg_pull_up>;
1539 spi0_cs1: spi0-cs1 {
1540 rockchip,pins = <1 GPIO_D1 RK_FUNC_3 &pcfg_pull_up>;
1545 spi1_clk: spi1-clk {
1546 rockchip,pins = <1 GPIO_B6 RK_FUNC_2 &pcfg_pull_up>;
1548 spi1_cs0: spi1-cs0 {
1549 rockchip,pins = <1 GPIO_B7 RK_FUNC_2 &pcfg_pull_up>;
1552 rockchip,pins = <1 GPIO_C0 RK_FUNC_2 &pcfg_pull_up>;
1555 rockchip,pins = <1 GPIO_C1 RK_FUNC_2 &pcfg_pull_up>;
1560 spi2_clk: spi2-clk {
1561 rockchip,pins = <0 GPIO_B4 RK_FUNC_2 &pcfg_pull_up>;
1563 spi2_cs0: spi2-cs0 {
1564 rockchip,pins = <0 GPIO_B5 RK_FUNC_2 &pcfg_pull_up>;
1567 rockchip,pins = <0 GPIO_B2 RK_FUNC_2 &pcfg_pull_up>;
1570 rockchip,pins = <0 GPIO_B3 RK_FUNC_2 &pcfg_pull_up>;
1575 i2s_mclk: i2s-mclk {
1576 rockchip,pins = <2 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>;
1580 rockchip,pins = <2 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>;
1583 i2s_lrckrx:i2s-lrckrx {
1584 rockchip,pins = <2 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;
1587 i2s_lrcktx:i2s-lrcktx {
1588 rockchip,pins = <2 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>;
1592 rockchip,pins = <2 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;
1596 rockchip,pins = <2 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>;
1600 rockchip,pins = <2 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
1604 rockchip,pins = <2 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>;
1608 rockchip,pins = <2 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>;
1611 i2s_gpio: i2s-gpio {
1612 rockchip,pins = <2 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>,
1613 <2 GPIO_B4 RK_FUNC_GPIO &pcfg_pull_none>,
1614 <2 GPIO_B5 RK_FUNC_GPIO &pcfg_pull_none>,
1615 <2 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_none>,
1616 <2 GPIO_B7 RK_FUNC_GPIO &pcfg_pull_none>,
1617 <2 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,
1618 <2 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>,
1619 <2 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_none>,
1620 <2 GPIO_C3 RK_FUNC_GPIO &pcfg_pull_none>;
1625 spdif_tx: spdif-tx {
1626 rockchip,pins = <2 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>;
1631 sdmmc_clk: sdmmc-clk {
1632 rockchip,pins = <2 GPIO_B1 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
1635 sdmmc_cmd: sdmmc-cmd {
1636 rockchip,pins = <2 GPIO_B2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1639 sdmmc_dectn: sdmmc-dectn {
1640 rockchip,pins = <2 GPIO_B3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1643 sdmmc_bus1: sdmmc-bus1 {
1644 rockchip,pins = <2 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1647 sdmmc_bus4: sdmmc-bus4 {
1648 rockchip,pins = <2 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1649 <2 GPIO_A6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1650 <2 GPIO_A7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1651 <2 GPIO_B0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1654 sdmmc_gpio: sdmmc-gpio {
1655 rockchip,pins = <2 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CLK
1656 <2 GPIO_B2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CMD
1657 <2 GPIO_B3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DET
1658 <2 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DO
1659 <2 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D1
1660 <2 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D2
1661 <2 GPIO_B0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;//D3
1666 sdio0_bus1: sdio0-bus1 {
1667 rockchip,pins = <2 GPIO_D4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1670 sdio0_bus4: sdio0-bus4 {
1671 rockchip,pins = <2 GPIO_D4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1672 <2 GPIO_D5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1673 <2 GPIO_D6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1674 <2 GPIO_D7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1677 sdio0_cmd: sdio0-cmd {
1678 rockchip,pins = <3 GPIO_A0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1681 sdio0_clk: sdio0-clk {
1682 rockchip,pins = <3 GPIO_A1 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
1685 sdio0_dectn: sdio0-dectn {
1686 rockchip,pins = <3 GPIO_A2 RK_FUNC_1 &pcfg_pull_up>;
1689 sdio0_wrprt: sdio0-wrprt {
1690 rockchip,pins = <3 GPIO_A3 RK_FUNC_1 &pcfg_pull_up>;
1693 sdio0_pwren: sdio0-pwren {
1694 rockchip,pins = <3 GPIO_A4 RK_FUNC_1 &pcfg_pull_up>;
1697 sdio0_bkpwr: sdio0-bkpwr {
1698 rockchip,pins = <3 GPIO_A5 RK_FUNC_1 &pcfg_pull_up>;
1701 sdio0_int: sdio0-int {
1702 rockchip,pins = <3 GPIO_A6 RK_FUNC_1 &pcfg_pull_up>;
1705 sdio0_gpio: sdio0-gpio {
1706 rockchip,pins = <3 GPIO_A0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CMD
1707 <3 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CLK
1708 <3 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DET
1709 <3 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//wrprt
1710 <3 GPIO_A4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//PWREN
1711 <3 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//BKPWR
1712 <3 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//INTN
1713 <2 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DO
1714 <2 GPIO_D5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D1
1715 <2 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D2
1716 <2 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;//D3
1721 emmc_clk: emmc-clk {
1722 rockchip,pins = <2 GPIO_A4 RK_FUNC_2 &pcfg_pull_none_drv_8ma>;
1725 emmc_cmd: emmc-cmd {
1726 rockchip,pins = <1 GPIO_D2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
1729 emmc_pwren: emmc-pwren {
1730 rockchip,pins = <1 GPIO_D3 RK_FUNC_2 &pcfg_pull_none>;
1733 emmc_rstnout: emmc_rstnout {
1734 rockchip,pins = <2 GPIO_A3 RK_FUNC_2 &pcfg_pull_none>;
1737 emmc_bus1: emmc-bus1 {
1738 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;//DO
1741 emmc_bus4: emmc-bus4 {
1742 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//DO
1743 <1 GPIO_C3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//D1
1744 <1 GPIO_C4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//D2
1745 <1 GPIO_C5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;//D3
1750 pwm0_pin: pwm0-pin {
1751 rockchip,pins = <3 GPIO_B0 RK_FUNC_2 &pcfg_pull_none>;
1754 vop_pwm_pin:vop-pwm {
1755 rockchip,pins = <3 GPIO_B0 RK_FUNC_3 &pcfg_pull_none>;
1760 pwm1_pin: pwm1-pin {
1761 rockchip,pins = <0 GPIO_B0 RK_FUNC_2 &pcfg_pull_none>;
1766 pwm3_pin: pwm3-pin {
1767 rockchip,pins = <3 GPIO_D6 RK_FUNC_3 &pcfg_pull_none>;
1772 lcdc_lcdc: lcdc-lcdc {
1774 <0 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D10
1775 <0 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D11
1776 <0 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D12
1777 <0 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D13
1778 <0 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D14
1779 <0 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D15
1780 <0 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D16
1781 <0 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D17
1782 <0 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D18
1783 <0 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D19
1784 <0 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D20
1785 <0 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D21
1786 <0 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D22
1787 <0 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D23
1788 <0 GPIO_D7 RK_FUNC_1 &pcfg_pull_none>,//DCLK
1789 <0 GPIO_D6 RK_FUNC_1 &pcfg_pull_none>,//DEN
1790 <0 GPIO_D4 RK_FUNC_1 &pcfg_pull_none>,//HSYNC
1791 <0 GPIO_D5 RK_FUNC_1 &pcfg_pull_none>;//VSYN
1794 lcdc_gpio: lcdc-gpio {
1796 <0 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D10
1797 <0 GPIO_B7 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D11
1798 <0 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D12
1799 <0 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D13
1800 <0 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D14
1801 <0 GPIO_C3 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D15
1802 <0 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D16
1803 <0 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D17
1804 <0 GPIO_C6 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D18
1805 <0 GPIO_C7 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D19
1806 <0 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D20
1807 <0 GPIO_D1 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D21
1808 <0 GPIO_D2 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D22
1809 <0 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D23
1810 <0 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_none>,//DCLK
1811 <0 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_none>,//DEN
1812 <0 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_none>,//HSYNC
1813 <0 GPIO_D5 RK_FUNC_GPIO &pcfg_pull_none>;//VSYN
1818 cif_clkout: cif-clkout {
1819 rockchip,pins = <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
1822 isp_dvp_d2d9: isp-dvp-d2d9 {
1823 rockchip,pins = <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
1824 <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
1825 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1826 <1 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1827 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1828 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_none>,//cif_data7
1829 <1 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,//cif_data8
1830 <1 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>,//cif_data9
1831 <1 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>,//cif_sync
1832 <1 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>,//cif_href
1833 <1 GPIO_B2 RK_FUNC_1 &pcfg_pull_none>,//cif_clkin
1834 <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
1837 isp_dvp_d0d1: isp-dvp-d0d1 {
1838 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
1839 <1 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;//cif_data1
1842 isp_dvp_d10d11:isp_d10d11 {
1843 rockchip,pins = <1 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//cif_data10
1844 <1 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;//cif_data11
1847 isp_dvp_d0d7: isp-dvp-d0d7 {
1848 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
1849 <1 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>,//cif_data1
1850 <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
1851 <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
1852 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1853 <1 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1854 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1855 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_none>;//cif_data7
1858 isp_shutter: isp-shutter {
1859 rockchip,pins = <3 GPIO_C3 RK_FUNC_2 &pcfg_pull_none>, //SHUTTEREN
1860 <3 GPIO_C6 RK_FUNC_2 &pcfg_pull_none>;//SHUTTERTRIG
1863 isp_flash_trigger: isp-flash-trigger {
1864 rockchip,pins = <3 GPIO_C4 RK_FUNC_2 &pcfg_pull_none>; //ISP_FLASHTRIGOU
1867 isp_prelight: isp-prelight {
1868 rockchip,pins = <3 GPIO_C5 RK_FUNC_2 &pcfg_pull_none>;//ISP_PRELIGHTTRIG
1871 isp_flash_trigger_as_gpio: isp_flash_trigger_as_gpio {
1872 rockchip,pins = <3 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>;//ISP_FLASHTRIGOU
1878 rockchip,pins = <3 GPIO_B6 RK_FUNC_2 &pcfg_pull_none>;
1882 rockchip,pins = <3 GPIO_B7 RK_FUNC_2 &pcfg_pull_none>;
1886 gps_rfclk: gps-rfclk {
1887 rockchip,pins = <3 GPIO_C0 RK_FUNC_3 &pcfg_pull_none>;
1893 rockchip,pins = <3 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>;
1896 mac_txpins: mac-txpins {
1897 rockchip,pins = <3 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>,//TXD0
1898 <3 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>,//TXD1
1899 <3 GPIO_B2 RK_FUNC_1 &pcfg_pull_none>,//TXD2
1900 <3 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//TXD3
1901 <3 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>,//TXEN
1902 <3 GPIO_D4 RK_FUNC_1 &pcfg_pull_none>;//TXCLK
1905 mac_rxpins: mac-rxpins {
1906 rockchip,pins = <3 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>,//RXD0
1907 <3 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,//RXD1
1908 <3 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,//RXD2
1909 <3 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>,//RXD3
1910 <3 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>,//RXDV
1911 <3 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,//RXER
1912 <3 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,//RXCLK
1913 <3 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>;//COL
1917 rockchip,pins = <3 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>; //CRS
1920 mac_mdpins: mac-mdpins {
1921 rockchip,pins = <3 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>,//MDIO
1922 <3 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>;//MDC
1927 tsadc_int: tsadc-int {
1928 rockchip,pins = <0 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>;
1930 tsadc_gpio: tsadc-gpio {
1931 rockchip,pins = <0 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_none>;
1936 hdmi_cec: hdmi-cec {
1937 rockchip,pins = <3 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>;
1942 hdmii2c_xfer: hdmii2c-xfer {
1943 rockchip,pins = <3 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>,
1944 <3 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
1950 compatible = "rockchip,rk3368-reboot";
1951 rockchip,cru = <&cru>;
1952 rockchip,pmugrf = <&pmugrf>;