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 "skeleton.dtsi"
21 compatible = "rockchip,rk3288";
23 interrupt-parent = <&gic>;
49 rockchip,pmu = <&pmu>;
53 compatible = "arm,cortex-a12";
55 resets = <&cru SRST_CORE0>;
71 clock-latency = <40000>;
72 clocks = <&cru ARMCLK>;
76 compatible = "arm,cortex-a12";
78 resets = <&cru SRST_CORE1>;
82 compatible = "arm,cortex-a12";
84 resets = <&cru SRST_CORE2>;
88 compatible = "arm,cortex-a12";
90 resets = <&cru SRST_CORE3>;
95 compatible = "arm,amba-bus";
100 dmac_peri: dma-controller@ff250000 {
101 compatible = "arm,pl330", "arm,primecell";
102 reg = <0xff250000 0x4000>;
103 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
104 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
106 clocks = <&cru ACLK_DMAC2>;
107 clock-names = "apb_pclk";
110 dmac_bus_ns: dma-controller@ff600000 {
111 compatible = "arm,pl330", "arm,primecell";
112 reg = <0xff600000 0x4000>;
113 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
114 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
116 clocks = <&cru ACLK_DMAC1>;
117 clock-names = "apb_pclk";
121 dmac_bus_s: dma-controller@ffb20000 {
122 compatible = "arm,pl330", "arm,primecell";
123 reg = <0xffb20000 0x4000>;
124 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
125 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
127 clocks = <&cru ACLK_DMAC1>;
128 clock-names = "apb_pclk";
133 compatible = "fixed-clock";
134 clock-frequency = <24000000>;
135 clock-output-names = "xin24m";
140 compatible = "arm,armv7-timer";
141 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
142 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
143 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
144 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
145 clock-frequency = <24000000>;
148 sdmmc: dwmmc@ff0c0000 {
149 compatible = "rockchip,rk3288-dw-mshc";
150 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
151 clock-names = "biu", "ciu";
152 fifo-depth = <0x100>;
153 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
154 reg = <0xff0c0000 0x4000>;
158 sdio0: dwmmc@ff0d0000 {
159 compatible = "rockchip,rk3288-dw-mshc";
160 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>;
161 clock-names = "biu", "ciu";
162 fifo-depth = <0x100>;
163 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
164 reg = <0xff0d0000 0x4000>;
168 sdio1: dwmmc@ff0e0000 {
169 compatible = "rockchip,rk3288-dw-mshc";
170 clocks = <&cru HCLK_SDIO1>, <&cru SCLK_SDIO1>;
171 clock-names = "biu", "ciu";
172 fifo-depth = <0x100>;
173 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
174 reg = <0xff0e0000 0x4000>;
178 emmc: dwmmc@ff0f0000 {
179 compatible = "rockchip,rk3288-dw-mshc";
180 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
181 clock-names = "biu", "ciu";
182 fifo-depth = <0x100>;
183 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
184 reg = <0xff0f0000 0x4000>;
188 saradc: saradc@ff100000 {
189 compatible = "rockchip,saradc";
190 reg = <0xff100000 0x100>;
191 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
192 #io-channel-cells = <1>;
193 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
194 clock-names = "saradc", "apb_pclk";
199 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
200 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
201 clock-names = "spiclk", "apb_pclk";
202 dmas = <&dmac_peri 11>, <&dmac_peri 12>;
203 dma-names = "tx", "rx";
204 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
205 pinctrl-names = "default";
206 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
207 reg = <0xff110000 0x1000>;
208 #address-cells = <1>;
214 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
215 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
216 clock-names = "spiclk", "apb_pclk";
217 dmas = <&dmac_peri 13>, <&dmac_peri 14>;
218 dma-names = "tx", "rx";
219 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
220 pinctrl-names = "default";
221 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
222 reg = <0xff120000 0x1000>;
223 #address-cells = <1>;
229 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
230 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
231 clock-names = "spiclk", "apb_pclk";
232 dmas = <&dmac_peri 15>, <&dmac_peri 16>;
233 dma-names = "tx", "rx";
234 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
237 reg = <0xff130000 0x1000>;
238 #address-cells = <1>;
244 compatible = "rockchip,rk3288-i2c";
245 reg = <0xff140000 0x1000>;
246 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
247 #address-cells = <1>;
250 clocks = <&cru PCLK_I2C1>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&i2c1_xfer>;
257 compatible = "rockchip,rk3288-i2c";
258 reg = <0xff150000 0x1000>;
259 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
260 #address-cells = <1>;
263 clocks = <&cru PCLK_I2C3>;
264 pinctrl-names = "default";
265 pinctrl-0 = <&i2c3_xfer>;
270 compatible = "rockchip,rk3288-i2c";
271 reg = <0xff160000 0x1000>;
272 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
273 #address-cells = <1>;
276 clocks = <&cru PCLK_I2C4>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&i2c4_xfer>;
283 compatible = "rockchip,rk3288-i2c";
284 reg = <0xff170000 0x1000>;
285 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
286 #address-cells = <1>;
289 clocks = <&cru PCLK_I2C5>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&i2c5_xfer>;
295 uart0: serial@ff180000 {
296 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
297 reg = <0xff180000 0x100>;
298 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
301 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
302 clock-names = "baudclk", "apb_pclk";
303 pinctrl-names = "default";
304 pinctrl-0 = <&uart0_xfer>;
308 uart1: serial@ff190000 {
309 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
310 reg = <0xff190000 0x100>;
311 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
314 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
315 clock-names = "baudclk", "apb_pclk";
316 pinctrl-names = "default";
317 pinctrl-0 = <&uart1_xfer>;
321 uart2: serial@ff690000 {
322 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
323 reg = <0xff690000 0x100>;
324 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
327 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
328 clock-names = "baudclk", "apb_pclk";
329 pinctrl-names = "default";
330 pinctrl-0 = <&uart2_xfer>;
334 uart3: serial@ff1b0000 {
335 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
336 reg = <0xff1b0000 0x100>;
337 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
340 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
341 clock-names = "baudclk", "apb_pclk";
342 pinctrl-names = "default";
343 pinctrl-0 = <&uart3_xfer>;
347 uart4: serial@ff1c0000 {
348 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
349 reg = <0xff1c0000 0x100>;
350 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
353 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
354 clock-names = "baudclk", "apb_pclk";
355 pinctrl-names = "default";
356 pinctrl-0 = <&uart4_xfer>;
360 usb_host0_ehci: usb@ff500000 {
361 compatible = "generic-ehci";
362 reg = <0xff500000 0x100>;
363 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
364 clocks = <&cru HCLK_USBHOST0>;
365 clock-names = "usbhost";
369 /* NOTE: ohci@ff520000 doesn't actually work on hardware */
371 usb_host1: usb@ff540000 {
372 compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
374 reg = <0xff540000 0x40000>;
375 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
376 clocks = <&cru HCLK_USBHOST1>;
381 usb_otg: usb@ff580000 {
382 compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
384 reg = <0xff580000 0x40000>;
385 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
386 clocks = <&cru HCLK_OTG0>;
391 usb_hsic: usb@ff5c0000 {
392 compatible = "generic-ehci";
393 reg = <0xff5c0000 0x100>;
394 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
395 clocks = <&cru HCLK_HSIC>;
396 clock-names = "usbhost";
401 compatible = "rockchip,rk3288-i2c";
402 reg = <0xff650000 0x1000>;
403 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
404 #address-cells = <1>;
407 clocks = <&cru PCLK_I2C0>;
408 pinctrl-names = "default";
409 pinctrl-0 = <&i2c0_xfer>;
414 compatible = "rockchip,rk3288-i2c";
415 reg = <0xff660000 0x1000>;
416 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
417 #address-cells = <1>;
420 clocks = <&cru PCLK_I2C2>;
421 pinctrl-names = "default";
422 pinctrl-0 = <&i2c2_xfer>;
427 compatible = "rockchip,rk3288-pwm";
428 reg = <0xff680000 0x10>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&pwm0_pin>;
432 clocks = <&cru PCLK_PWM>;
438 compatible = "rockchip,rk3288-pwm";
439 reg = <0xff680010 0x10>;
441 pinctrl-names = "default";
442 pinctrl-0 = <&pwm1_pin>;
443 clocks = <&cru PCLK_PWM>;
449 compatible = "rockchip,rk3288-pwm";
450 reg = <0xff680020 0x10>;
452 pinctrl-names = "default";
453 pinctrl-0 = <&pwm2_pin>;
454 clocks = <&cru PCLK_PWM>;
460 compatible = "rockchip,rk3288-pwm";
461 reg = <0xff680030 0x10>;
463 pinctrl-names = "default";
464 pinctrl-0 = <&pwm3_pin>;
465 clocks = <&cru PCLK_PWM>;
470 bus_intmem@ff700000 {
471 compatible = "mmio-sram";
472 reg = <0xff700000 0x18000>;
473 #address-cells = <1>;
475 ranges = <0 0xff700000 0x18000>;
477 compatible = "rockchip,rk3066-smp-sram";
482 pmu: power-management@ff730000 {
483 compatible = "rockchip,rk3288-pmu", "syscon";
484 reg = <0xff730000 0x100>;
487 sgrf: syscon@ff740000 {
488 compatible = "rockchip,rk3288-sgrf", "syscon";
489 reg = <0xff740000 0x1000>;
492 cru: clock-controller@ff760000 {
493 compatible = "rockchip,rk3288-cru";
494 reg = <0xff760000 0x1000>;
495 rockchip,grf = <&grf>;
498 assigned-clocks = <&cru PLL_GPLL>, <&cru PLL_CPLL>,
499 <&cru PLL_NPLL>, <&cru ACLK_CPU>,
500 <&cru HCLK_CPU>, <&cru PCLK_CPU>,
501 <&cru ACLK_PERI>, <&cru HCLK_PERI>,
503 assigned-clock-rates = <594000000>, <400000000>,
504 <500000000>, <300000000>,
505 <150000000>, <75000000>,
506 <300000000>, <150000000>,
510 grf: syscon@ff770000 {
511 compatible = "rockchip,rk3288-grf", "syscon";
512 reg = <0xff770000 0x1000>;
515 wdt: watchdog@ff800000 {
516 compatible = "rockchip,rk3288-wdt", "snps,dw-wdt";
517 reg = <0xff800000 0x100>;
518 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
523 compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s";
524 reg = <0xff890000 0x10000>;
525 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
526 #address-cells = <1>;
528 dmas = <&dmac_bus_s 0>, <&dmac_bus_s 1>;
529 dma-names = "tx", "rx";
530 clock-names = "i2s_hclk", "i2s_clk";
531 clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
532 pinctrl-names = "default";
533 pinctrl-0 = <&i2s0_bus>;
537 vopb_mmu: iommu@ff930300 {
538 compatible = "rockchip,iommu";
539 reg = <0xff930300 0x100>;
540 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
541 interrupt-names = "vopb_mmu";
546 vopl_mmu: iommu@ff940300 {
547 compatible = "rockchip,iommu";
548 reg = <0xff940300 0x100>;
549 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
550 interrupt-names = "vopl_mmu";
555 gic: interrupt-controller@ffc01000 {
556 compatible = "arm,gic-400";
557 interrupt-controller;
558 #interrupt-cells = <3>;
559 #address-cells = <0>;
561 reg = <0xffc01000 0x1000>,
565 interrupts = <GIC_PPI 9 0xf04>;
569 compatible = "rockchip,rk3288-pinctrl";
570 rockchip,grf = <&grf>;
571 rockchip,pmu = <&pmu>;
572 #address-cells = <1>;
576 gpio0: gpio0@ff750000 {
577 compatible = "rockchip,gpio-bank";
578 reg = <0xff750000 0x100>;
579 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
580 clocks = <&cru PCLK_GPIO0>;
585 interrupt-controller;
586 #interrupt-cells = <2>;
589 gpio1: gpio1@ff780000 {
590 compatible = "rockchip,gpio-bank";
591 reg = <0xff780000 0x100>;
592 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
593 clocks = <&cru PCLK_GPIO1>;
598 interrupt-controller;
599 #interrupt-cells = <2>;
602 gpio2: gpio2@ff790000 {
603 compatible = "rockchip,gpio-bank";
604 reg = <0xff790000 0x100>;
605 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
606 clocks = <&cru PCLK_GPIO2>;
611 interrupt-controller;
612 #interrupt-cells = <2>;
615 gpio3: gpio3@ff7a0000 {
616 compatible = "rockchip,gpio-bank";
617 reg = <0xff7a0000 0x100>;
618 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
619 clocks = <&cru PCLK_GPIO3>;
624 interrupt-controller;
625 #interrupt-cells = <2>;
628 gpio4: gpio4@ff7b0000 {
629 compatible = "rockchip,gpio-bank";
630 reg = <0xff7b0000 0x100>;
631 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
632 clocks = <&cru PCLK_GPIO4>;
637 interrupt-controller;
638 #interrupt-cells = <2>;
641 gpio5: gpio5@ff7c0000 {
642 compatible = "rockchip,gpio-bank";
643 reg = <0xff7c0000 0x100>;
644 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
645 clocks = <&cru PCLK_GPIO5>;
650 interrupt-controller;
651 #interrupt-cells = <2>;
654 gpio6: gpio6@ff7d0000 {
655 compatible = "rockchip,gpio-bank";
656 reg = <0xff7d0000 0x100>;
657 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
658 clocks = <&cru PCLK_GPIO6>;
663 interrupt-controller;
664 #interrupt-cells = <2>;
667 gpio7: gpio7@ff7e0000 {
668 compatible = "rockchip,gpio-bank";
669 reg = <0xff7e0000 0x100>;
670 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
671 clocks = <&cru PCLK_GPIO7>;
676 interrupt-controller;
677 #interrupt-cells = <2>;
680 gpio8: gpio8@ff7f0000 {
681 compatible = "rockchip,gpio-bank";
682 reg = <0xff7f0000 0x100>;
683 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
684 clocks = <&cru PCLK_GPIO8>;
689 interrupt-controller;
690 #interrupt-cells = <2>;
693 pcfg_pull_up: pcfg-pull-up {
697 pcfg_pull_down: pcfg-pull-down {
701 pcfg_pull_none: pcfg-pull-none {
706 i2c0_xfer: i2c0-xfer {
707 rockchip,pins = <0 15 RK_FUNC_1 &pcfg_pull_none>,
708 <0 16 RK_FUNC_1 &pcfg_pull_none>;
713 i2c1_xfer: i2c1-xfer {
714 rockchip,pins = <8 4 RK_FUNC_1 &pcfg_pull_none>,
715 <8 5 RK_FUNC_1 &pcfg_pull_none>;
720 i2c2_xfer: i2c2-xfer {
721 rockchip,pins = <6 9 RK_FUNC_1 &pcfg_pull_none>,
722 <6 10 RK_FUNC_1 &pcfg_pull_none>;
727 i2c3_xfer: i2c3-xfer {
728 rockchip,pins = <2 16 RK_FUNC_1 &pcfg_pull_none>,
729 <2 17 RK_FUNC_1 &pcfg_pull_none>;
734 i2c4_xfer: i2c4-xfer {
735 rockchip,pins = <7 17 RK_FUNC_1 &pcfg_pull_none>,
736 <7 18 RK_FUNC_1 &pcfg_pull_none>;
741 i2c5_xfer: i2c5-xfer {
742 rockchip,pins = <7 19 RK_FUNC_1 &pcfg_pull_none>,
743 <7 20 RK_FUNC_1 &pcfg_pull_none>;
749 rockchip,pins = <6 0 RK_FUNC_1 &pcfg_pull_none>,
750 <6 1 RK_FUNC_1 &pcfg_pull_none>,
751 <6 2 RK_FUNC_1 &pcfg_pull_none>,
752 <6 3 RK_FUNC_1 &pcfg_pull_none>,
753 <6 4 RK_FUNC_1 &pcfg_pull_none>,
754 <6 8 RK_FUNC_1 &pcfg_pull_none>;
759 sdmmc_clk: sdmmc-clk {
760 rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none>;
763 sdmmc_cmd: sdmmc-cmd {
764 rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up>;
768 rockchip,pins = <6 22 RK_FUNC_1 &pcfg_pull_up>;
771 sdmmc_bus1: sdmmc-bus1 {
772 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>;
775 sdmmc_bus4: sdmmc-bus4 {
776 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>,
777 <6 17 RK_FUNC_1 &pcfg_pull_up>,
778 <6 18 RK_FUNC_1 &pcfg_pull_up>,
779 <6 19 RK_FUNC_1 &pcfg_pull_up>;
784 sdio0_bus1: sdio0-bus1 {
785 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>;
788 sdio0_bus4: sdio0-bus4 {
789 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>,
790 <4 21 RK_FUNC_1 &pcfg_pull_up>,
791 <4 22 RK_FUNC_1 &pcfg_pull_up>,
792 <4 23 RK_FUNC_1 &pcfg_pull_up>;
795 sdio0_cmd: sdio0-cmd {
796 rockchip,pins = <4 24 RK_FUNC_1 &pcfg_pull_up>;
799 sdio0_clk: sdio0-clk {
800 rockchip,pins = <4 25 RK_FUNC_1 &pcfg_pull_none>;
804 rockchip,pins = <4 26 RK_FUNC_1 &pcfg_pull_up>;
808 rockchip,pins = <4 27 RK_FUNC_1 &pcfg_pull_up>;
811 sdio0_pwr: sdio0-pwr {
812 rockchip,pins = <4 28 RK_FUNC_1 &pcfg_pull_up>;
815 sdio0_bkpwr: sdio0-bkpwr {
816 rockchip,pins = <4 29 RK_FUNC_1 &pcfg_pull_up>;
819 sdio0_int: sdio0-int {
820 rockchip,pins = <4 30 RK_FUNC_1 &pcfg_pull_up>;
825 sdio1_bus1: sdio1-bus1 {
826 rockchip,pins = <3 24 4 &pcfg_pull_up>;
829 sdio1_bus4: sdio1-bus4 {
830 rockchip,pins = <3 24 4 &pcfg_pull_up>,
831 <3 25 4 &pcfg_pull_up>,
832 <3 26 4 &pcfg_pull_up>,
833 <3 27 4 &pcfg_pull_up>;
837 rockchip,pins = <3 28 4 &pcfg_pull_up>;
841 rockchip,pins = <3 29 4 &pcfg_pull_up>;
844 sdio1_bkpwr: sdio1-bkpwr {
845 rockchip,pins = <3 30 4 &pcfg_pull_up>;
848 sdio1_int: sdio1-int {
849 rockchip,pins = <3 31 4 &pcfg_pull_up>;
852 sdio1_cmd: sdio1-cmd {
853 rockchip,pins = <4 6 4 &pcfg_pull_up>;
856 sdio1_clk: sdio1-clk {
857 rockchip,pins = <4 7 4 &pcfg_pull_none>;
860 sdio1_pwr: sdio1-pwr {
861 rockchip,pins = <4 9 4 &pcfg_pull_up>;
867 rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none>;
871 rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_up>;
875 rockchip,pins = <3 9 RK_FUNC_2 &pcfg_pull_up>;
878 emmc_bus1: emmc-bus1 {
879 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>;
882 emmc_bus4: emmc-bus4 {
883 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>,
884 <3 1 RK_FUNC_2 &pcfg_pull_up>,
885 <3 2 RK_FUNC_2 &pcfg_pull_up>,
886 <3 3 RK_FUNC_2 &pcfg_pull_up>;
889 emmc_bus8: emmc-bus8 {
890 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>,
891 <3 1 RK_FUNC_2 &pcfg_pull_up>,
892 <3 2 RK_FUNC_2 &pcfg_pull_up>,
893 <3 3 RK_FUNC_2 &pcfg_pull_up>,
894 <3 4 RK_FUNC_2 &pcfg_pull_up>,
895 <3 5 RK_FUNC_2 &pcfg_pull_up>,
896 <3 6 RK_FUNC_2 &pcfg_pull_up>,
897 <3 7 RK_FUNC_2 &pcfg_pull_up>;
903 rockchip,pins = <5 12 RK_FUNC_1 &pcfg_pull_up>;
906 rockchip,pins = <5 13 RK_FUNC_1 &pcfg_pull_up>;
909 rockchip,pins = <5 14 RK_FUNC_1 &pcfg_pull_up>;
912 rockchip,pins = <5 15 RK_FUNC_1 &pcfg_pull_up>;
915 rockchip,pins = <5 16 RK_FUNC_1 &pcfg_pull_up>;
920 rockchip,pins = <7 12 RK_FUNC_2 &pcfg_pull_up>;
923 rockchip,pins = <7 13 RK_FUNC_2 &pcfg_pull_up>;
926 rockchip,pins = <7 14 RK_FUNC_2 &pcfg_pull_up>;
929 rockchip,pins = <7 15 RK_FUNC_2 &pcfg_pull_up>;
935 rockchip,pins = <8 3 RK_FUNC_1 &pcfg_pull_up>;
938 rockchip,pins = <8 6 RK_FUNC_1 &pcfg_pull_up>;
941 rockchip,pins = <8 7 RK_FUNC_1 &pcfg_pull_up>;
944 rockchip,pins = <8 8 RK_FUNC_1 &pcfg_pull_up>;
947 rockchip,pins = <8 9 RK_FUNC_1 &pcfg_pull_up>;
952 uart0_xfer: uart0-xfer {
953 rockchip,pins = <4 16 RK_FUNC_1 &pcfg_pull_up>,
954 <4 17 RK_FUNC_1 &pcfg_pull_none>;
957 uart0_cts: uart0-cts {
958 rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_none>;
961 uart0_rts: uart0-rts {
962 rockchip,pins = <4 19 RK_FUNC_1 &pcfg_pull_none>;
967 uart1_xfer: uart1-xfer {
968 rockchip,pins = <5 8 RK_FUNC_1 &pcfg_pull_up>,
969 <5 9 RK_FUNC_1 &pcfg_pull_none>;
972 uart1_cts: uart1-cts {
973 rockchip,pins = <5 10 RK_FUNC_1 &pcfg_pull_none>;
976 uart1_rts: uart1-rts {
977 rockchip,pins = <5 11 RK_FUNC_1 &pcfg_pull_none>;
982 uart2_xfer: uart2-xfer {
983 rockchip,pins = <7 22 RK_FUNC_1 &pcfg_pull_up>,
984 <7 23 RK_FUNC_1 &pcfg_pull_none>;
986 /* no rts / cts for uart2 */
990 uart3_xfer: uart3-xfer {
991 rockchip,pins = <7 7 RK_FUNC_1 &pcfg_pull_up>,
992 <7 8 RK_FUNC_1 &pcfg_pull_none>;
995 uart3_cts: uart3-cts {
996 rockchip,pins = <7 9 RK_FUNC_1 &pcfg_pull_none>;
999 uart3_rts: uart3-rts {
1000 rockchip,pins = <7 10 RK_FUNC_1 &pcfg_pull_none>;
1005 uart4_xfer: uart4-xfer {
1006 rockchip,pins = <5 12 3 &pcfg_pull_up>,
1007 <5 13 3 &pcfg_pull_none>;
1010 uart4_cts: uart4-cts {
1011 rockchip,pins = <5 14 3 &pcfg_pull_none>;
1014 uart4_rts: uart4-rts {
1015 rockchip,pins = <5 15 3 &pcfg_pull_none>;
1020 pwm0_pin: pwm0-pin {
1021 rockchip,pins = <7 0 RK_FUNC_1 &pcfg_pull_none>;
1026 pwm1_pin: pwm1-pin {
1027 rockchip,pins = <7 1 RK_FUNC_1 &pcfg_pull_none>;
1032 pwm2_pin: pwm2-pin {
1033 rockchip,pins = <7 22 3 &pcfg_pull_none>;
1038 pwm3_pin: pwm3-pin {
1039 rockchip,pins = <7 23 3 &pcfg_pull_none>;