1 #include <dt-bindings/interrupt-controller/arm-gic.h>
2 #include <dt-bindings/rkfb/rk_fb.h>
4 #include "skeleton.dtsi"
5 #include "rk3228-clocks.dtsi"
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include <dt-bindings/gpio/gpio.h>
11 compatible = "rockchip,rk3228";
12 interrupt-parent = <&gic>;
24 compatible = "arm,cortex-a7";
29 compatible = "arm,cortex-a7";
34 compatible = "arm,cortex-a7";
39 compatible = "arm,cortex-a7";
44 gic: interrupt-controller@32010000 {
45 compatible = "arm,cortex-a15-gic";
47 #interrupt-cells = <3>;
49 reg = <0x32011000 0x1000>,
53 sgrf: syscon@10140000 {
54 compatible = "rockchip,rk3228-sgrf", "rockchip,sgrf", "syscon";
55 reg = <0x10140000 0x1000>;
58 grf: syscon@11000000 {
59 compatible = "rockchip,rk3228-grf", "rockchip,grf", "syscon";
60 reg = <0x11000000 0x1000>;
63 cru: syscon@110e0000 {
64 compatible = "rockchip,rk3228-cru", "rockchip,cru", "syscon";
65 reg = <0x110e0000 0x1000>;
68 ddrpctl: syscon@11200000 {
69 compatible = "rockchip,rk3228-ddrpctl", "syscon";
70 reg = <0x11200000 0x400>;
73 msch: syscon@31020000 {
74 compatible = "rockchip,rk32288-msch", "rockchip,msch", "syscon";
75 reg = <0x31020000 0x3000>;
79 compatible = "arm,cortex-a7-pmu";
80 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
81 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
82 <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
83 <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
86 reset: reset@110e0110{
87 compatible = "rockchip,reset";
88 reg = <0x110e0110 0x20>;
89 rockchip,reset-flag = <ROCKCHIP_RESET_HIWORD_MASK>;
94 compatible = "arm,armv7-timer";
95 interrupts = <GIC_PPI 13
96 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
98 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
99 clock-frequency = <24000000>;
102 uart_dbg: serial@11030000 {
103 compatible = "rockchip,serial";
104 reg = <0x11030000 0x100>;
105 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
106 clock-frequency = <24000000>;
107 clocks = <&xin24m>, <&xin24m>;
108 clock-names = "sclk_uart", "pclk_uart";
115 compatible = "rockchip,fiq-debugger";
116 rockchip,serial-id = <2>;
117 rockchip,signal-irq = <159>;
118 rockchip,wake-irq = <0>;
119 rockchip,irq-mode-enable = <1>; /* If enable uart uses irq instead of fiq */
120 rockchip,baudrate = <1500000>; /* Only 115200 and 1500000 */
124 rockchip_clocks_init: clocks-init{
125 compatible = "rockchip,clocks-init";
126 rockchip,clocks-init-parent =
127 <&clk_i2s0_pll &clk_cpll>, <&clk_i2s1_pll &clk_cpll>,
128 <&clk_i2s2_pll &clk_cpll>, <&clk_spdif_pll &clk_cpll>,
129 <&clk_gpu &clk_cpll>, <&dclk_vop0 &hdmi_phy_clk>,
130 <&aclk_bus &clk_cpll>, <&aclk_peri &clk_cpll>,
131 <&clk_sdmmc0 &clk_cpll>, <&clk_emmc &clk_cpll>,
132 <&clk_sdio &clk_cpll>, <&aclk_vpu &clk_cpll>,
133 <&hdmi_phy_clk &hdmiphy_out>, <&usb480m &usb480m_phy>;
134 rockchip,clocks-init-rate =
135 <&clk_gpll 600000000>, <&clk_core 700000000>,
136 <&clk_cpll 500000000>, <&aclk_bus 250000000>,
137 <&hclk_bus 125000000>, <&pclk_bus 62500000>,
138 <&aclk_peri 250000000>, <&hclk_peri 125000000>,
139 <&pclk_peri 62500000>, <&clk_mac 125000000>,
140 <&aclk_iep 250000000>, <&hclk_vio 125000000>,
141 <&aclk_rga 250000000>, <&clk_gpu 250000000>,
142 <&aclk_vpu 25000000>, <&clk_vdec_core 250000000>,
143 <&clk_vdec_cabac 250000000>;
145 rockchip,clocks-uboot-has-init =
150 rockchip_clocks_enable: clocks-enable {
151 compatible = "rockchip,clocks-enable";
169 <&clk_gates8 0>,/*aclk_intmem*/
170 <&clk_gates8 1>,/*clk_intmem_mbist*/
171 <&clk_gates8 2>,/*aclk_dmac_bus*/
172 <&clk_gates10 1>,/*g_aclk_bus*/
173 <&clk_gates13 9>,/*aclk_gic400*/
174 <&clk_gates8 3>,/*hclk_rom*/
175 <&clk_gates8 4>,/*pclk_ddrupctl*/
176 <&clk_gates8 6>,/*pclk_ddrmon*/
177 <&clk_gates9 4>,/*pclk_timer0*/
178 <&clk_gates9 5>,/*pclk_stimer*/
179 <&clk_gates10 0>,/*pclk_grf*/
180 <&clk_gates10 4>,/*pclk_cru*/
181 <&clk_gates10 6>,/*pclk_sgrf*/
182 <&clk_gates10 3>,/*pclk_ddrphy*/
183 <&clk_gates10 9>,/*pclk_phy_noc*/
189 <&clk_gates12 0>,/*aclk_peri_noc*/
190 <&clk_gates12 1>,/*hclk_peri_noc*/
191 <&clk_gates12 2>,/*pclk_peri_noc*/
193 <&clk_gates6 5>, /* g_clk_timer0 */
194 <&clk_gates6 6>, /* g_clk_timer1 */
196 <&clk_gates7 14>, /* g_aclk_gpu */
197 <&clk_gates7 15>, /* g_aclk_gpu_noc */
199 <&clk_gates1 3>;/*clk_jtag*/
203 #address-cells = <1>;
205 compatible = "arm,amba-bus";
206 interrupt-parent = <&gic>;
209 pdma: pdma@110f0000 {
210 compatible = "arm,pl330", "arm,primecell";
211 reg = <0x110f0000 0x4000>;
212 clocks = <&clk_gates8 2>;
213 clock-names = "apb_pclk";
214 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
215 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
220 i2s0: i2s0@100c0000 {
221 compatible = "rockchip-i2s";
222 reg = <0x100c0000 0x1000>;
224 clocks = <&clk_i2s0>, <&clk_gates8 7>;
225 clock-names = "i2s_clk", "i2s_hclk";
226 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
227 dmas = <&pdma 11>, <&pdma 12>;
229 dma-names = "tx", "rx";
232 i2s1: i2s1@100b0000 {
233 compatible = "rockchip-i2s";
234 reg = <0x100b0000 0x1000>;
236 clocks = <&clk_i2s1>, <&clk_i2s1_out>, <&clk_gates8 8>;
237 clock-names = "i2s_clk", "i2s_mclk", "i2s_hclk";
238 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
239 dmas = <&pdma 14>, <&pdma 15>;
241 dma-names = "tx", "rx";
245 i2s2: i2s2@100e0000 {
246 compatible = "rockchip-i2s";
247 reg = <0x100e0000 0x1000>;
249 clocks = <&clk_i2s2>, <&clk_gates8 9>;
250 clock-names = "i2s_clk", "i2s_hclk";
251 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
252 dmas = <&pdma 0>, <&pdma 1>;
254 dma-names = "tx", "rx";
258 spdif: spdif@100d0000 {
259 compatible = "rockchip-spdif";
260 reg = <0x100d0000 0x1000>;
261 clocks = <&clk_spdif>, <&clk_gates8 10>;
262 clock-names = "spdif_mclk", "spdif_hclk";
263 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
271 compatible = "arm,mali400";
272 reg = <0x20001000 0x200>,
280 reg-names = "Mali_L2",
288 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
289 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
290 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
291 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
292 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
295 interrupt-names = "Mali_GP_IRQ",
304 compatible = "rockchip,rk-fb";
305 rockchip,disp-mode = <NO_DUAL>;
308 rk_screen: rk_screen {
309 compatible = "rockchip,screen";
313 compatible = "rockchip,rk3228-lcdc";
315 rockchip,cabc_mode = <0>;
316 rockchip,pwr18 = <0>;
317 rockchip,iommu-enabled = <1>;
318 reg = <0x20050000 0x300>;
319 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
320 clocks = <&aclk_vop>, <&dclk_vop0>, <&hclk_vio>;
321 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc";
326 compatible = "rockchip,vop_mmu";
327 reg = <0x20053f00 0x100>;
328 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
329 interrupt-names = "vop_mmu";
334 compatible = "rockchip,hevc_mmu";
335 reg = <0x20034440 0x40>,
337 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
338 interrupt-names = "hevc_mmu";
343 compatible = "rockchip,vpu_mmu";
344 reg = <0x20026800 0x100>;
345 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
346 interrupt-names = "vpu_mmu";
351 compatible = "rockchip,iep_mmu";
352 reg = <0x20078800 0x100>;
353 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
354 interrupt-names = "iep_mmu";
357 hdmi: hdmi@200a0000 {
358 compatible = "rockchip,rk3228-hdmi";
359 reg = <0x200a0000 0x20000>,
360 <0x12030000 0x10000>;
361 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
362 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
363 clocks = <&clk_gates14 6>, <&clk_gates3 7>, <&clk_hdmi_cec>;
364 clock-names = "pclk_hdmi", "hdcp_clk_hdmi", "cec_clk_hdmi";
365 rockchip,hdmi_audio_source = <0>;
366 rockchip,hdcp_enable = <0>;
367 rockchip,cec_enable = <0>;
371 hdmi_hdcp2: hdmi_hdcp2@20090000 {
372 compatible = "rockchip,rk3228-hdmi-hdcp2";
373 reg = <0x20090000 0x10000>;
374 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
375 clocks = <&aclk_hdcp>,
379 clock-names = "aclk_hdcp2",
387 compatible = "rockchip,rk3228-tve";
388 reg = <0x20053e00 0x100>,
389 <0x12020000 0x10000>;
390 clocks = <&clk_gates10 8>;
391 clock-names = "pclk_vdac";
395 emmc: rksdmmc@30020000 {
396 compatible = "rockchip,rk_mmc", "rockchip,rk3228-sdmmc";
397 reg = <0x30020000 0x10000>;
398 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
399 #address-cells = <1>;
401 clocks = <&clk_emmc>, <&clk_gates7 0>;
402 clock-names = "clk_mmc", "hclk_mmc";
404 fifo-depth = <0x100>;
406 cru_regsbase = <0x124>;
407 cru_reset_offset = <3>;
410 sdmmc: rksdmmc@30000000 {
411 compatible = "rockchip,rk_mmc", "rockchip,rk3228-sdmmc";
412 reg = <0x30000000 0x10000>;
413 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
414 #address-cells = <1>;
416 clocks = <&clk_sdmmc0>, <&clk_gates5 10>;
417 clock-names = "clk_mmc", "hclk_mmc";
419 fifo-depth = <0x100>;
421 cru_regsbase = <0x124>;
422 cru_reset_offset = <1>;
425 sdio: rksdmmc@30010000 {
426 compatible = "rockchip,rk_mmc", "rockchip,rk3228-sdmmc";
427 reg = <0x30010000 0x10000>;
428 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
429 #address-cells = <1>;
431 clocks = <&clk_sdio>, <&clk_gates5 11>;
432 clock-names = "clk_mmc", "hclk_mmc";
434 fifo-depth = <0x100>;
436 cru_regsbase = <0x124>;
437 cru_reset_offset = <2>;
441 compatible = "rockchip,rk3228-pinctrl";
442 rockchip,grf = <&grf>;
443 #address-cells = <1>;
447 gpio0: gpio0@11110000 {
448 compatible = "rockchip,gpio-bank";
449 reg = <0x11110000 0x100>;
450 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
451 clocks = <&clk_gates9 9>;
456 interrupt-controller;
457 #interrupt-cells = <2>;
460 gpio1: gpio1@11120000 {
461 compatible = "rockchip,gpio-bank";
462 reg = <0x11120000 0x100>;
463 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
464 clocks = <&clk_gates9 9>;
469 interrupt-controller;
470 #interrupt-cells = <2>;
473 gpio2: gpio2@11130000 {
474 compatible = "rockchip,gpio-bank";
475 reg = <0x11130000 0x100>;
476 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
477 clocks = <&clk_gates9 10>;
482 interrupt-controller;
483 #interrupt-cells = <2>;
486 gpio3: gpio3@11140000 {
487 compatible = "rockchip,gpio-bank";
488 reg = <0x11140000 0x100>;
489 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
490 clocks = <&clk_gates9 11>;
495 interrupt-controller;
496 #interrupt-cells = <2>;
499 pcfg_pull_up: pcfg-pull-up {
503 pcfg_pull_down: pcfg-pull-down {
507 pcfg_pull_none: pcfg-pull-none {
511 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
512 drive-strength = <8>;
515 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma {
516 drive-strength = <12>;
519 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
521 drive-strength = <8>;
524 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
525 drive-strength = <4>;
528 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
530 drive-strength = <4>;
533 pcfg_pull_down_drv_12ma: pcfg-pull-down-drv-12ma {
535 drive-strength = <12>;
538 pcfg_output_high: pcfg-output-high {
542 pcfg_output_low: pcfg-output-low {
546 pcfg_input_high: pcfg-input-high {
552 i2c0_xfer: i2c0-xfer {
553 rockchip,pins = <0 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,
554 <0 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>;
556 i2c0_gpio: i2c0-gpio {
557 rockchip,pins = <0 GPIO_A0 RK_FUNC_GPIO &pcfg_pull_none>,
558 <0 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_none>;
560 i2c0_sleep: i2c0-sleep {
561 rockchip,pins = <0 GPIO_A0 RK_FUNC_GPIO &pcfg_input_high>,
562 <0 GPIO_A1 RK_FUNC_GPIO &pcfg_input_high>;
567 i2c1_xfer: i2c1-xfer {
568 rockchip,pins = <0 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,
569 <0 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>;
571 i2c1_gpio: i2c1-gpio {
572 rockchip,pins = <0 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_none>,
573 <0 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_none>;
575 i2c1_sleep: i2c1-sleep {
576 rockchip,pins = <0 GPIO_A2 RK_FUNC_GPIO &pcfg_input_high>,
577 <0 GPIO_A3 RK_FUNC_GPIO &pcfg_input_high>;
583 i2c2_xfer: i2c2-xfer {
584 rockchip,pins = <2 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,
585 <2 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>;
587 i2c2_gpio: i2c2-gpio {
588 rockchip,pins = <2 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_none>,
589 <2 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>;
591 i2c2_sleep: i2c2-sleep {
592 rockchip,pins = <2 GPIO_C5 RK_FUNC_GPIO &pcfg_input_high>,
593 <2 GPIO_C4 RK_FUNC_GPIO &pcfg_input_high>;
598 i2c3_xfer: i2c3-xfer {
599 rockchip,pins = <0 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,
600 <0 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>;
602 i2c3_gpio: i2c3-gpio {
603 rockchip,pins = <0 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_none>,
604 <0 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_none>;
606 i2c3_sleep: i2c3-sleep {
607 rockchip,pins = <0 GPIO_A6 RK_FUNC_GPIO &pcfg_input_high>,
608 <0 GPIO_A7 RK_FUNC_GPIO &pcfg_input_high>;
613 uart0_xfer: uart0-xfer {
614 rockchip,pins = <2 GPIO_D2 RK_FUNC_1 &pcfg_pull_up>,
615 <2 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
618 uart0_cts: uart0-cts {
619 rockchip,pins = <2 GPIO_D5 RK_FUNC_1 &pcfg_pull_none>;
622 uart0_rts: uart0-rts {
623 rockchip,pins = <0 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
626 uart0_rts_gpio: uart0-rts-gpio {
627 rockchip,pins = <0 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>;
632 uart1_xfer: uart1-xfer {
633 rockchip,pins = <1 GPIO_B2 RK_FUNC_1 &pcfg_pull_up>,
634 <1 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>;
637 uart1_cts: uart1-cts {
638 rockchip,pins = <1 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>;
641 uart1_rts: uart1-rts {
642 rockchip,pins = <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;
647 uart11_xfer: uart11-xfer {
648 rockchip,pins = <3 GPIO_B6 RK_FUNC_1 &pcfg_pull_up>,
649 <3 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;
652 uart11_cts: uart11-cts {
653 rockchip,pins = <3 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>;
656 uart11_rts: uart11-rts {
657 rockchip,pins = <3 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>;
662 uart2_xfer: uart2-xfer {
663 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up>,
664 <1 GPIO_C3 RK_FUNC_2 &pcfg_pull_none>;
667 uart2_cts: uart2-cts {
668 rockchip,pins = <0 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>;
671 uart2_rts: uart2-rts {
672 rockchip,pins = <0 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>;
677 uart21_xfer: uart21-xfer {
678 rockchip,pins = <1 GPIO_B2 RK_FUNC_2 &pcfg_pull_up>,
679 <1 GPIO_B1 RK_FUNC_2 &pcfg_pull_none>;
685 rockchip,pins = <0 GPIO_B1 RK_FUNC_2 &pcfg_pull_up>;
688 rockchip,pins = <0 GPIO_B6 RK_FUNC_2 &pcfg_pull_up>;
691 rockchip,pins = <0 GPIO_B3 RK_FUNC_2 &pcfg_pull_up>;
694 rockchip,pins = <0 GPIO_B5 RK_FUNC_2 &pcfg_pull_up>;
697 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_up>;
703 rockchip,pins = <0 GPIO_C7 RK_FUNC_2 &pcfg_pull_up>;
706 rockchip,pins = <2 GPIO_A2 RK_FUNC_2 &pcfg_pull_up>;
709 rockchip,pins = <2 GPIO_A0 RK_FUNC_2 &pcfg_pull_up>;
712 rockchip,pins = <2 GPIO_A1 RK_FUNC_2 &pcfg_pull_up>;
715 rockchip,pins = <2 GPIO_A3 RK_FUNC_2 &pcfg_pull_up>;
721 rockchip,pins = <0 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>;
725 rockchip,pins = <0 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>;
728 i2s_lrckrx:i2s-lrckrx {
729 rockchip,pins = <0 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;
732 i2s_lrcktx:i2s-lrcktx {
733 rockchip,pins = <0 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>;
737 rockchip,pins = <0 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>;
741 rockchip,pins = <0 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;
745 rockchip,pins = <1 GPIO_A2 RK_FUNC_2 &pcfg_pull_none>;
749 rockchip,pins = <1 GPIO_A4 RK_FUNC_2 &pcfg_pull_none>;
753 rockchip,pins = <1 GPIO_A5 RK_FUNC_2 &pcfg_pull_none>;
757 rockchip,pins = <0 GPIO_B0 RK_FUNC_GPIO &pcfg_pull_none>,
758 <0 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_none>,
759 <0 GPIO_B3 RK_FUNC_GPIO &pcfg_pull_none>,
760 <0 GPIO_B4 RK_FUNC_GPIO &pcfg_pull_none>,
761 <0 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_none>,
762 <0 GPIO_B5 RK_FUNC_GPIO &pcfg_pull_none>,
763 <1 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_none>,
764 <1 GPIO_A4 RK_FUNC_GPIO &pcfg_pull_none>,
765 <1 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_none>;
770 spdif0_tx: spdif0-tx {
771 rockchip,pins = <3 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
776 spdif1_tx: spdif1-tx {
777 rockchip,pins = <3 GPIO_D7 RK_FUNC_2 &pcfg_pull_none>;
782 sdmmc_clk: sdmmc-clk {
783 rockchip,pins = <1 GPIO_C0 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
786 sdmmc_cmd: sdmmc-cmd {
787 rockchip,pins = <1 GPIO_B7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
790 sdmmc_dectn: sdmmc-dectn {
791 rockchip,pins = <1 GPIO_C1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
794 sdmmc_wrprt: sdmmc-wrprt {
795 rockchip,pins = <1 GPIO_A7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
798 sdmmc_pwren: sdmmc-pwren {
799 rockchip,pins = <1 GPIO_B6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
802 sdmmc_bus1: sdmmc-bus1 {
803 rockchip,pins = <1 GPIO_C2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
806 sdmmc_bus4: sdmmc-bus4 {
807 rockchip,pins = <1 GPIO_C2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
808 <1 GPIO_C3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
809 <1 GPIO_C4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
810 <1 GPIO_C5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
813 sdmmc_gpio: sdmmc-gpio {
814 rockchip,pins = <1 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
815 <1 GPIO_B7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
816 <1 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
817 <1 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
818 <1 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
819 <1 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
820 <1 GPIO_C3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
821 <1 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
822 <1 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;
827 sdio0_bus1: sdio0-bus1 {
828 rockchip,pins = <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
831 sdio0_bus4: sdio0-bus4 {
832 rockchip,pins = <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
833 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
834 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
835 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
838 sdio0_cmd: sdio0-cmd {
839 rockchip,pins = <0 GPIO_A3 RK_FUNC_2 &pcfg_pull_up_drv_4ma>;
842 sdio0_clk: sdio0-clk {
843 rockchip,pins = <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
846 sdio0_pwren: sdio0-pwren {
847 rockchip,pins = <0 GPIO_D6 RK_FUNC_1 &pcfg_pull_up>;
850 sdio0_gpio: sdio0-gpio {
851 rockchip,pins = <0 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
852 <1 GPIO_A0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
853 <0 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
854 <1 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
855 <1 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
856 <1 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
857 <1 GPIO_A4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;
863 sdio1_bus1: sdio1-bus1 {
864 rockchip,pins = <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
867 sdio1_bus4: sdio1-bus4 {
868 rockchip,pins = <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
869 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
870 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
871 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
874 sdio1_cmd: sdio1-cmd {
875 rockchip,pins = <0 GPIO_A3 RK_FUNC_2 &pcfg_pull_up_drv_4ma>;
878 sdio1_clk: sdio1-clk {
879 rockchip,pins = <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
882 sdio1_pwren: sdio1-pwren {
883 rockchip,pins = <0 GPIO_D6 RK_FUNC_1 &pcfg_pull_up>;
886 sdio1_gpio: sdio1-gpio {
887 rockchip,pins = <0 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
888 <1 GPIO_A0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
889 <0 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
890 <1 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
891 <1 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
892 <1 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,
893 <1 GPIO_A4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;
899 rockchip,pins = <2 GPIO_A7 RK_FUNC_2 &pcfg_pull_none_drv_8ma>;
903 rockchip,pins = <1 GPIO_C6 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
906 emmc_pwren: emmc-pwren {
907 rockchip,pins = <2 GPIO_A5 RK_FUNC_2 &pcfg_pull_none>;
910 emmc_rstnout: emmc_rstnout {
911 rockchip,pins = <1 GPIO_C7 RK_FUNC_2 &pcfg_pull_none>;
914 emmc_bus1: emmc-bus1 {
915 rockchip,pins = <1 GPIO_C2 RK_FUNC_1 &pcfg_pull_up_drv_8ma>;
918 emmc_bus4: emmc-bus4 {
919 rockchip,pins = <1 GPIO_C2 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
920 <1 GPIO_C3 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
921 <1 GPIO_C4 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
922 <1 GPIO_C5 RK_FUNC_1 &pcfg_pull_up_drv_8ma>;
928 rockchip,pins = <0 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>;
934 rockchip,pins = <0 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
940 rockchip,pins = <0 GPIO_D4 RK_FUNC_1 &pcfg_pull_none>;
945 pwmir_pin: pwmir-pin {
946 rockchip,pins = <3 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>;
951 pwm10_pin: pwm10-pin {
952 rockchip,pins = <3 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>;
957 pwm11_pin: pwm11-pin {
958 rockchip,pins = <0 GPIO_D6 RK_FUNC_2 &pcfg_pull_none>;
963 pwm12_pin: pwm12-pin {
964 rockchip,pins = <1 GPIO_B4 RK_FUNC_2 &pcfg_pull_none>;
969 pwm1ir_pin: pwm1ir-pin {
970 rockchip,pins = <1 GPIO_B3 RK_FUNC_2 &pcfg_pull_none>;
975 rgmii_pins: rgmii-pins {
976 rockchip,pins = <2 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,
977 <2 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,
978 <2 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,
979 <2 GPIO_C3 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
980 <2 GPIO_C2 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
981 <2 GPIO_C6 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
982 <2 GPIO_C7 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
983 <2 GPIO_B1 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
984 <2 GPIO_B5 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
985 <2 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,
986 <2 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,
987 <2 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,
988 <2 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>,
989 <2 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>,
990 <2 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>;
993 rmii_pins: rmii-pins {
994 rockchip,pins = <2 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,
995 <2 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,
996 <2 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,
997 <2 GPIO_C3 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
998 <2 GPIO_C2 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
999 <2 GPIO_B5 RK_FUNC_1 &pcfg_pull_none_drv_12ma>,
1000 <2 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,
1001 <2 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,
1002 <2 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>,
1003 <2 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;
1008 tsadc_int: tsadc-int {
1009 rockchip,pins = <0 GPIO_D0 RK_FUNC_2 &pcfg_pull_none>;
1011 tsadc_gpio: tsadc-gpio {
1012 rockchip,pins = <0 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_none>;
1017 hdmi_cec: hdmi-cec {
1018 rockchip,pins = <0 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>;
1021 hdmi_hpd: hdmi-hpd {
1022 rockchip,pins = <0 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;
1027 hdmii2c_xfer: hdmii2c-xfer {
1028 rockchip,pins = <0 GPIO_A6 RK_FUNC_2 &pcfg_pull_none>,
1029 <0 GPIO_A7 RK_FUNC_2 &pcfg_pull_none>;