3 #include <dt-bindings/interrupt-controller/arm-gic.h>
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/pinctrl/rockchip.h>
6 #include <dt-bindings/pinctrl/rockchip-rk3288.h>
8 #include "skeleton.dtsi"
9 #include "rk3368-clocks.dtsi"
12 compatible = "rockchip,rk3368";
14 interrupt-parent = <&gic>;
41 compatible = "arm,cortex-a53","arm,armv8";
47 bootargs = "console=ttyS2 earlyprintk=uart8250-32bit,0xff690000";
51 compatible = "arm,armv8-timer";
52 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
53 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
54 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
55 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
56 clock-frequency = <24000000>;
60 device_type = "memory";
61 reg = <0x0 0x00000000 0x0 0x20000000>;
64 gic: interrupt-controller@ffb70000 {
65 compatible = "arm,cortex-a15-gic";
66 #interrupt-cells = <3>;
69 reg = <0x0 0xffb71000 0 0x1000>,
70 <0x0 0xffb72000 0 0x1000>;
73 pmu_grf: syscon@ff738000 {
74 compatible = "rockchip,rk3388-pmu-grf", "syscon";
75 reg = <0x0 0xff738000 0x0 0x100>;
78 sgrf: syscon@ff740000 {
79 compatible = "rockchip,rk3388-sgrf", "syscon";
80 reg = <0x0 0xff740000 0x0 0x1000>;
84 grf: syscon@ff770000 {
85 compatible = "rockchip,rk3388-grf", "syscon";
86 reg = <0x0 0xff770000 0x0 0x1000>;
90 compatible = "rockchip,rk30-i2c";
91 reg = <0x0 0xff650000 0x0 0x1000>;
92 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
95 pinctrl-names = "default", "gpio";
96 pinctrl-0 = <&i2c0_xfer>;
97 pinctrl-1 = <&i2c0_gpio>;
98 gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
99 //clocks = <&clk_gates10 2>;
100 rockchip,check-idle = <1>;
105 compatible = "rockchip,rk30-i2c";
106 reg = <0x0 0xff140000 0x0 0x1000>;
107 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
108 #address-cells = <1>;
110 pinctrl-names = "default", "gpio";
111 pinctrl-0 = <&i2c1_xfer>;
112 pinctrl-1 = <&i2c1_gpio>;
113 gpios = <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C6 GPIO_ACTIVE_LOW>;
114 //clocks = <&clk_gates10 3>;
115 rockchip,check-idle = <1>;
120 compatible = "rockchip,rk30-i2c";
121 reg = <0x0 0xff660000 0x0 0x1000>;
122 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
123 #address-cells = <1>;
125 pinctrl-names = "default", "gpio";
126 pinctrl-0 = <&i2c2_xfer>;
127 pinctrl-1 = <&i2c2_gpio>;
128 gpios = <&gpio3 GPIO_D7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_B1 GPIO_ACTIVE_LOW>;
129 //clocks = <&clk_gates6 13>;
130 rockchip,check-idle = <1>;
135 compatible = "rockchip,rk30-i2c";
136 reg = <0x0 0xff150000 0x0 0x1000>;
137 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
138 #address-cells = <1>;
140 pinctrl-names = "default", "gpio";
141 pinctrl-0 = <&i2c3_xfer>;
142 pinctrl-1 = <&i2c3_gpio>;
143 gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_LOW>, <&gpio1 GPIO_C0 GPIO_ACTIVE_LOW>;
144 //clocks = <&clk_gates6 14>;
145 rockchip,check-idle = <1>;
150 compatible = "rockchip,rk30-i2c";
151 reg = <0x0 0xff160000 0x0 0x1000>;
152 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
153 #address-cells = <1>;
155 pinctrl-names = "default", "gpio";
156 pinctrl-0 = <&i2c4_xfer>;
157 pinctrl-1 = <&i2c4_gpio>;
158 gpios = <&gpio3 GPIO_D0 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D1 GPIO_ACTIVE_LOW>;
159 //clocks = <&clk_gates6 15>;
160 rockchip,check-idle = <1>;
165 compatible = "rockchip,rk30-i2c";
166 reg = <0x0 0xff170000 0x0 0x1000>;
167 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
168 #address-cells = <1>;
170 pinctrl-names = "default", "gpio";
171 pinctrl-0 = <&i2c5_xfer>;
172 pinctrl-1 = <&i2c5_gpio>;
173 gpios = <&gpio3 GPIO_D2 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
174 //clocks = <&clk_gates7 0>;
175 rockchip,check-idle = <1>;
179 uart_bt: serial@ff180000 {
180 compatible = "rockchip,serial";
181 reg = <0x0 0xff180000 0x0 0x100>;
182 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
183 clock-frequency = <24000000>;
184 clocks = <&xin24m>, <&xin24m>;
185 clock-names = "sclk_uart", "pclk_uart";
188 //dmas = <&pdma1 1>, <&pdma1 2>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
195 uart_bb: serial@ff190000 {
196 compatible = "rockchip,serial";
197 reg = <0x0 0xff190000 0x0 0x100>;
198 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
199 clock-frequency = <24000000>;
200 clocks = <&xin24m>, <&xin24m>;
201 clock-names = "sclk_uart", "pclk_uart";
204 //dmas = <&pdma1 3>, <&pdma1 4>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
211 uart_dbg: serial@ff690000 {
212 compatible = "rockchip,serial";
213 reg = <0x0 0xff690000 0x0 0x100>;
214 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
215 clock-frequency = <24000000>;
216 clocks = <&xin24m>, <&xin24m>;
217 clock-names = "sclk_uart", "pclk_uart";
220 //dmas = <&pdma0 4>, <&pdma0 5>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&uart2_xfer>;
224 //status = "disabled";
227 uart_gps: serial@ff1b0000 {
228 compatible = "rockchip,serial";
229 reg = <0x0 0xff1b0000 0x0 0x100>;
230 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
231 clock-frequency = <24000000>;
232 clocks = <&xin24m>, <&xin24m>;
233 clock-names = "sclk_uart", "pclk_uart";
234 current-speed = <115200>;
237 //dmas = <&pdma1 7>, <&pdma1 8>;
239 pinctrl-names = "default";
240 pinctrl-0 = <&uart3_xfer &uart3_cts &uart3_rts>;
244 uart_exp: serial@ff1c0000 {
245 compatible = "rockchip,serial";
246 reg = <0x0 0xff1c0000 0x0 0x100>;
247 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
248 clock-frequency = <24000000>;
249 clocks = <&xin24m>, <&xin24m>;
250 clock-names = "sclk_uart", "pclk_uart";
253 //dmas = <&pdma1 9>, <&pdma1 10>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
261 compatible = "rockchip,rockchip-spi";
262 reg = <0x0 0xff110000 0x0 0x1000>;
263 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
264 #address-cells = <1>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0 &spi0_cs1>;
268 rockchip,spi-src-clk = <0>;
270 //clocks =<&clk_spi0>, <&clk_gates6 4>;
271 //clock-names = "spi","pclk_spi0";
272 //dmas = <&pdma1 11>, <&pdma1 12>;
274 //dma-names = "tx", "rx";
279 compatible = "rockchip,rockchip-spi";
280 reg = <0x0 0xff120000 0x0 0x1000>;
281 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
282 #address-cells = <1>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
286 rockchip,spi-src-clk = <1>;
288 //clocks = <&clk_spi1>, <&clk_gates6 5>;
289 //clock-names = "spi","pclk_spi1";
290 //dmas = <&pdma1 13>, <&pdma1 14>;
292 //dma-names = "tx", "rx";
297 compatible = "rockchip,rockchip-spi";
298 reg = <0x0 0xff130000 0x0 0x1000>;
299 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
300 #address-cells = <1>;
302 pinctrl-names = "default";
303 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
304 rockchip,spi-src-clk = <2>;
306 //clocks = <&clk_spi2>, <&clk_gates6 6>;
307 //clock-names = "spi","pclk_spi2";
308 //dmas = <&pdma1 15>, <&pdma1 16>;
310 //dma-names = "tx", "rx";
316 compatible = "rockchip,rk3368-pinctrl";
317 rockchip,grf = <&grf>;
318 rockchip,pmu = <&pmu_grf>;
319 #address-cells = <2>;
323 gpio0: gpio0@ff750000 {
324 compatible = "rockchip,gpio-bank";
325 reg = <0x0 0xff750000 0x0 0x100>;
326 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
327 //clocks = <&clk_gates17 4>;
332 interrupt-controller;
333 #interrupt-cells = <2>;
336 gpio1: gpio1@ff780000 {
337 compatible = "rockchip,gpio-bank";
338 reg = <0x0 0xff780000 0x0 0x100>;
339 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
340 //clocks = <&clk_gates14 1>;
345 interrupt-controller;
346 #interrupt-cells = <2>;
349 gpio2: gpio2@ff790000 {
350 compatible = "rockchip,gpio-bank";
351 reg = <0x0 0xff790000 0x0 0x100>;
352 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
353 //clocks = <&clk_gates14 2>;
358 interrupt-controller;
359 #interrupt-cells = <2>;
362 gpio3: gpio3@ff7a0000 {
363 compatible = "rockchip,gpio-bank";
364 reg = <0x0 0xff7a0000 0x0 0x100>;
365 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
366 //clocks = <&clk_gates14 3>;
371 interrupt-controller;
372 #interrupt-cells = <2>;
375 pcfg_pull_up: pcfg-pull-up {
379 pcfg_pull_down: pcfg-pull-down {
383 pcfg_pull_none: pcfg-pull-none {
387 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
388 drive-strength = <8>;
391 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
393 drive-strength = <8>;
396 pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
397 drive-strength = <4>;
400 pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
402 drive-strength = <4>;
405 pcfg_output_high: pcfg-output-high {
409 pcfg_output_low: pcfg-output-low {
414 i2c0_xfer: i2c0-xfer {
415 rockchip,pins = <0 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,
416 <0 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>;
418 i2c0_gpio: i2c0-gpio {
419 rockchip,pins = <0 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_none>,
420 <0 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_none>;
425 i2c1_xfer: i2c1-xfer {
426 rockchip,pins = <2 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,
427 <2 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>;
429 i2c1_gpio: i2c1-gpio {
430 rockchip,pins = <2 GPIO_C5 RK_FUNC_GPIO &pcfg_pull_none>,
431 <2 GPIO_C6 RK_FUNC_GPIO &pcfg_pull_none>;
436 i2c2_xfer: i2c2-xfer {
437 rockchip,pins = <3 GPIO_D7 RK_FUNC_2 &pcfg_pull_none>,
438 <0 GPIO_B1 RK_FUNC_2 &pcfg_pull_none>;
440 i2c2_gpio: i2c2-gpio {
441 rockchip,pins = <3 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_none>,
442 <0 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_none>;
447 i2c3_xfer: i2c3-xfer {
448 rockchip,pins = <1 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,
449 <1 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
451 i2c3_gpio: i2c3-gpio {
452 rockchip,pins = <1 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,
453 <1 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>;
458 i2c4_xfer: i2c4-xfer {
459 rockchip,pins = <3 GPIO_D0 RK_FUNC_2 &pcfg_pull_none>,
460 <3 GPIO_D1 RK_FUNC_2 &pcfg_pull_none>;
462 i2c4_gpio: i2c4-gpio {
463 rockchip,pins = <3 GPIO_D0 RK_FUNC_GPIO &pcfg_pull_none>,
464 <3 GPIO_D1 RK_FUNC_GPIO &pcfg_pull_none>;
469 i2c5_xfer: i2c5-xfer {
470 rockchip,pins = <3 GPIO_D2 RK_FUNC_2 &pcfg_pull_none>,
471 <3 GPIO_D3 RK_FUNC_2 &pcfg_pull_none>;
473 i2c5_gpio: i2c5-gpio {
474 rockchip,pins = <3 GPIO_D2 RK_FUNC_GPIO &pcfg_pull_none>,
475 <3 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>;
480 uart0_xfer: uart0-xfer {
481 rockchip,pins = <2 GPIO_D0 RK_FUNC_1 &pcfg_pull_up>,
482 <2 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>;
485 uart0_cts: uart0-cts {
486 rockchip,pins = <2 GPIO_D2 RK_FUNC_1 &pcfg_pull_none>;
489 uart0_rts: uart0-rts {
490 rockchip,pins = <2 GPIO_D3 RK_FUNC_1 &pcfg_pull_none>;
493 uart0_rts_gpio: uart0-rts-gpio {
494 rockchip,pins = <2 GPIO_D3 RK_FUNC_GPIO &pcfg_pull_none>;
499 uart1_xfer: uart1-xfer {
500 rockchip,pins = <0 GPIO_C4 RK_FUNC_3 &pcfg_pull_up>,
501 <0 GPIO_C5 RK_FUNC_3 &pcfg_pull_none>;
504 uart1_cts: uart1-cts {
505 rockchip,pins = <0 GPIO_C6 RK_FUNC_3 &pcfg_pull_none>;
508 uart1_rts: uart1-rts {
509 rockchip,pins = <0 GPIO_C7 RK_FUNC_3 &pcfg_pull_none>;
514 uart2_xfer: uart2-xfer {
515 rockchip,pins = <2 GPIO_A6 RK_FUNC_2 &pcfg_pull_up>,
516 <2 GPIO_A5 RK_FUNC_2 &pcfg_pull_none>;
521 uart3_xfer: uart3-xfer {
522 rockchip,pins = <3 GPIO_D5 RK_FUNC_2 &pcfg_pull_up>,
523 <3 GPIO_D6 RK_FUNC_2 &pcfg_pull_none>;
526 uart3_cts: uart3-cts {
527 rockchip,pins = <3 GPIO_C0 RK_FUNC_2 &pcfg_pull_none>;
530 uart3_rts: uart3-rts {
531 rockchip,pins = <3 GPIO_C1 RK_FUNC_2 &pcfg_pull_none>;
536 uart4_xfer: uart4-xfer {
537 rockchip,pins = <0 GPIO_D3 RK_FUNC_3 &pcfg_pull_up>,
538 <0 GPIO_D2 RK_FUNC_3 &pcfg_pull_none>;
541 uart4_cts: uart4-cts {
542 rockchip,pins = <0 GPIO_D0 RK_FUNC_3 &pcfg_pull_none>;
545 uart4_rts: uart4-rts {
546 rockchip,pins = <0 GPIO_D1 RK_FUNC_3 &pcfg_pull_none>;
552 rockchip,pins = <1 GPIO_D5 RK_FUNC_2 &pcfg_pull_up>;
555 rockchip,pins = <1 GPIO_D0 RK_FUNC_3 &pcfg_pull_up>;
558 rockchip,pins = <1 GPIO_C7 RK_FUNC_3 &pcfg_pull_up>;
561 rockchip,pins = <1 GPIO_C6 RK_FUNC_3 &pcfg_pull_up>;
564 rockchip,pins = <1 GPIO_D1 RK_FUNC_3 &pcfg_pull_up>;
570 rockchip,pins = <1 GPIO_B6 RK_FUNC_2 &pcfg_pull_up>;
573 rockchip,pins = <1 GPIO_B7 RK_FUNC_2 &pcfg_pull_up>;
576 rockchip,pins = <1 GPIO_C0 RK_FUNC_2 &pcfg_pull_up>;
579 rockchip,pins = <1 GPIO_C1 RK_FUNC_2 &pcfg_pull_up>;
585 rockchip,pins = <0 GPIO_B4 RK_FUNC_2 &pcfg_pull_up>;
588 rockchip,pins = <0 GPIO_B5 RK_FUNC_2 &pcfg_pull_up>;
591 rockchip,pins = <0 GPIO_B2 RK_FUNC_2 &pcfg_pull_up>;
594 rockchip,pins = <0 GPIO_B3 RK_FUNC_2 &pcfg_pull_up>;
600 rockchip,pins = <2 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>;
604 rockchip,pins = <2 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>;
607 i2s_lrckrx:i2s-lrckrx {
608 rockchip,pins = <2 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;
611 i2s_lrcktx:i2s-lrcktx {
612 rockchip,pins = <2 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>;
616 rockchip,pins = <2 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;
620 rockchip,pins = <2 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>;
624 rockchip,pins = <2 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
628 rockchip,pins = <2 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>;
632 rockchip,pins = <2 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>;
636 rockchip,pins = <2 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>,
637 <2 GPIO_B4 RK_FUNC_GPIO &pcfg_pull_none>,
638 <2 GPIO_B5 RK_FUNC_GPIO &pcfg_pull_none>,
639 <2 GPIO_B6 RK_FUNC_GPIO &pcfg_pull_none>,
640 <2 GPIO_B7 RK_FUNC_GPIO &pcfg_pull_none>,
641 <2 GPIO_C0 RK_FUNC_GPIO &pcfg_pull_none>,
642 <2 GPIO_C1 RK_FUNC_GPIO &pcfg_pull_none>,
643 <2 GPIO_C2 RK_FUNC_GPIO &pcfg_pull_none>,
644 <2 GPIO_C3 RK_FUNC_GPIO &pcfg_pull_none>;
650 rockchip,pins = <2 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>;
655 sdmmc_clk: sdmmc-clk {
656 rockchip,pins = <2 GPIO_B1 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
659 sdmmc_cmd: sdmmc-cmd {
660 rockchip,pins = <2 GPIO_B2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
663 sdmmc_dectn: sdmmc-dectn {
664 rockchip,pins = <2 GPIO_B3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
667 sdmmc_bus1: sdmmc-bus1 {
668 rockchip,pins = <2 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
671 sdmmc_bus4: sdmmc-bus4 {
672 rockchip,pins = <2 GPIO_A5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
673 <2 GPIO_A6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
674 <2 GPIO_A7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
675 <2 GPIO_B0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
678 sdmmc_gpio: sdmmc-gpio {
679 rockchip,pins = <2 GPIO_B1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CLK
680 <2 GPIO_B2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CMD
681 <2 GPIO_B3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DET
682 <2 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DO
683 <2 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D1
684 <2 GPIO_A7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D2
685 <2 GPIO_B0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;//D3
690 sdio0_bus1: sdio0-bus1 {
691 rockchip,pins = <2 GPIO_D4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
694 sdio0_bus4: sdio0-bus4 {
695 rockchip,pins = <2 GPIO_D4 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
696 <2 GPIO_D5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
697 <2 GPIO_D6 RK_FUNC_1 &pcfg_pull_up_drv_4ma>,
698 <2 GPIO_D7 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
701 sdio0_cmd: sdio0-cmd {
702 rockchip,pins = <3 GPIO_A0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>;
705 sdio0_clk: sdio0-clk {
706 rockchip,pins = <3 GPIO_A1 RK_FUNC_1 &pcfg_pull_none_drv_4ma>;
709 sdio0_dectn: sdio0-dectn {
710 rockchip,pins = <3 GPIO_A2 RK_FUNC_1 &pcfg_pull_up>;
713 sdio0_wrprt: sdio0-wrprt {
714 rockchip,pins = <3 GPIO_A3 RK_FUNC_1 &pcfg_pull_up>;
717 sdio0_pwren: sdio0-pwren {
718 rockchip,pins = <3 GPIO_A4 RK_FUNC_1 &pcfg_pull_up>;
721 sdio0_bkpwr: sdio0-bkpwr {
722 rockchip,pins = <3 GPIO_A5 RK_FUNC_1 &pcfg_pull_up>;
725 sdio0_int: sdio0-int {
726 rockchip,pins = <3 GPIO_A6 RK_FUNC_1 &pcfg_pull_up>;
729 sdio0_gpio: sdio0-gpio {
730 rockchip,pins = <3 GPIO_A0 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CMD
731 <3 GPIO_A1 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//CLK
732 <3 GPIO_A2 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DET
733 <3 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//wrprt
734 <3 GPIO_A4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//PWREN
735 <3 GPIO_A5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//BKPWR
736 <3 GPIO_A6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//INTN
737 <2 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//DO
738 <2 GPIO_D5 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D1
739 <2 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>,//D2
740 <2 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_up_drv_4ma>;//D3
746 rockchip,pins = <2 GPIO_A4 RK_FUNC_2 &pcfg_pull_none_drv_8ma>;
750 rockchip,pins = <1 GPIO_D2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;
753 emmc_pwren: emmc-pwren {
754 rockchip,pins = <1 GPIO_D3 RK_FUNC_2 &pcfg_pull_none>;
757 emmc_rstnout: emmc_rstnout {
758 rockchip,pins = <2 GPIO_A3 RK_FUNC_2 &pcfg_pull_none>;
761 emmc_bus1: emmc-bus1 {
762 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;//DO
765 emmc_bus4: emmc-bus4 {
766 rockchip,pins = <1 GPIO_C2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//DO
767 <1 GPIO_C3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//D1
768 <1 GPIO_C4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>,//D2
769 <1 GPIO_C5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>;//D3
775 rockchip,pins = <3 GPIO_B0 RK_FUNC_2 &pcfg_pull_none>;
778 vop_pwm_pin:vop-pwm {
779 rockchip,pins = <3 GPIO_B0 RK_FUNC_3 &pcfg_pull_none>;
785 rockchip,pins = <0 GPIO_B0 RK_FUNC_2 &pcfg_pull_none>;
791 rockchip,pins = <3 GPIO_D6 RK_FUNC_3 &pcfg_pull_none>;
796 lcdc_lcdc: lcdc-lcdc {
797 rockchip,pins = <0 GPIO_D7 RK_FUNC_1 &pcfg_pull_none>,//DCLK
798 <0 GPIO_D6 RK_FUNC_1 &pcfg_pull_none>,//DEN
799 <0 GPIO_D4 RK_FUNC_1 &pcfg_pull_none>,//HSYNC
800 <0 GPIO_D5 RK_FUNC_1 &pcfg_pull_none>;//VSYN
803 lcdc_gpio: lcdc-gpio {
804 rockchip,pins = <0 GPIO_D7 RK_FUNC_GPIO &pcfg_pull_none>,//DCLK
805 <0 GPIO_D6 RK_FUNC_GPIO &pcfg_pull_none>,//DEN
806 <0 GPIO_D4 RK_FUNC_GPIO &pcfg_pull_none>,//HSYNC
807 <0 GPIO_D5 RK_FUNC_GPIO &pcfg_pull_none>;//VSYN
812 cif_clkout: cif-clkout {
813 rockchip,pins = <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
816 isp_dvp_d2d9: isp-dvp-d2d9 {
817 rockchip,pins = <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
818 <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
819 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
820 <1 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
821 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
822 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_none>,//cif_data7
823 <1 GPIO_A6 RK_FUNC_1 &pcfg_pull_none>,//cif_data8
824 <1 GPIO_A7 RK_FUNC_1 &pcfg_pull_none>,//cif_data9
825 <1 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>,//cif_sync
826 <1 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>,//cif_href
827 <1 GPIO_B2 RK_FUNC_1 &pcfg_pull_none>,//cif_clkin
828 <1 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
831 isp_dvp_d0d1: isp-dvp-d0d1 {
832 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
833 <1 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>;//cif_data1
836 isp_dvp_d10d11:isp_d10d11 {
837 rockchip,pins = <1 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//cif_data10
838 <1 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>;//cif_data11
841 isp_dvp_d0d7: isp-dvp-d0d7 {
842 rockchip,pins = <1 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
843 <1 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>,//cif_data1
844 <1 GPIO_A0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
845 <1 GPIO_A1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
846 <1 GPIO_A2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
847 <1 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
848 <1 GPIO_A4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
849 <1 GPIO_A5 RK_FUNC_1 &pcfg_pull_none>;//cif_data7
852 isp_shutter: isp-shutter {
853 rockchip,pins = <3 GPIO_C3 RK_FUNC_2 &pcfg_pull_none>, //SHUTTEREN
854 <3 GPIO_C6 RK_FUNC_2 &pcfg_pull_none>;//SHUTTERTRIG
857 isp_flash_trigger: isp-flash-trigger {
858 rockchip,pins = <3 GPIO_C4 RK_FUNC_2 &pcfg_pull_none>; //ISP_FLASHTRIGOU
861 isp_prelight: isp-prelight {
862 rockchip,pins = <3 GPIO_C5 RK_FUNC_2 &pcfg_pull_none>;//ISP_PRELIGHTTRIG
865 isp_flash_trigger_as_gpio: isp_flash_trigger_as_gpio {
866 rockchip,pins = <3 GPIO_C4 RK_FUNC_GPIO &pcfg_pull_none>;//ISP_FLASHTRIGOU
872 rockchip,pins = <3 GPIO_B6 RK_FUNC_2 &pcfg_pull_none>;
876 rockchip,pins = <3 GPIO_B7 RK_FUNC_2 &pcfg_pull_none>;
880 gps_rfclk: gps-rfclk {
881 rockchip,pins = <3 GPIO_C0 RK_FUNC_3 &pcfg_pull_none>;
887 rockchip,pins = <3 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>;
890 mac_txpins: mac-txpins {
891 rockchip,pins = <3 GPIO_B0 RK_FUNC_1 &pcfg_pull_none>,//TXD0
892 <3 GPIO_B1 RK_FUNC_1 &pcfg_pull_none>,//TXD1
893 <3 GPIO_B2 RK_FUNC_1 &pcfg_pull_none>,//TXD2
894 <3 GPIO_B6 RK_FUNC_1 &pcfg_pull_none>,//TXD3
895 <3 GPIO_B5 RK_FUNC_1 &pcfg_pull_none>,//TXEN
896 <3 GPIO_D4 RK_FUNC_1 &pcfg_pull_none>;//TXCLK
899 mac_rxpins: mac-rxpins {
900 rockchip,pins = <3 GPIO_B7 RK_FUNC_1 &pcfg_pull_none>,//RXD0
901 <3 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>,//RXD1
902 <3 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>,//RXD2
903 <3 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>,//RXD3
904 <3 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>,//RXDV
905 <3 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>,//RXER
906 <3 GPIO_D1 RK_FUNC_1 &pcfg_pull_none>,//RXCLK
907 <3 GPIO_B4 RK_FUNC_1 &pcfg_pull_none>;//COL
911 rockchip,pins = <3 GPIO_B3 RK_FUNC_1 &pcfg_pull_none>; //CRS
914 mac_mdpins: mac-mdpins {
915 rockchip,pins = <3 GPIO_D0 RK_FUNC_1 &pcfg_pull_none>,//MDIO
916 <3 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>;//MDC
921 tsadc_int: tsadc-int {
922 rockchip,pins = <0 GPIO_A3 RK_FUNC_1 &pcfg_pull_none>;
924 tsadc_gpio: tsadc-gpio {
925 rockchip,pins = <0 GPIO_A3 RK_FUNC_GPIO &pcfg_pull_none>;