2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 #include <dt-bindings/pinctrl/rockchip.h>
17 #include <dt-bindings/clock/rk3288-cru.h>
18 #include <dt-bindings/thermal/thermal.h>
19 #include "skeleton.dtsi"
22 compatible = "rockchip,rk3288";
24 interrupt-parent = <&gic>;
50 rockchip,pmu = <&pmu>;
54 compatible = "arm,cortex-a12";
56 resets = <&cru SRST_CORE0>;
72 #cooling-cells = <2>; /* min followed by max */
73 clock-latency = <40000>;
74 clocks = <&cru ARMCLK>;
78 compatible = "arm,cortex-a12";
80 resets = <&cru SRST_CORE1>;
84 compatible = "arm,cortex-a12";
86 resets = <&cru SRST_CORE2>;
90 compatible = "arm,cortex-a12";
92 resets = <&cru SRST_CORE3>;
97 compatible = "arm,amba-bus";
102 dmac_peri: dma-controller@ff250000 {
103 compatible = "arm,pl330", "arm,primecell";
104 reg = <0xff250000 0x4000>;
105 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
106 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
108 clocks = <&cru ACLK_DMAC2>;
109 clock-names = "apb_pclk";
112 dmac_bus_ns: dma-controller@ff600000 {
113 compatible = "arm,pl330", "arm,primecell";
114 reg = <0xff600000 0x4000>;
115 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
116 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
118 clocks = <&cru ACLK_DMAC1>;
119 clock-names = "apb_pclk";
123 dmac_bus_s: dma-controller@ffb20000 {
124 compatible = "arm,pl330", "arm,primecell";
125 reg = <0xffb20000 0x4000>;
126 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
127 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
129 clocks = <&cru ACLK_DMAC1>;
130 clock-names = "apb_pclk";
135 compatible = "fixed-clock";
136 clock-frequency = <24000000>;
137 clock-output-names = "xin24m";
142 compatible = "arm,armv7-timer";
143 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
144 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
145 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
146 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
147 clock-frequency = <24000000>;
150 sdmmc: dwmmc@ff0c0000 {
151 compatible = "rockchip,rk3288-dw-mshc";
152 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
153 clock-names = "biu", "ciu";
154 fifo-depth = <0x100>;
155 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
156 reg = <0xff0c0000 0x4000>;
160 sdio0: dwmmc@ff0d0000 {
161 compatible = "rockchip,rk3288-dw-mshc";
162 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>;
163 clock-names = "biu", "ciu";
164 fifo-depth = <0x100>;
165 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
166 reg = <0xff0d0000 0x4000>;
170 sdio1: dwmmc@ff0e0000 {
171 compatible = "rockchip,rk3288-dw-mshc";
172 clocks = <&cru HCLK_SDIO1>, <&cru SCLK_SDIO1>;
173 clock-names = "biu", "ciu";
174 fifo-depth = <0x100>;
175 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
176 reg = <0xff0e0000 0x4000>;
180 emmc: dwmmc@ff0f0000 {
181 compatible = "rockchip,rk3288-dw-mshc";
182 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
183 clock-names = "biu", "ciu";
184 fifo-depth = <0x100>;
185 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
186 reg = <0xff0f0000 0x4000>;
190 saradc: saradc@ff100000 {
191 compatible = "rockchip,saradc";
192 reg = <0xff100000 0x100>;
193 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
194 #io-channel-cells = <1>;
195 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
196 clock-names = "saradc", "apb_pclk";
201 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
202 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
203 clock-names = "spiclk", "apb_pclk";
204 dmas = <&dmac_peri 11>, <&dmac_peri 12>;
205 dma-names = "tx", "rx";
206 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
207 pinctrl-names = "default";
208 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
209 reg = <0xff110000 0x1000>;
210 #address-cells = <1>;
216 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
217 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
218 clock-names = "spiclk", "apb_pclk";
219 dmas = <&dmac_peri 13>, <&dmac_peri 14>;
220 dma-names = "tx", "rx";
221 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
224 reg = <0xff120000 0x1000>;
225 #address-cells = <1>;
231 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
232 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
233 clock-names = "spiclk", "apb_pclk";
234 dmas = <&dmac_peri 15>, <&dmac_peri 16>;
235 dma-names = "tx", "rx";
236 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
237 pinctrl-names = "default";
238 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
239 reg = <0xff130000 0x1000>;
240 #address-cells = <1>;
246 compatible = "rockchip,rk3288-i2c";
247 reg = <0xff140000 0x1000>;
248 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
249 #address-cells = <1>;
252 clocks = <&cru PCLK_I2C1>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&i2c1_xfer>;
259 compatible = "rockchip,rk3288-i2c";
260 reg = <0xff150000 0x1000>;
261 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
262 #address-cells = <1>;
265 clocks = <&cru PCLK_I2C3>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&i2c3_xfer>;
272 compatible = "rockchip,rk3288-i2c";
273 reg = <0xff160000 0x1000>;
274 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
275 #address-cells = <1>;
278 clocks = <&cru PCLK_I2C4>;
279 pinctrl-names = "default";
280 pinctrl-0 = <&i2c4_xfer>;
285 compatible = "rockchip,rk3288-i2c";
286 reg = <0xff170000 0x1000>;
287 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
288 #address-cells = <1>;
291 clocks = <&cru PCLK_I2C5>;
292 pinctrl-names = "default";
293 pinctrl-0 = <&i2c5_xfer>;
297 uart0: serial@ff180000 {
298 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
299 reg = <0xff180000 0x100>;
300 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
303 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
304 clock-names = "baudclk", "apb_pclk";
305 pinctrl-names = "default";
306 pinctrl-0 = <&uart0_xfer>;
310 uart1: serial@ff190000 {
311 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
312 reg = <0xff190000 0x100>;
313 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
316 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
317 clock-names = "baudclk", "apb_pclk";
318 pinctrl-names = "default";
319 pinctrl-0 = <&uart1_xfer>;
323 uart2: serial@ff690000 {
324 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
325 reg = <0xff690000 0x100>;
326 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
329 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
330 clock-names = "baudclk", "apb_pclk";
331 pinctrl-names = "default";
332 pinctrl-0 = <&uart2_xfer>;
336 uart3: serial@ff1b0000 {
337 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
338 reg = <0xff1b0000 0x100>;
339 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
342 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
343 clock-names = "baudclk", "apb_pclk";
344 pinctrl-names = "default";
345 pinctrl-0 = <&uart3_xfer>;
349 uart4: serial@ff1c0000 {
350 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
351 reg = <0xff1c0000 0x100>;
352 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
355 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
356 clock-names = "baudclk", "apb_pclk";
357 pinctrl-names = "default";
358 pinctrl-0 = <&uart4_xfer>;
363 #include "rk3288-thermal.dtsi"
366 tsadc: tsadc@ff280000 {
367 compatible = "rockchip,rk3288-tsadc";
368 reg = <0xff280000 0x100>;
369 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
370 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
371 clock-names = "tsadc", "apb_pclk";
372 resets = <&cru SRST_TSADC>;
373 reset-names = "tsadc-apb";
374 pinctrl-names = "default";
375 pinctrl-0 = <&otp_out>;
376 #thermal-sensor-cells = <1>;
377 rockchip,hw-tshut-temp = <95000>;
381 usb_host0_ehci: usb@ff500000 {
382 compatible = "generic-ehci";
383 reg = <0xff500000 0x100>;
384 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
385 clocks = <&cru HCLK_USBHOST0>;
386 clock-names = "usbhost";
390 /* NOTE: ohci@ff520000 doesn't actually work on hardware */
392 usb_host1: usb@ff540000 {
393 compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
395 reg = <0xff540000 0x40000>;
396 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
397 clocks = <&cru HCLK_USBHOST1>;
402 usb_otg: usb@ff580000 {
403 compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
405 reg = <0xff580000 0x40000>;
406 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
407 clocks = <&cru HCLK_OTG0>;
412 usb_hsic: usb@ff5c0000 {
413 compatible = "generic-ehci";
414 reg = <0xff5c0000 0x100>;
415 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&cru HCLK_HSIC>;
417 clock-names = "usbhost";
422 compatible = "rockchip,rk3288-i2c";
423 reg = <0xff650000 0x1000>;
424 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
425 #address-cells = <1>;
428 clocks = <&cru PCLK_I2C0>;
429 pinctrl-names = "default";
430 pinctrl-0 = <&i2c0_xfer>;
435 compatible = "rockchip,rk3288-i2c";
436 reg = <0xff660000 0x1000>;
437 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
438 #address-cells = <1>;
441 clocks = <&cru PCLK_I2C2>;
442 pinctrl-names = "default";
443 pinctrl-0 = <&i2c2_xfer>;
448 compatible = "rockchip,rk3288-pwm";
449 reg = <0xff680000 0x10>;
451 pinctrl-names = "default";
452 pinctrl-0 = <&pwm0_pin>;
453 clocks = <&cru PCLK_PWM>;
459 compatible = "rockchip,rk3288-pwm";
460 reg = <0xff680010 0x10>;
462 pinctrl-names = "default";
463 pinctrl-0 = <&pwm1_pin>;
464 clocks = <&cru PCLK_PWM>;
470 compatible = "rockchip,rk3288-pwm";
471 reg = <0xff680020 0x10>;
473 pinctrl-names = "default";
474 pinctrl-0 = <&pwm2_pin>;
475 clocks = <&cru PCLK_PWM>;
481 compatible = "rockchip,rk3288-pwm";
482 reg = <0xff680030 0x10>;
484 pinctrl-names = "default";
485 pinctrl-0 = <&pwm3_pin>;
486 clocks = <&cru PCLK_PWM>;
491 bus_intmem@ff700000 {
492 compatible = "mmio-sram";
493 reg = <0xff700000 0x18000>;
494 #address-cells = <1>;
496 ranges = <0 0xff700000 0x18000>;
498 compatible = "rockchip,rk3066-smp-sram";
503 pmu: power-management@ff730000 {
504 compatible = "rockchip,rk3288-pmu", "syscon";
505 reg = <0xff730000 0x100>;
508 sgrf: syscon@ff740000 {
509 compatible = "rockchip,rk3288-sgrf", "syscon";
510 reg = <0xff740000 0x1000>;
513 cru: clock-controller@ff760000 {
514 compatible = "rockchip,rk3288-cru";
515 reg = <0xff760000 0x1000>;
516 rockchip,grf = <&grf>;
519 assigned-clocks = <&cru PLL_GPLL>, <&cru PLL_CPLL>,
520 <&cru PLL_NPLL>, <&cru ACLK_CPU>,
521 <&cru HCLK_CPU>, <&cru PCLK_CPU>,
522 <&cru ACLK_PERI>, <&cru HCLK_PERI>,
524 assigned-clock-rates = <594000000>, <400000000>,
525 <500000000>, <300000000>,
526 <150000000>, <75000000>,
527 <300000000>, <150000000>,
531 grf: syscon@ff770000 {
532 compatible = "rockchip,rk3288-grf", "syscon";
533 reg = <0xff770000 0x1000>;
536 wdt: watchdog@ff800000 {
537 compatible = "rockchip,rk3288-wdt", "snps,dw-wdt";
538 reg = <0xff800000 0x100>;
539 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
544 compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s";
545 reg = <0xff890000 0x10000>;
546 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
547 #address-cells = <1>;
549 dmas = <&dmac_bus_s 0>, <&dmac_bus_s 1>;
550 dma-names = "tx", "rx";
551 clock-names = "i2s_hclk", "i2s_clk";
552 clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
553 pinctrl-names = "default";
554 pinctrl-0 = <&i2s0_bus>;
558 vopb_mmu: iommu@ff930300 {
559 compatible = "rockchip,iommu";
560 reg = <0xff930300 0x100>;
561 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
562 interrupt-names = "vopb_mmu";
567 vopl_mmu: iommu@ff940300 {
568 compatible = "rockchip,iommu";
569 reg = <0xff940300 0x100>;
570 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
571 interrupt-names = "vopl_mmu";
576 gic: interrupt-controller@ffc01000 {
577 compatible = "arm,gic-400";
578 interrupt-controller;
579 #interrupt-cells = <3>;
580 #address-cells = <0>;
582 reg = <0xffc01000 0x1000>,
586 interrupts = <GIC_PPI 9 0xf04>;
590 compatible = "rockchip,rk3288-pinctrl";
591 rockchip,grf = <&grf>;
592 rockchip,pmu = <&pmu>;
593 #address-cells = <1>;
597 gpio0: gpio0@ff750000 {
598 compatible = "rockchip,gpio-bank";
599 reg = <0xff750000 0x100>;
600 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
601 clocks = <&cru PCLK_GPIO0>;
606 interrupt-controller;
607 #interrupt-cells = <2>;
610 gpio1: gpio1@ff780000 {
611 compatible = "rockchip,gpio-bank";
612 reg = <0xff780000 0x100>;
613 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
614 clocks = <&cru PCLK_GPIO1>;
619 interrupt-controller;
620 #interrupt-cells = <2>;
623 gpio2: gpio2@ff790000 {
624 compatible = "rockchip,gpio-bank";
625 reg = <0xff790000 0x100>;
626 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
627 clocks = <&cru PCLK_GPIO2>;
632 interrupt-controller;
633 #interrupt-cells = <2>;
636 gpio3: gpio3@ff7a0000 {
637 compatible = "rockchip,gpio-bank";
638 reg = <0xff7a0000 0x100>;
639 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
640 clocks = <&cru PCLK_GPIO3>;
645 interrupt-controller;
646 #interrupt-cells = <2>;
649 gpio4: gpio4@ff7b0000 {
650 compatible = "rockchip,gpio-bank";
651 reg = <0xff7b0000 0x100>;
652 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
653 clocks = <&cru PCLK_GPIO4>;
658 interrupt-controller;
659 #interrupt-cells = <2>;
662 gpio5: gpio5@ff7c0000 {
663 compatible = "rockchip,gpio-bank";
664 reg = <0xff7c0000 0x100>;
665 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
666 clocks = <&cru PCLK_GPIO5>;
671 interrupt-controller;
672 #interrupt-cells = <2>;
675 gpio6: gpio6@ff7d0000 {
676 compatible = "rockchip,gpio-bank";
677 reg = <0xff7d0000 0x100>;
678 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
679 clocks = <&cru PCLK_GPIO6>;
684 interrupt-controller;
685 #interrupt-cells = <2>;
688 gpio7: gpio7@ff7e0000 {
689 compatible = "rockchip,gpio-bank";
690 reg = <0xff7e0000 0x100>;
691 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
692 clocks = <&cru PCLK_GPIO7>;
697 interrupt-controller;
698 #interrupt-cells = <2>;
701 gpio8: gpio8@ff7f0000 {
702 compatible = "rockchip,gpio-bank";
703 reg = <0xff7f0000 0x100>;
704 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
705 clocks = <&cru PCLK_GPIO8>;
710 interrupt-controller;
711 #interrupt-cells = <2>;
714 pcfg_pull_up: pcfg-pull-up {
718 pcfg_pull_down: pcfg-pull-down {
722 pcfg_pull_none: pcfg-pull-none {
727 i2c0_xfer: i2c0-xfer {
728 rockchip,pins = <0 15 RK_FUNC_1 &pcfg_pull_none>,
729 <0 16 RK_FUNC_1 &pcfg_pull_none>;
734 i2c1_xfer: i2c1-xfer {
735 rockchip,pins = <8 4 RK_FUNC_1 &pcfg_pull_none>,
736 <8 5 RK_FUNC_1 &pcfg_pull_none>;
741 i2c2_xfer: i2c2-xfer {
742 rockchip,pins = <6 9 RK_FUNC_1 &pcfg_pull_none>,
743 <6 10 RK_FUNC_1 &pcfg_pull_none>;
748 i2c3_xfer: i2c3-xfer {
749 rockchip,pins = <2 16 RK_FUNC_1 &pcfg_pull_none>,
750 <2 17 RK_FUNC_1 &pcfg_pull_none>;
755 i2c4_xfer: i2c4-xfer {
756 rockchip,pins = <7 17 RK_FUNC_1 &pcfg_pull_none>,
757 <7 18 RK_FUNC_1 &pcfg_pull_none>;
762 i2c5_xfer: i2c5-xfer {
763 rockchip,pins = <7 19 RK_FUNC_1 &pcfg_pull_none>,
764 <7 20 RK_FUNC_1 &pcfg_pull_none>;
770 rockchip,pins = <6 0 RK_FUNC_1 &pcfg_pull_none>,
771 <6 1 RK_FUNC_1 &pcfg_pull_none>,
772 <6 2 RK_FUNC_1 &pcfg_pull_none>,
773 <6 3 RK_FUNC_1 &pcfg_pull_none>,
774 <6 4 RK_FUNC_1 &pcfg_pull_none>,
775 <6 8 RK_FUNC_1 &pcfg_pull_none>;
780 sdmmc_clk: sdmmc-clk {
781 rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none>;
784 sdmmc_cmd: sdmmc-cmd {
785 rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up>;
789 rockchip,pins = <6 22 RK_FUNC_1 &pcfg_pull_up>;
792 sdmmc_bus1: sdmmc-bus1 {
793 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>;
796 sdmmc_bus4: sdmmc-bus4 {
797 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>,
798 <6 17 RK_FUNC_1 &pcfg_pull_up>,
799 <6 18 RK_FUNC_1 &pcfg_pull_up>,
800 <6 19 RK_FUNC_1 &pcfg_pull_up>;
805 sdio0_bus1: sdio0-bus1 {
806 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>;
809 sdio0_bus4: sdio0-bus4 {
810 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>,
811 <4 21 RK_FUNC_1 &pcfg_pull_up>,
812 <4 22 RK_FUNC_1 &pcfg_pull_up>,
813 <4 23 RK_FUNC_1 &pcfg_pull_up>;
816 sdio0_cmd: sdio0-cmd {
817 rockchip,pins = <4 24 RK_FUNC_1 &pcfg_pull_up>;
820 sdio0_clk: sdio0-clk {
821 rockchip,pins = <4 25 RK_FUNC_1 &pcfg_pull_none>;
825 rockchip,pins = <4 26 RK_FUNC_1 &pcfg_pull_up>;
829 rockchip,pins = <4 27 RK_FUNC_1 &pcfg_pull_up>;
832 sdio0_pwr: sdio0-pwr {
833 rockchip,pins = <4 28 RK_FUNC_1 &pcfg_pull_up>;
836 sdio0_bkpwr: sdio0-bkpwr {
837 rockchip,pins = <4 29 RK_FUNC_1 &pcfg_pull_up>;
840 sdio0_int: sdio0-int {
841 rockchip,pins = <4 30 RK_FUNC_1 &pcfg_pull_up>;
846 sdio1_bus1: sdio1-bus1 {
847 rockchip,pins = <3 24 4 &pcfg_pull_up>;
850 sdio1_bus4: sdio1-bus4 {
851 rockchip,pins = <3 24 4 &pcfg_pull_up>,
852 <3 25 4 &pcfg_pull_up>,
853 <3 26 4 &pcfg_pull_up>,
854 <3 27 4 &pcfg_pull_up>;
858 rockchip,pins = <3 28 4 &pcfg_pull_up>;
862 rockchip,pins = <3 29 4 &pcfg_pull_up>;
865 sdio1_bkpwr: sdio1-bkpwr {
866 rockchip,pins = <3 30 4 &pcfg_pull_up>;
869 sdio1_int: sdio1-int {
870 rockchip,pins = <3 31 4 &pcfg_pull_up>;
873 sdio1_cmd: sdio1-cmd {
874 rockchip,pins = <4 6 4 &pcfg_pull_up>;
877 sdio1_clk: sdio1-clk {
878 rockchip,pins = <4 7 4 &pcfg_pull_none>;
881 sdio1_pwr: sdio1-pwr {
882 rockchip,pins = <4 9 4 &pcfg_pull_up>;
888 rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none>;
892 rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_up>;
896 rockchip,pins = <3 9 RK_FUNC_2 &pcfg_pull_up>;
899 emmc_bus1: emmc-bus1 {
900 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>;
903 emmc_bus4: emmc-bus4 {
904 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>,
905 <3 1 RK_FUNC_2 &pcfg_pull_up>,
906 <3 2 RK_FUNC_2 &pcfg_pull_up>,
907 <3 3 RK_FUNC_2 &pcfg_pull_up>;
910 emmc_bus8: emmc-bus8 {
911 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>,
912 <3 1 RK_FUNC_2 &pcfg_pull_up>,
913 <3 2 RK_FUNC_2 &pcfg_pull_up>,
914 <3 3 RK_FUNC_2 &pcfg_pull_up>,
915 <3 4 RK_FUNC_2 &pcfg_pull_up>,
916 <3 5 RK_FUNC_2 &pcfg_pull_up>,
917 <3 6 RK_FUNC_2 &pcfg_pull_up>,
918 <3 7 RK_FUNC_2 &pcfg_pull_up>;
924 rockchip,pins = <5 12 RK_FUNC_1 &pcfg_pull_up>;
927 rockchip,pins = <5 13 RK_FUNC_1 &pcfg_pull_up>;
930 rockchip,pins = <5 14 RK_FUNC_1 &pcfg_pull_up>;
933 rockchip,pins = <5 15 RK_FUNC_1 &pcfg_pull_up>;
936 rockchip,pins = <5 16 RK_FUNC_1 &pcfg_pull_up>;
941 rockchip,pins = <7 12 RK_FUNC_2 &pcfg_pull_up>;
944 rockchip,pins = <7 13 RK_FUNC_2 &pcfg_pull_up>;
947 rockchip,pins = <7 14 RK_FUNC_2 &pcfg_pull_up>;
950 rockchip,pins = <7 15 RK_FUNC_2 &pcfg_pull_up>;
956 rockchip,pins = <8 3 RK_FUNC_1 &pcfg_pull_up>;
959 rockchip,pins = <8 6 RK_FUNC_1 &pcfg_pull_up>;
962 rockchip,pins = <8 7 RK_FUNC_1 &pcfg_pull_up>;
965 rockchip,pins = <8 8 RK_FUNC_1 &pcfg_pull_up>;
968 rockchip,pins = <8 9 RK_FUNC_1 &pcfg_pull_up>;
973 uart0_xfer: uart0-xfer {
974 rockchip,pins = <4 16 RK_FUNC_1 &pcfg_pull_up>,
975 <4 17 RK_FUNC_1 &pcfg_pull_none>;
978 uart0_cts: uart0-cts {
979 rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_none>;
982 uart0_rts: uart0-rts {
983 rockchip,pins = <4 19 RK_FUNC_1 &pcfg_pull_none>;
988 uart1_xfer: uart1-xfer {
989 rockchip,pins = <5 8 RK_FUNC_1 &pcfg_pull_up>,
990 <5 9 RK_FUNC_1 &pcfg_pull_none>;
993 uart1_cts: uart1-cts {
994 rockchip,pins = <5 10 RK_FUNC_1 &pcfg_pull_none>;
997 uart1_rts: uart1-rts {
998 rockchip,pins = <5 11 RK_FUNC_1 &pcfg_pull_none>;
1003 uart2_xfer: uart2-xfer {
1004 rockchip,pins = <7 22 RK_FUNC_1 &pcfg_pull_up>,
1005 <7 23 RK_FUNC_1 &pcfg_pull_none>;
1007 /* no rts / cts for uart2 */
1011 uart3_xfer: uart3-xfer {
1012 rockchip,pins = <7 7 RK_FUNC_1 &pcfg_pull_up>,
1013 <7 8 RK_FUNC_1 &pcfg_pull_none>;
1016 uart3_cts: uart3-cts {
1017 rockchip,pins = <7 9 RK_FUNC_1 &pcfg_pull_none>;
1020 uart3_rts: uart3-rts {
1021 rockchip,pins = <7 10 RK_FUNC_1 &pcfg_pull_none>;
1026 uart4_xfer: uart4-xfer {
1027 rockchip,pins = <5 12 3 &pcfg_pull_up>,
1028 <5 13 3 &pcfg_pull_none>;
1031 uart4_cts: uart4-cts {
1032 rockchip,pins = <5 14 3 &pcfg_pull_none>;
1035 uart4_rts: uart4-rts {
1036 rockchip,pins = <5 15 3 &pcfg_pull_none>;
1042 rockchip,pins = <0 10 RK_FUNC_1 &pcfg_pull_none>;
1047 pwm0_pin: pwm0-pin {
1048 rockchip,pins = <7 0 RK_FUNC_1 &pcfg_pull_none>;
1053 pwm1_pin: pwm1-pin {
1054 rockchip,pins = <7 1 RK_FUNC_1 &pcfg_pull_none>;
1059 pwm2_pin: pwm2-pin {
1060 rockchip,pins = <7 22 3 &pcfg_pull_none>;
1065 pwm3_pin: pwm3-pin {
1066 rockchip,pins = <7 23 3 &pcfg_pull_none>;