1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
6 #include <dt-bindings/clock/rk3328-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/power/rk3328-power.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #include <dt-bindings/thermal/thermal.h>
16 compatible = "rockchip,rk3328";
18 interrupt-parent = <&gic>;
31 ethernet1 = &gmac2phy;
40 compatible = "arm,cortex-a53", "arm,armv8";
42 clocks = <&cru ARMCLK>;
44 dynamic-power-coefficient = <120>;
45 enable-method = "psci";
46 next-level-cache = <&l2>;
47 operating-points-v2 = <&cpu0_opp_table>;
52 compatible = "arm,cortex-a53", "arm,armv8";
54 clocks = <&cru ARMCLK>;
56 dynamic-power-coefficient = <120>;
57 enable-method = "psci";
58 next-level-cache = <&l2>;
59 operating-points-v2 = <&cpu0_opp_table>;
64 compatible = "arm,cortex-a53", "arm,armv8";
66 clocks = <&cru ARMCLK>;
68 dynamic-power-coefficient = <120>;
69 enable-method = "psci";
70 next-level-cache = <&l2>;
71 operating-points-v2 = <&cpu0_opp_table>;
76 compatible = "arm,cortex-a53", "arm,armv8";
78 clocks = <&cru ARMCLK>;
80 dynamic-power-coefficient = <120>;
81 enable-method = "psci";
82 next-level-cache = <&l2>;
83 operating-points-v2 = <&cpu0_opp_table>;
91 cpu0_opp_table: opp_table0 {
92 compatible = "operating-points-v2";
96 opp-hz = /bits/ 64 <408000000>;
97 opp-microvolt = <950000>;
98 clock-latency-ns = <40000>;
102 opp-hz = /bits/ 64 <600000000>;
103 opp-microvolt = <950000>;
104 clock-latency-ns = <40000>;
107 opp-hz = /bits/ 64 <816000000>;
108 opp-microvolt = <1000000>;
109 clock-latency-ns = <40000>;
112 opp-hz = /bits/ 64 <1008000000>;
113 opp-microvolt = <1100000>;
114 clock-latency-ns = <40000>;
117 opp-hz = /bits/ 64 <1200000000>;
118 opp-microvolt = <1225000>;
119 clock-latency-ns = <40000>;
122 opp-hz = /bits/ 64 <1296000000>;
123 opp-microvolt = <1300000>;
124 clock-latency-ns = <40000>;
129 compatible = "simple-bus";
130 #address-cells = <2>;
134 dmac: dmac@ff1f0000 {
135 compatible = "arm,pl330", "arm,primecell";
136 reg = <0x0 0xff1f0000 0x0 0x4000>;
137 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
138 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
139 clocks = <&cru ACLK_DMAC>;
140 clock-names = "apb_pclk";
146 compatible = "arm,cortex-a53-pmu";
147 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
150 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
151 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
155 compatible = "arm,psci-1.0", "arm,psci-0.2";
160 compatible = "arm,armv8-timer";
161 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
162 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
163 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
164 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
168 compatible = "fixed-clock";
170 clock-frequency = <24000000>;
171 clock-output-names = "xin24m";
175 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
176 reg = <0x0 0xff000000 0x0 0x1000>;
177 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
178 clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>;
179 clock-names = "i2s_clk", "i2s_hclk";
180 dmas = <&dmac 11>, <&dmac 12>;
181 dma-names = "tx", "rx";
186 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
187 reg = <0x0 0xff010000 0x0 0x1000>;
188 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
189 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>;
190 clock-names = "i2s_clk", "i2s_hclk";
191 dmas = <&dmac 14>, <&dmac 15>;
192 dma-names = "tx", "rx";
197 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
198 reg = <0x0 0xff020000 0x0 0x1000>;
199 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
200 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2_2CH>;
201 clock-names = "i2s_clk", "i2s_hclk";
202 dmas = <&dmac 0>, <&dmac 1>;
203 dma-names = "tx", "rx";
207 spdif: spdif@ff030000 {
208 compatible = "rockchip,rk3328-spdif";
209 reg = <0x0 0xff030000 0x0 0x1000>;
210 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
211 clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
212 clock-names = "mclk", "hclk";
215 pinctrl-names = "default";
216 pinctrl-0 = <&spdifm2_tx>;
221 compatible = "rockchip,pdm";
222 reg = <0x0 0xff040000 0x0 0x1000>;
223 clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>;
224 clock-names = "pdm_clk", "pdm_hclk";
227 pinctrl-names = "default", "sleep";
228 pinctrl-0 = <&pdmm0_clk
233 pinctrl-1 = <&pdmm0_clk_sleep
241 grf: syscon@ff100000 {
242 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
243 reg = <0x0 0xff100000 0x0 0x1000>;
244 #address-cells = <1>;
247 io_domains: io-domains {
248 compatible = "rockchip,rk3328-io-voltage-domain";
253 compatible = "rockchip,rk3328-grf-gpio";
258 power: power-controller {
259 compatible = "rockchip,rk3328-power-controller";
260 #power-domain-cells = <1>;
261 #address-cells = <1>;
264 pd_hevc@RK3328_PD_HEVC {
265 reg = <RK3328_PD_HEVC>;
267 pd_video@RK3328_PD_VIDEO {
268 reg = <RK3328_PD_VIDEO>;
270 pd_vpu@RK3328_PD_VPU {
271 reg = <RK3328_PD_VPU>;
276 compatible = "syscon-reboot-mode";
278 mode-normal = <BOOT_NORMAL>;
279 mode-recovery = <BOOT_RECOVERY>;
280 mode-bootloader = <BOOT_FASTBOOT>;
281 mode-loader = <BOOT_BL_DOWNLOAD>;
285 uart0: serial@ff110000 {
286 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
287 reg = <0x0 0xff110000 0x0 0x100>;
288 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
289 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
290 clock-names = "baudclk", "apb_pclk";
291 dmas = <&dmac 2>, <&dmac 3>;
292 dma-names = "tx", "rx";
293 pinctrl-names = "default";
294 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
300 uart1: serial@ff120000 {
301 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
302 reg = <0x0 0xff120000 0x0 0x100>;
303 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
304 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
305 clock-names = "baudclk", "apb_pclk";
306 dmas = <&dmac 4>, <&dmac 5>;
307 dma-names = "tx", "rx";
308 pinctrl-names = "default";
309 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
315 uart2: serial@ff130000 {
316 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
317 reg = <0x0 0xff130000 0x0 0x100>;
318 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
319 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
320 clock-names = "baudclk", "apb_pclk";
321 dmas = <&dmac 6>, <&dmac 7>;
322 dma-names = "tx", "rx";
323 pinctrl-names = "default";
324 pinctrl-0 = <&uart2m1_xfer>;
331 compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
332 reg = <0x0 0xff150000 0x0 0x1000>;
333 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
334 #address-cells = <1>;
336 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
337 clock-names = "i2c", "pclk";
338 pinctrl-names = "default";
339 pinctrl-0 = <&i2c0_xfer>;
344 compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
345 reg = <0x0 0xff160000 0x0 0x1000>;
346 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
347 #address-cells = <1>;
349 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
350 clock-names = "i2c", "pclk";
351 pinctrl-names = "default";
352 pinctrl-0 = <&i2c1_xfer>;
357 compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
358 reg = <0x0 0xff170000 0x0 0x1000>;
359 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
360 #address-cells = <1>;
362 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
363 clock-names = "i2c", "pclk";
364 pinctrl-names = "default";
365 pinctrl-0 = <&i2c2_xfer>;
370 compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
371 reg = <0x0 0xff180000 0x0 0x1000>;
372 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
373 #address-cells = <1>;
375 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
376 clock-names = "i2c", "pclk";
377 pinctrl-names = "default";
378 pinctrl-0 = <&i2c3_xfer>;
383 compatible = "rockchip,rk3328-spi", "rockchip,rk3066-spi";
384 reg = <0x0 0xff190000 0x0 0x1000>;
385 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
386 #address-cells = <1>;
388 clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
389 clock-names = "spiclk", "apb_pclk";
390 dmas = <&dmac 8>, <&dmac 9>;
391 dma-names = "tx", "rx";
392 pinctrl-names = "default";
393 pinctrl-0 = <&spi0m2_clk &spi0m2_tx &spi0m2_rx &spi0m2_cs0>;
397 wdt: watchdog@ff1a0000 {
398 compatible = "snps,dw-wdt";
399 reg = <0x0 0xff1a0000 0x0 0x100>;
400 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
404 compatible = "rockchip,rk3328-pwm";
405 reg = <0x0 0xff1b0000 0x0 0x10>;
406 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
407 clock-names = "pwm", "pclk";
408 pinctrl-names = "default";
409 pinctrl-0 = <&pwm0_pin>;
415 compatible = "rockchip,rk3328-pwm";
416 reg = <0x0 0xff1b0010 0x0 0x10>;
417 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
418 clock-names = "pwm", "pclk";
419 pinctrl-names = "default";
420 pinctrl-0 = <&pwm1_pin>;
426 compatible = "rockchip,rk3328-pwm";
427 reg = <0x0 0xff1b0020 0x0 0x10>;
428 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
429 clock-names = "pwm", "pclk";
430 pinctrl-names = "default";
431 pinctrl-0 = <&pwm2_pin>;
437 compatible = "rockchip,rk3328-pwm";
438 reg = <0x0 0xff1b0030 0x0 0x10>;
439 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
440 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
441 clock-names = "pwm", "pclk";
442 pinctrl-names = "default";
443 pinctrl-0 = <&pwmir_pin>;
449 soc_thermal: soc-thermal {
450 polling-delay-passive = <20>;
451 polling-delay = <1000>;
452 sustainable-power = <1000>;
454 thermal-sensors = <&tsadc 0>;
457 threshold: trip-point0 {
458 temperature = <70000>;
462 target: trip-point1 {
463 temperature = <85000>;
468 temperature = <95000>;
477 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
478 contribution = <4096>;
485 tsadc: tsadc@ff250000 {
486 compatible = "rockchip,rk3328-tsadc";
487 reg = <0x0 0xff250000 0x0 0x100>;
488 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
489 assigned-clocks = <&cru SCLK_TSADC>;
490 assigned-clock-rates = <50000>;
491 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
492 clock-names = "tsadc", "apb_pclk";
493 pinctrl-names = "init", "default", "sleep";
494 pinctrl-0 = <&otp_gpio>;
495 pinctrl-1 = <&otp_out>;
496 pinctrl-2 = <&otp_gpio>;
497 resets = <&cru SRST_TSADC>;
498 reset-names = "tsadc-apb";
499 rockchip,grf = <&grf>;
500 rockchip,hw-tshut-temp = <100000>;
501 #thermal-sensor-cells = <1>;
505 efuse: efuse@ff260000 {
506 compatible = "rockchip,rk3328-efuse";
507 reg = <0x0 0xff260000 0x0 0x50>;
508 #address-cells = <1>;
510 clocks = <&cru SCLK_EFUSE>;
511 clock-names = "pclk_efuse";
512 rockchip,efuse-size = <0x20>;
518 cpu_leakage: cpu-leakage@17 {
521 logic_leakage: logic-leakage@19 {
524 efuse_cpu_version: cpu-version@1a {
530 saradc: adc@ff280000 {
531 compatible = "rockchip,rk3328-saradc", "rockchip,rk3399-saradc";
532 reg = <0x0 0xff280000 0x0 0x100>;
533 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
534 #io-channel-cells = <1>;
535 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
536 clock-names = "saradc", "apb_pclk";
537 resets = <&cru SRST_SARADC_P>;
538 reset-names = "saradc-apb";
543 compatible = "rockchip,rk3328-mali", "arm,mali-450";
544 reg = <0x0 0xff300000 0x0 0x40000>;
545 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
546 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
547 <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
548 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
549 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
550 <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
551 <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
552 interrupt-names = "gp",
559 clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
560 clock-names = "bus", "core";
561 resets = <&cru SRST_GPU_A>;
564 h265e_mmu: iommu@ff330200 {
565 compatible = "rockchip,iommu";
566 reg = <0x0 0xff330200 0 0x100>;
567 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
568 interrupt-names = "h265e_mmu";
569 clocks = <&cru ACLK_H265>, <&cru PCLK_H265>;
570 clock-names = "aclk", "iface";
575 vepu_mmu: iommu@ff340800 {
576 compatible = "rockchip,iommu";
577 reg = <0x0 0xff340800 0x0 0x40>;
578 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
579 interrupt-names = "vepu_mmu";
580 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
581 clock-names = "aclk", "iface";
586 vpu_mmu: iommu@ff350800 {
587 compatible = "rockchip,iommu";
588 reg = <0x0 0xff350800 0x0 0x40>;
589 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
590 interrupt-names = "vpu_mmu";
591 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
592 clock-names = "aclk", "iface";
597 rkvdec_mmu: iommu@ff360480 {
598 compatible = "rockchip,iommu";
599 reg = <0x0 0xff360480 0x0 0x40>, <0x0 0xff3604c0 0x0 0x40>;
600 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
601 interrupt-names = "rkvdec_mmu";
602 clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>;
603 clock-names = "aclk", "iface";
608 vop_mmu: iommu@ff373f00 {
609 compatible = "rockchip,iommu";
610 reg = <0x0 0xff373f00 0x0 0x100>;
611 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
612 interrupt-names = "vop_mmu";
613 clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
614 clock-names = "aclk", "iface";
619 cru: clock-controller@ff440000 {
620 compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon";
621 reg = <0x0 0xff440000 0x0 0x1000>;
622 rockchip,grf = <&grf>;
627 * CPLL should run at 1200, but that is to high for
628 * the initial dividers of most of its children.
629 * We need set cpll child clk div first,
630 * and then set the cpll frequency.
632 <&cru DCLK_LCDC>, <&cru SCLK_PDM>,
633 <&cru SCLK_RTC32K>, <&cru SCLK_UART0>,
634 <&cru SCLK_UART1>, <&cru SCLK_UART2>,
635 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
636 <&cru ACLK_VIO_PRE>, <&cru ACLK_RGA_PRE>,
637 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
638 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
639 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
640 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
641 <&cru SCLK_SDIO>, <&cru SCLK_TSP>,
642 <&cru SCLK_WIFI>, <&cru ARMCLK>,
643 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
644 <&cru ACLK_BUS_PRE>, <&cru HCLK_BUS_PRE>,
645 <&cru PCLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
646 <&cru HCLK_PERI>, <&cru PCLK_PERI>,
648 assigned-clock-parents =
649 <&cru HDMIPHY>, <&cru PLL_APLL>,
650 <&cru PLL_GPLL>, <&xin24m>,
651 <&xin24m>, <&xin24m>;
652 assigned-clock-rates =
655 <24000000>, <24000000>,
656 <15000000>, <15000000>,
657 <100000000>, <100000000>,
658 <100000000>, <100000000>,
659 <50000000>, <100000000>,
660 <100000000>, <100000000>,
661 <50000000>, <50000000>,
662 <50000000>, <50000000>,
663 <24000000>, <600000000>,
664 <491520000>, <1200000000>,
665 <150000000>, <75000000>,
666 <75000000>, <150000000>,
667 <75000000>, <75000000>,
671 usb2phy_grf: syscon@ff450000 {
672 compatible = "rockchip,rk3328-usb2phy-grf", "syscon",
674 reg = <0x0 0xff450000 0x0 0x10000>;
675 #address-cells = <1>;
678 u2phy: usb2-phy@100 {
679 compatible = "rockchip,rk3328-usb2phy";
682 clock-names = "phyclk";
683 clock-output-names = "usb480m_phy";
685 assigned-clocks = <&cru USB480M>;
686 assigned-clock-parents = <&u2phy>;
689 u2phy_otg: otg-port {
691 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
692 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
693 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
694 interrupt-names = "otg-bvalid", "otg-id",
699 u2phy_host: host-port {
701 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
702 interrupt-names = "linestate";
708 sdmmc: dwmmc@ff500000 {
709 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
710 reg = <0x0 0xff500000 0x0 0x4000>;
711 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
712 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
713 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
714 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
715 fifo-depth = <0x100>;
719 sdio: dwmmc@ff510000 {
720 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
721 reg = <0x0 0xff510000 0x0 0x4000>;
722 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
723 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
724 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
725 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
726 fifo-depth = <0x100>;
730 emmc: dwmmc@ff520000 {
731 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
732 reg = <0x0 0xff520000 0x0 0x4000>;
733 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
734 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
735 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
736 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
737 fifo-depth = <0x100>;
741 gmac2io: ethernet@ff540000 {
742 compatible = "rockchip,rk3328-gmac";
743 reg = <0x0 0xff540000 0x0 0x10000>;
744 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
745 interrupt-names = "macirq";
746 clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_RX>,
747 <&cru SCLK_MAC2IO_TX>, <&cru SCLK_MAC2IO_REF>,
748 <&cru SCLK_MAC2IO_REFOUT>, <&cru ACLK_MAC2IO>,
750 clock-names = "stmmaceth", "mac_clk_rx",
751 "mac_clk_tx", "clk_mac_ref",
752 "clk_mac_refout", "aclk_mac",
754 resets = <&cru SRST_GMAC2IO_A>;
755 reset-names = "stmmaceth";
756 rockchip,grf = <&grf>;
760 gmac2phy: ethernet@ff550000 {
761 compatible = "rockchip,rk3328-gmac";
762 reg = <0x0 0xff550000 0x0 0x10000>;
763 rockchip,grf = <&grf>;
764 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
765 interrupt-names = "macirq";
766 clocks = <&cru SCLK_MAC2PHY_SRC>, <&cru SCLK_MAC2PHY_RXTX>,
767 <&cru SCLK_MAC2PHY_RXTX>, <&cru SCLK_MAC2PHY_REF>,
768 <&cru ACLK_MAC2PHY>, <&cru PCLK_MAC2PHY>,
769 <&cru SCLK_MAC2PHY_OUT>;
770 clock-names = "stmmaceth", "mac_clk_rx",
771 "mac_clk_tx", "clk_mac_ref",
772 "aclk_mac", "pclk_mac",
774 resets = <&cru SRST_GMAC2PHY_A>, <&cru SRST_MACPHY>;
775 reset-names = "stmmaceth", "mac-phy";
781 compatible = "snps,dwmac-mdio";
782 #address-cells = <1>;
786 compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
788 clocks = <&cru SCLK_MAC2PHY_OUT>;
789 resets = <&cru SRST_MACPHY>;
790 pinctrl-names = "default";
791 pinctrl-0 = <&fephyled_rxm1 &fephyled_linkm1>;
797 usb20_otg: usb@ff580000 {
798 compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb",
800 reg = <0x0 0xff580000 0x0 0x40000>;
801 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
802 clocks = <&cru HCLK_OTG>;
805 g-np-tx-fifo-size = <16>;
806 g-rx-fifo-size = <280>;
807 g-tx-fifo-size = <256 128 128 64 32 16>;
810 phy-names = "usb2-phy";
814 usb_host0_ehci: usb@ff5c0000 {
815 compatible = "generic-ehci";
816 reg = <0x0 0xff5c0000 0x0 0x10000>;
817 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
818 clocks = <&cru HCLK_HOST0>, <&u2phy>;
819 clock-names = "usbhost", "utmi";
820 phys = <&u2phy_host>;
825 usb_host0_ohci: usb@ff5d0000 {
826 compatible = "generic-ohci";
827 reg = <0x0 0xff5d0000 0x0 0x10000>;
828 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
829 clocks = <&cru HCLK_HOST0>, <&u2phy>;
830 clock-names = "usbhost", "utmi";
831 phys = <&u2phy_host>;
836 gic: interrupt-controller@ff811000 {
837 compatible = "arm,gic-400";
838 #interrupt-cells = <3>;
839 #address-cells = <0>;
840 interrupt-controller;
841 reg = <0x0 0xff811000 0 0x1000>,
842 <0x0 0xff812000 0 0x2000>,
843 <0x0 0xff814000 0 0x2000>,
844 <0x0 0xff816000 0 0x2000>;
845 interrupts = <GIC_PPI 9
846 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
850 compatible = "rockchip,rk3328-pinctrl";
851 rockchip,grf = <&grf>;
852 #address-cells = <2>;
856 gpio0: gpio0@ff210000 {
857 compatible = "rockchip,gpio-bank";
858 reg = <0x0 0xff210000 0x0 0x100>;
859 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
860 clocks = <&cru PCLK_GPIO0>;
865 interrupt-controller;
866 #interrupt-cells = <2>;
869 gpio1: gpio1@ff220000 {
870 compatible = "rockchip,gpio-bank";
871 reg = <0x0 0xff220000 0x0 0x100>;
872 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
873 clocks = <&cru PCLK_GPIO1>;
878 interrupt-controller;
879 #interrupt-cells = <2>;
882 gpio2: gpio2@ff230000 {
883 compatible = "rockchip,gpio-bank";
884 reg = <0x0 0xff230000 0x0 0x100>;
885 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
886 clocks = <&cru PCLK_GPIO2>;
891 interrupt-controller;
892 #interrupt-cells = <2>;
895 gpio3: gpio3@ff240000 {
896 compatible = "rockchip,gpio-bank";
897 reg = <0x0 0xff240000 0x0 0x100>;
898 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
899 clocks = <&cru PCLK_GPIO3>;
904 interrupt-controller;
905 #interrupt-cells = <2>;
908 pcfg_pull_up: pcfg-pull-up {
912 pcfg_pull_down: pcfg-pull-down {
916 pcfg_pull_none: pcfg-pull-none {
920 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
922 drive-strength = <2>;
925 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
927 drive-strength = <2>;
930 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
932 drive-strength = <4>;
935 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
937 drive-strength = <4>;
940 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
942 drive-strength = <4>;
945 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
947 drive-strength = <8>;
950 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
952 drive-strength = <8>;
955 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
957 drive-strength = <12>;
960 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
962 drive-strength = <12>;
965 pcfg_output_high: pcfg-output-high {
969 pcfg_output_low: pcfg-output-low {
973 pcfg_input_high: pcfg-input-high {
978 pcfg_input: pcfg-input {
983 i2c0_xfer: i2c0-xfer {
984 rockchip,pins = <2 RK_PD0 1 &pcfg_pull_none>,
985 <2 RK_PD1 1 &pcfg_pull_none>;
990 i2c1_xfer: i2c1-xfer {
991 rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>,
992 <2 RK_PA5 2 &pcfg_pull_none>;
997 i2c2_xfer: i2c2-xfer {
998 rockchip,pins = <2 RK_PB5 1 &pcfg_pull_none>,
999 <2 RK_PB6 1 &pcfg_pull_none>;
1004 i2c3_xfer: i2c3-xfer {
1005 rockchip,pins = <0 RK_PA5 2 &pcfg_pull_none>,
1006 <0 RK_PA6 2 &pcfg_pull_none>;
1008 i2c3_gpio: i2c3-gpio {
1010 <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>,
1011 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
1016 hdmii2c_xfer: hdmii2c-xfer {
1017 rockchip,pins = <0 RK_PA5 1 &pcfg_pull_none>,
1018 <0 RK_PA6 1 &pcfg_pull_none>;
1023 pdmm0_clk: pdmm0-clk {
1024 rockchip,pins = <2 RK_PC2 2 &pcfg_pull_none>;
1027 pdmm0_fsync: pdmm0-fsync {
1028 rockchip,pins = <2 RK_PC7 2 &pcfg_pull_none>;
1031 pdmm0_sdi0: pdmm0-sdi0 {
1032 rockchip,pins = <2 RK_PC3 2 &pcfg_pull_none>;
1035 pdmm0_sdi1: pdmm0-sdi1 {
1036 rockchip,pins = <2 RK_PC4 2 &pcfg_pull_none>;
1039 pdmm0_sdi2: pdmm0-sdi2 {
1040 rockchip,pins = <2 RK_PC5 2 &pcfg_pull_none>;
1043 pdmm0_sdi3: pdmm0-sdi3 {
1044 rockchip,pins = <2 RK_PC6 2 &pcfg_pull_none>;
1047 pdmm0_clk_sleep: pdmm0-clk-sleep {
1049 <2 RK_PC2 RK_FUNC_GPIO &pcfg_input_high>;
1052 pdmm0_sdi0_sleep: pdmm0-sdi0-sleep {
1054 <2 RK_PC3 RK_FUNC_GPIO &pcfg_input_high>;
1057 pdmm0_sdi1_sleep: pdmm0-sdi1-sleep {
1059 <2 RK_PC4 RK_FUNC_GPIO &pcfg_input_high>;
1062 pdmm0_sdi2_sleep: pdmm0-sdi2-sleep {
1064 <2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>;
1067 pdmm0_sdi3_sleep: pdmm0-sdi3-sleep {
1069 <2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1072 pdmm0_fsync_sleep: pdmm0-fsync-sleep {
1074 <2 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
1079 otp_gpio: otp-gpio {
1080 rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
1084 rockchip,pins = <2 RK_PB5 1 &pcfg_pull_none>;
1089 uart0_xfer: uart0-xfer {
1090 rockchip,pins = <1 RK_PB1 1 &pcfg_pull_up>,
1091 <1 RK_PB0 1 &pcfg_pull_none>;
1094 uart0_cts: uart0-cts {
1095 rockchip,pins = <1 RK_PB3 1 &pcfg_pull_none>;
1098 uart0_rts: uart0-rts {
1099 rockchip,pins = <1 RK_PB2 1 &pcfg_pull_none>;
1102 uart0_rts_gpio: uart0-rts-gpio {
1103 rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
1108 uart1_xfer: uart1-xfer {
1109 rockchip,pins = <3 RK_PA4 4 &pcfg_pull_up>,
1110 <3 RK_PA6 4 &pcfg_pull_none>;
1113 uart1_cts: uart1-cts {
1114 rockchip,pins = <3 RK_PA7 4 &pcfg_pull_none>;
1117 uart1_rts: uart1-rts {
1118 rockchip,pins = <3 RK_PA5 4 &pcfg_pull_none>;
1121 uart1_rts_gpio: uart1-rts-gpio {
1122 rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
1127 uart2m0_xfer: uart2m0-xfer {
1128 rockchip,pins = <1 RK_PA0 2 &pcfg_pull_up>,
1129 <1 RK_PA1 2 &pcfg_pull_none>;
1134 uart2m1_xfer: uart2m1-xfer {
1135 rockchip,pins = <2 RK_PA0 1 &pcfg_pull_up>,
1136 <2 RK_PA1 1 &pcfg_pull_none>;
1141 spi0m0_clk: spi0m0-clk {
1142 rockchip,pins = <2 RK_PB0 1 &pcfg_pull_up>;
1145 spi0m0_cs0: spi0m0-cs0 {
1146 rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up>;
1149 spi0m0_tx: spi0m0-tx {
1150 rockchip,pins = <2 RK_PB1 1 &pcfg_pull_up>;
1153 spi0m0_rx: spi0m0-rx {
1154 rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up>;
1157 spi0m0_cs1: spi0m0-cs1 {
1158 rockchip,pins = <2 RK_PB4 1 &pcfg_pull_up>;
1163 spi0m1_clk: spi0m1-clk {
1164 rockchip,pins = <3 RK_PC7 2 &pcfg_pull_up>;
1167 spi0m1_cs0: spi0m1-cs0 {
1168 rockchip,pins = <3 RK_PD2 2 &pcfg_pull_up>;
1171 spi0m1_tx: spi0m1-tx {
1172 rockchip,pins = <3 RK_PD1 2 &pcfg_pull_up>;
1175 spi0m1_rx: spi0m1-rx {
1176 rockchip,pins = <3 RK_PD0 2 &pcfg_pull_up>;
1179 spi0m1_cs1: spi0m1-cs1 {
1180 rockchip,pins = <3 RK_PD3 2 &pcfg_pull_up>;
1185 spi0m2_clk: spi0m2-clk {
1186 rockchip,pins = <3 RK_PA0 4 &pcfg_pull_up>;
1189 spi0m2_cs0: spi0m2-cs0 {
1190 rockchip,pins = <3 RK_PB0 3 &pcfg_pull_up>;
1193 spi0m2_tx: spi0m2-tx {
1194 rockchip,pins = <3 RK_PA1 4 &pcfg_pull_up>;
1197 spi0m2_rx: spi0m2-rx {
1198 rockchip,pins = <3 RK_PA2 4 &pcfg_pull_up>;
1203 i2s1_mclk: i2s1-mclk {
1204 rockchip,pins = <2 RK_PB7 1 &pcfg_pull_none>;
1207 i2s1_sclk: i2s1-sclk {
1208 rockchip,pins = <2 RK_PC2 1 &pcfg_pull_none>;
1211 i2s1_lrckrx: i2s1-lrckrx {
1212 rockchip,pins = <2 RK_PC0 1 &pcfg_pull_none>;
1215 i2s1_lrcktx: i2s1-lrcktx {
1216 rockchip,pins = <2 RK_PC1 1 &pcfg_pull_none>;
1219 i2s1_sdi: i2s1-sdi {
1220 rockchip,pins = <2 RK_PC3 1 &pcfg_pull_none>;
1223 i2s1_sdo: i2s1-sdo {
1224 rockchip,pins = <2 RK_PC7 1 &pcfg_pull_none>;
1227 i2s1_sdio1: i2s1-sdio1 {
1228 rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>;
1231 i2s1_sdio2: i2s1-sdio2 {
1232 rockchip,pins = <2 RK_PC5 1 &pcfg_pull_none>;
1235 i2s1_sdio3: i2s1-sdio3 {
1236 rockchip,pins = <2 RK_PC6 1 &pcfg_pull_none>;
1239 i2s1_sleep: i2s1-sleep {
1241 <2 RK_PB7 RK_FUNC_GPIO &pcfg_input_high>,
1242 <2 RK_PC0 RK_FUNC_GPIO &pcfg_input_high>,
1243 <2 RK_PC1 RK_FUNC_GPIO &pcfg_input_high>,
1244 <2 RK_PC2 RK_FUNC_GPIO &pcfg_input_high>,
1245 <2 RK_PC3 RK_FUNC_GPIO &pcfg_input_high>,
1246 <2 RK_PC4 RK_FUNC_GPIO &pcfg_input_high>,
1247 <2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
1248 <2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
1249 <2 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
1254 i2s2m0_mclk: i2s2m0-mclk {
1255 rockchip,pins = <1 RK_PC5 1 &pcfg_pull_none>;
1258 i2s2m0_sclk: i2s2m0-sclk {
1259 rockchip,pins = <1 RK_PC6 1 &pcfg_pull_none>;
1262 i2s2m0_lrckrx: i2s2m0-lrckrx {
1263 rockchip,pins = <1 RK_PD2 1 &pcfg_pull_none>;
1266 i2s2m0_lrcktx: i2s2m0-lrcktx {
1267 rockchip,pins = <1 RK_PC7 1 &pcfg_pull_none>;
1270 i2s2m0_sdi: i2s2m0-sdi {
1271 rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>;
1274 i2s2m0_sdo: i2s2m0-sdo {
1275 rockchip,pins = <1 RK_PD1 1 &pcfg_pull_none>;
1278 i2s2m0_sleep: i2s2m0-sleep {
1280 <1 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
1281 <1 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
1282 <1 RK_PD2 RK_FUNC_GPIO &pcfg_input_high>,
1283 <1 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>,
1284 <1 RK_PD0 RK_FUNC_GPIO &pcfg_input_high>,
1285 <1 RK_PD1 RK_FUNC_GPIO &pcfg_input_high>;
1290 i2s2m1_mclk: i2s2m1-mclk {
1291 rockchip,pins = <1 RK_PC5 1 &pcfg_pull_none>;
1294 i2s2m1_sclk: i2s2m1-sclk {
1295 rockchip,pins = <3 RK_PA0 6 &pcfg_pull_none>;
1298 i2s2m1_lrckrx: i2sm1-lrckrx {
1299 rockchip,pins = <3 RK_PB0 6 &pcfg_pull_none>;
1302 i2s2m1_lrcktx: i2s2m1-lrcktx {
1303 rockchip,pins = <3 RK_PB0 4 &pcfg_pull_none>;
1306 i2s2m1_sdi: i2s2m1-sdi {
1307 rockchip,pins = <3 RK_PA2 6 &pcfg_pull_none>;
1310 i2s2m1_sdo: i2s2m1-sdo {
1311 rockchip,pins = <3 RK_PA1 6 &pcfg_pull_none>;
1314 i2s2m1_sleep: i2s2m1-sleep {
1316 <1 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
1317 <3 RK_PA0 RK_FUNC_GPIO &pcfg_input_high>,
1318 <3 RK_PB0 RK_FUNC_GPIO &pcfg_input_high>,
1319 <3 RK_PA2 RK_FUNC_GPIO &pcfg_input_high>,
1320 <3 RK_PA1 RK_FUNC_GPIO &pcfg_input_high>;
1325 spdifm0_tx: spdifm0-tx {
1326 rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
1331 spdifm1_tx: spdifm1-tx {
1332 rockchip,pins = <2 RK_PC1 2 &pcfg_pull_none>;
1337 spdifm2_tx: spdifm2-tx {
1338 rockchip,pins = <0 RK_PA2 2 &pcfg_pull_none>;
1343 sdmmc0m0_pwren: sdmmc0m0-pwren {
1344 rockchip,pins = <2 RK_PA7 1 &pcfg_pull_up_4ma>;
1347 sdmmc0m0_gpio: sdmmc0m0-gpio {
1348 rockchip,pins = <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1353 sdmmc0m1_pwren: sdmmc0m1-pwren {
1354 rockchip,pins = <0 RK_PD6 3 &pcfg_pull_up_4ma>;
1357 sdmmc0m1_gpio: sdmmc0m1-gpio {
1358 rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1363 sdmmc0_clk: sdmmc0-clk {
1364 rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none_4ma>;
1367 sdmmc0_cmd: sdmmc0-cmd {
1368 rockchip,pins = <1 RK_PA4 1 &pcfg_pull_up_4ma>;
1371 sdmmc0_dectn: sdmmc0-dectn {
1372 rockchip,pins = <1 RK_PA5 1 &pcfg_pull_up_4ma>;
1375 sdmmc0_wrprt: sdmmc0-wrprt {
1376 rockchip,pins = <1 RK_PA7 1 &pcfg_pull_up_4ma>;
1379 sdmmc0_bus1: sdmmc0-bus1 {
1380 rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_4ma>;
1383 sdmmc0_bus4: sdmmc0-bus4 {
1384 rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_4ma>,
1385 <1 RK_PA1 1 &pcfg_pull_up_4ma>,
1386 <1 RK_PA2 1 &pcfg_pull_up_4ma>,
1387 <1 RK_PA3 1 &pcfg_pull_up_4ma>;
1390 sdmmc0_gpio: sdmmc0-gpio {
1392 <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1393 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1394 <1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1395 <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1396 <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1397 <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1398 <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1399 <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1404 sdmmc0ext_clk: sdmmc0ext-clk {
1405 rockchip,pins = <3 RK_PA2 3 &pcfg_pull_none_4ma>;
1408 sdmmc0ext_cmd: sdmmc0ext-cmd {
1409 rockchip,pins = <3 RK_PA0 3 &pcfg_pull_up_4ma>;
1412 sdmmc0ext_wrprt: sdmmc0ext-wrprt {
1413 rockchip,pins = <3 RK_PA3 3 &pcfg_pull_up_4ma>;
1416 sdmmc0ext_dectn: sdmmc0ext-dectn {
1417 rockchip,pins = <3 RK_PA1 3 &pcfg_pull_up_4ma>;
1420 sdmmc0ext_bus1: sdmmc0ext-bus1 {
1421 rockchip,pins = <3 RK_PA4 3 &pcfg_pull_up_4ma>;
1424 sdmmc0ext_bus4: sdmmc0ext-bus4 {
1426 <3 RK_PA4 3 &pcfg_pull_up_4ma>,
1427 <3 RK_PA5 3 &pcfg_pull_up_4ma>,
1428 <3 RK_PA6 3 &pcfg_pull_up_4ma>,
1429 <3 RK_PA7 3 &pcfg_pull_up_4ma>;
1432 sdmmc0ext_gpio: sdmmc0ext-gpio {
1434 <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1435 <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1436 <3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1437 <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1438 <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1439 <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1440 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1441 <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1446 sdmmc1_clk: sdmmc1-clk {
1447 rockchip,pins = <1 RK_PB4 1 &pcfg_pull_none_8ma>;
1450 sdmmc1_cmd: sdmmc1-cmd {
1451 rockchip,pins = <1 RK_PB5 1 &pcfg_pull_up_8ma>;
1454 sdmmc1_pwren: sdmmc1-pwren {
1455 rockchip,pins = <1 RK_PC2 1 &pcfg_pull_up_8ma>;
1458 sdmmc1_wrprt: sdmmc1-wrprt {
1459 rockchip,pins = <1 RK_PC4 1 &pcfg_pull_up_8ma>;
1462 sdmmc1_dectn: sdmmc1-dectn {
1463 rockchip,pins = <1 RK_PC3 1 &pcfg_pull_up_8ma>;
1466 sdmmc1_bus1: sdmmc1-bus1 {
1467 rockchip,pins = <1 RK_PB6 1 &pcfg_pull_up_8ma>;
1470 sdmmc1_bus4: sdmmc1-bus4 {
1471 rockchip,pins = <1 RK_PB6 1 &pcfg_pull_up_8ma>,
1472 <1 RK_PB7 1 &pcfg_pull_up_8ma>,
1473 <1 RK_PC0 1 &pcfg_pull_up_8ma>,
1474 <1 RK_PC1 1 &pcfg_pull_up_8ma>;
1477 sdmmc1_gpio: sdmmc1-gpio {
1479 <1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1480 <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1481 <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1482 <1 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1483 <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1484 <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1485 <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1486 <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1487 <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1492 emmc_clk: emmc-clk {
1493 rockchip,pins = <3 RK_PC5 2 &pcfg_pull_none_12ma>;
1496 emmc_cmd: emmc-cmd {
1497 rockchip,pins = <3 RK_PC3 2 &pcfg_pull_up_12ma>;
1500 emmc_pwren: emmc-pwren {
1501 rockchip,pins = <3 RK_PC6 2 &pcfg_pull_none>;
1504 emmc_rstnout: emmc-rstnout {
1505 rockchip,pins = <3 RK_PC4 2 &pcfg_pull_none>;
1508 emmc_bus1: emmc-bus1 {
1509 rockchip,pins = <0 RK_PA7 2 &pcfg_pull_up_12ma>;
1512 emmc_bus4: emmc-bus4 {
1514 <0 RK_PA7 2 &pcfg_pull_up_12ma>,
1515 <2 RK_PD4 2 &pcfg_pull_up_12ma>,
1516 <2 RK_PD5 2 &pcfg_pull_up_12ma>,
1517 <2 RK_PD6 2 &pcfg_pull_up_12ma>;
1520 emmc_bus8: emmc-bus8 {
1522 <0 RK_PA7 2 &pcfg_pull_up_12ma>,
1523 <2 RK_PD4 2 &pcfg_pull_up_12ma>,
1524 <2 RK_PD5 2 &pcfg_pull_up_12ma>,
1525 <2 RK_PD6 2 &pcfg_pull_up_12ma>,
1526 <2 RK_PD7 2 &pcfg_pull_up_12ma>,
1527 <3 RK_PC0 2 &pcfg_pull_up_12ma>,
1528 <3 RK_PC1 2 &pcfg_pull_up_12ma>,
1529 <3 RK_PC2 2 &pcfg_pull_up_12ma>;
1534 pwm0_pin: pwm0-pin {
1535 rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>;
1540 pwm1_pin: pwm1-pin {
1541 rockchip,pins = <2 RK_PA5 1 &pcfg_pull_none>;
1546 pwm2_pin: pwm2-pin {
1547 rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>;
1552 pwmir_pin: pwmir-pin {
1553 rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>;
1558 rgmiim1_pins: rgmiim1-pins {
1561 <1 RK_PB4 2 &pcfg_pull_none_12ma>,
1563 <1 RK_PB5 2 &pcfg_pull_none_2ma>,
1565 <1 RK_PC3 2 &pcfg_pull_none_2ma>,
1567 <1 RK_PD1 2 &pcfg_pull_none_12ma>,
1569 <1 RK_PC5 2 &pcfg_pull_none_2ma>,
1571 <1 RK_PC6 2 &pcfg_pull_none_2ma>,
1573 <1 RK_PC7 2 &pcfg_pull_none_2ma>,
1575 <1 RK_PB2 2 &pcfg_pull_none_2ma>,
1577 <1 RK_PB3 2 &pcfg_pull_none_2ma>,
1579 <1 RK_PB0 2 &pcfg_pull_none_12ma>,
1581 <1 RK_PB1 2 &pcfg_pull_none_12ma>,
1583 <1 RK_PB6 2 &pcfg_pull_none_2ma>,
1585 <1 RK_PB7 2 &pcfg_pull_none_2ma>,
1587 <1 RK_PC0 2 &pcfg_pull_none_12ma>,
1589 <1 RK_PC1 2 &pcfg_pull_none_12ma>,
1592 <0 RK_PB0 1 &pcfg_pull_none>,
1594 <0 RK_PB4 1 &pcfg_pull_none>,
1596 <0 RK_PD0 1 &pcfg_pull_none>,
1598 <0 RK_PC0 1 &pcfg_pull_none>,
1600 <0 RK_PC1 1 &pcfg_pull_none>,
1602 <0 RK_PC7 1 &pcfg_pull_none>,
1604 <0 RK_PC6 1 &pcfg_pull_none>;
1607 rmiim1_pins: rmiim1-pins {
1610 <1 RK_PC3 2 &pcfg_pull_none_2ma>,
1612 <1 RK_PD1 2 &pcfg_pull_none_12ma>,
1614 <1 RK_PC5 2 &pcfg_pull_none_2ma>,
1616 <1 RK_PD0 2 &pcfg_pull_none_2ma>,
1618 <1 RK_PC6 2 &pcfg_pull_none_2ma>,
1620 <1 RK_PC7 2 &pcfg_pull_none_2ma>,
1622 <1 RK_PB2 2 &pcfg_pull_none_2ma>,
1624 <1 RK_PB3 2 &pcfg_pull_none_2ma>,
1626 <1 RK_PB0 2 &pcfg_pull_none_12ma>,
1628 <1 RK_PB1 2 &pcfg_pull_none_12ma>,
1631 <0 RK_PB3 1 &pcfg_pull_none>,
1633 <0 RK_PB4 1 &pcfg_pull_none>,
1635 <0 RK_PD0 1 &pcfg_pull_none>,
1637 <0 RK_PC3 1 &pcfg_pull_none>,
1639 <0 RK_PC0 1 &pcfg_pull_none>,
1641 <0 RK_PC1 1 &pcfg_pull_none>;
1646 fephyled_speed100: fephyled-speed100 {
1647 rockchip,pins = <0 RK_PD7 1 &pcfg_pull_none>;
1650 fephyled_speed10: fephyled-speed10 {
1651 rockchip,pins = <0 RK_PD6 1 &pcfg_pull_none>;
1654 fephyled_duplex: fephyled-duplex {
1655 rockchip,pins = <0 RK_PD6 2 &pcfg_pull_none>;
1658 fephyled_rxm0: fephyled-rxm0 {
1659 rockchip,pins = <0 RK_PD5 1 &pcfg_pull_none>;
1662 fephyled_txm0: fephyled-txm0 {
1663 rockchip,pins = <0 RK_PD5 2 &pcfg_pull_none>;
1666 fephyled_linkm0: fephyled-linkm0 {
1667 rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>;
1670 fephyled_rxm1: fephyled-rxm1 {
1671 rockchip,pins = <2 RK_PD1 2 &pcfg_pull_none>;
1674 fephyled_txm1: fephyled-txm1 {
1675 rockchip,pins = <2 RK_PD1 3 &pcfg_pull_none>;
1678 fephyled_linkm1: fephyled-linkm1 {
1679 rockchip,pins = <2 RK_PD0 2 &pcfg_pull_none>;
1684 tsadc_int: tsadc-int {
1685 rockchip,pins = <2 RK_PB5 2 &pcfg_pull_none>;
1687 tsadc_gpio: tsadc-gpio {
1688 rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
1693 hdmi_cec: hdmi-cec {
1694 rockchip,pins = <0 RK_PA3 1 &pcfg_pull_none>;
1697 hdmi_hpd: hdmi-hpd {
1698 rockchip,pins = <0 RK_PA4 1 &pcfg_pull_down>;
1703 dvp_d2d9_m0:dvp-d2d9-m0 {
1706 <3 RK_PA4 2 &pcfg_pull_none>,
1708 <3 RK_PA5 2 &pcfg_pull_none>,
1710 <3 RK_PA6 2 &pcfg_pull_none>,
1712 <3 RK_PA7 2 &pcfg_pull_none>,
1714 <3 RK_PB0 2 &pcfg_pull_none>,
1716 <3 RK_PB1 2 &pcfg_pull_none>,
1718 <3 RK_PB2 2 &pcfg_pull_none>,
1720 <3 RK_PB3 2 &pcfg_pull_none>,
1722 <3 RK_PA1 2 &pcfg_pull_none>,
1724 <3 RK_PA0 2 &pcfg_pull_none>,
1726 <3 RK_PA3 2 &pcfg_pull_none>,
1728 <3 RK_PA2 2 &pcfg_pull_none>;
1733 dvp_d2d9_m1:dvp-d2d9-m1 {
1736 <3 RK_PA4 2 &pcfg_pull_none>,
1738 <3 RK_PA5 2 &pcfg_pull_none>,
1740 <3 RK_PA6 2 &pcfg_pull_none>,
1742 <3 RK_PA7 2 &pcfg_pull_none>,
1744 <3 RK_PB0 2 &pcfg_pull_none>,
1746 <2 RK_PC0 4 &pcfg_pull_none>,
1748 <2 RK_PC1 4 &pcfg_pull_none>,
1750 <2 RK_PC2 4 &pcfg_pull_none>,
1752 <3 RK_PA1 2 &pcfg_pull_none>,
1754 <3 RK_PA0 2 &pcfg_pull_none>,
1756 <2 RK_PB7 4 &pcfg_pull_none>,
1758 <3 RK_PA2 2 &pcfg_pull_none>;