1 #include <dt-bindings/interrupt-controller/arm-gic.h>
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/pinctrl/rockchip.h>
4 #include <dt-bindings/pinctrl/rockchip-rk3288.h>
7 pinctrl: pinctrl@ff770000 {
8 compatible = "rockchip,rk3288-pinctrl";
9 reg = <0xff770000 0x140>,
12 reg-names = "base", "pull", "drv";
17 gpio0: gpio0@ff750000 {
18 compatible = "rockchip,rk3288-gpio-bank0";
19 reg = <0xff750000 0x100>,
23 reg-names = "base", "mux_bank0", "pull_bank0", "drv_bank0";
24 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
25 clocks = <&clk_gates17 4>;
31 #interrupt-cells = <2>;
34 gpio1: gpio1@ff780000 {
35 compatible = "rockchip,gpio-bank";
36 reg = <0xff780000 0x100>;
37 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
38 clocks = <&clk_gates14 1>;
44 #interrupt-cells = <2>;
47 gpio2: gpio2@ff790000 {
48 compatible = "rockchip,gpio-bank";
49 reg = <0xff790000 0x100>;
50 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
51 clocks = <&clk_gates14 2>;
57 #interrupt-cells = <2>;
60 gpio3: gpio3@ff7a0000 {
61 compatible = "rockchip,gpio-bank";
62 reg = <0xff7a0000 0x100>;
63 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
64 clocks = <&clk_gates14 3>;
70 #interrupt-cells = <2>;
73 gpio4: gpio4@ff7b0000 {
74 compatible = "rockchip,gpio-bank";
75 reg = <0xff7b0000 0x100>;
76 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
77 clocks = <&clk_gates14 4>;
83 #interrupt-cells = <2>;
86 gpio5: gpio5@ff7c0000 {
87 compatible = "rockchip,gpio-bank";
88 reg = <0xff7c0000 0x100>;
89 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
90 clocks = <&clk_gates14 5>;
96 #interrupt-cells = <2>;
99 gpio6: gpio6@ff7d0000 {
100 compatible = "rockchip,gpio-bank";
101 reg = <0xff7d0000 0x100>;
102 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
103 clocks = <&clk_gates14 6>;
108 interrupt-controller;
109 #interrupt-cells = <2>;
112 gpio7: gpio7@ff7e0000 {
113 compatible = "rockchip,gpio-bank";
114 reg = <0xff7e0000 0x100>;
115 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
116 clocks = <&clk_gates14 7>;
121 interrupt-controller;
122 #interrupt-cells = <2>;
125 gpio8: gpio8@ff7f0000 {
126 compatible = "rockchip,gpio-bank";
127 reg = <0xff7f0000 0x100>;
128 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
129 clocks = <&clk_gates14 8>;
134 interrupt-controller;
135 #interrupt-cells = <2>;
138 gpio15: gpio15@ff7f2000 {
139 compatible = "rockchip,gpio-bank";
140 reg = <0xff7f2000 0x100>;
141 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;//127 = 160-32-1
142 clocks = <&clk_gates14 8>;
147 interrupt-controller;
148 #interrupt-cells = <2>;
151 pcfg_pull_up: pcfg_pull_up {
155 pcfg_pull_down: pcfg_pull_down {
159 pcfg_pull_none: pcfg_pull_none {
164 uart0_xfer: uart0-xfer {
165 rockchip,pins = <UART0BT_SIN>,
167 rockchip,pull = <VALUE_PULL_DISABLE>;
168 rockchip,drive = <VALUE_DRV_DEFAULT>;
169 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
172 uart0_cts: uart0-cts {
173 rockchip,pins = <UART0BT_CTSN>;
174 rockchip,pull = <VALUE_PULL_DISABLE>;
175 rockchip,drive = <VALUE_DRV_DEFAULT>;
176 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
179 uart0_rts: uart0-rts {
180 rockchip,pins = <UART0BT_RTSN>;
181 rockchip,pull = <VALUE_PULL_DISABLE>;
182 rockchip,drive = <VALUE_DRV_DEFAULT>;
183 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
186 uart0_rts_gpio: uart0-rts-gpio {
187 rockchip,pins = <FUNC_TO_GPIO(UART0BT_RTSN)>;
188 rockchip,drive = <VALUE_DRV_DEFAULT>;
193 uart1_xfer: uart1-xfer {
194 rockchip,pins = <UART1BB_SIN>,
196 rockchip,pull = <VALUE_PULL_DISABLE>;
197 rockchip,drive = <VALUE_DRV_DEFAULT>;
198 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
201 uart1_cts: uart1-cts {
202 rockchip,pins = <UART1BB_CTSN>;
203 rockchip,pull = <VALUE_PULL_DISABLE>;
204 rockchip,drive = <VALUE_DRV_DEFAULT>;
205 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
208 uart1_rts: uart1-rts {
209 rockchip,pins = <UART1BB_RTSN>;
210 rockchip,pull = <VALUE_PULL_DISABLE>;
211 rockchip,drive = <VALUE_DRV_DEFAULT>;
212 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
215 uart1_rts_gpio: uart1-rts-gpio {
216 rockchip,pins = <FUNC_TO_GPIO(UART1BB_RTSN)>;
217 rockchip,drive = <VALUE_DRV_DEFAULT>;
222 uart2_xfer: uart2-xfer {
223 rockchip,pins = <UART2DBG_SIN>,
225 rockchip,pull = <VALUE_PULL_DISABLE>;
226 rockchip,drive = <VALUE_DRV_DEFAULT>;
227 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
229 /* no rts / cts for uart2 */
233 uart3_xfer: uart3-xfer {
234 rockchip,pins = <UART3GPS_SIN>,
236 rockchip,pull = <VALUE_PULL_DISABLE>;
237 rockchip,drive = <VALUE_DRV_DEFAULT>;
238 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
241 uart3_cts: uart3-cts {
242 rockchip,pins = <UART3GPS_CTSN>;
243 rockchip,pull = <VALUE_PULL_DISABLE>;
244 rockchip,drive = <VALUE_DRV_DEFAULT>;
245 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
248 uart3_rts: uart3-rts {
249 rockchip,pins = <UART3GPS_RTSN>;
250 rockchip,pull = <VALUE_PULL_DISABLE>;
251 rockchip,drive = <VALUE_DRV_DEFAULT>;
252 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
257 uart4_xfer: uart4-xfer {
258 rockchip,pins = <UART4EXP_SIN>,
260 rockchip,pull = <VALUE_PULL_DISABLE>;
261 rockchip,drive = <VALUE_DRV_DEFAULT>;
262 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
265 uart4_cts: uart4-cts {
266 rockchip,pins = <UART4EXP_CTSN>;
267 rockchip,pull = <VALUE_PULL_DISABLE>;
268 rockchip,drive = <VALUE_DRV_DEFAULT>;
269 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
272 uart4_rts: uart4-rts {
273 rockchip,pins = <UART4EXP_RTSN>;
274 rockchip,pull = <VALUE_PULL_DISABLE>;
275 rockchip,drive = <VALUE_DRV_DEFAULT>;
276 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
282 rockchip,pins = <I2C0PMU_SDA>;
283 rockchip,pull = <VALUE_PULL_DISABLE>;
284 rockchip,drive = <VALUE_DRV_DEFAULT>;
285 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
289 rockchip,pins = <I2C0PMU_SCL>;
290 rockchip,pull = <VALUE_PULL_DISABLE>;
291 rockchip,drive = <VALUE_DRV_DEFAULT>;
292 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
295 i2c0_gpio: i2c0-gpio {
296 rockchip,pins = <FUNC_TO_GPIO(I2C0PMU_SDA)>, <FUNC_TO_GPIO(I2C0PMU_SCL)>;
297 rockchip,drive = <VALUE_DRV_DEFAULT>;
303 rockchip,pins = <I2C1SENSOR_SDA>;
304 rockchip,pull = <VALUE_PULL_DISABLE>;
305 rockchip,drive = <VALUE_DRV_DEFAULT>;
306 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
310 rockchip,pins = <I2C1SENSOR_SCL>;
311 rockchip,pull = <VALUE_PULL_DISABLE>;
312 rockchip,drive = <VALUE_DRV_DEFAULT>;
313 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
316 i2c1_gpio: i2c1-gpio {
317 rockchip,pins = <FUNC_TO_GPIO(I2C1SENSOR_SDA)>, <FUNC_TO_GPIO(I2C1SENSOR_SCL)>;
318 rockchip,drive = <VALUE_DRV_DEFAULT>;
324 rockchip,pins = <I2C2AUDIO_SDA>;
325 rockchip,pull = <VALUE_PULL_DISABLE>;
326 rockchip,drive = <VALUE_DRV_DEFAULT>;
327 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
331 rockchip,pins = <I2C2AUDIO_SCL>;
332 rockchip,pull = <VALUE_PULL_DISABLE>;
333 rockchip,drive = <VALUE_DRV_DEFAULT>;
334 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
337 i2c2_gpio: i2c2-gpio {
338 rockchip,pins = <FUNC_TO_GPIO(I2C2AUDIO_SDA)>, <FUNC_TO_GPIO(I2C2AUDIO_SCL)>;
339 rockchip,drive = <VALUE_DRV_DEFAULT>;
345 rockchip,pins = <I2C3CAM_SDA>;
346 rockchip,pull = <VALUE_PULL_DISABLE>;
347 rockchip,drive = <VALUE_DRV_DEFAULT>;
348 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
352 rockchip,pins = <I2C3CAM_SCL>;
353 rockchip,pull = <VALUE_PULL_DISABLE>;
354 rockchip,drive = <VALUE_DRV_DEFAULT>;
355 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
358 i2c3_gpio: i2c3-gpio {
359 rockchip,pins = <FUNC_TO_GPIO(I2C3CAM_SDA)>, <FUNC_TO_GPIO(I2C3CAM_SCL)>;
360 rockchip,drive = <VALUE_DRV_DEFAULT>;
366 rockchip,pins = <I2C4TP_SDA>;
367 rockchip,pull = <VALUE_PULL_DISABLE>;
368 rockchip,drive = <VALUE_DRV_DEFAULT>;
369 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
373 rockchip,pins = <I2C4TP_SCL>;
374 rockchip,pull = <VALUE_PULL_DISABLE>;
375 rockchip,drive = <VALUE_DRV_DEFAULT>;
376 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
379 i2c4_gpio: i2c4-gpio {
380 rockchip,pins = <FUNC_TO_GPIO(I2C4TP_SDA)>, <FUNC_TO_GPIO(I2C4TP_SCL)>;
381 rockchip,drive = <VALUE_DRV_DEFAULT>;
387 rockchip,pins = <EDPHDMII2C_SDA>;
388 rockchip,pull = <VALUE_PULL_DISABLE>;
389 rockchip,drive = <VALUE_DRV_DEFAULT>;
390 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
394 rockchip,pins = <EDPHDMII2C_SCL>;
395 rockchip,pull = <VALUE_PULL_DISABLE>;
396 rockchip,drive = <VALUE_DRV_DEFAULT>;
397 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
400 i2c5_gpio: i2c5-gpio {
401 rockchip,pins = <FUNC_TO_GPIO(EDPHDMII2C_SDA)>, <FUNC_TO_GPIO(EDPHDMII2C_SCL)>;
402 rockchip,drive = <VALUE_DRV_DEFAULT>;
408 rockchip,pins = <SPI0_TXD>;
409 rockchip,pull = <VALUE_PULL_DISABLE>;
410 rockchip,drive = <VALUE_DRV_DEFAULT>;
411 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
415 rockchip,pins = <SPI0_RXD>;
416 rockchip,pull = <VALUE_PULL_DISABLE>;
417 rockchip,drive = <VALUE_DRV_DEFAULT>;
418 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
422 rockchip,pins = <SPI0_CLK>;
423 rockchip,pull = <VALUE_PULL_DISABLE>;
424 rockchip,drive = <VALUE_DRV_DEFAULT>;
425 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
429 rockchip,pins = <SPI0_CS0>;
430 rockchip,pull = <VALUE_PULL_DISABLE>;
431 rockchip,drive = <VALUE_DRV_DEFAULT>;
432 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
436 rockchip,pins = <SPI0_CS1>;
437 rockchip,pull = <VALUE_PULL_DISABLE>;
438 rockchip,drive = <VALUE_DRV_DEFAULT>;
439 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
446 rockchip,pins = <SPI1_TXD>;
447 rockchip,pull = <VALUE_PULL_DISABLE>;
448 rockchip,drive = <VALUE_DRV_DEFAULT>;
449 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
453 rockchip,pins = <SPI1_RXD>;
454 rockchip,pull = <VALUE_PULL_DISABLE>;
455 rockchip,drive = <VALUE_DRV_DEFAULT>;
456 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
460 rockchip,pins = <SPI1_CLK>;
461 rockchip,pull = <VALUE_PULL_DISABLE>;
462 rockchip,drive = <VALUE_DRV_DEFAULT>;
463 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
467 rockchip,pins = <SPI1_CS0>;
468 rockchip,pull = <VALUE_PULL_DISABLE>;
469 rockchip,drive = <VALUE_DRV_DEFAULT>;
470 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
477 rockchip,pins = <SPI2_TXD>;
478 rockchip,pull = <VALUE_PULL_DISABLE>;
479 rockchip,drive = <VALUE_DRV_DEFAULT>;
480 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
484 rockchip,pins = <SPI2_RXD>;
485 rockchip,pull = <VALUE_PULL_DISABLE>;
486 rockchip,drive = <VALUE_DRV_DEFAULT>;
487 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
491 rockchip,pins = <SPI2_CLK>;
492 rockchip,pull = <VALUE_PULL_DISABLE>;
493 rockchip,drive = <VALUE_DRV_DEFAULT>;
494 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
498 rockchip,pins = <SPI2_CS0>;
499 rockchip,pull = <VALUE_PULL_DISABLE>;
500 rockchip,drive = <VALUE_DRV_DEFAULT>;
501 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
505 rockchip,pins = <SPI2_CS1>;
506 rockchip,pull = <VALUE_PULL_DISABLE>;
507 rockchip,drive = <VALUE_DRV_DEFAULT>;
508 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
516 rockchip,pins = <I2S_CLK>;
517 rockchip,pull = <VALUE_PULL_DISABLE>;
518 rockchip,drive = <VALUE_DRV_DEFAULT>;
519 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
524 rockchip,pins = <I2S_SCLK>;
525 rockchip,pull = <VALUE_PULL_DISABLE>;
526 rockchip,drive = <VALUE_DRV_DEFAULT>;
527 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
531 i2s_lrckrx:i2s-lrckrx {
532 rockchip,pins = <I2S_LRCKRX>;
533 rockchip,pull = <VALUE_PULL_DISABLE>;
534 rockchip,drive = <VALUE_DRV_DEFAULT>;
535 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
539 i2s_lrcktx:i2s-lrcktx {
540 rockchip,pins = <I2S_LRCKTX>;
541 rockchip,pull = <VALUE_PULL_DISABLE>;
542 rockchip,drive = <VALUE_DRV_DEFAULT>;
543 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
548 rockchip,pins = <I2S_SDO0>;
549 rockchip,pull = <VALUE_PULL_DISABLE>;
550 rockchip,drive = <VALUE_DRV_DEFAULT>;
551 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
556 rockchip,pins = <I2S_SDO1>;
557 rockchip,pull = <VALUE_PULL_DISABLE>;
558 rockchip,drive = <VALUE_DRV_DEFAULT>;
559 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
564 rockchip,pins = <I2S_SDO2>;
565 rockchip,pull = <VALUE_PULL_DISABLE>;
566 rockchip,drive = <VALUE_DRV_DEFAULT>;
567 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
572 rockchip,pins = <I2S_SDO3>;
573 rockchip,pull = <VALUE_PULL_DISABLE>;
574 rockchip,drive = <VALUE_DRV_DEFAULT>;
575 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
580 rockchip,pins = <I2S_SDI>;
581 rockchip,pull = <VALUE_PULL_DISABLE>;
582 rockchip,drive = <VALUE_DRV_DEFAULT>;
583 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
588 rockchip,pins = <FUNC_TO_GPIO(I2S_CLK)>,
589 <FUNC_TO_GPIO(I2S_SCLK)>,
590 <FUNC_TO_GPIO(I2S_LRCKRX)>,
591 <FUNC_TO_GPIO(I2S_LRCKTX)>,
592 <FUNC_TO_GPIO(I2S_SDO0)>,
593 <FUNC_TO_GPIO(I2S_SDO1)>,
594 <FUNC_TO_GPIO(I2S_SDO2)>,
595 <FUNC_TO_GPIO(I2S_SDO3)>,
596 <FUNC_TO_GPIO(I2S_SDI)>;
598 rockchip,drive = <VALUE_DRV_DEFAULT>;
603 lcdc0_lcdc:lcdc0-lcdc {
607 <LCDC0_HSYNC_GPIO1D>,
608 <LCDC0_VSYNC_GPIO1D>;
609 rockchip,pull = <VALUE_PULL_DISABLE>;
610 rockchip,drive = <VALUE_DRV_DEFAULT>;
613 lcdc0_gpio:lcdc0-gpio {
615 <FUNC_TO_GPIO(LCDC0_DCLK_GPIO1D)>,
616 <FUNC_TO_GPIO(LCDC0_DEN_GPIO1D)>,
617 <FUNC_TO_GPIO(LCDC0_HSYNC_GPIO1D)>,
618 <FUNC_TO_GPIO(LCDC0_VSYNC_GPIO1D)>;
619 rockchip,pull = <VALUE_PULL_DISABLE>;
620 rockchip,drive = <VALUE_DRV_DEFAULT>;
628 rockchip,pins = <SPDIF_TX>;
629 rockchip,pull = <VALUE_PULL_DISABLE>;
630 rockchip,drive = <VALUE_DRV_DEFAULT>;
631 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
638 rockchip,pins = <PWM0>;
639 rockchip,pull = <VALUE_PULL_DISABLE>;
640 rockchip,drive = <VALUE_DRV_DEFAULT>;
641 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
647 rockchip,pins = <PWM1>;
648 rockchip,pull = <VALUE_PULL_DISABLE>;
649 rockchip,drive = <VALUE_DRV_DEFAULT>;
650 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
655 rockchip,pins = <PWM2>;
656 rockchip,pull = <VALUE_PULL_DISABLE>;
657 rockchip,drive = <VALUE_DRV_DEFAULT>;
658 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
663 rockchip,pins = <PWM3>;
664 rockchip,pull = <VALUE_PULL_DISABLE>;
665 rockchip,drive = <VALUE_DRV_DEFAULT>;
666 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
672 emmc0_clk: emmc0-clk {
673 rockchip,pins = <EMMC_CLKOUT>;
674 rockchip,pull = <VALUE_PULL_DISABLE>;
675 rockchip,drive = <VALUE_DRV_DEFAULT>;
676 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
679 emmc0_cmd: emmc0-cmd {
680 rockchip,pins = <EMMC_CMD>;
681 rockchip,pull = <VALUE_PULL_UP>;
682 rockchip,drive = <VALUE_DRV_DEFAULT>;
683 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
686 emmc0_rstnout: emmc0-rstnout {
687 rockchip,pins = <EMMC_RSTNOUT>;
688 rockchip,pull = <VALUE_PULL_UP>;
689 rockchip,drive = <VALUE_DRV_DEFAULT>;
690 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
694 emmc0_pwr: emmc0-pwr {
695 rockchip,pins = <EMMC_PWREN>;
696 rockchip,pull = <VALUE_PULL_DISABLE>;
697 rockchip,drive = <VALUE_DRV_DEFAULT>;
698 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
701 emmc0_bus1: emmc0-bus-width1 {
702 rockchip,pins = <EMMC_DATA0>;
703 rockchip,pull = <VALUE_PULL_UP>;
704 rockchip,drive = <VALUE_DRV_DEFAULT>;
705 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
708 emmc0_bus4: emmc0-bus-width4 {
709 rockchip,pins = <EMMC_DATA0>,
713 rockchip,pull = <VALUE_PULL_UP>;
714 rockchip,drive = <VALUE_DRV_DEFAULT>;
715 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
721 sdmmc0_clk: sdmmc0-clk {
722 rockchip,pins = <SDMMC0_CLKOUT>;
723 rockchip,pull = <VALUE_PULL_DISABLE>;
724 rockchip,drive = <VALUE_DRV_DEFAULT>;
725 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
728 sdmmc0_cmd: sdmmc0-cmd {
729 rockchip,pins = <SDMMC0_CMD>;
730 rockchip,pull = <VALUE_PULL_UP>;
731 rockchip,drive = <VALUE_DRV_DEFAULT>;
732 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
735 sdmmc0_dectn: sdmmc0-dectn{
736 rockchip,pins = <SDMMC0_DECTN>;
737 rockchip,pull = <VALUE_PULL_UP>;
738 rockchip,drive = <VALUE_DRV_DEFAULT>;
739 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
743 sdmmc0_bus1: sdmmc0-bus-width1 {
744 rockchip,pins = <SDMMC0_DATA0>;
745 rockchip,pull = <VALUE_PULL_UP>;
746 rockchip,drive = <VALUE_DRV_DEFAULT>;
747 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
750 sdmmc0_bus4: sdmmc0-bus-width4 {
751 rockchip,pins = <SDMMC0_DATA0>,
755 rockchip,pull = <VALUE_PULL_UP>;
756 rockchip,drive = <VALUE_DRV_DEFAULT>;
757 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
760 sdmmc0_gpio: sdmmc0_gpio{
769 rockchip,pull = <VALUE_PULL_UP>;
770 rockchip,drive = <VALUE_DRV_DEFAULT>;
771 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
778 sdio0_clk: sdio0_clk {
779 rockchip,pins = <SDIO0_CLKOUT>;
780 rockchip,pull = <VALUE_PULL_DISABLE>;
781 rockchip,drive = <VALUE_DRV_DEFAULT>;
782 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
785 sdio0_cmd: sdio0_cmd {
786 rockchip,pins = <SDIO0_CMD>;
787 rockchip,pull = <VALUE_PULL_UP>;
788 rockchip,drive = <VALUE_DRV_DEFAULT>;
789 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
792 sdio0_dectn: sdio0-dectn{
793 rockchip,pins = <SDIO0_DETECTN>;
794 rockchip,pull = <VALUE_PULL_UP>;
795 rockchip,drive = <VALUE_DRV_DEFAULT>;
796 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
799 sdio0_wrprt: sdio0_wrprt{
800 rockchip,pins = <SDIO0_WRPRT>;
801 rockchip,pull = <VALUE_PULL_UP>;
802 rockchip,drive = <VALUE_DRV_DEFAULT>;
803 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
806 sdio0_pwr: sdio0-pwren{
807 rockchip,pins = <SDIO0_PWREN>;
808 rockchip,pull = <VALUE_PULL_UP>;
809 rockchip,drive = <VALUE_DRV_DEFAULT>;
810 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
813 sdio0_bkpwr: sdio0-bkpwr{
814 rockchip,pins = <SDIO0_BKPWR>;
815 rockchip,pull = <VALUE_PULL_UP>;
816 rockchip,drive = <VALUE_DRV_DEFAULT>;
817 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
820 sdio0_intn: sdio0-intn{
821 rockchip,pins = <SDIO0_INTN>;
822 rockchip,pull = <VALUE_PULL_UP>;
823 rockchip,drive = <VALUE_DRV_DEFAULT>;
824 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
828 sdio0_bus1: sdio0-bus-width1 {
829 rockchip,pins = <SDIO0_DATA0>;
830 rockchip,pull = <VALUE_PULL_UP>;
831 rockchip,drive = <VALUE_DRV_DEFAULT>;
832 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
835 sdio0_bus4: sdio0-bus-width4 {
836 rockchip,pins = <SDIO0_DATA0>,
840 rockchip,pull = <VALUE_PULL_UP>;
841 rockchip,drive = <VALUE_DRV_DEFAULT>;
842 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
845 sdio0_gpio: sdio0-all-gpio{
858 rockchip,pull = <VALUE_PULL_UP>;
859 rockchip,drive = <VALUE_DRV_DEFAULT>;
860 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
866 rockchip,pins = <GPS_MAG>;
867 rockchip,pull = <VALUE_PULL_DISABLE>;
868 rockchip,drive = <VALUE_DRV_DEFAULT>;
869 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
874 rockchip,pins = <GPS_SIG>;
875 rockchip,pull = <VALUE_PULL_DISABLE>;
876 rockchip,drive = <VALUE_DRV_DEFAULT>;
877 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
882 gps_rfclk:gps-rfclk {
883 rockchip,pins = <GPS_RFCLK>;
884 rockchip,pull = <VALUE_PULL_DISABLE>;
885 rockchip,drive = <VALUE_DRV_DEFAULT>;
886 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
894 rockchip,pins = <MAC_CLK>;
895 rockchip,pull = <VALUE_PULL_DISABLE>;
896 rockchip,drive = <VALUE_DRV_DEFAULT>;
897 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
900 mac_txpins: mac-txpins {
901 rockchip,pins = <MAC_TXD0>, <MAC_TXD1>, <MAC_TXD2>, <MAC_TXD3>, <MAC_TXEN>, <MAC_TXCLK>;
902 rockchip,pull = <VALUE_PULL_DISABLE>;
903 rockchip,drive = <VALUE_DRV_DEFAULT>;
904 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
907 mac_rxpins: mac-rxpins {
908 rockchip,pins = <MAC_RXD0>, <MAC_RXD1>, <MAC_RXD2>, <MAC_RXD3>, <MAC_RXDV>, <MAC_RXER>, <MAC_RXCLK>, <MAC_COL>;
909 rockchip,pull = <VALUE_PULL_DISABLE>;
910 rockchip,drive = <VALUE_DRV_DEFAULT>;
911 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
915 rockchip,pins = <MAC_CRS>;
916 rockchip,pull = <VALUE_PULL_DISABLE>;
917 rockchip,drive = <VALUE_DRV_DEFAULT>;
918 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
921 mac_mdpins: mac-mdpins {
922 rockchip,pins = <MAC_MDIO>, <MAC_MDC>;
923 rockchip,pull = <VALUE_PULL_DISABLE>;
924 rockchip,drive = <VALUE_DRV_DEFAULT>;
925 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
936 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_LCDC_VCC>;
937 rockchip,voltage = <VALUE_VOL_DEFAULT>;
941 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_DVP_VCC>;
942 rockchip,voltage = <VALUE_VOL_DEFAULT>;
945 flash0_vcc:flash0-vcc {
946 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH0_VCC>;
947 rockchip,voltage = <VALUE_VOL_DEFAULT>;
950 flash1_vcc:flash1-vcc {
951 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH1_VCC>;
952 rockchip,voltage = <VALUE_VOL_DEFAULT>;
956 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_WIFI_VCC>;
957 rockchip,voltage = <VALUE_VOL_DEFAULT>;
961 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_BB_VCC>;
962 rockchip,voltage = <VALUE_VOL_DEFAULT>;
965 audio_vcc:audio-vcc {
966 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_AUDIO_VCC>;
967 rockchip,voltage = <VALUE_VOL_DEFAULT>;
970 sdcard_vcc:sdcard-vcc {
971 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_SDCARD_VCC>;
972 rockchip,voltage = <VALUE_VOL_DEFAULT>;
975 gpio30_vcc:gpio30-vcc {
976 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO30_VCC>;
977 rockchip,voltage = <VALUE_VOL_DEFAULT>;
980 gpio1830_vcc:gpio1830-vcc {
981 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO1830_VCC>;
982 rockchip,voltage = <VALUE_VOL_DEFAULT>;
988 lcdc_vcc_18:lcdc-vcc-18 {
989 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_LCDC_VCC>;
990 rockchip,voltage = <VALUE_VOL_1V8>;
993 dvp_vcc_18:dvp-vcc-18 {
994 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_DVP_VCC>;
995 rockchip,voltage = <VALUE_VOL_1V8>;
998 flash0_vcc_18:flash0-vcc-18 {
999 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH0_VCC>;
1000 rockchip,voltage = <VALUE_VOL_1V8>;
1003 flash1_vcc_18:flash1-vcc-18 {
1004 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH1_VCC>;
1005 rockchip,voltage = <VALUE_VOL_1V8>;
1008 wifi_vcc_18:wifi-vcc-18 {
1009 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_WIFI_VCC>;
1010 rockchip,voltage = <VALUE_VOL_1V8>;
1013 bb_vcc_18:bb-vcc-18 {
1014 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_BB_VCC>;
1015 rockchip,voltage = <VALUE_VOL_1V8>;
1018 audio_vcc_18:audio-vcc-18 {
1019 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_AUDIO_VCC>;
1020 rockchip,voltage = <VALUE_VOL_1V8>;
1023 sdcard_vcc_18:sdcard-vcc-18 {
1024 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_SDCARD_VCC>;
1025 rockchip,voltage = <VALUE_VOL_1V8>;
1028 gpio30_vcc_18:gpio30-vcc-18 {
1029 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO30_VCC>;
1030 rockchip,voltage = <VALUE_VOL_1V8>;
1033 gpio1830_vcc_18:gpio1830-vcc-18 {
1034 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO1830_VCC>;
1035 rockchip,voltage = <VALUE_VOL_1V8>;
1042 lcdc_vcc_33:lcdc-vcc-33 {
1043 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_LCDC_VCC>;
1044 rockchip,voltage = <VALUE_VOL_3V3>;
1047 dvp_vcc_33:dvp-vcc-33 {
1048 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_DVP_VCC>;
1049 rockchip,voltage = <VALUE_VOL_3V3>;
1052 flash0_vcc_33:flash0-vcc-33 {
1053 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH0_VCC>;
1054 rockchip,voltage = <VALUE_VOL_3V3>;
1057 flash1_vcc_33:flash1-vcc-33 {
1058 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_FLASH1_VCC>;
1059 rockchip,voltage = <VALUE_VOL_3V3>;
1062 wifi_vcc_33:wifi-vcc-33 {
1063 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_WIFI_VCC>;
1064 rockchip,voltage = <VALUE_VOL_3V3>;
1067 bb_vcc_33:bb-vcc-33 {
1068 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_BB_VCC>;
1069 rockchip,voltage = <VALUE_VOL_3V3>;
1072 audio_vcc_33:audio-vcc-33 {
1073 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_AUDIO_VCC>;
1074 rockchip,voltage = <VALUE_VOL_3V3>;
1077 sdcard_vcc_33:sdcard-vcc-33 {
1078 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_SDCARD_VCC>;
1079 rockchip,voltage = <VALUE_VOL_3V3>;
1082 gpio30_vcc_33:gpio30-vcc-33 {
1083 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO30_VCC>;
1084 rockchip,voltage = <VALUE_VOL_3V3>;
1087 gpio1830_vcc_33:gpio1830-vcc-33 {
1088 rockchip,pins = <RK32_VIRTUAL_PIN_FOR_GPIO1830_VCC>;
1089 rockchip,voltage = <VALUE_VOL_3V3>;
1098 rockchip,pins = <CIF_CLKOUT>;
1099 rockchip,pull = <VALUE_PULL_DISABLE>;
1100 rockchip,drive = <VALUE_DRV_DEFAULT>;
1101 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1103 isp_dvp_sync_d2d9:isp_dvp_force {
1104 rockchip,pins = <CIF_DATA2>,<CIF_DATA3>,
1105 <CIF_DATA4>,<CIF_DATA5>,
1106 <CIF_DATA6>,<CIF_DATA7>,
1107 <CIF_DATA8>,<CIF_DATA9>,
1108 <CIF_VSYNC>,<CIF_HREF>,
1109 <CIF_CLKIN>,<CIF_CLKOUT>;
1110 rockchip,pull = <VALUE_PULL_DISABLE>;
1111 rockchip,drive = <VALUE_DRV_DEFAULT>;
1112 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1116 isp_dvp_d0d1:isp_d0d1 {
1117 rockchip,pins = <CIF_DATA0>,<CIF_DATA1>;
1118 rockchip,pull = <VALUE_PULL_DISABLE>;
1119 rockchip,drive = <VALUE_DRV_DEFAULT>;
1120 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1123 isp_dvpd10d11:ispd10d11 {
1124 rockchip,pins = <CIF_DATA10>,<CIF_DATA11>;
1125 rockchip,pull = <VALUE_PULL_DISABLE>;
1126 rockchip,drive = <VALUE_DRV_DEFAULT>;
1127 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1130 isp_shutter:isp_shutter {
1131 rockchip,pins = <ISP_SHUTTEREN>,<ISP_SHUTTERTRIG>;
1132 rockchip,pull = <VALUE_PULL_DISABLE>;
1133 rockchip,drive = <VALUE_DRV_DEFAULT>;
1134 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1137 isp_flash_trigger:isp_trigger {
1138 rockchip,pins = <ISP_FLASHTRIGOUTSPI1_CS0>;
1139 rockchip,pull = <VALUE_PULL_DISABLE>;
1140 rockchip,drive = <VALUE_DRV_DEFAULT>;
1141 //rockchip,tristate = <VALUE_TRI_DEFAULT>;
1144 isp_prelight:isp_prelight {
1145 rockchip,pins = <ISP_PRELIGHTTRIGSPI1_RXD>;
1146 rockchip,pull = <VALUE_PULL_DISABLE>;
1147 rockchip,drive = <VALUE_DRV_DEFAULT>;
1148 //rockchip,tristate = <VALUE_TRI_DEFAULT>;