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_grf: syscon@ff738000 {
137 compatible = "rockchip,rk3368-pmu-grf", "rockchip,pmu-grf", "syscon";
138 reg = <0x0 0xff738000 0x0 0x100>;
141 sgrf: syscon@ff740000 {
142 compatible = "rockchip,rk3368-sgrf", "rockchip,sgrf", "syscon";
143 reg = <0x0 0xff740000 0x0 0x1000>;
147 cru: syscon@ff760000 {
148 compatible = "rockchip,rk3368-cru", "rockchip,cru", "syscon";
149 reg = <0x0 0xff760000 0x0 0x1000>;
152 grf: syscon@ff770000 {
153 compatible = "rockchip,rk3368-grf", "rockchip,grf", "syscon";
154 reg = <0x0 0xff770000 0x0 0x1000>;
158 compatible = "arm,armv8-pmuv3";
159 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
160 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
161 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
162 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
163 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
164 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
165 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
166 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
169 cpu_axi_bus: cpu_axi_bus {
170 compatible = "rockchip,cpu_axi_bus";
171 #address-cells = <2>;
176 #address-cells = <2>;
181 reg = <0x0 0xffa80000 0x0 0x20>;
184 reg = <0x0 0xffa80080 0x0 0x20>;
187 reg = <0x0 0xffa90000 0x0 0x20>;
190 reg = <0x0 0xffaa0000 0x0 0x20>;
193 reg = <0x0 0xffaa0080 0x0 0x20>;
196 reg = <0x0 0xffab0000 0x0 0x20>;
199 reg = <0x0 0xffad0000 0x0 0x20>;
202 reg = <0x0 0xffad0080 0x0 0x20>;
205 reg = <0x0 0xffad0100 0x0 0x20>;
208 reg = <0x0 0xffad0180 0x0 0x20>;
209 rockchip,priority = <2 2>;
212 reg = <0x0 0xffad0200 0x0 0x20>;
213 rockchip,priority = <2 2>;
216 reg = <0x0 0xffad0280 0x0 0x20>;
219 reg = <0x0 0xffad0300 0x0 0x20>;
220 rockchip,priority = <2 2>;
223 reg = <0x0 0xffad0380 0x0 0x20>;
226 reg = <0x0 0xffad0400 0x0 0x20>;
229 reg = <0x0 0xffae0000 0x0 0x20>;
232 reg = <0x0 0xffae0080 0x0 0x20>;
235 reg = <0x0 0xffae0100 0x0 0x20>;
240 #address-cells = <2>;
245 reg = <0x0 0xffac0000 0x0 0x3c>;
246 rockchip,read-latency = <0x34>;
252 compatible = "arm,armv8-timer";
253 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
254 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
255 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
256 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
257 clock-frequency = <24000000>;
261 compatible = "rockchip,timer";
262 reg = <0x0 0xff810000 0x0 0x20>;
263 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
264 rockchip,broadcast = <1>;
267 sram: sram@ff8c0000 {
268 compatible = "mmio-sram";
269 reg = <0x0 0xff8c0000 0x0 0x10000>; /* 64k */
273 watchdog: wdt@ff800000 {
274 compatible = "rockchip,watch dog";
275 reg = <0x0 0xff800000 0x0 0x100>;
276 clocks = <&pclk_alive_pre>;
277 clock-names = "pclk_wdt";
278 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
280 rockchip,timeout = <60>;
281 rockchip,atboot = <1>;
282 rockchip,debug = <0>;
287 #address-cells = <2>;
289 compatible = "arm,amba-bus";
290 interrupt-parent = <&gic>;
293 pdma0: pdma@ff600000 {
294 compatible = "arm,pl330", "arm,primecell";
295 reg = <0x0 0xff600000 0x0 0x4000>;
296 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
297 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
301 pdma1: pdma@ff250000 {
302 compatible = "arm,pl330", "arm,primecell";
303 reg = <0x0 0xff250000 0x0 0x4000>;
304 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
310 reset: reset@ff760300{
311 compatible = "rockchip,reset";
312 reg = <0x0 0xff760300 0x0 0x38>;
313 rockchip,reset-flag = <ROCKCHIP_RESET_HIWORD_MASK>;
317 nandc0: nandc@ff400000 {
318 compatible = "rockchip,rk-nandc";
319 reg = <0x0 0xff400000 0x0 0x4000>;
320 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
322 clocks = <&clk_nandc0>, <&clk_gates7 8>, <&clk_gates20 11>;
323 clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
326 nandc0reg: nandc0@ff400000 {
327 compatible = "rockchip,rk-nandc";
328 reg = <0x0 0xff400000 0x0 0x4000>;
331 emmc: rksdmmc@ff0f0000 {
332 compatible = "rockchip,rk_mmc", "rockchip,rk32xx-sdmmc";
333 reg = <0x0 0xff0f0000 0x0 0x4000>;
334 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
335 #address-cells = <1>;
337 clocks = <&clk_emmc>, <&clk_gates21 2>;
338 clock-names = "clk_mmc", "hclk_mmc";
340 fifo-depth = <0x100>;
344 sdmmc: rksdmmc@ff0c0000 {
345 compatible = "rockchip,rk_mmc", "rockchip,rk32xx-sdmmc";
346 reg = <0x0 0xff0c0000 0x0 0x4000>;
347 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
348 #address-cells = <1>;
350 pinctrl-names = "default", "idle";
351 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_dectn &sdmmc_bus4>;
352 pinctrl-1 = <&sdmmc_gpio>;
353 cd-gpios = <&gpio2 GPIO_B3 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
354 clocks = <&clk_sdmmc0>, <&clk_gates21 0>;
355 clock-names = "clk_mmc", "hclk_mmc";
357 fifo-depth = <0x100>;
361 sdio: rksdmmc@ff0d0000 {
362 compatible = "rockchip,rk_mmc", "rockchip,rk32xx-sdmmc";
363 reg = <0x0 0xff0d0000 0x0 0x4000>;
364 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
365 #address-cells = <1>;
367 pinctrl-names = "default","idle";
368 pinctrl-0 = <&sdio0_clk &sdio0_cmd &sdio0_wrprt &sdio0_pwren &sdio0_bkpwr &sdio0_int &sdio0_bus4>;
369 pinctrl-1 = <&sdio0_gpio>;
370 clocks = <&clk_sdio0>, <&clk_gates21 1>;
371 clock-names = "clk_mmc", "hclk_mmc";
373 fifo-depth = <0x100>;
378 compatible = "rockchip,rockchip-spi";
379 reg = <0x0 0xff110000 0x0 0x1000>;
380 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
381 #address-cells = <1>;
383 pinctrl-names = "default";
384 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0 &spi0_cs1>;
385 rockchip,spi-src-clk = <0>;
387 clocks =<&clk_spi0>, <&clk_gates19 4>;
388 clock-names = "spi", "pclk_spi0";
389 //dmas = <&pdma1 11>, <&pdma1 12>;
391 //dma-names = "tx", "rx";
396 compatible = "rockchip,rockchip-spi";
397 reg = <0x0 0xff120000 0x0 0x1000>;
398 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
399 #address-cells = <1>;
401 pinctrl-names = "default";
402 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
403 rockchip,spi-src-clk = <1>;
405 clocks = <&clk_spi1>, <&clk_gates19 5>;
406 clock-names = "spi", "pclk_spi1";
407 //dmas = <&pdma1 13>, <&pdma1 14>;
409 //dma-names = "tx", "rx";
414 compatible = "rockchip,rockchip-spi";
415 reg = <0x0 0xff130000 0x0 0x1000>;
416 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
417 #address-cells = <1>;
419 pinctrl-names = "default";
420 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
421 rockchip,spi-src-clk = <2>;
423 clocks = <&clk_spi2>, <&clk_gates19 6>;
424 clock-names = "spi", "pclk_spi2";
425 //dmas = <&pdma1 15>, <&pdma1 16>;
427 //dma-names = "tx", "rx";
431 uart_bt: serial@ff180000 {
432 compatible = "rockchip,serial";
433 reg = <0x0 0xff180000 0x0 0x100>;
434 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
435 clock-frequency = <24000000>;
436 clocks = <&clk_uart0>, <&clk_gates19 7>;
437 clock-names = "sclk_uart", "pclk_uart";
440 //dmas = <&pdma1 1>, <&pdma1 2>;
442 pinctrl-names = "default";
443 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
447 uart_bb: serial@ff190000 {
448 compatible = "rockchip,serial";
449 reg = <0x0 0xff190000 0x0 0x100>;
450 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
451 clock-frequency = <24000000>;
452 clocks = <&clk_uart1>, <&clk_gates19 8>;
453 clock-names = "sclk_uart", "pclk_uart";
456 //dmas = <&pdma1 3>, <&pdma1 4>;
458 pinctrl-names = "default";
459 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
463 uart_dbg: serial@ff690000 {
464 compatible = "rockchip,serial";
465 reg = <0x0 0xff690000 0x0 0x100>;
466 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
467 clock-frequency = <24000000>;
468 clocks = <&clk_uart2>, <&clk_gates13 5>;
469 clock-names = "sclk_uart", "pclk_uart";
472 //dmas = <&pdma0 4>, <&pdma0 5>;
474 //pinctrl-names = "default";
475 //pinctrl-0 = <&uart2_xfer>;
479 uart_gps: serial@ff1b0000 {
480 compatible = "rockchip,serial";
481 reg = <0x0 0xff1b0000 0x0 0x100>;
482 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
483 clock-frequency = <24000000>;
484 clocks = <&clk_uart3>, <&clk_gates19 9>;
485 clock-names = "sclk_uart", "pclk_uart";
486 current-speed = <115200>;
489 //dmas = <&pdma1 7>, <&pdma1 8>;
491 pinctrl-names = "default";
492 pinctrl-0 = <&uart3_xfer &uart3_cts &uart3_rts>;
496 uart_exp: serial@ff1c0000 {
497 compatible = "rockchip,serial";
498 reg = <0x0 0xff1c0000 0x0 0x100>;
499 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
500 clock-frequency = <24000000>;
501 clocks = <&clk_uart4>, <&clk_gates19 10>;
502 clock-names = "sclk_uart", "pclk_uart";
505 //dmas = <&pdma1 9>, <&pdma1 10>;
507 pinctrl-names = "default";
508 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
512 rockchip_clocks_init: clocks-init{
513 compatible = "rockchip,clocks-init";
514 rockchip,clocks-init-parent =
515 <&i2s_pll &clk_gpll>, <&spdif_8ch_pll &clk_gpll>,
516 <&i2s_2ch_pll &clk_gpll>, <&usbphy_480m &usbotg_480m_out>,
517 <&clk_uart_pll &clk_gpll>, <&aclk_gpu &clk_cpll>,
519 rockchip,clocks-init-rate =
520 <&clk_gpll 576000000>, <&clk_core_b 792000000>,
521 <&clk_core_l 600000000>, <&clk_cpll 400000000>,
522 /*<&clk_npll 500000000>,*/ <&aclk_bus 300000000>,
523 <&hclk_bus 150000000>, <&pclk_bus 75000000>,
524 <&clk_crypto 150000000>, <&aclk_peri 300000000>,
525 <&hclk_peri 150000000>, <&pclk_peri 75000000>,
526 <&pclk_alive_pre 100000000>, <&pclk_pmu_pre 100000000>,
527 <&clk_cs 300000000>, <&clkin_trace 300000000>,
528 <&aclk_cci 600000000>, <&clk_mac 50000000>,
529 <&aclk_vio0 400000000>, <&hclk_vio 100000000>,
530 <&aclk_rga_pre 400000000>, <&clk_rga 400000000>,
531 <&clk_isp 400000000>, <&clk_edp 200000000>,
532 <&clk_gpu_core 400000000>, <&aclk_gpu_mem 400000000>,
533 <&aclk_gpu_cfg 400000000>, <&aclk_vepu 400000000>,
534 <&aclk_vdpu 400000000>, <&clk_hevc_core 300000000>,
535 <&clk_hevc_cabac 300000000>;
537 rockchip,clocks-uboot-has-init =
542 rockchip_clocks_enable: clocks-enable {
543 compatible = "rockchip,clocks-enable";
560 <&clk_gates12 12>,/*aclk_strc_sys*/
561 <&clk_gates12 6>,/*aclk_intmem1*/
562 <&clk_gates12 5>,/*aclk_intmem0*/
563 <&clk_gates12 4>,/*aclk_intmem*/
564 <&clk_gates13 9>,/*aclk_gic400*/
567 <&clk_gates22 13>,/*pclk_timer1*/
568 <&clk_gates22 12>,/*pclk_timer0*/
569 <&clk_gates22 9>,/*pclk_alive_niu*/
570 <&clk_gates22 8>,/*pclk_grf*/
573 <&clk_gates23 5>,/*pclk_pmugrf*/
574 <&clk_gates23 3>,/*pclk_sgrf*/
575 <&clk_gates23 2>,/*pclk_pmu_noc*/
576 <&clk_gates23 1>,/*pclk_intmem1*/
577 <&clk_gates23 0>,/*pclk_pmu*/
580 <&clk_gates19 2>,/*aclk_peri_axi_matrix*/
581 <&clk_gates20 8>,/*aclk_peri_niu*/
582 <&clk_gates21 4>,/*aclk_peri_mmu*/
583 <&clk_gates19 0>,/*hclk_peri_axi_matrix*/
584 <&clk_gates20 7>,/*hclk_peri_ahb_arbi*/
585 <&clk_gates19 1>;/*pclk_peri_axi_matrix*/
590 compatible = "rockchip,rk30-i2c";
591 reg = <0x0 0xff650000 0x0 0x1000>;
592 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
593 #address-cells = <1>;
595 pinctrl-names = "default", "gpio";
596 pinctrl-0 = <&i2c0_xfer>;
597 pinctrl-1 = <&i2c0_gpio>;
598 gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
599 clocks = <&clk_gates12 2>;
600 rockchip,check-idle = <1>;
606 compatible = "rockchip,rk30-i2c";
607 reg = <0x0 0xff660000 0x0 0x1000>;
608 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
609 #address-cells = <1>;
611 pinctrl-names = "default", "gpio";
612 pinctrl-0 = <&i2c1_xfer>;
613 pinctrl-1 = <&i2c1_gpio>;
614 gpios = <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C6 GPIO_ACTIVE_LOW>;
615 clocks = <&clk_gates12 3>;
616 rockchip,check-idle = <1>;
622 compatible = "rockchip,rk30-i2c";
623 reg = <0x0 0xff140000 0x0 0x1000>;
624 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
625 #address-cells = <1>;
627 pinctrl-names = "default", "gpio";
628 pinctrl-0 = <&i2c2_xfer>;
629 pinctrl-1 = <&i2c2_gpio>;
630 gpios = <&gpio3 GPIO_D7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_B1 GPIO_ACTIVE_LOW>;
631 clocks = <&clk_gates19 11>;
632 rockchip,check-idle = <1>;
638 compatible = "rockchip,rk30-i2c";
639 reg = <0x0 0xff150000 0x0 0x1000>;
640 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
641 #address-cells = <1>;
643 pinctrl-names = "default", "gpio";
644 pinctrl-0 = <&i2c3_xfer>;
645 pinctrl-1 = <&i2c3_gpio>;
646 gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_LOW>, <&gpio1 GPIO_C0 GPIO_ACTIVE_LOW>;
647 clocks = <&clk_gates19 12>;
648 rockchip,check-idle = <1>;
654 compatible = "rockchip,rk30-i2c";
655 reg = <0x0 0xff160000 0x0 0x1000>;
656 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
657 #address-cells = <1>;
659 pinctrl-names = "default", "gpio";
660 pinctrl-0 = <&i2c4_xfer>;
661 pinctrl-1 = <&i2c4_gpio>;
662 gpios = <&gpio3 GPIO_D0 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D1 GPIO_ACTIVE_LOW>;
663 clocks = <&clk_gates19 13>;
664 rockchip,check-idle = <1>;
670 compatible = "rockchip,rk30-i2c";
671 reg = <0x0 0xff170000 0x0 0x1000>;
672 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
673 #address-cells = <1>;
675 pinctrl-names = "default", "gpio";
676 pinctrl-0 = <&i2c5_xfer>;
677 pinctrl-1 = <&i2c5_gpio>;
678 gpios = <&gpio3 GPIO_D2 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
679 clocks = <&clk_gates19 14>;
680 rockchip,check-idle = <1>;
685 compatible = "rockchip,rk-fb";
686 rockchip,disp-mode = <NO_DUAL>;
690 rk_screen: rk_screen {
691 compatible = "rockchip,screen";
694 dsihost0: mipi@ff960000{
695 compatible = "rockchip,rk33x-dsi";
697 reg = <0xff960000 0x4000>, <0xff968000 0x4000>;
698 reg-names = "mipi_dsi_host" ,"mipi_dsi_phy";
699 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
700 clocks = <&clk_gates4 14>, <&clk_gates17 3>, <&clk_gates22 10>;
701 clock-names = "clk_mipi_24m", "pclk_mipi_dsi_host", "pclk_mipi_dsi_phy";
705 lvds: lvds@ff968000 {
706 compatible = "rockchip,rk3368-lvds";
707 rockchip,grf = <&grf>;
708 reg = <0x0 0xff968000 0x0 0x4000>, <0x0 0xff9600b0 0x0 0x01>;
709 reg-names = "mipi_lvds_phy", "mipi_lvds_ctl";
710 clocks = <&clk_gates22 10>, <&clk_gates17 3>;
711 clock-names = "pclk_lvds", "pclk_lvds_ctl";
716 compatible = "rockchip,rk32-edp";
717 reg = <0x0 0xff970000 0x0 0x4000>;
718 rockchip,grf = <&grf>;
719 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
720 clocks = <&clk_edp>, <&clk_edp_24m>, <&clk_gates17 9>;
721 clock-names = "clk_edp", "clk_edp_24m", "pclk_edp";
722 resets = <&reset RK3368_SRST_EDP_24M>, <&reset RK3368_SRST_EDP_P>;
723 reset-names = "edp_24m", "edp_apb";
726 hdmi: hdmi@ff980000 {
727 compatible = "rockchip,rk3368-hdmi";
728 reg = <0x0 0xff980000 0x0 0x20000>;
729 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
730 pinctrl-names = "default", "gpio";
731 pinctrl-0 = <&hdmii2c_xfer &hdmi_cec>;
732 pinctrl-1 = <&i2c5_gpio>;
733 clocks = <&clk_gates17 6>, <&clk_gates4 13>, <&clk_gates4 12>;
734 clock-names = "pclk_hdmi", "hdcp_clk_hdmi", "cec_clk_hdmi";
738 hdmi_hdcp2: hdmi_hdcp2@ff978000 {
739 compatible = "rockchip,rk3368-hdmi-hdcp2";
740 reg = <0x0 0xff978000 0x0 0x2000>;
741 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
742 clocks = <&clk_gates17 10>, <&clk_gates17 12>, <&clk_gates17 11>, <&clk_hdcp>;
743 clock-names ="aclk_hdcp2", "hclk_hdcp2_mmu", "pclk_hdcp2", "hdcp2_clk_hdmi";
747 lcdc: lcdc@ff930000 {
748 compatible = "rockchip,rk3368-lcdc";
749 rockchip,grf = <&grf>;
750 rockchip,pmu = <&pmu_grf>;
751 rockchip,prop = <PRMRY>;
752 rockchip,pwr18 = <0>;
753 rockchip,iommu-enabled = <0>;
754 reg = <0x0 0xff930000 0x0 0x10000>;
755 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
756 /*pinctrl-names = "default", "gpio";
757 *pinctrl-0 = <&lcdc_lcdc>;
758 *pinctrl-1 = <&lcdc_gpio>;
761 clocks = <&clk_gates16 5>, <&dclk_vop0>, <&clk_gates16 6>, <&clk_npll>;
762 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "sclk_pll";
766 compatible = "rockchip,saradc";
767 reg = <0x0 0xff100000 0x0 0x100>;
768 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
769 #io-channel-cells = <1>;
771 rockchip,adc-vref = <1800>;
772 clock-frequency = <1000000>;
773 clocks = <&clk_saradc>, <&clk_gates19 15>;
774 clock-names = "saradc", "pclk_saradc";
779 compatible = "rockchip,rk3368-rga2";
780 reg = <0x0 0xff920000 0x0 0x1000>;
781 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
782 clocks = <&clk_gates16 1>, <&clk_gates16 0>, <&clk_rga>;
783 clock-names = "hclk_rga", "aclk_rga", "clk_rga";
786 i2s0: i2s0@ff898000 {
787 compatible = "rockchip-i2s";
788 reg = <0x0 0xff898000 0x0 0x1000>;
790 clocks = <&clk_i2s>, <&i2s_out>, <&clk_gates12 7>;
791 clock-names = "i2s_clk", "i2s_mclk", "i2s_hclk";
792 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
793 dmas = <&pdma0 0>, <&pdma0 1>;
795 dma-names = "tx", "rx";
796 pinctrl-names = "default", "sleep";
797 pinctrl-0 = <&i2s_mclk &i2s_sclk &i2s_lrckrx &i2s_lrcktx &i2s_sdi &i2s_sdo0 &i2s_sdo1 &i2s_sdo2 &i2s_sdo3>;
798 pinctrl-1 = <&i2s_gpio>;
801 i2s1: i2s1@ff890000 {
802 compatible = "rockchip-i2s";
803 reg = <0x0 0xff890000 0x0 0x1000>;
805 clocks = <&clk_i2s_2ch>, <&clk_gates12 8>;
806 clock-names = "i2s_clk", "i2s_hclk";
807 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
808 dmas = <&pdma0 6>, <&pdma0 7>;
810 dma-names = "tx", "rx";
813 spdif: spdif@ff880000 {
814 compatible = "rockchip-spdif";
815 reg = <0x0 0xff880000 0x0 0x1000>;
816 clocks = <&clk_spidf_8ch>, <&clk_gates12 10>;
817 clock-names = "spdif_mclk", "spdif_hclk";
818 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
822 pinctrl-names = "default";
823 pinctrl-0 = <&spdif_tx>;
827 compatible = "rockchip,rk-pwm";
828 reg = <0x0 0xff680000 0x0 0x10>;
830 pinctrl-names = "default";
831 pinctrl-0 = <&pwm0_pin>;
832 clocks = <&clk_gates13 6>;
833 clock-names = "pclk_pwm";
838 compatible = "rockchip,rk-pwm";
839 reg = <0x0 0xff680010 0x0 0x10>;
841 pinctrl-names = "default";
842 pinctrl-0 = <&pwm1_pin>;
843 clocks = <&clk_gates13 6>;
844 clock-names = "pclk_pwm";
849 compatible = "rockchip,rk-pwm";
850 reg = <0x0 0xff680020 0x0 0x10>;
852 //pinctrl-names = "default";
853 //pinctrl-0 = <&pwm1_pin>;
854 clocks = <&clk_gates13 6>;
855 clock-names = "pclk_pwm";
860 compatible = "rockchip,rk-pwm";
861 reg = <0x0 0xff680030 0x0 0x10>;
863 pinctrl-names = "default";
864 pinctrl-0 = <&pwm3_pin>;
865 clocks = <&clk_gates13 6>;
866 clock-names = "pclk_pwm";
870 voppwm: pwm@ff9301a0 {
871 compatible = "rockchip,vop-pwm";
872 reg = <0x0 0xff9301a0 0x0 0x10>;
874 pinctrl-names = "default";
875 pinctrl-0 = <&vop_pwm_pin>;
876 clocks = <&clk_gates4 2>, <&clk_gates16 5>, <&clk_gates16 6>;
877 clock-names = "pclk_pwm", "aclk_lcdc", "hclk_lcdc";
882 compatible = "rockchip,rk3368-pvtm";
883 rockchip,grf = <&grf>;
887 compatible = "rockchip,rk3368-cpufreq";
888 rockchip,grf = <&grf>;
894 regulator_name = "vdd_arm";
895 suspend_volt = <1000>; //mV
897 clk_core_b_dvfs_table: clk_core_b {
907 clk_core_l_dvfs_table: clk_core_l {
921 regulator_name = "vdd_logic";
922 suspend_volt = <1000>; //mV
924 clk_ddr_dvfs_table: clk_ddr {
937 clk_gpu_dvfs_table: clk_gpu {
958 compatible = "rockchip,ion";
959 #address-cells = <1>;
962 ion_cma: rockchip,ion-heap@4 { /* CMA HEAP */
963 compatible = "rockchip,ion-heap";
964 rockchip,ion_heap = <4>;
965 reg = <0x00000000 0x08000000>; /* 512MB */
967 rockchip,ion-heap@0 { /* VMALLOC HEAP */
968 compatible = "rockchip,ion-heap";
969 rockchip,ion_heap = <0>;
974 compatible = "rockchip,vpu_sub";
976 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
977 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
978 interrupt-names = "irq_enc", "irq_dec";
980 name = "vpu_service";
984 compatible = "rockchip,hevc_sub";
986 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
987 interrupts-names = "irq_dec";
989 name = "hevc_service";
992 vpu_combo: vpu_combo@ff9a0000 {
993 compatible = "rockchip,vpu_combo";
994 reg = <0x0 0xff9a0000 0x0 0x800>;
995 rockchip,grf = <&grf>;
997 rockchip,sub = <&vpu>, <&hevc>;
998 clocks = <&aclk_vdpu>, <&hclk_vdpu>, <&clk_hevc_core>, <&clk_hevc_cabac>;
999 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core", "clk_cabac";
1001 mode_ctrl = <0x418>;
1007 compatible = "rockchip,iep";
1008 iommu_enabled = <0>;
1009 reg = <0x0 0xff900000 0x0 0x800>;
1010 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1011 clocks = <&clk_gates15 2>, <&clk_gates15 3>;
1012 clock-names = "aclk_iep", "hclk_iep";
1016 gmac: eth@ff290000 {
1017 compatible = "rockchip,rk3368-gmac";
1018 reg = <0x0 0xff290000 0x0 0x10000>;
1019 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; /*irq=59*/
1020 interrupt-names = "macirq";
1022 clocks = <&clk_mac>, <&clk_gates5 0>,
1023 <&clk_gates5 1>, <&clk_gates5 2>,
1024 <&clk_gates5 3>, <&clk_gates8 0>,
1026 clock-names = "clk_mac", "mac_clk_rx",
1027 "mac_clk_tx", "clk_mac_ref",
1028 "clk_mac_refout", "aclk_mac",
1032 pinctrl-names = "default";
1033 pinctrl-0 = <&mac_clk &mac_txpins &mac_rxpins &mac_mdpins>;
1037 compatible = "arm,rogue-G6110", "arm,rk3368-gpu";
1038 reg = <0x0 0xffa30000 0x0 0x10000>;
1039 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1040 interrupt-names = "GPU";
1045 compatible = "rockchip,iep_mmu";
1046 reg = <0x0 0xff900800 0x0 0x100>;
1047 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1048 interrupt-names = "iep_mmu";
1053 compatible = "rockchip,vip_mmu";
1054 reg = <0x0 0xff950800 0x0 0x100>;
1055 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1056 interrupt-names = "vip_mmu";
1061 compatible = "rockchip,vop_mmu";
1062 reg = <0x0 0xff930300 0x0 0x100>;
1063 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1064 interrupt-names = "vop_mmu";
1068 dbgname = "isp_mmu";
1069 compatible = "rockchip,isp_mmu";
1070 reg = <0x0 0xff914000 0x0 0x100>,
1071 <0x0 0xff915000 0x0 0x100>;
1072 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1073 interrupt-names = "isp_mmu";
1077 dbgname = "hdcp_mmu";
1078 compatible = "rockchip,hdcp_mmu";
1079 reg = <0x0 0xff940000 0x0 0x100>;
1080 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1081 interrupt-names = "hdcp_mmu";
1086 compatible = "rockchip,hevc_mmu";
1087 reg = <0x0 0xff9c0440 0x0 0x40>, /*need to fix*/
1088 <0x0 0xff9c0480 0x0 0x40>;
1089 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; /*need to fix*/
1090 interrupt-names = "hevc_mmu";
1095 compatible = "rockchip,vpu_mmu";
1096 reg = <0x0 0xff9a0800 0x0 0x100>; /*need to fix*/
1097 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; /*need to fix*/
1098 interrupt-names = "vpu_mmu";
1102 rockchip,ctrbits = <
1109 |RKPM_CTR_SYSCLK_DIV
1110 |RKPM_CTR_IDLEAUTO_MD
1111 |RKPM_CTR_ARMOFF_LPMD
1113 |RKPM_CTR_ARMOFF_LOGDP_LPMD
1116 rockchip,pmic-suspend_gpios = <
1117 /* RKPM_PINGPIO_BITS_OUTPUT(GPIO7_A1,RKPM_GPIO_OUT_H) */
1119 rockchip,pmic-resume_gpios = <
1120 /* RKPM_PINGPIO_BITS_FUN(PWM1,RKPM_GPIO_PULL_DN) */
1125 compatible = "rockchip,isp";
1126 reg = <0x0 0xff910000 0x0 0x10000>;
1127 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1128 clocks = <&clk_gates17 0>, <&clk_gates16 14>, <&clk_isp>, <&clk_isp>, <&pclk_isp>, <&clk_vip>, <&clk_vip_pll>, <&clk_gates17 4>, <&clk_gates22 11>;
1129 clock-names = "aclk_isp", "hclk_isp", "clk_isp", "clk_isp_jpe", "pclkin_isp", "clk_cif_out", "clk_cif_pll", "hclk_mipiphy1", "pclk_dphyrx";
1130 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";
1131 pinctrl-0 = <&cif_clkout>;
1132 pinctrl-1 = <&cif_clkout &isp_dvp_d2d9>;
1133 pinctrl-2 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d0d1>;
1134 pinctrl-3 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d0d1 &isp_dvp_d10d11>;
1135 pinctrl-4 = <&cif_clkout &isp_dvp_d0d7>;
1136 pinctrl-5 = <&cif_clkout>;
1137 pinctrl-6 = <&cif_clkout &isp_prelight>;
1138 pinctrl-7 = <&isp_flash_trigger_as_gpio>;
1139 pinctrl-8 = <&isp_flash_trigger>;
1140 rockchip,isp,mipiphy = <2>;
1141 rockchip,isp,cifphy = <1>;
1142 rockchip,isp,mipiphy1,reg = <0xff964000 0x4000>;
1143 rockchip,gpios = <&gpio3 GPIO_C4 GPIO_ACTIVE_HIGH>;
1144 rockchip,isp,iommu_enable = <1>;
1148 tsadc: tsadc@ff280000 {
1149 compatible = "rockchip,tsadc";
1150 reg = <0x0 0xff280000 0x0 0x100>;
1151 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1152 #io-channel-cells = <1>;
1154 clock-frequency = <10000>;
1155 clocks = <&clk_tsadc>, <&clk_gates20 0>;
1156 clock-names = "tsadc", "pclk_tsadc";
1157 pinctrl-names = "default", "tsadc_int";
1158 pinctrl-0 = <&tsadc_gpio>;
1159 pinctrl-1 = <&tsadc_int>;
1160 tsadc-ht-temp = <120>;
1161 tsadc-ht-reset-cru = <1>;
1162 tsadc-ht-pull-gpio = <0>;
1163 status = "disabled";
1167 compatible = "rockchip,rk3368-tsp";
1168 reg = <0x0 0xFF8B0000 0x0 0x10000>;
1169 clocks = <&clk_tsp>, <&clk_gates13 10>, <&clk_gates13 7>;
1170 clock-names = "clk_tsp", "hclk_tsp", "clk_hsadc0_tsp";
1171 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
1172 interrupt-names = "irq_tsp";
1173 // pinctrl-names = "default";
1174 // pinctrl-0 = <&isp_hsadc>;
1178 crypto: crypto@FF8A0000{
1179 compatible = "rockchip,rk3368-crypto";
1180 reg = <0x0 0xFF8A0000 0x0 0x10000>;
1181 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1182 interrupt-names = "irq_crypto";
1183 clocks = <&clk_crypto>, <&clk_gates13 4>, <&clk_gates13 3>;
1184 clock-names = "clk_crypto", "sclk_crypto", "mclk_crypto";
1187 dwc_control_usb: dwc-control-usb {
1188 compatible = "rockchip,rk3368-dwc-control-usb";
1189 rockchip,grf = <&grf>;
1190 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
1191 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1192 interrupt-names = "otg_id", "otg_bvalid",
1193 "otg_linestate", "host0_linestate";
1194 clocks = <&clk_gates20 6>, <&usbphy_480m>;
1195 clock-names = "hclk_usb_peri", "usbphy_480m";
1196 //resets = <&reset RK3128_RST_USBPOR>;
1197 //reset-names = "usbphy_por";
1199 compatible = "inno,phy";
1200 regbase = &dwc_control_usb;
1201 rk_usb,bvalid = <0x04b 23 1>;
1202 rk_usb,iddig = <0x04b 26 1>;
1203 rk_usb,vdmsrcen = <0x718 12 1>;
1204 rk_usb,vdpsrcen = <0x718 11 1>;
1205 rk_usb,rdmpden = <0x718 10 1>;
1206 rk_usb,idpsrcen = <0x718 9 1>;
1207 rk_usb,idmsinken = <0x718 8 1>;
1208 rk_usb,idpsinken = <0x718 7 1>;
1209 rk_usb,dpattach = <0x4b8 31 1>;
1210 rk_usb,cpdet = <0x4b8 30 1>;
1211 rk_usb,dcpattach = <0x4b8 29 1>;
1215 usb0: usb@ff580000 {
1216 compatible = "rockchip,rk3368_usb20_otg";
1217 reg = <0x0 0xff580000 0x0 0x40000>;
1218 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1219 clocks = <&clk_gates8 1>, <&clk_gates20 1>;
1220 clock-names = "clk_usbphy0", "hclk_otg";
1221 resets = <&reset RK3368_SRST_USBOTG0_H>, <&reset RK3368_SRST_USBOTGPHY0>,
1222 <&reset RK3368_SRST_USBOTGC0>;
1223 reset-names = "otg_ahb", "otg_phy", "otg_controller";
1224 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
1225 rockchip,usb-mode = <0>;
1228 usb_ehci: usb@ff500000 {
1229 compatible = "generic-ehci";
1230 reg = <0x0 0xff500000 0x0 0x20000>;
1231 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1232 clocks = <&clk_gates8 1>, <&clk_gates20 3>;
1233 clock-names = "clk_usbphy0", "hclk_ehci";
1234 //resets = <&reset RK3288_SOFT_RST_USBHOST0_H>, <&reset RK3288_SOFT_RST_USBHOST0PHY>,
1235 // <&reset RK3288_SOFT_RST_USBHOST0C>, <&reset RK3288_SOFT_RST_USB_HOST0>;
1236 //reset-names = "ehci_ahb", "ehci_phy", "ehci_controller", "ehci";
1239 usb_ohci: usb@ff520000 {
1240 compatible = "generic-ohci";
1241 reg = <0x0 0xff520000 0x0 0x20000>;
1242 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1243 clocks = <&clk_gates8 1>, <&clk_gates20 3>;
1244 clock-names = "clk_usbphy0", "hclk_ohci";
1247 usb_hsic: usb@ff5c0000 {
1248 compatible = "rockchip,rk3288_rk_hsic_host";
1249 reg = <0x0 0xff5c0000 0x0 0x40000>;
1250 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
1252 clocks = <&hsicphy_480m>, <&clk_gates7 8>,
1253 <&hsicphy_12m>, <&usbphy_480m>,
1254 <&otgphy1_480m>, <&otgphy2_480m>;
1255 clock-names = "hsicphy_480m", "hclk_hsic",
1256 "hsicphy_12m", "usbphy_480m",
1257 "hsic_usbphy1", "hsic_usbphy2";
1258 resets = <&reset RK3288_SOFT_RST_HSIC>, <&reset RK3288_SOFT_RST_HSIC_AUX>,
1259 <&reset RK3288_SOFT_RST_HSICPHY>;
1260 reset-names = "hsic_ahb", "hsic_aux", "hsic_phy";
1262 status = "disabled";
1266 compatible = "rockchip,rk3368-pinctrl";
1267 rockchip,grf = <&grf>;
1268 rockchip,pmu = <&pmu_grf>;
1269 #address-cells = <2>;
1273 gpio0: gpio0@ff750000 {
1274 compatible = "rockchip,gpio-bank";
1275 reg = <0x0 0xff750000 0x0 0x100>;
1276 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1277 clocks = <&clk_gates23 4>;
1282 interrupt-controller;
1283 #interrupt-cells = <2>;
1286 gpio1: gpio1@ff780000 {
1287 compatible = "rockchip,gpio-bank";
1288 reg = <0x0 0xff780000 0x0 0x100>;
1289 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1290 clocks = <&clk_gates22 1>;
1295 interrupt-controller;
1296 #interrupt-cells = <2>;
1299 gpio2: gpio2@ff790000 {
1300 compatible = "rockchip,gpio-bank";
1301 reg = <0x0 0xff790000 0x0 0x100>;
1302 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1303 clocks = <&clk_gates22 2>;
1308 interrupt-controller;
1309 #interrupt-cells = <2>;
1312 gpio3: gpio3@ff7a0000 {
1313 compatible = "rockchip,gpio-bank";
1314 reg = <0x0 0xff7a0000 0x0 0x100>;
1315 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
1316 clocks = <&clk_gates22 3>;
1321 interrupt-controller;
1322 #interrupt-cells = <2>;
1325 pcfg_pull_up: pcfg-pull-up {
1329 pcfg_pull_down: pcfg-pull-down {
1333 pcfg_pull_none: pcfg-pull-none {
1337 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
1338 drive-strength = <8>;
1341 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
1343 drive-strength = <8>;
1346 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
1347 drive-strength = <4>;
1350 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
1352 drive-strength = <4>;
1355 pcfg_output_high: pcfg-output-high {
1359 pcfg_output_low: pcfg-output-low {
1364 i2c0_xfer: i2c0-xfer {
1365 rockchip,pins = <0 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,
1366 <0 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>;
1368 i2c0_gpio: i2c0-gpio {
1369 rockchip,pins = <0 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_none>,
1370 <0 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_none>;
1375 i2c1_xfer: i2c1-xfer {
1376 rockchip,pins = <2 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,
1377 <2 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>;
1379 i2c1_gpio: i2c1-gpio {
1380 rockchip,pins = <2 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_none>,
1381 <2 GPIO_C6 RK_FUNC_GPIO &pcfg_pull_none>;
1386 i2c2_xfer: i2c2-xfer {
1387 rockchip,pins = <3 GPIO_D7 RK_FUNC_2 &pcfg_pull_none>,
1388 <0 GPIO_B1 RK_FUNC_2 &pcfg_pull_none>;
1390 i2c2_gpio: i2c2-gpio {
1391 rockchip,pins = <3 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_none>,
1392 <0 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_none>;
1397 i2c3_xfer: i2c3-xfer {
1398 rockchip,pins = <1 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,
1399 <1 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
1401 i2c3_gpio: i2c3-gpio {
1402 rockchip,pins = <1 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,
1403 <1 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>;
1408 i2c4_xfer: i2c4-xfer {
1409 rockchip,pins = <3 GPIO_D0 RK_FUNC_2 &pcfg_pull_none>,
1410 <3 GPIO_D1 RK_FUNC_2 &pcfg_pull_none>;
1412 i2c4_gpio: i2c4-gpio {
1413 rockchip,pins = <3 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_none>,
1414 <3 GPIO_D1 RK_FUNC_GPIO &pcfg_pull_none>;
1419 i2c5_xfer: i2c5-xfer {
1420 rockchip,pins = <3 GPIO_D2 RK_FUNC_2 &pcfg_pull_none>,
1421 <3 GPIO_D3 RK_FUNC_2 &pcfg_pull_none>;
1423 i2c5_gpio: i2c5-gpio {
1424 rockchip,pins = <3 GPIO_D2 RK_FUNC_GPIO &pcfg_pull_none>,
1425 <3 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>;
1430 uart0_xfer: uart0-xfer {
1431 rockchip,pins = <2 GPIO_D0 RK_FUNC_1 &pcfg_pull_up>,
1432 <2 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>;
1435 uart0_cts: uart0-cts {
1436 rockchip,pins = <2 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>;
1439 uart0_rts: uart0-rts {
1440 rockchip,pins = <2 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
1443 uart0_rts_gpio: uart0-rts-gpio {
1444 rockchip,pins = <2 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>;
1449 uart1_xfer: uart1-xfer {
1450 rockchip,pins = <0 GPIO_C4 RK_FUNC_3 &pcfg_pull_up>,
1451 <0 GPIO_C5 RK_FUNC_3 &pcfg_pull_none>;
1454 uart1_cts: uart1-cts {
1455 rockchip,pins = <0 GPIO_C6 RK_FUNC_3 &pcfg_pull_none>;
1458 uart1_rts: uart1-rts {
1459 rockchip,pins = <0 GPIO_C7 RK_FUNC_3 &pcfg_pull_none>;
1464 uart2_xfer: uart2-xfer {
1465 rockchip,pins = <2 GPIO_A6 RK_FUNC_2 &pcfg_pull_up>,
1466 <2 GPIO_A5 RK_FUNC_2 &pcfg_pull_none>;
1471 uart3_xfer: uart3-xfer {
1472 rockchip,pins = <3 GPIO_D5 RK_FUNC_2 &pcfg_pull_up>,
1473 <3 GPIO_D6 RK_FUNC_2 &pcfg_pull_none>;
1476 uart3_cts: uart3-cts {
1477 rockchip,pins = <3 GPIO_C0 RK_FUNC_2 &pcfg_pull_none>;
1480 uart3_rts: uart3-rts {
1481 rockchip,pins = <3 GPIO_C1 RK_FUNC_2 &pcfg_pull_none>;
1486 uart4_xfer: uart4-xfer {
1487 rockchip,pins = <0 GPIO_D3 RK_FUNC_3 &pcfg_pull_up>,
1488 <0 GPIO_D2 RK_FUNC_3 &pcfg_pull_none>;
1491 uart4_cts: uart4-cts {
1492 rockchip,pins = <0 GPIO_D0 RK_FUNC_3 &pcfg_pull_none>;
1495 uart4_rts: uart4-rts {
1496 rockchip,pins = <0 GPIO_D1 RK_FUNC_3 &pcfg_pull_none>;
1501 spi0_clk: spi0-clk {
1502 rockchip,pins = <1 GPIO_D5 RK_FUNC_2 &pcfg_pull_up>;
1504 spi0_cs0: spi0-cs0 {
1505 rockchip,pins = <1 GPIO_D0 RK_FUNC_3 &pcfg_pull_up>;
1508 rockchip,pins = <1 GPIO_C7 RK_FUNC_3 &pcfg_pull_up>;
1511 rockchip,pins = <1 GPIO_C6 RK_FUNC_3 &pcfg_pull_up>;
1513 spi0_cs1: spi0-cs1 {
1514 rockchip,pins = <1 GPIO_D1 RK_FUNC_3 &pcfg_pull_up>;
1519 spi1_clk: spi1-clk {
1520 rockchip,pins = <1 GPIO_B6 RK_FUNC_2 &pcfg_pull_up>;
1522 spi1_cs0: spi1-cs0 {
1523 rockchip,pins = <1 GPIO_B7 RK_FUNC_2 &pcfg_pull_up>;
1526 rockchip,pins = <1 GPIO_C0 RK_FUNC_2 &pcfg_pull_up>;
1529 rockchip,pins = <1 GPIO_C1 RK_FUNC_2 &pcfg_pull_up>;
1534 spi2_clk: spi2-clk {
1535 rockchip,pins = <0 GPIO_B4 RK_FUNC_2 &pcfg_pull_up>;
1537 spi2_cs0: spi2-cs0 {
1538 rockchip,pins = <0 GPIO_B5 RK_FUNC_2 &pcfg_pull_up>;
1541 rockchip,pins = <0 GPIO_B2 RK_FUNC_2 &pcfg_pull_up>;
1544 rockchip,pins = <0 GPIO_B3 RK_FUNC_2 &pcfg_pull_up>;
1549 i2s_mclk: i2s-mclk {
1550 rockchip,pins = <2 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>;
1554 rockchip,pins = <2 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>;
1557 i2s_lrckrx:i2s-lrckrx {
1558 rockchip,pins = <2 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;
1561 i2s_lrcktx:i2s-lrcktx {
1562 rockchip,pins = <2 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>;
1566 rockchip,pins = <2 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;
1570 rockchip,pins = <2 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>;
1574 rockchip,pins = <2 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
1578 rockchip,pins = <2 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>;
1582 rockchip,pins = <2 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>;
1585 i2s_gpio: i2s-gpio {
1586 rockchip,pins = <2 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>,
1587 <2 GPIO_B4 RK_FUNC_GPIO &pcfg_pull_none>,
1588 <2 GPIO_B5 RK_FUNC_GPIO &pcfg_pull_none>,
1589 <2 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_none>,
1590 <2 GPIO_B7 RK_FUNC_GPIO &pcfg_pull_none>,
1591 <2 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,
1592 <2 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>,
1593 <2 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_none>,
1594 <2 GPIO_C3 RK_FUNC_GPIO &pcfg_pull_none>;
1599 spdif_tx: spdif-tx {
1600 rockchip,pins = <2 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>;
1605 sdmmc_clk: sdmmc-clk {
1606 rockchip,pins = <2 GPIO_B1 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
1609 sdmmc_cmd: sdmmc-cmd {
1610 rockchip,pins = <2 GPIO_B2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1613 sdmmc_dectn: sdmmc-dectn {
1614 rockchip,pins = <2 GPIO_B3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1617 sdmmc_bus1: sdmmc-bus1 {
1618 rockchip,pins = <2 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1621 sdmmc_bus4: sdmmc-bus4 {
1622 rockchip,pins = <2 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1623 <2 GPIO_A6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1624 <2 GPIO_A7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1625 <2 GPIO_B0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1628 sdmmc_gpio: sdmmc-gpio {
1629 rockchip,pins = <2 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CLK
1630 <2 GPIO_B2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CMD
1631 <2 GPIO_B3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DET
1632 <2 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DO
1633 <2 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D1
1634 <2 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D2
1635 <2 GPIO_B0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;//D3
1640 sdio0_bus1: sdio0-bus1 {
1641 rockchip,pins = <2 GPIO_D4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1644 sdio0_bus4: sdio0-bus4 {
1645 rockchip,pins = <2 GPIO_D4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1646 <2 GPIO_D5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1647 <2 GPIO_D6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
1648 <2 GPIO_D7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1651 sdio0_cmd: sdio0-cmd {
1652 rockchip,pins = <3 GPIO_A0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
1655 sdio0_clk: sdio0-clk {
1656 rockchip,pins = <3 GPIO_A1 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
1659 sdio0_dectn: sdio0-dectn {
1660 rockchip,pins = <3 GPIO_A2 RK_FUNC_1 &pcfg_pull_up>;
1663 sdio0_wrprt: sdio0-wrprt {
1664 rockchip,pins = <3 GPIO_A3 RK_FUNC_1 &pcfg_pull_up>;
1667 sdio0_pwren: sdio0-pwren {
1668 rockchip,pins = <3 GPIO_A4 RK_FUNC_1 &pcfg_pull_up>;
1671 sdio0_bkpwr: sdio0-bkpwr {
1672 rockchip,pins = <3 GPIO_A5 RK_FUNC_1 &pcfg_pull_up>;
1675 sdio0_int: sdio0-int {
1676 rockchip,pins = <3 GPIO_A6 RK_FUNC_1 &pcfg_pull_up>;
1679 sdio0_gpio: sdio0-gpio {
1680 rockchip,pins = <3 GPIO_A0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CMD
1681 <3 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CLK
1682 <3 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DET
1683 <3 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//wrprt
1684 <3 GPIO_A4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//PWREN
1685 <3 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//BKPWR
1686 <3 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//INTN
1687 <2 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DO
1688 <2 GPIO_D5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D1
1689 <2 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D2
1690 <2 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;//D3
1695 emmc_clk: emmc-clk {
1696 rockchip,pins = <2 GPIO_A4 RK_FUNC_2 &pcfg_pull_none_drv_8ma>;
1699 emmc_cmd: emmc-cmd {
1700 rockchip,pins = <1 GPIO_D2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
1703 emmc_pwren: emmc-pwren {
1704 rockchip,pins = <1 GPIO_D3 RK_FUNC_2 &pcfg_pull_none>;
1707 emmc_rstnout: emmc_rstnout {
1708 rockchip,pins = <2 GPIO_A3 RK_FUNC_2 &pcfg_pull_none>;
1711 emmc_bus1: emmc-bus1 {
1712 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;//DO
1715 emmc_bus4: emmc-bus4 {
1716 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//DO
1717 <1 GPIO_C3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//D1
1718 <1 GPIO_C4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//D2
1719 <1 GPIO_C5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;//D3
1724 pwm0_pin: pwm0-pin {
1725 rockchip,pins = <3 GPIO_B0 RK_FUNC_2 &pcfg_pull_none>;
1728 vop_pwm_pin:vop-pwm {
1729 rockchip,pins = <3 GPIO_B0 RK_FUNC_3 &pcfg_pull_none>;
1734 pwm1_pin: pwm1-pin {
1735 rockchip,pins = <0 GPIO_B0 RK_FUNC_2 &pcfg_pull_none>;
1740 pwm3_pin: pwm3-pin {
1741 rockchip,pins = <3 GPIO_D6 RK_FUNC_3 &pcfg_pull_none>;
1746 lcdc_lcdc: lcdc-lcdc {
1748 <0 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D10
1749 <0 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D11
1750 <0 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D12
1751 <0 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D13
1752 <0 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D14
1753 <0 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D15
1754 <0 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D16
1755 <0 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D17
1756 <0 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D18
1757 <0 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D19
1758 <0 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D20
1759 <0 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D21
1760 <0 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D22
1761 <0 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D23
1762 <0 GPIO_D7 RK_FUNC_1 &pcfg_pull_none>,//DCLK
1763 <0 GPIO_D6 RK_FUNC_1 &pcfg_pull_none>,//DEN
1764 <0 GPIO_D4 RK_FUNC_1 &pcfg_pull_none>,//HSYNC
1765 <0 GPIO_D5 RK_FUNC_1 &pcfg_pull_none>;//VSYN
1768 lcdc_gpio: lcdc-gpio {
1770 <0 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D10
1771 <0 GPIO_B7 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D11
1772 <0 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D12
1773 <0 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D13
1774 <0 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D14
1775 <0 GPIO_C3 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D15
1776 <0 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D16
1777 <0 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D17
1778 <0 GPIO_C6 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D18
1779 <0 GPIO_C7 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D19
1780 <0 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D20
1781 <0 GPIO_D1 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D21
1782 <0 GPIO_D2 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D22
1783 <0 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D23
1784 <0 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_none>,//DCLK
1785 <0 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_none>,//DEN
1786 <0 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_none>,//HSYNC
1787 <0 GPIO_D5 RK_FUNC_GPIO &pcfg_pull_none>;//VSYN
1792 cif_clkout: cif-clkout {
1793 rockchip,pins = <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
1796 isp_dvp_d2d9: isp-dvp-d2d9 {
1797 rockchip,pins = <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
1798 <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
1799 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1800 <1 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1801 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1802 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_none>,//cif_data7
1803 <1 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,//cif_data8
1804 <1 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>,//cif_data9
1805 <1 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>,//cif_sync
1806 <1 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>,//cif_href
1807 <1 GPIO_B2 RK_FUNC_1 &pcfg_pull_none>,//cif_clkin
1808 <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
1811 isp_dvp_d0d1: isp-dvp-d0d1 {
1812 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
1813 <1 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;//cif_data1
1816 isp_dvp_d10d11:isp_d10d11 {
1817 rockchip,pins = <1 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//cif_data10
1818 <1 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;//cif_data11
1821 isp_dvp_d0d7: isp-dvp-d0d7 {
1822 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
1823 <1 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>,//cif_data1
1824 <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
1825 <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
1826 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1827 <1 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1828 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1829 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_none>;//cif_data7
1832 isp_shutter: isp-shutter {
1833 rockchip,pins = <3 GPIO_C3 RK_FUNC_2 &pcfg_pull_none>, //SHUTTEREN
1834 <3 GPIO_C6 RK_FUNC_2 &pcfg_pull_none>;//SHUTTERTRIG
1837 isp_flash_trigger: isp-flash-trigger {
1838 rockchip,pins = <3 GPIO_C4 RK_FUNC_2 &pcfg_pull_none>; //ISP_FLASHTRIGOU
1841 isp_prelight: isp-prelight {
1842 rockchip,pins = <3 GPIO_C5 RK_FUNC_2 &pcfg_pull_none>;//ISP_PRELIGHTTRIG
1845 isp_flash_trigger_as_gpio: isp_flash_trigger_as_gpio {
1846 rockchip,pins = <3 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>;//ISP_FLASHTRIGOU
1852 rockchip,pins = <3 GPIO_B6 RK_FUNC_2 &pcfg_pull_none>;
1856 rockchip,pins = <3 GPIO_B7 RK_FUNC_2 &pcfg_pull_none>;
1860 gps_rfclk: gps-rfclk {
1861 rockchip,pins = <3 GPIO_C0 RK_FUNC_3 &pcfg_pull_none>;
1867 rockchip,pins = <3 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>;
1870 mac_txpins: mac-txpins {
1871 rockchip,pins = <3 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>,//TXD0
1872 <3 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>,//TXD1
1873 <3 GPIO_B2 RK_FUNC_1 &pcfg_pull_none>,//TXD2
1874 <3 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//TXD3
1875 <3 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>,//TXEN
1876 <3 GPIO_D4 RK_FUNC_1 &pcfg_pull_none>;//TXCLK
1879 mac_rxpins: mac-rxpins {
1880 rockchip,pins = <3 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>,//RXD0
1881 <3 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,//RXD1
1882 <3 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,//RXD2
1883 <3 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>,//RXD3
1884 <3 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>,//RXDV
1885 <3 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,//RXER
1886 <3 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,//RXCLK
1887 <3 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>;//COL
1891 rockchip,pins = <3 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>; //CRS
1894 mac_mdpins: mac-mdpins {
1895 rockchip,pins = <3 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>,//MDIO
1896 <3 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>;//MDC
1901 tsadc_int: tsadc-int {
1902 rockchip,pins = <0 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>;
1904 tsadc_gpio: tsadc-gpio {
1905 rockchip,pins = <0 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_none>;
1910 hdmi_cec: hdmi-cec {
1911 rockchip,pins = <3 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>;
1916 hdmii2c_xfer: hdmii2c-xfer {
1917 rockchip,pins = <3 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>,
1918 <3 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
1924 compatible = "rockchip,rk3368-reboot";
1925 rockchip,cru = <&cru>;
1926 rockchip,pmugrf = <&pmugrf>;