2 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
43 #include <dt-bindings/clock/rk3328-cru.h>
44 #include <dt-bindings/gpio/gpio.h>
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
46 #include <dt-bindings/interrupt-controller/irq.h>
47 #include <dt-bindings/pinctrl/rockchip.h>
48 #include <dt-bindings/soc/rockchip,boot-mode.h>
49 #include <dt-bindings/power/rk3328-power.h>
50 #include <dt-bindings/thermal/thermal.h>
53 compatible = "rockchip,rk3328";
55 interrupt-parent = <&gic>;
75 compatible = "arm,cortex-a53", "arm,armv8";
77 enable-method = "psci";
78 clocks = <&cru ARMCLK>;
79 #cooling-cells = <2>; /* min followed by max */
80 dynamic-power-coefficient = <120>;
81 operating-points-v2 = <&cpu0_opp_table>;
85 compatible = "arm,cortex-a53", "arm,armv8";
87 enable-method = "psci";
88 operating-points-v2 = <&cpu0_opp_table>;
92 compatible = "arm,cortex-a53", "arm,armv8";
94 enable-method = "psci";
95 operating-points-v2 = <&cpu0_opp_table>;
99 compatible = "arm,cortex-a53", "arm,armv8";
101 enable-method = "psci";
102 operating-points-v2 = <&cpu0_opp_table>;
106 cpu0_opp_table: opp_table0 {
107 compatible = "operating-points-v2";
111 opp-hz = /bits/ 64 <408000000>;
112 opp-microvolt = <950000>;
113 clock-latency-ns = <40000>;
117 opp-hz = /bits/ 64 <600000000>;
118 opp-microvolt = <950000>;
119 clock-latency-ns = <40000>;
122 opp-hz = /bits/ 64 <816000000>;
123 opp-microvolt = <1000000>;
124 clock-latency-ns = <40000>;
127 opp-hz = /bits/ 64 <1008000000>;
128 opp-microvolt = <1100000>;
129 clock-latency-ns = <40000>;
132 opp-hz = /bits/ 64 <1200000000>;
133 opp-microvolt = <1225000>;
134 clock-latency-ns = <40000>;
137 opp-hz = /bits/ 64 <1296000000>;
138 opp-microvolt = <1300000>;
139 clock-latency-ns = <40000>;
144 compatible = "arm,cortex-a53-pmu";
145 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
146 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
147 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
149 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
153 compatible = "arm,psci-1.0";
158 compatible = "arm,armv8-timer";
159 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
160 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
161 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
162 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
166 compatible = "fixed-clock";
168 clock-frequency = <24000000>;
169 clock-output-names = "xin24m";
173 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
174 reg = <0x0 0xff000000 0x0 0x1000>;
175 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
176 clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>;
177 clock-names = "i2s_clk", "i2s_hclk";
178 dmas = <&dmac 11>, <&dmac 12>;
180 dma-names = "tx", "rx";
185 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
186 reg = <0x0 0xff010000 0x0 0x1000>;
187 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
188 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>;
189 clock-names = "i2s_clk", "i2s_hclk";
190 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>;
204 dma-names = "tx", "rx";
205 pinctrl-names = "default", "sleep";
206 pinctrl-0 = <&i2s2m0_mclk
212 pinctrl-1 = <&i2s2m0_sleep>;
216 spdif: spdif@ff030000 {
217 compatible = "rockchip,rk3328-spdif";
218 reg = <0x0 0xff030000 0x0 0x1000>;
219 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
220 clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
221 clock-names = "mclk", "hclk";
225 pinctrl-names = "default";
226 pinctrl-0 = <&spdifm2_tx>;
231 compatible = "rockchip,pdm";
232 reg = <0x0 0xff040000 0x0 0x1000>;
233 clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>;
234 clock-names = "pdm_clk", "pdm_hclk";
238 pinctrl-names = "default", "sleep";
239 pinctrl-0 = <&pdmm0_clk
245 pinctrl-1 = <&pdmm0_sleep>;
249 grf: syscon@ff100000 {
250 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
251 reg = <0x0 0xff100000 0x0 0x1000>;
252 #address-cells = <1>;
255 io_domains: io-domains {
256 compatible = "rockchip,rk3328-io-voltage-domain";
260 power: power-controller {
261 compatible = "rockchip,rk3328-power-controller";
262 #power-domain-cells = <1>;
263 #address-cells = <1>;
267 pd_hevc@RK3328_PD_HEVC {
268 reg = <RK3328_PD_HEVC>;
270 pd_video@RK3328_PD_VIDEO {
271 reg = <RK3328_PD_VIDEO>;
273 pd_vpu@RK3328_PD_VPU {
274 reg = <RK3328_PD_VPU>;
279 compatible = "syscon-reboot-mode";
281 mode-bootloader = <BOOT_BL_DOWNLOAD>;
282 mode-charge = <BOOT_CHARGING>;
283 mode-fastboot = <BOOT_FASTBOOT>;
284 mode-loader = <BOOT_BL_DOWNLOAD>;
285 mode-normal = <BOOT_NORMAL>;
286 mode-recovery = <BOOT_RECOVERY>;
287 mode-ums = <BOOT_UMS>;
292 soc_thermal: soc-thermal {
293 polling-delay-passive = <20>; /* milliseconds */
294 polling-delay = <1000>; /* milliseconds */
295 sustainable-power = <1000>; /* milliwatts */
297 thermal-sensors = <&tsadc 0>;
300 threshold: trip-point@0 {
301 temperature = <70000>; /* millicelsius */
302 hysteresis = <2000>; /* millicelsius */
305 target: trip-point@1 {
306 temperature = <85000>; /* millicelsius */
307 hysteresis = <2000>; /* millicelsius */
311 temperature = <95000>; /* millicelsius */
312 hysteresis = <2000>; /* millicelsius */
320 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
321 contribution = <4096>;
328 tsadc: tsadc@ff250000 {
329 compatible = "rockchip,rk3328-tsadc";
330 reg = <0x0 0xff250000 0x0 0x100>;
331 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH 0>;
332 rockchip,grf = <&grf>;
333 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
334 clock-names = "tsadc", "apb_pclk";
335 assigned-clocks = <&cru SCLK_TSADC>;
336 assigned-clock-rates = <50000>;
337 resets = <&cru SRST_TSADC>;
338 reset-names = "tsadc-apb";
339 pinctrl-names = "init", "default", "sleep";
340 pinctrl-0 = <&otp_gpio>;
341 pinctrl-1 = <&otp_out>;
342 pinctrl-2 = <&otp_gpio>;
343 #thermal-sensor-cells = <1>;
344 rockchip,hw-tshut-temp = <100000>;
348 uart0: serial@ff110000 {
349 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
350 reg = <0x0 0xff110000 0x0 0x100>;
351 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
352 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
353 clock-names = "baudclk", "apb_pclk";
356 dmas = <&dmac 2>, <&dmac 3>;
358 pinctrl-names = "default";
359 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
363 uart1: serial@ff120000 {
364 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
365 reg = <0x0 0xff120000 0x0 0x100>;
366 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
367 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
368 clock-names = "sclk_uart", "pclk_uart";
371 dmas = <&dmac 4>, <&dmac 5>;
373 pinctrl-names = "default";
374 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
378 uart2: serial@ff130000 {
379 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
380 reg = <0x0 0xff130000 0x0 0x100>;
381 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
382 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
383 clock-names = "baudclk", "apb_pclk";
386 dmas = <&dmac 6>, <&dmac 7>;
388 pinctrl-names = "default";
389 pinctrl-0 = <&uart2m1_xfer>;
393 pmu: power-management@ff140000 {
394 compatible = "rockchip,rk3328-pmu", "syscon", "simple-mfd";
395 reg = <0x0 0xff140000 0x0 0x1000>;
399 compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
400 reg = <0x0 0xff150000 0x0 0x1000>;
401 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
402 #address-cells = <1>;
404 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
405 clock-names = "i2c", "pclk";
406 pinctrl-names = "default";
407 pinctrl-0 = <&i2c0_xfer>;
412 compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
413 reg = <0x0 0xff160000 0x0 0x1000>;
414 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
415 #address-cells = <1>;
417 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
418 clock-names = "i2c", "pclk";
419 pinctrl-names = "default";
420 pinctrl-0 = <&i2c1_xfer>;
425 compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
426 reg = <0x0 0xff170000 0x0 0x1000>;
427 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
428 #address-cells = <1>;
430 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
431 clock-names = "i2c", "pclk";
432 pinctrl-names = "default";
433 pinctrl-0 = <&i2c2_xfer>;
438 compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
439 reg = <0x0 0xff180000 0x0 0x1000>;
440 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
441 #address-cells = <1>;
443 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
444 clock-names = "i2c", "pclk";
445 pinctrl-names = "default";
446 pinctrl-0 = <&i2c3_xfer>;
451 compatible = "rockchip,rk3328-spi", "rockchip,rk3066-spi";
452 reg = <0x0 0xff190000 0x0 0x1000>;
453 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
454 #address-cells = <1>;
456 clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
457 clock-names = "spiclk", "apb_pclk";
458 dmas = <&dmac 8>, <&dmac 9>;
460 dma-names = "tx", "rx";
461 pinctrl-names = "default";
462 pinctrl-0 = <&spi0m2_clk &spi0m2_tx &spi0m2_rx &spi0m2_cs0>;
466 wdt: watchdog@ff1a0000 {
467 compatible = "snps,dw-wdt";
468 reg = <0x0 0xff1a0000 0x0 0x100>;
469 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
474 compatible = "rockchip,rk3328-pwm";
475 reg = <0x0 0xff1b0000 0x0 0x10>;
477 pinctrl-names = "default";
478 pinctrl-0 = <&pwm0_pin>;
479 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
480 clock-names = "pwm", "pclk";
485 compatible = "rockchip,rk3328-pwm";
486 reg = <0x0 0xff1b0010 0x0 0x10>;
488 pinctrl-names = "default";
489 pinctrl-0 = <&pwm1_pin>;
490 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
491 clock-names = "pwm", "pclk";
496 compatible = "rockchip,rk3328-pwm";
497 reg = <0x0 0xff1b0020 0x0 0x10>;
499 pinctrl-names = "default";
500 pinctrl-0 = <&pwm2_pin>;
501 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
502 clock-names = "pwm", "pclk";
507 compatible = "rockchip,rk3328-pwm";
508 reg = <0x0 0xff1b0030 0x0 0x10>;
509 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
511 pinctrl-names = "default";
512 pinctrl-0 = <&pwmir_pin>;
513 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
514 clock-names = "pwm", "pclk";
519 compatible = "simple-bus";
520 #address-cells = <2>;
524 dmac: dmac@ff1f0000 {
525 compatible = "arm,pl330", "arm,primecell";
526 reg = <0x0 0xff1f0000 0x0 0x4000>;
527 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
528 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
529 clocks = <&cru ACLK_DMAC>;
530 clock-names = "apb_pclk";
535 saradc: saradc@ff280000 {
536 compatible = "rockchip,rk3328-saradc", "rockchip,rk3399-saradc";
537 reg = <0x0 0xff280000 0x0 0x100>;
538 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
539 #io-channel-cells = <1>;
540 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
541 clock-names = "saradc", "apb_pclk";
542 resets = <&cru SRST_SARADC_P>;
543 reset-names = "saradc-apb";
548 compatible = "rockchip,rk3328-vop";
549 reg = <0x0 0xff370000 0x0 0x3efc>;
550 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>;
551 clocks = <&cru ACLK_VOP>, <&cru DCLK_LCDC>, <&cru HCLK_VOP>;
552 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
553 resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>;
554 reset-names = "axi", "ahb", "dclk";
559 #address-cells = <1>;
564 vop_mmu: iommu@ff373f00 {
565 compatible = "rockchip,iommu";
566 reg = <0x0 0xff373f00 0x0 0x100>;
567 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>;
568 interrupt-names = "vop_mmu";
573 display_subsystem: display-subsystem {
574 compatible = "rockchip,display-subsystem";
579 cru: clock-controller@ff440000 {
580 compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon";
581 reg = <0x0 0xff440000 0x0 0x1000>;
582 rockchip,grf = <&grf>;
586 <&cru DCLK_LCDC>, <&cru SCLK_PDM>,
587 <&cru SCLK_RTC32K>, <&cru SCLK_UART0>,
588 <&cru SCLK_UART1>, <&cru SCLK_UART2>,
589 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
590 <&cru ACLK_VIO_PRE>, <&cru ACLK_RGA_PRE>,
591 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
592 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
593 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
594 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
595 <&cru SCLK_SDIO>, <&cru SCLK_TSP>,
596 <&cru SCLK_WIFI>, <&cru ARMCLK>,
597 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
598 <&cru ACLK_BUS_PRE>, <&cru HCLK_BUS_PRE>,
599 <&cru PCLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
600 <&cru HCLK_PERI>, <&cru PCLK_PERI>,
601 <&cru ACLK_VIO_PRE>, <&cru HCLK_VIO_PRE>,
602 <&cru ACLK_RGA_PRE>, <&cru SCLK_RGA>,
603 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
604 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
605 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
606 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
607 <&cru SCLK_EFUSE>, <&cru PCLK_DDR>,
608 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>,
609 <&cru SCLK_RTC32K>, <&cru SCLK_USB3OTG_SUSPEND>;
610 assigned-clock-parents =
611 <&cru HDMIPHY>, <&cru PLL_APLL>,
612 <&cru PLL_GPLL>, <&xin24m>,
613 <&xin24m>, <&xin24m>;
614 assigned-clock-rates =
617 <24000000>, <24000000>,
618 <15000000>, <15000000>,
619 <100000000>, <100000000>,
620 <100000000>, <100000000>,
621 <50000000>, <100000000>,
622 <100000000>, <100000000>,
623 <50000000>, <50000000>,
624 <50000000>, <50000000>,
625 <24000000>, <600000000>,
626 <491520000>, <1200000000>,
627 <150000000>, <75000000>,
628 <75000000>, <150000000>,
629 <75000000>, <75000000>,
630 <300000000>, <100000000>,
631 <300000000>, <200000000>,
632 <400000000>, <500000000>,
633 <200000000>, <300000000>,
634 <300000000>, <250000000>,
635 <200000000>, <100000000>,
636 <24000000>, <100000000>,
637 <150000000>, <50000000>,
641 usb2phy_grf: syscon@ff450000 {
642 compatible = "rockchip,rk3328-usb2phy-grf", "syscon",
644 reg = <0x0 0xff450000 0x0 0x10000>;
645 #address-cells = <1>;
648 u2phy: usb2-phy@100 {
649 compatible = "rockchip,rk3328-usb2phy";
652 clock-names = "phyclk";
654 assigned-clocks = <&cru USB480M>;
655 assigned-clock-parents = <&u2phy>;
656 clock-output-names = "usb480m_phy";
659 u2phy_host: host-port {
661 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
662 interrupt-names = "linestate";
666 u2phy_otg: otg-port {
668 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
669 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
670 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
671 interrupt-names = "otg-bvalid", "otg-id",
678 usb3phy_grf: syscon@ff460000 {
679 compatible = "rockchip,usb3phy-grf", "syscon";
680 reg = <0x0 0xff460000 0x0 0x1000>;
683 u3phy: usb3-phy@ff470000 {
684 compatible = "rockchip,rk3328-u3phy";
685 reg = <0x0 0xff470000 0x0 0x0>;
686 rockchip,u3phygrf = <&usb3phy_grf>;
687 rockchip,grf = <&grf>;
688 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
689 interrupt-names = "linestate";
690 clocks = <&cru PCLK_USB3PHY_OTG>, <&cru PCLK_USB3PHY_PIPE>;
691 clock-names = "u3phy-otg", "u3phy-pipe";
692 resets = <&cru SRST_USB3PHY_U2>,
693 <&cru SRST_USB3PHY_U3>,
694 <&cru SRST_USB3PHY_PIPE>,
695 <&cru SRST_USB3OTG_UTMI>,
696 <&cru SRST_USB3PHY_OTG_P>,
697 <&cru SRST_USB3PHY_PIPE_P>;
698 reset-names = "u3phy-u2-por", "u3phy-u3-por",
699 "u3phy-pipe-mac", "u3phy-utmi-mac",
700 "u3phy-utmi-apb", "u3phy-pipe-apb";
701 #address-cells = <2>;
706 u3phy_utmi: utmi@ff470000 {
707 reg = <0x0 0xff470000 0x0 0x8000>;
712 u3phy_pipe: pipe@ff478000 {
713 reg = <0x0 0xff478000 0x0 0x8000>;
719 sdmmc: rksdmmc@ff500000 {
720 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
721 reg = <0x0 0xff500000 0x0 0x4000>;
722 clock-freq-min-max = <400000 150000000>;
723 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
724 clock-names = "biu", "ciu";
725 fifo-depth = <0x100>;
726 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
730 sdio: dwmmc@ff510000 {
731 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
732 reg = <0x0 0xff510000 0x0 0x4000>;
733 clock-freq-min-max = <400000 150000000>;
734 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
735 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
736 clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
737 fifo-depth = <0x100>;
738 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
742 emmc: rksdmmc@ff520000 {
743 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
744 reg = <0x0 0xff520000 0x0 0x4000>;
745 clock-freq-min-max = <400000 150000000>;
746 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
747 clock-names = "biu", "ciu";
748 fifo-depth = <0x100>;
749 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
753 gmac2io: eth@ff540000 {
754 compatible = "rockchip,rk3328-gmac";
755 reg = <0x0 0xff540000 0x0 0x10000>;
756 rockchip,grf = <&grf>;
757 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
758 interrupt-names = "macirq";
759 clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_RX>,
760 <&cru SCLK_MAC2IO_TX>, <&cru SCLK_MAC2IO_REF>,
761 <&cru SCLK_MAC2IO_REFOUT>, <&cru ACLK_MAC2IO>,
763 clock-names = "stmmaceth", "mac_clk_rx",
764 "mac_clk_tx", "clk_mac_ref",
765 "clk_mac_refout", "aclk_mac",
767 resets = <&cru SRST_GMAC2IO_A>;
768 reset-names = "stmmaceth";
772 usb20_otg: usb@ff580000 {
773 compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb",
775 reg = <0x0 0xff580000 0x0 0x40000>;
776 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
777 clocks = <&cru HCLK_OTG>, <&cru HCLK_OTG_PMU>;
778 clock-names = "otg", "otg_pmu";
780 g-np-tx-fifo-size = <16>;
781 g-rx-fifo-size = <275>;
782 g-tx-fifo-size = <256 128 128 64 64 32>;
785 phy-names = "usb2-phy";
789 usb_host0_ehci: usb@ff5c0000 {
790 compatible = "generic-ehci";
791 reg = <0x0 0xff5c0000 0x0 0x10000>;
792 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
793 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>,
795 clock-names = "usbhost", "arbiter", "utmi";
796 phys = <&u2phy_host>;
801 usb_host0_ohci: usb@ff5d0000 {
802 compatible = "generic-ohci";
803 reg = <0x0 0xff5d0000 0x0 0x10000>;
804 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
805 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>,
807 clock-names = "usbhost", "arbiter", "utmi";
808 phys = <&u2phy_host>;
813 sdmmc_ext: rksdmmc@ff5f0000 {
814 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
815 reg = <0x0 0xff5f0000 0x0 0x4000>;
816 clock-freq-min-max = <400000 150000000>;
817 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
818 clock-names = "biu", "ciu";
819 fifo-depth = <0x100>;
820 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
824 usbdrd3: usb@ff600000 {
825 compatible = "rockchip,rk3328-dwc3";
826 clocks = <&cru SCLK_USB3OTG_REF>, <&cru SCLK_USB3OTG_SUSPEND>,
828 clock-names = "ref_clk", "suspend_clk",
830 #address-cells = <2>;
835 usbdrd_dwc3: dwc3@ff600000 {
836 compatible = "snps,dwc3";
837 reg = <0x0 0xff600000 0x0 0x100000>;
838 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
840 phys = <&u3phy_utmi>, <&u3phy_pipe>;
841 phy-names = "usb2-phy", "usb3-phy";
842 phy_type = "utmi_wide";
843 snps,dis_enblslpm_quirk;
844 snps,dis-u2-freeclk-exists-quirk;
845 snps,dis_u2_susphy_quirk;
846 snps,dis-u3-autosuspend-quirk;
847 snps,dis_u3_susphy_quirk;
848 snps,dis-del-phy-power-chg-quirk;
853 gic: interrupt-controller@ff811000 {
854 compatible = "arm,gic-400";
855 #interrupt-cells = <3>;
856 #address-cells = <0>;
857 interrupt-controller;
858 reg = <0x0 0xff811000 0 0x1000>,
859 <0x0 0xff812000 0 0x2000>,
860 <0x0 0xff814000 0 0x2000>,
861 <0x0 0xff816000 0 0x2000>;
862 interrupts = <GIC_PPI 9
863 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
867 compatible = "rockchip,rk3328-pinctrl";
868 rockchip,grf = <&grf>;
869 #address-cells = <2>;
873 gpio0: gpio0@ff210000 {
874 compatible = "rockchip,gpio-bank";
875 reg = <0x0 0xff210000 0x0 0x100>;
876 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
877 clocks = <&cru PCLK_GPIO0>;
882 interrupt-controller;
883 #interrupt-cells = <2>;
886 gpio1: gpio1@ff220000 {
887 compatible = "rockchip,gpio-bank";
888 reg = <0x0 0xff220000 0x0 0x100>;
889 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
890 clocks = <&cru PCLK_GPIO1>;
895 interrupt-controller;
896 #interrupt-cells = <2>;
899 gpio2: gpio2@ff230000 {
900 compatible = "rockchip,gpio-bank";
901 reg = <0x0 0xff230000 0x0 0x100>;
902 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
903 clocks = <&cru PCLK_GPIO2>;
908 interrupt-controller;
909 #interrupt-cells = <2>;
912 gpio3: gpio3@ff240000 {
913 compatible = "rockchip,gpio-bank";
914 reg = <0x0 0xff240000 0x0 0x100>;
915 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
916 clocks = <&cru PCLK_GPIO3>;
921 interrupt-controller;
922 #interrupt-cells = <2>;
925 pcfg_pull_up: pcfg-pull-up {
929 pcfg_pull_down: pcfg-pull-down {
933 pcfg_pull_none: pcfg-pull-none {
937 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
939 drive-strength = <2>;
942 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
944 drive-strength = <2>;
947 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
949 drive-strength = <4>;
952 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
954 drive-strength = <4>;
957 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
959 drive-strength = <4>;
962 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
964 drive-strength = <8>;
967 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
969 drive-strength = <8>;
972 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
974 drive-strength = <12>;
977 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
979 drive-strength = <12>;
982 pcfg_output_high: pcfg-output-high {
986 pcfg_output_low: pcfg-output-low {
990 pcfg_input_high: pcfg-input-high {
995 pcfg_input: pcfg-input {
1000 i2c0_xfer: i2c0-xfer {
1002 <2 RK_PD0 RK_FUNC_1 &pcfg_pull_none>,
1003 <2 RK_PD1 RK_FUNC_1 &pcfg_pull_none>;
1008 i2c1_xfer: i2c1-xfer {
1010 <2 RK_PA4 RK_FUNC_2 &pcfg_pull_none>,
1011 <2 RK_PA5 RK_FUNC_2 &pcfg_pull_none>;
1016 i2c2_xfer: i2c2-xfer {
1018 <2 RK_PB5 RK_FUNC_1 &pcfg_pull_none>,
1019 <2 RK_PB6 RK_FUNC_1 &pcfg_pull_none>;
1024 i2c3_xfer: i2c3-xfer {
1026 <0 RK_PA5 RK_FUNC_2 &pcfg_pull_none>,
1027 <0 RK_PA6 RK_FUNC_2 &pcfg_pull_none>;
1029 i2c3_gpio: i2c3-gpio {
1031 <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>,
1032 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
1037 hdmii2c_xfer: hdmii2c-xfer {
1039 <0 RK_PA5 RK_FUNC_1 &pcfg_pull_none>,
1040 <0 RK_PA6 RK_FUNC_1 &pcfg_pull_none>;
1045 otp_gpio: otp-gpio {
1047 <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
1052 <2 RK_PB5 RK_FUNC_1 &pcfg_pull_none>;
1057 uart0_xfer: uart0-xfer {
1059 <1 RK_PB1 RK_FUNC_1 &pcfg_pull_up>,
1060 <1 RK_PB0 RK_FUNC_1 &pcfg_pull_none>;
1063 uart0_cts: uart0-cts {
1065 <1 RK_PB3 RK_FUNC_1 &pcfg_pull_none>;
1068 uart0_rts: uart0-rts {
1070 <1 RK_PB2 RK_FUNC_1 &pcfg_pull_none>;
1073 uart0_rts_gpio: uart0-rts-gpio {
1075 <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
1080 uart1_xfer: uart1-xfer {
1082 <3 RK_PA4 RK_FUNC_4 &pcfg_pull_up>,
1083 <3 RK_PA6 RK_FUNC_4 &pcfg_pull_none>;
1086 uart1_cts: uart1-cts {
1088 <3 RK_PA7 RK_FUNC_4 &pcfg_pull_none>;
1091 uart1_rts: uart1-rts {
1093 <3 RK_PA5 RK_FUNC_4 &pcfg_pull_none>;
1096 uart1_rts_gpio: uart1-rts-gpio {
1098 <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
1103 uart2m0_xfer: uart2m0-xfer {
1105 <1 RK_PA0 RK_FUNC_2 &pcfg_pull_up>,
1106 <1 RK_PA1 RK_FUNC_2 &pcfg_pull_none>;
1111 uart2m1_xfer: uart2m1-xfer {
1113 <2 RK_PA0 RK_FUNC_1 &pcfg_pull_up>,
1114 <2 RK_PA1 RK_FUNC_1 &pcfg_pull_none>;
1119 spi0m0_clk: spi0m0-clk {
1121 <2 RK_PB0 RK_FUNC_1 &pcfg_pull_up>;
1124 spi0m0_cs0: spi0m0-cs0 {
1126 <2 RK_PB3 RK_FUNC_1 &pcfg_pull_up>;
1129 spi0m0_tx: spi0m0-tx {
1131 <2 RK_PB1 RK_FUNC_1 &pcfg_pull_up>;
1134 spi0m0_rx: spi0m0-rx {
1136 <2 RK_PB2 RK_FUNC_1 &pcfg_pull_up>;
1139 spi0m0_cs1: spi0m0-cs1 {
1141 <2 RK_PB4 RK_FUNC_1 &pcfg_pull_up>;
1146 spi0m1_clk: spi0m1-clk {
1148 <3 RK_PC7 RK_FUNC_2 &pcfg_pull_up>;
1151 spi0m1_cs0: spi0m1-cs0 {
1153 <3 RK_PD2 RK_FUNC_2 &pcfg_pull_up>;
1156 spi0m1_tx: spi0m1-tx {
1158 <3 RK_PD1 RK_FUNC_2 &pcfg_pull_up>;
1161 spi0m1_rx: spi0m1-rx {
1163 <3 RK_PD0 RK_FUNC_2 &pcfg_pull_up>;
1166 spi0m1_cs1: spi0m1-cs1 {
1168 <3 RK_PD3 RK_FUNC_2 &pcfg_pull_up>;
1173 spi0m2_clk: spi0m2-clk {
1175 <3 RK_PA0 RK_FUNC_4 &pcfg_pull_up>;
1178 spi0m2_cs0: spi0m2-cs0 {
1180 <3 RK_PB0 RK_FUNC_3 &pcfg_pull_up>;
1183 spi0m2_tx: spi0m2-tx {
1185 <3 RK_PA1 RK_FUNC_4 &pcfg_pull_up>;
1188 spi0m2_rx: spi0m2-rx {
1190 <3 RK_PA2 RK_FUNC_4 &pcfg_pull_up>;
1195 pdmm0_clk: pdmm0-clk {
1197 <2 RK_PC2 RK_FUNC_2 &pcfg_pull_none>;
1200 pdmm0_fsync: pdmm0-fsync {
1202 <2 RK_PC7 RK_FUNC_2 &pcfg_pull_none>;
1205 pdmm0_sdi0: pdmm0-sdi0 {
1207 <2 RK_PC3 RK_FUNC_2 &pcfg_pull_none>;
1210 pdmm0_sdi1: pdmm0-sdi1 {
1212 <2 RK_PC4 RK_FUNC_2 &pcfg_pull_none>;
1215 pdmm0_sdi2: pdmm0-sdi2 {
1217 <2 RK_PC5 RK_FUNC_2 &pcfg_pull_none>;
1220 pdmm0_sdi3: pdmm0-sdi3 {
1222 <2 RK_PC6 RK_FUNC_2 &pcfg_pull_none>;
1225 pdmm0_sleep: pdmm0-sleep {
1227 <2 RK_PC2 RK_FUNC_GPIO &pcfg_input_high>,
1228 <2 RK_PC3 RK_FUNC_GPIO &pcfg_input_high>,
1229 <2 RK_PC4 RK_FUNC_GPIO &pcfg_input_high>,
1230 <2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
1231 <2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
1232 <2 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
1237 i2s1_mclk: i2s1-mclk {
1239 <2 RK_PB7 RK_FUNC_1 &pcfg_pull_none>;
1242 i2s1_sclk: i2s1-sclk {
1244 <2 RK_PC2 RK_FUNC_1 &pcfg_pull_none>;
1247 i2s1_lrckrx: i2s1-lrckrx {
1249 <2 RK_PC0 RK_FUNC_1 &pcfg_pull_none>;
1252 i2s1_lrcktx: i2s1-lrcktx {
1254 <2 RK_PC1 RK_FUNC_1 &pcfg_pull_none>;
1257 i2s1_sdi: i2s1-sdi {
1259 <2 RK_PC3 RK_FUNC_1 &pcfg_pull_none>;
1262 i2s1_sdo: i2s1-sdo {
1264 <2 RK_PC7 RK_FUNC_1 &pcfg_pull_none>;
1267 i2s1_sdio1: i2s1-sdio1 {
1269 <2 RK_PC4 RK_FUNC_1 &pcfg_pull_none>;
1272 i2s1_sdio2: i2s1-sdio2 {
1274 <2 RK_PC5 RK_FUNC_1 &pcfg_pull_none>;
1277 i2s1_sdio3: i2s1-sdio3 {
1279 <2 RK_PC6 RK_FUNC_1 &pcfg_pull_none>;
1282 i2s1_sleep: i2s1-sleep {
1284 <2 RK_PB7 RK_FUNC_GPIO &pcfg_input_high>,
1285 <2 RK_PC0 RK_FUNC_GPIO &pcfg_input_high>,
1286 <2 RK_PC1 RK_FUNC_GPIO &pcfg_input_high>,
1287 <2 RK_PC2 RK_FUNC_GPIO &pcfg_input_high>,
1288 <2 RK_PC3 RK_FUNC_GPIO &pcfg_input_high>,
1289 <2 RK_PC4 RK_FUNC_GPIO &pcfg_input_high>,
1290 <2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
1291 <2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
1292 <2 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
1297 i2s2m0_mclk: i2s2m0-mclk {
1299 <1 RK_PC5 RK_FUNC_1 &pcfg_pull_none>;
1302 i2s2m0_sclk: i2s2m0-sclk {
1304 <1 RK_PC6 RK_FUNC_1 &pcfg_pull_none>;
1307 i2s2m0_lrckrx: i2s2m0-lrckrx {
1309 <1 RK_PD2 RK_FUNC_1 &pcfg_pull_none>;
1312 i2s2m0_lrcktx: i2s2m0-lrcktx {
1314 <1 RK_PC7 RK_FUNC_1 &pcfg_pull_none>;
1317 i2s2m0_sdi: i2s2m0-sdi {
1319 <1 RK_PD0 RK_FUNC_1 &pcfg_pull_none>;
1322 i2s2m0_sdo: i2s2m0-sdo {
1324 <1 RK_PD1 RK_FUNC_1 &pcfg_pull_none>;
1327 i2s2m0_sleep: i2s2m0-sleep {
1329 <1 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
1330 <1 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
1331 <1 RK_PD2 RK_FUNC_GPIO &pcfg_input_high>,
1332 <1 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>,
1333 <1 RK_PD0 RK_FUNC_GPIO &pcfg_input_high>,
1334 <1 RK_PD1 RK_FUNC_GPIO &pcfg_input_high>;
1339 i2s2m1_mclk: i2s2m1-mclk {
1341 <1 RK_PC5 RK_FUNC_1 &pcfg_pull_none>;
1344 i2s2m1_sclk: i2s2m1-sclk {
1346 <3 RK_PA0 RK_FUNC_6 &pcfg_pull_none>;
1349 i2s2m1_lrckrx: i2sm1-lrckrx {
1351 <3 RK_PB0 RK_FUNC_6 &pcfg_pull_none>;
1354 i2s2m1_lrcktx: i2s2m1-lrcktx {
1356 <3 RK_PB0 RK_FUNC_4 &pcfg_pull_none>;
1359 i2s2m1_sdi: i2s2m1-sdi {
1361 <3 RK_PA2 RK_FUNC_6 &pcfg_pull_none>;
1364 i2s2m1_sdo: i2s2m1-sdo {
1366 <3 RK_PA1 RK_FUNC_6 &pcfg_pull_none>;
1369 i2s2m1_sleep: i2s2m1-sleep {
1371 <1 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
1372 <3 RK_PA0 RK_FUNC_GPIO &pcfg_input_high>,
1373 <3 RK_PB0 RK_FUNC_GPIO &pcfg_input_high>,
1374 <3 RK_PA2 RK_FUNC_GPIO &pcfg_input_high>,
1375 <3 RK_PA1 RK_FUNC_GPIO &pcfg_input_high>;
1380 spdifm0_tx: spdifm0-tx {
1382 <0 RK_PD3 RK_FUNC_1 &pcfg_pull_none>;
1387 spdifm1_tx: spdifm1-tx {
1389 <2 RK_PC1 RK_FUNC_2 &pcfg_pull_none>;
1394 spdifm2_tx: spdifm2-tx {
1396 <0 RK_PA2 RK_FUNC_2 &pcfg_pull_none>;
1401 sdmmc0m0_pwren: sdmmc0m0-pwren {
1403 <2 RK_PA7 RK_FUNC_1 &pcfg_pull_up_4ma>;
1406 sdmmc0m0_gpio: sdmmc0m0-gpio {
1408 <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1413 sdmmc0m1_pwren: sdmmc0m1-pwren {
1415 <0 RK_PD6 RK_FUNC_3 &pcfg_pull_up_4ma>;
1418 sdmmc0m1_gpio: sdmmc0m1-gpio {
1420 <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1425 sdmmc0_clk: sdmmc0-clk {
1427 <1 RK_PA6 RK_FUNC_1 &pcfg_pull_none_4ma>;
1430 sdmmc0_cmd: sdmmc0-cmd {
1432 <1 RK_PA4 RK_FUNC_1 &pcfg_pull_up_4ma>;
1435 sdmmc0_dectn: sdmmc0-dectn {
1437 <1 RK_PA5 RK_FUNC_1 &pcfg_pull_up_4ma>;
1440 sdmmc0_wrprt: sdmmc0-wrprt {
1442 <1 RK_PA7 RK_FUNC_1 &pcfg_pull_up_4ma>;
1445 sdmmc0_bus1: sdmmc0-bus1 {
1447 <1 RK_PA0 RK_FUNC_1 &pcfg_pull_up_4ma>;
1450 sdmmc0_bus4: sdmmc0-bus4 {
1452 <1 RK_PA0 RK_FUNC_1 &pcfg_pull_up_4ma>,
1453 <1 RK_PA1 RK_FUNC_1 &pcfg_pull_up_4ma>,
1454 <1 RK_PA2 RK_FUNC_1 &pcfg_pull_up_4ma>,
1455 <1 RK_PA3 RK_FUNC_1 &pcfg_pull_up_4ma>;
1458 sdmmc0_gpio: sdmmc0-gpio {
1460 <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1461 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1462 <1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1463 <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1464 <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1465 <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1466 <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1467 <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1472 sdmmc0ext_clk: sdmmc0ext-clk {
1474 <3 RK_PA2 RK_FUNC_3 &pcfg_pull_none_4ma>;
1477 sdmmc0ext_cmd: sdmmc0ext-cmd {
1479 <3 RK_PA0 RK_FUNC_3 &pcfg_pull_up_4ma>;
1482 sdmmc0ext_wrprt: sdmmc0ext-wrprt {
1484 <3 RK_PA3 RK_FUNC_3 &pcfg_pull_up_4ma>;
1487 sdmmc0ext_dectn: sdmmc0ext-dectn {
1489 <3 RK_PA1 RK_FUNC_3 &pcfg_pull_up_4ma>;
1492 sdmmc0ext_bus1: sdmmc0ext-bus1 {
1494 <3 RK_PA4 RK_FUNC_3 &pcfg_pull_up_4ma>;
1497 sdmmc0ext_bus4: sdmmc0ext-bus4 {
1499 <3 RK_PA4 RK_FUNC_3 &pcfg_pull_up_4ma>,
1500 <3 RK_PA5 RK_FUNC_3 &pcfg_pull_up_4ma>,
1501 <3 RK_PA6 RK_FUNC_3 &pcfg_pull_up_4ma>,
1502 <3 RK_PA7 RK_FUNC_3 &pcfg_pull_up_4ma>;
1505 sdmmc0ext_gpio: sdmmc0ext-gpio {
1507 <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1508 <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1509 <3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1510 <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1511 <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1512 <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1513 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1514 <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1519 sdmmc1_clk: sdmmc1-clk {
1521 <1 RK_PB4 RK_FUNC_1 &pcfg_pull_none_8ma>;
1524 sdmmc1_cmd: sdmmc1-cmd {
1526 <1 RK_PB5 RK_FUNC_1 &pcfg_pull_up_8ma>;
1529 sdmmc1_pwren: sdmmc1-pwren {
1531 <1 RK_PC2 RK_FUNC_1 &pcfg_pull_up_8ma>;
1534 sdmmc1_wrprt: sdmmc1-wrprt {
1536 <1 RK_PC4 RK_FUNC_1 &pcfg_pull_up_8ma>;
1539 sdmmc1_dectn: sdmmc1-dectn {
1541 <1 RK_PC3 RK_FUNC_1 &pcfg_pull_up_8ma>;
1544 sdmmc1_bus1: sdmmc1-bus1 {
1546 <1 RK_PB6 RK_FUNC_1 &pcfg_pull_up_8ma>;
1549 sdmmc1_bus4: sdmmc1-bus4 {
1551 <1 RK_PB4 RK_FUNC_1 &pcfg_pull_up_8ma>,
1552 <1 RK_PB5 RK_FUNC_1 &pcfg_pull_up_8ma>,
1553 <1 RK_PC0 RK_FUNC_1 &pcfg_pull_up_8ma>,
1554 <1 RK_PC1 RK_FUNC_1 &pcfg_pull_up_8ma>;
1557 sdmmc1_gpio: sdmmc1-gpio {
1559 <1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1560 <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1561 <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1562 <1 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1563 <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1564 <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1565 <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1566 <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1567 <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1572 emmc_clk: emmc-clk {
1574 <3 RK_PC5 RK_FUNC_2 &pcfg_pull_none_12ma>;
1577 emmc_cmd: emmc-cmd {
1579 <3 RK_PC3 RK_FUNC_2 &pcfg_pull_up_12ma>;
1582 emmc_pwren: emmc-pwren {
1584 <3 RK_PC6 RK_FUNC_2 &pcfg_pull_none>;
1587 emmc_rstnout: emmc-rstnout {
1589 <3 RK_PC4 RK_FUNC_2 &pcfg_pull_none>;
1592 emmc_bus1: emmc-bus1 {
1594 <0 RK_PA7 RK_FUNC_2 &pcfg_pull_up_12ma>;
1597 emmc_bus4: emmc-bus4 {
1599 <0 RK_PA7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1600 <2 RK_PD4 RK_FUNC_2 &pcfg_pull_up_12ma>,
1601 <2 RK_PD5 RK_FUNC_2 &pcfg_pull_up_12ma>,
1602 <2 RK_PD6 RK_FUNC_2 &pcfg_pull_up_12ma>;
1605 emmc_bus8: emmc-bus8 {
1607 <0 RK_PA7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1608 <2 RK_PD4 RK_FUNC_2 &pcfg_pull_up_12ma>,
1609 <2 RK_PD5 RK_FUNC_2 &pcfg_pull_up_12ma>,
1610 <2 RK_PD6 RK_FUNC_2 &pcfg_pull_up_12ma>,
1611 <2 RK_PD7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1612 <3 RK_PC0 RK_FUNC_2 &pcfg_pull_up_12ma>,
1613 <3 RK_PC1 RK_FUNC_2 &pcfg_pull_up_12ma>,
1614 <3 RK_PC2 RK_FUNC_2 &pcfg_pull_up_12ma>;
1619 pwm0_pin: pwm0-pin {
1621 <2 RK_PA4 RK_FUNC_1 &pcfg_pull_none>;
1626 pwm1_pin: pwm1-pin {
1628 <2 RK_PA5 RK_FUNC_1 &pcfg_pull_none>;
1633 pwm2_pin: pwm2-pin {
1635 <2 RK_PA6 RK_FUNC_1 &pcfg_pull_none>;
1640 pwmir_pin: pwmir-pin {
1642 <2 RK_PA2 RK_FUNC_1 &pcfg_pull_none>;
1647 rgmiim1_pins: rgmiim1-pins {
1650 <1 RK_PB4 RK_FUNC_2 &pcfg_pull_none_12ma>,
1652 <1 RK_PB5 RK_FUNC_2 &pcfg_pull_none_2ma>,
1654 <1 RK_PC3 RK_FUNC_2 &pcfg_pull_none_2ma>,
1656 <1 RK_PD1 RK_FUNC_2 &pcfg_pull_none_12ma>,
1658 <1 RK_PC5 RK_FUNC_2 &pcfg_pull_none_2ma>,
1660 <1 RK_PC6 RK_FUNC_2 &pcfg_pull_none_2ma>,
1662 <1 RK_PC7 RK_FUNC_2 &pcfg_pull_none_2ma>,
1664 <1 RK_PB2 RK_FUNC_2 &pcfg_pull_none_2ma>,
1666 <1 RK_PB3 RK_FUNC_2 &pcfg_pull_none_2ma>,
1668 <1 RK_PB0 RK_FUNC_2 &pcfg_pull_none_12ma>,
1670 <1 RK_PB1 RK_FUNC_2 &pcfg_pull_none_12ma>,
1672 <1 RK_PB6 RK_FUNC_2 &pcfg_pull_none_2ma>,
1674 <1 RK_PB7 RK_FUNC_2 &pcfg_pull_none_2ma>,
1676 <1 RK_PC0 RK_FUNC_2 &pcfg_pull_none_12ma>,
1678 <1 RK_PC1 RK_FUNC_2 &pcfg_pull_none_12ma>,
1681 <0 RK_PB0 RK_FUNC_1 &pcfg_pull_none>,
1683 <0 RK_PB4 RK_FUNC_1 &pcfg_pull_none>,
1685 <0 RK_PD0 RK_FUNC_1 &pcfg_pull_none>,
1687 <0 RK_PC0 RK_FUNC_1 &pcfg_pull_none>,
1689 <0 RK_PC1 RK_FUNC_1 &pcfg_pull_none>,
1691 <0 RK_PC7 RK_FUNC_1 &pcfg_pull_none>,
1693 <0 RK_PC6 RK_FUNC_1 &pcfg_pull_none>;
1696 rmiim1_pins: rmiim1-pins {
1699 <1 RK_PC3 RK_FUNC_2 &pcfg_pull_none_2ma>,
1701 <1 RK_PD1 RK_FUNC_2 &pcfg_pull_none_12ma>,
1703 <1 RK_PC5 RK_FUNC_2 &pcfg_pull_none_2ma>,
1705 <1 RK_PD0 RK_FUNC_2 &pcfg_pull_none_2ma>,
1707 <1 RK_PC6 RK_FUNC_2 &pcfg_pull_none_2ma>,
1709 <1 RK_PC7 RK_FUNC_2 &pcfg_pull_none_2ma>,
1711 <1 RK_PB2 RK_FUNC_2 &pcfg_pull_none_2ma>,
1713 <1 RK_PB3 RK_FUNC_2 &pcfg_pull_none_2ma>,
1715 <1 RK_PB0 RK_FUNC_2 &pcfg_pull_none_12ma>,
1717 <1 RK_PB1 RK_FUNC_2 &pcfg_pull_none_12ma>,
1720 <0 RK_PB3 RK_FUNC_1 &pcfg_pull_none>,
1722 <0 RK_PB4 RK_FUNC_1 &pcfg_pull_none>,
1724 <0 RK_PD0 RK_FUNC_1 &pcfg_pull_none>,
1726 <0 RK_PC3 RK_FUNC_1 &pcfg_pull_none>,
1728 <0 RK_PC0 RK_FUNC_1 &pcfg_pull_none>,
1730 <0 RK_PC1 RK_FUNC_1 &pcfg_pull_none>;
1735 fephyled_speed100: fephyled-speed100 {
1737 <0 RK_PD7 RK_FUNC_1 &pcfg_pull_none>;
1740 fephyled_speed10: fephyled-speed10 {
1742 <0 RK_PD6 RK_FUNC_1 &pcfg_pull_none>;
1745 fephyled_duplex: fephyled-duplex {
1747 <0 RK_PD6 RK_FUNC_2 &pcfg_pull_none>;
1750 fephyled_rxm0: fephyled-rxm0 {
1752 <0 RK_PD5 RK_FUNC_1 &pcfg_pull_none>;
1755 fephyled_txm0: fephyled-txm0 {
1757 <0 RK_PD5 RK_FUNC_2 &pcfg_pull_none>;
1760 fephyled_linkm0: fephyled-linkm0 {
1762 <0 RK_PD4 RK_FUNC_1 &pcfg_pull_none>;
1765 fephyled_rxm1: fephyled-rxm1 {
1767 <2 RK_PD1 RK_FUNC_2 &pcfg_pull_none>;
1770 fephyled_txm1: fephyled-txm1 {
1772 <2 RK_PD1 RK_FUNC_3 &pcfg_pull_none>;
1775 fephyled_linkm1: fephyled-linkm1 {
1777 <2 RK_PD0 RK_FUNC_2 &pcfg_pull_none>;
1782 tsadc_int: tsadc-int {
1784 <2 RK_PB5 RK_FUNC_2 &pcfg_pull_none>;
1786 tsadc_gpio: tsadc-gpio {
1788 <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
1793 hdmi_cec: hdmi-cec {
1795 <0 RK_PA3 RK_FUNC_1 &pcfg_pull_none>;
1798 hdmi_hpd: hdmi-hpd {
1800 <0 RK_PA4 RK_FUNC_1 &pcfg_pull_down>;
1805 dvp_d2d9_m0:dvp-d2d9-m0 {
1808 <3 RK_PA4 RK_FUNC_2 &pcfg_pull_none>,
1810 <3 RK_PA5 RK_FUNC_2 &pcfg_pull_none>,
1812 <3 RK_PA6 RK_FUNC_2 &pcfg_pull_none>,
1814 <3 RK_PA7 RK_FUNC_2 &pcfg_pull_none>,
1816 <3 RK_PB0 RK_FUNC_2 &pcfg_pull_none>,
1818 <3 RK_PB1 RK_FUNC_2 &pcfg_pull_none>,
1820 <3 RK_PB2 RK_FUNC_2 &pcfg_pull_none>,
1822 <3 RK_PB3 RK_FUNC_2 &pcfg_pull_none>,
1824 <3 RK_PA1 RK_FUNC_2 &pcfg_pull_none>,
1826 <3 RK_PA0 RK_FUNC_2 &pcfg_pull_none>,
1828 <3 RK_PA3 RK_FUNC_2 &pcfg_pull_none>,
1830 <3 RK_PA2 RK_FUNC_2 &pcfg_pull_none>;
1835 dvp_d2d9_m1:dvp-d2d9-m1 {
1838 <3 RK_PA4 RK_FUNC_2 &pcfg_pull_none>,
1840 <3 RK_PA5 RK_FUNC_2 &pcfg_pull_none>,
1842 <3 RK_PA6 RK_FUNC_2 &pcfg_pull_none>,
1844 <3 RK_PA7 RK_FUNC_2 &pcfg_pull_none>,
1846 <3 RK_PB0 RK_FUNC_2 &pcfg_pull_none>,
1848 <2 RK_PC0 RK_FUNC_4 &pcfg_pull_none>,
1850 <2 RK_PC1 RK_FUNC_4 &pcfg_pull_none>,
1852 <2 RK_PC2 RK_FUNC_4 &pcfg_pull_none>,
1854 <3 RK_PA1 RK_FUNC_2 &pcfg_pull_none>,
1856 <3 RK_PA0 RK_FUNC_2 &pcfg_pull_none>,
1858 <2 RK_PB7 RK_FUNC_4 &pcfg_pull_none>,
1860 <3 RK_PA2 RK_FUNC_2 &pcfg_pull_none>;