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>
52 compatible = "rockchip,rk3328";
54 interrupt-parent = <&gic>;
74 compatible = "arm,cortex-a53", "arm,armv8";
76 enable-method = "psci";
77 // clocks = <&cru ARMCLK>;
78 operating-points-v2 = <&cpu0_opp_table>;
82 compatible = "arm,cortex-a53", "arm,armv8";
84 enable-method = "psci";
88 compatible = "arm,cortex-a53", "arm,armv8";
90 enable-method = "psci";
94 compatible = "arm,cortex-a53", "arm,armv8";
96 enable-method = "psci";
100 cpu0_opp_table: opp_table0 {
101 compatible = "operating-points-v2";
105 opp-hz = /bits/ 64 <408000000>;
106 opp-microvolt = <950000>;
107 clock-latency-ns = <40000>;
111 opp-hz = /bits/ 64 <600000000>;
112 opp-microvolt = <950000>;
113 clock-latency-ns = <40000>;
116 opp-hz = /bits/ 64 <816000000>;
117 opp-microvolt = <1000000>;
118 clock-latency-ns = <40000>;
121 opp-hz = /bits/ 64 <1008000000>;
122 opp-microvolt = <1100000>;
123 clock-latency-ns = <40000>;
126 opp-hz = /bits/ 64 <1200000000>;
127 opp-microvolt = <1225000>;
128 clock-latency-ns = <40000>;
131 opp-hz = /bits/ 64 <1296000000>;
132 opp-microvolt = <1300000>;
133 clock-latency-ns = <40000>;
138 compatible = "arm,cortex-a53-pmu";
139 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
140 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
141 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
142 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
143 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
147 compatible = "arm,psci-1.0";
152 compatible = "arm,armv8-timer";
153 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
154 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
155 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
156 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
160 compatible = "fixed-clock";
162 clock-frequency = <24000000>;
163 clock-output-names = "xin24m";
167 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
168 reg = <0x0 0xff000000 0x0 0x1000>;
169 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
170 clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>;
171 clock-names = "i2s_clk", "i2s_hclk";
172 dmas = <&dmac 11>, <&dmac 12>;
174 dma-names = "tx", "rx";
179 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
180 reg = <0x0 0xff010000 0x0 0x1000>;
181 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
182 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>;
183 clock-names = "i2s_clk", "i2s_hclk";
184 dmas = <&dmac 14>, <&dmac 15>;
186 dma-names = "tx", "rx";
191 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
192 reg = <0x0 0xff020000 0x0 0x1000>;
193 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
194 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2_2CH>;
195 clock-names = "i2s_clk", "i2s_hclk";
196 dmas = <&dmac 0>, <&dmac 1>;
198 dma-names = "tx", "rx";
199 pinctrl-names = "default", "sleep";
200 pinctrl-0 = <&i2s2m0_mclk
206 pinctrl-1 = <&i2s2m0_sleep>;
210 spdif: spdif@ff030000 {
211 compatible = "rockchip,rk3328-spdif";
212 reg = <0x0 0xff030000 0x0 0x1000>;
213 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
214 clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
215 clock-names = "mclk", "hclk";
219 pinctrl-names = "default";
220 pinctrl-0 = <&spdifm2_tx>;
224 grf: syscon@ff100000 {
225 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
226 reg = <0x0 0xff100000 0x0 0x1000>;
227 #address-cells = <1>;
230 io_domains: io-domains {
231 compatible = "rockchip,rk3328-io-voltage-domain";
235 power: power-controller {
236 compatible = "rockchip,rk3328-power-controller";
237 #power-domain-cells = <1>;
238 #address-cells = <1>;
242 pd_hevc@RK3328_PD_HEVC {
243 reg = <RK3328_PD_HEVC>;
245 pd_video@RK3328_PD_VIDEO {
246 reg = <RK3328_PD_VIDEO>;
248 pd_vpu@RK3328_PD_VPU {
249 reg = <RK3328_PD_VPU>;
254 compatible = "syscon-reboot-mode";
256 mode-bootloader = <BOOT_BL_DOWNLOAD>;
257 mode-charge = <BOOT_CHARGING>;
258 mode-fastboot = <BOOT_FASTBOOT>;
259 mode-loader = <BOOT_BL_DOWNLOAD>;
260 mode-normal = <BOOT_NORMAL>;
261 mode-recovery = <BOOT_RECOVERY>;
262 mode-ums = <BOOT_UMS>;
266 uart0: serial@ff110000 {
267 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
268 reg = <0x0 0xff110000 0x0 0x100>;
269 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
270 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
271 clock-names = "baudclk", "apb_pclk";
274 dmas = <&dmac 2>, <&dmac 3>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
281 uart1: serial@ff120000 {
282 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
283 reg = <0x0 0xff120000 0x0 0x100>;
284 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
285 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
286 clock-names = "sclk_uart", "pclk_uart";
289 dmas = <&dmac 4>, <&dmac 5>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
296 uart2: serial@ff130000 {
297 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
298 reg = <0x0 0xff130000 0x0 0x100>;
299 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
300 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
301 clock-names = "baudclk", "apb_pclk";
304 dmas = <&dmac 6>, <&dmac 7>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&uart2m1_xfer>;
311 pmu: power-management@ff140000 {
312 compatible = "rockchip,rk3328-pmu", "syscon", "simple-mfd";
313 reg = <0x0 0xff140000 0x0 0x1000>;
317 compatible = "rockchip,rk3328-i2c";
318 reg = <0x0 0xff150000 0x0 0x1000>;
319 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
320 #address-cells = <1>;
322 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
323 clock-names = "i2c", "pclk";
324 pinctrl-names = "default";
325 pinctrl-0 = <&i2c0_xfer>;
330 compatible = "rockchip,rk3328-i2c";
331 reg = <0x0 0xff160000 0x0 0x1000>;
332 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
333 #address-cells = <1>;
335 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
336 clock-names = "i2c", "pclk";
337 pinctrl-names = "default";
338 pinctrl-0 = <&i2c1_xfer>;
343 compatible = "rockchip,rk3328-i2c";
344 reg = <0x0 0xff170000 0x0 0x1000>;
345 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
346 #address-cells = <1>;
348 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
349 clock-names = "i2c", "pclk";
350 pinctrl-names = "default";
351 pinctrl-0 = <&i2c2_xfer>;
356 compatible = "rockchip,rk3328-i2c";
357 reg = <0x0 0xff180000 0x0 0x1000>;
358 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
359 #address-cells = <1>;
361 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
362 clock-names = "i2c", "pclk";
363 pinctrl-names = "default";
364 pinctrl-0 = <&i2c3_xfer>;
369 compatible = "rockchip,rk3328-spi", "rockchip,rk3066-spi";
370 reg = <0x0 0xff190000 0x0 0x1000>;
371 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
372 #address-cells = <1>;
374 clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
375 clock-names = "spiclk", "apb_pclk";
376 dmas = <&dmac 8>, <&dmac 9>;
378 dma-names = "tx", "rx";
379 pinctrl-names = "default";
380 pinctrl-0 = <&spi0m2_clk &spi0m2_tx &spi0m2_rx &spi0m2_cs0>;
384 wdt: watchdog@ff1a0000 {
385 compatible = "snps,dw-wdt";
386 reg = <0x0 0xff1a0000 0x0 0x100>;
387 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
392 compatible = "simple-bus";
393 #address-cells = <2>;
397 dmac: dmac@ff1f0000 {
398 compatible = "arm,pl330", "arm,primecell";
399 reg = <0x0 0xff1f0000 0x0 0x4000>;
400 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
401 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
402 clocks = <&cru ACLK_DMAC>;
403 clock-names = "apb_pclk";
408 saradc: saradc@ff280000 {
409 compatible = "rockchip,rk3328-saradc", "rockchip,saradc";
410 reg = <0x0 0xff280000 0x0 0x100>;
411 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
412 #io-channel-cells = <1>;
413 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
414 clock-names = "saradc", "apb_pclk";
415 resets = <&cru SRST_SARADC_P>;
416 reset-names = "saradc-apb";
420 cru: clock-controller@ff440000 {
421 compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon";
422 reg = <0x0 0xff440000 0x0 0x1000>;
423 rockchip,grf = <&grf>;
427 <&cru DCLK_LCDC>, <&cru SCLK_PDM>,
428 <&cru SCLK_RTC32K>, <&cru SCLK_UART0>,
429 <&cru SCLK_UART1>, <&cru SCLK_UART2>,
430 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
431 <&cru ACLK_VIO_PRE>, <&cru ACLK_RGA_PRE>,
432 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
433 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
434 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
435 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
436 <&cru SCLK_SDIO>, <&cru SCLK_TSP>,
437 <&cru SCLK_WIFI>, <&cru ARMCLK>,
438 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
439 <&cru ACLK_BUS_PRE>, <&cru HCLK_BUS_PRE>,
440 <&cru PCLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
441 <&cru HCLK_PERI>, <&cru PCLK_PERI>,
442 <&cru ACLK_VIO_PRE>, <&cru HCLK_VIO_PRE>,
443 <&cru ACLK_RGA_PRE>, <&cru SCLK_RGA>,
444 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
445 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
446 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
447 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
448 <&cru SCLK_EFUSE>, <&cru PCLK_DDR>,
449 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>,
450 <&cru SCLK_RTC32K>, <&cru SCLK_USB3OTG_SUSPEND>;
451 assigned-clock-parents =
452 <&cru HDMIPHY>, <&cru PLL_APLL>,
453 <&cru PLL_GPLL>, <&xin24m>,
454 <&xin24m>, <&xin24m>;
455 assigned-clock-rates =
458 <24000000>, <24000000>,
459 <15000000>, <15000000>,
460 <100000000>, <100000000>,
461 <100000000>, <100000000>,
462 <50000000>, <100000000>,
463 <100000000>, <100000000>,
464 <50000000>, <50000000>,
465 <50000000>, <50000000>,
466 <24000000>, <600000000>,
467 <491520000>, <1200000000>,
468 <150000000>, <75000000>,
469 <75000000>, <150000000>,
470 <75000000>, <75000000>,
471 <300000000>, <100000000>,
472 <300000000>, <200000000>,
473 <400000000>, <500000000>,
474 <200000000>, <300000000>,
475 <300000000>, <250000000>,
476 <200000000>, <100000000>,
477 <24000000>, <100000000>,
478 <150000000>, <50000000>,
482 usb2phy_grf: syscon@ff450000 {
483 compatible = "rockchip,rk3328-usb2phy-grf", "syscon",
485 reg = <0x0 0xff450000 0x0 0x10000>;
486 #address-cells = <1>;
489 u2phy: usb2-phy@100 {
490 compatible = "rockchip,rk3328-usb2phy";
493 clock-names = "phyclk";
495 assigned-clocks = <&cru USB480M>;
496 assigned-clock-parents = <&u2phy>;
497 clock-output-names = "usb480m_phy";
500 u2phy_host: host-port {
502 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
503 interrupt-names = "linestate";
509 usb3phy_grf: syscon@ff460000 {
510 compatible = "rockchip,usb3phy-grf", "syscon";
511 reg = <0x0 0xff460000 0x0 0x1000>;
514 u3phy: usb3-phy@ff470000 {
515 compatible = "rockchip,rk3328-u3phy";
516 reg = <0x0 0xff470000 0x0 0x0>;
517 rockchip,u3phygrf = <&usb3phy_grf>;
518 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
519 interrupt-names = "linestate";
520 clocks = <&cru PCLK_USB3PHY_OTG>, <&cru PCLK_USB3PHY_PIPE>;
521 clock-names = "u3phy-otg", "u3phy-pipe";
522 resets = <&cru SRST_USB3PHY_U2>,
523 <&cru SRST_USB3PHY_U3>,
524 <&cru SRST_USB3PHY_PIPE>,
525 <&cru SRST_USB3OTG_UTMI>,
526 <&cru SRST_USB3PHY_OTG_P>,
527 <&cru SRST_USB3PHY_PIPE_P>;
528 reset-names = "u3phy-u2-por", "u3phy-u3-por",
529 "u3phy-pipe-mac", "u3phy-utmi-mac",
530 "u3phy-utmi-apb", "u3phy-pipe-apb";
531 #address-cells = <2>;
536 u3phy_utmi: utmi@ff470000 {
537 reg = <0x0 0xff470000 0x0 0x8000>;
542 u3phy_pipe: pipe@ff478000 {
543 reg = <0x0 0xff478000 0x0 0x8000>;
549 sdmmc: rksdmmc@ff500000 {
550 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
551 reg = <0x0 0xff500000 0x0 0x4000>;
552 clock-freq-min-max = <400000 150000000>;
553 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
554 clock-names = "biu", "ciu";
555 fifo-depth = <0x100>;
556 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
560 sdio: dwmmc@ff510000 {
561 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
562 reg = <0x0 0xff510000 0x0 0x4000>;
563 clock-freq-min-max = <400000 150000000>;
564 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
565 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
566 clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
567 fifo-depth = <0x100>;
568 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
572 emmc: rksdmmc@ff520000 {
573 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
574 reg = <0x0 0xff520000 0x0 0x4000>;
575 clock-freq-min-max = <400000 150000000>;
576 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
577 clock-names = "biu", "ciu";
578 fifo-depth = <0x100>;
579 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
583 usb20_otg: usb@ff580000 {
584 compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb",
586 reg = <0x0 0xff580000 0x0 0x40000>;
587 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
588 clocks = <&cru HCLK_OTG>, <&cru HCLK_OTG_PMU>;
589 clock-names = "otg", "otg_pmu";
591 g-np-tx-fifo-size = <16>;
592 g-rx-fifo-size = <275>;
593 g-tx-fifo-size = <256 128 128 64 64 32>;
598 usb_host0_ehci: usb@ff5c0000 {
599 compatible = "generic-ehci";
600 reg = <0x0 0xff5c0000 0x0 0x10000>;
601 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
602 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>,
604 clock-names = "usbhost", "arbiter", "utmi";
605 phys = <&u2phy_host>;
610 usb_host0_ohci: usb@ff5d0000 {
611 compatible = "generic-ohci";
612 reg = <0x0 0xff5d0000 0x0 0x10000>;
613 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
614 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>,
616 clock-names = "usbhost", "arbiter", "utmi";
617 phys = <&u2phy_host>;
622 sdmmc_ext: rksdmmc@ff5f0000 {
623 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
624 reg = <0x0 0xff5f0000 0x0 0x4000>;
625 clock-freq-min-max = <400000 150000000>;
626 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
627 clock-names = "biu", "ciu";
628 fifo-depth = <0x100>;
629 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
633 gic: interrupt-controller@ff811000 {
634 compatible = "arm,gic-400";
635 #interrupt-cells = <3>;
636 #address-cells = <0>;
637 interrupt-controller;
638 reg = <0x0 0xff811000 0 0x1000>,
639 <0x0 0xff812000 0 0x2000>,
640 <0x0 0xff814000 0 0x2000>,
641 <0x0 0xff816000 0 0x2000>;
642 interrupts = <GIC_PPI 9
643 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
647 compatible = "rockchip,rk3328-pinctrl";
648 rockchip,grf = <&grf>;
649 #address-cells = <2>;
653 gpio0: gpio0@ff210000 {
654 compatible = "rockchip,gpio-bank";
655 reg = <0x0 0xff210000 0x0 0x100>;
656 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
657 clocks = <&cru PCLK_GPIO0>;
662 interrupt-controller;
663 #interrupt-cells = <2>;
666 gpio1: gpio1@ff220000 {
667 compatible = "rockchip,gpio-bank";
668 reg = <0x0 0xff220000 0x0 0x100>;
669 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
670 clocks = <&cru PCLK_GPIO1>;
675 interrupt-controller;
676 #interrupt-cells = <2>;
679 gpio2: gpio2@ff230000 {
680 compatible = "rockchip,gpio-bank";
681 reg = <0x0 0xff230000 0x0 0x100>;
682 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
683 clocks = <&cru PCLK_GPIO2>;
688 interrupt-controller;
689 #interrupt-cells = <2>;
692 gpio3: gpio3@ff240000 {
693 compatible = "rockchip,gpio-bank";
694 reg = <0x0 0xff240000 0x0 0x100>;
695 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
696 clocks = <&cru PCLK_GPIO3>;
701 interrupt-controller;
702 #interrupt-cells = <2>;
705 pcfg_pull_up: pcfg-pull-up {
709 pcfg_pull_down: pcfg-pull-down {
713 pcfg_pull_none: pcfg-pull-none {
717 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
719 drive-strength = <2>;
722 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
724 drive-strength = <2>;
727 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
729 drive-strength = <4>;
732 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
734 drive-strength = <4>;
737 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
739 drive-strength = <4>;
742 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
744 drive-strength = <8>;
747 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
749 drive-strength = <8>;
752 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
754 drive-strength = <12>;
757 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
759 drive-strength = <12>;
762 pcfg_output_high: pcfg-output-high {
766 pcfg_output_low: pcfg-output-low {
770 pcfg_input_high: pcfg-input-high {
775 pcfg_input: pcfg-input {
780 i2c0_xfer: i2c0-xfer {
782 <2 24 RK_FUNC_1 &pcfg_pull_none>,
783 <2 25 RK_FUNC_1 &pcfg_pull_none>;
788 i2c1_xfer: i2c1-xfer {
790 <2 4 RK_FUNC_2 &pcfg_pull_none>,
791 <2 5 RK_FUNC_2 &pcfg_pull_none>;
796 i2c2_xfer: i2c2-xfer {
798 <2 13 RK_FUNC_1 &pcfg_pull_none>,
799 <2 14 RK_FUNC_1 &pcfg_pull_none>;
804 i2c3_xfer: i2c3-xfer {
806 <0 5 RK_FUNC_2 &pcfg_pull_none>,
807 <0 6 RK_FUNC_2 &pcfg_pull_none>;
809 i2c3_gpio: i2c3-gpio {
811 <0 5 RK_FUNC_GPIO &pcfg_pull_none>,
812 <0 6 RK_FUNC_GPIO &pcfg_pull_none>;
817 hdmii2c_xfer: hdmii2c-xfer {
819 <0 5 RK_FUNC_1 &pcfg_pull_none>,
820 <0 6 RK_FUNC_1 &pcfg_pull_none>;
825 uart0_xfer: uart0-xfer {
827 <1 9 RK_FUNC_1 &pcfg_pull_up>,
828 <1 8 RK_FUNC_1 &pcfg_pull_none>;
831 uart0_cts: uart0-cts {
833 <1 11 RK_FUNC_1 &pcfg_pull_none>;
836 uart0_rts: uart0-rts {
838 <1 10 RK_FUNC_1 &pcfg_pull_none>;
841 uart0_rts_gpio: uart0-rts-gpio {
843 <1 10 RK_FUNC_GPIO &pcfg_pull_none>;
848 uart1_xfer: uart1-xfer {
850 <3 4 RK_FUNC_4 &pcfg_pull_up>,
851 <3 6 RK_FUNC_4 &pcfg_pull_none>;
854 uart1_cts: uart1-cts {
856 <3 7 RK_FUNC_4 &pcfg_pull_none>;
859 uart1_rts: uart1-rts {
861 <3 5 RK_FUNC_4 &pcfg_pull_none>;
864 uart1_rts_gpio: uart1-rts-gpio {
866 <3 5 RK_FUNC_GPIO &pcfg_pull_none>;
871 uart2m0_xfer: uart2m0-xfer {
873 <1 0 RK_FUNC_2 &pcfg_pull_up>,
874 <1 1 RK_FUNC_2 &pcfg_pull_none>;
879 uart2m1_xfer: uart2m1-xfer {
881 <2 0 RK_FUNC_1 &pcfg_pull_up>,
882 <2 1 RK_FUNC_1 &pcfg_pull_none>;
887 spi0m0_clk: spi0m0-clk {
889 <2 8 RK_FUNC_1 &pcfg_pull_up>;
892 spi0m0_cs0: spi0m0-cs0 {
894 <2 11 RK_FUNC_1 &pcfg_pull_up>;
897 spi0m0_tx: spi0m0-tx {
899 <2 9 RK_FUNC_1 &pcfg_pull_up>;
902 spi0m0_rx: spi0m0-rx {
904 <2 10 RK_FUNC_1 &pcfg_pull_up>;
907 spi0m0_cs1: spi0m0-cs1 {
909 <2 12 RK_FUNC_1 &pcfg_pull_up>;
914 spi0m1_clk: spi0m1-clk {
916 <3 23 RK_FUNC_2 &pcfg_pull_up>;
919 spi0m1_cs0: spi0m1-cs0 {
921 <3 26 RK_FUNC_2 &pcfg_pull_up>;
924 spi0m1_tx: spi0m1-tx {
926 <3 25 RK_FUNC_2 &pcfg_pull_up>;
929 spi0m1_rx: spi0m1-rx {
931 <3 24 RK_FUNC_2 &pcfg_pull_up>;
934 spi0m1_cs1: spi0m1-cs1 {
936 <3 27 RK_FUNC_2 &pcfg_pull_up>;
941 spi0m2_clk: spi0m2-clk {
943 <3 0 RK_FUNC_4 &pcfg_pull_up>;
946 spi0m2_cs0: spi0m2-cs0 {
948 <3 8 RK_FUNC_3 &pcfg_pull_up>;
951 spi0m2_tx: spi0m2-tx {
953 <3 1 RK_FUNC_4 &pcfg_pull_up>;
956 spi0m2_rx: spi0m2-rx {
958 <3 2 RK_FUNC_4 &pcfg_pull_up>;
963 i2s1_mclk: i2s1-mclk {
965 <2 15 RK_FUNC_1 &pcfg_pull_none>;
968 i2s1_sclk: i2s1-sclk {
970 <2 18 RK_FUNC_1 &pcfg_pull_none>;
973 i2s1_lrckrx: i2s1-lrckrx {
975 <2 16 RK_FUNC_1 &pcfg_pull_none>;
978 i2s1_lrcktx: i2s1-lrcktx {
980 <2 17 RK_FUNC_1 &pcfg_pull_none>;
985 <2 19 RK_FUNC_1 &pcfg_pull_none>;
990 <2 23 RK_FUNC_1 &pcfg_pull_none>;
993 i2s1_sdio1: i2s1-sdio1 {
995 <2 20 RK_FUNC_1 &pcfg_pull_none>;
998 i2s1_sdio2: i2s1-sdio2 {
1000 <2 21 RK_FUNC_1 &pcfg_pull_none>;
1003 i2s1_sdio3: i2s1-sdio3 {
1005 <2 22 RK_FUNC_1 &pcfg_pull_none>;
1008 i2s1_sleep: i2s1-sleep {
1010 <2 15 RK_FUNC_GPIO &pcfg_input_high>,
1011 <2 16 RK_FUNC_GPIO &pcfg_input_high>,
1012 <2 17 RK_FUNC_GPIO &pcfg_input_high>,
1013 <2 18 RK_FUNC_GPIO &pcfg_input_high>,
1014 <2 19 RK_FUNC_GPIO &pcfg_input_high>,
1015 <2 20 RK_FUNC_GPIO &pcfg_input_high>,
1016 <2 21 RK_FUNC_GPIO &pcfg_input_high>,
1017 <2 22 RK_FUNC_GPIO &pcfg_input_high>,
1018 <2 23 RK_FUNC_GPIO &pcfg_input_high>;
1023 i2s2m0_mclk: i2s2m0-mclk {
1025 <1 21 RK_FUNC_1 &pcfg_pull_none>;
1028 i2s2m0_sclk: i2s2m0-sclk {
1030 <1 22 RK_FUNC_1 &pcfg_pull_none>;
1033 i2s2m0_lrckrx: i2s2m0-lrckrx {
1035 <1 26 RK_FUNC_1 &pcfg_pull_none>;
1038 i2s2m0_lrcktx: i2s2m0-lrcktx {
1040 <1 23 RK_FUNC_1 &pcfg_pull_none>;
1043 i2s2m0_sdi: i2s2m0-sdi {
1045 <1 24 RK_FUNC_1 &pcfg_pull_none>;
1048 i2s2m0_sdo: i2s2m0-sdo {
1050 <1 25 RK_FUNC_1 &pcfg_pull_none>;
1053 i2s2m0_sleep: i2s2m0-sleep {
1055 <1 21 RK_FUNC_GPIO &pcfg_input_high>,
1056 <1 22 RK_FUNC_GPIO &pcfg_input_high>,
1057 <1 26 RK_FUNC_GPIO &pcfg_input_high>,
1058 <1 23 RK_FUNC_GPIO &pcfg_input_high>,
1059 <1 24 RK_FUNC_GPIO &pcfg_input_high>,
1060 <1 25 RK_FUNC_GPIO &pcfg_input_high>;
1065 i2s2m1_mclk: i2s2m1-mclk {
1067 <1 21 RK_FUNC_1 &pcfg_pull_none>;
1070 i2s2m1_sclk: i2s2m1-sclk {
1072 <3 0 RK_FUNC_6 &pcfg_pull_none>;
1075 i2s2m1_lrckrx: i2sm1-lrckrx {
1077 <3 8 RK_FUNC_6 &pcfg_pull_none>;
1080 i2s2m1_lrcktx: i2s2m1-lrcktx {
1082 <3 8 RK_FUNC_4 &pcfg_pull_none>;
1085 i2s2m1_sdi: i2s2m1-sdi {
1087 <3 2 RK_FUNC_6 &pcfg_pull_none>;
1090 i2s2m1_sdo: i2s2m1-sdo {
1092 <3 1 RK_FUNC_6 &pcfg_pull_none>;
1095 i2s2m1_sleep: i2s2m1-sleep {
1097 <1 21 RK_FUNC_GPIO &pcfg_input_high>,
1098 <3 0 RK_FUNC_GPIO &pcfg_input_high>,
1099 <3 8 RK_FUNC_GPIO &pcfg_input_high>,
1100 <3 2 RK_FUNC_GPIO &pcfg_input_high>,
1101 <3 1 RK_FUNC_GPIO &pcfg_input_high>;
1106 spdifm0_tx: spdifm0-tx {
1108 <0 27 RK_FUNC_1 &pcfg_pull_none>;
1113 spdifm1_tx: spdifm1-tx {
1115 <2 17 RK_FUNC_2 &pcfg_pull_none>;
1120 spdifm2_tx: spdifm2-tx {
1122 <0 2 RK_FUNC_2 &pcfg_pull_none>;
1127 sdmmc0m0_pwren: sdmmc0m0-pwren {
1129 <2 7 RK_FUNC_1 &pcfg_pull_up_4ma>;
1132 sdmmc0m0_gpio: sdmmc0m0-gpio {
1134 <2 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1139 sdmmc0m1_pwren: sdmmc0m1-pwren {
1141 <0 30 RK_FUNC_3 &pcfg_pull_up_4ma>;
1144 sdmmc0m1_gpio: sdmmc0m1-gpio {
1146 <0 30 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1151 sdmmc0_clk: sdmmc0-clk {
1153 <1 6 RK_FUNC_1 &pcfg_pull_none_4ma>;
1156 sdmmc0_cmd: sdmmc0-cmd {
1158 <1 4 RK_FUNC_1 &pcfg_pull_up_4ma>;
1161 sdmmc0_dectn: sdmmc0-dectn {
1163 <1 5 RK_FUNC_1 &pcfg_pull_up_4ma>;
1166 sdmmc0_wrprt: sdmmc0-wrprt {
1168 <1 7 RK_FUNC_1 &pcfg_pull_up_4ma>;
1171 sdmmc0_bus1: sdmmc0-bus1 {
1173 <1 0 RK_FUNC_1 &pcfg_pull_up_4ma>;
1176 sdmmc0_bus4: sdmmc0-bus4 {
1178 <1 0 RK_FUNC_1 &pcfg_pull_up_4ma>,
1179 <1 1 RK_FUNC_1 &pcfg_pull_up_4ma>,
1180 <1 2 RK_FUNC_1 &pcfg_pull_up_4ma>,
1181 <1 3 RK_FUNC_1 &pcfg_pull_up_4ma>;
1184 sdmmc0_gpio: sdmmc0-gpio {
1186 <1 6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1187 <1 4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1188 <1 5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1189 <1 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1190 <1 3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1191 <1 2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1192 <1 1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1193 <1 0 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1198 sdmmc0ext_clk: sdmmc0ext-clk {
1200 <3 2 RK_FUNC_3 &pcfg_pull_none_4ma>;
1203 sdmmc0ext_cmd: sdmmc0ext-cmd {
1205 <3 0 RK_FUNC_3 &pcfg_pull_up_4ma>;
1208 sdmmc0ext_wrprt: sdmmc0ext-wrprt {
1210 <3 3 RK_FUNC_3 &pcfg_pull_up_4ma>;
1213 sdmmc0ext_dectn: sdmmc0ext-dectn {
1215 <3 1 RK_FUNC_3 &pcfg_pull_up_4ma>;
1218 sdmmc0ext_bus1: sdmmc0ext-bus1 {
1220 <3 4 RK_FUNC_3 &pcfg_pull_up_4ma>;
1223 sdmmc0ext_bus4: sdmmc0ext-bus4 {
1225 <3 4 RK_FUNC_3 &pcfg_pull_up_4ma>,
1226 <3 5 RK_FUNC_3 &pcfg_pull_up_4ma>,
1227 <3 6 RK_FUNC_3 &pcfg_pull_up_4ma>,
1228 <3 7 RK_FUNC_3 &pcfg_pull_up_4ma>;
1231 sdmmc0ext_gpio: sdmmc0ext-gpio {
1233 <3 0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1234 <3 1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1235 <3 2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1236 <3 3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1237 <3 4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1238 <3 5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1239 <3 6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1240 <3 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1245 sdmmc1_clk: sdmmc1-clk {
1247 <1 12 RK_FUNC_1 &pcfg_pull_none_8ma>;
1250 sdmmc1_cmd: sdmmc1-cmd {
1252 <1 13 RK_FUNC_1 &pcfg_pull_up_8ma>;
1255 sdmmc1_pwren: sdmmc1-pwren {
1257 <1 18 RK_FUNC_1 &pcfg_pull_up_8ma>;
1260 sdmmc1_wrprt: sdmmc1-wrprt {
1262 <1 20 RK_FUNC_1 &pcfg_pull_up_8ma>;
1265 sdmmc1_dectn: sdmmc1-dectn {
1267 <1 19 RK_FUNC_1 &pcfg_pull_up_8ma>;
1270 sdmmc1_bus1: sdmmc1-bus1 {
1272 <1 14 RK_FUNC_1 &pcfg_pull_up_8ma>;
1275 sdmmc1_bus4: sdmmc1-bus4 {
1277 <1 12 RK_FUNC_1 &pcfg_pull_up_8ma>,
1278 <1 13 RK_FUNC_1 &pcfg_pull_up_8ma>,
1279 <1 16 RK_FUNC_1 &pcfg_pull_up_8ma>,
1280 <1 17 RK_FUNC_1 &pcfg_pull_up_8ma>;
1283 sdmmc1_gpio: sdmmc1-gpio {
1285 <1 12 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1286 <1 13 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1287 <1 14 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1288 <1 15 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1289 <1 16 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1290 <1 17 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1291 <1 18 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1292 <1 19 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1293 <1 20 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1298 emmc_clk: emmc-clk {
1300 <3 21 RK_FUNC_2 &pcfg_pull_none_12ma>;
1303 emmc_cmd: emmc-cmd {
1305 <3 19 RK_FUNC_2 &pcfg_pull_up_12ma>;
1308 emmc_pwren: emmc-pwren {
1310 <3 22 RK_FUNC_2 &pcfg_pull_none>;
1313 emmc_rstnout: emmc-rstnout {
1315 <3 20 RK_FUNC_2 &pcfg_pull_none>;
1318 emmc_bus1: emmc-bus1 {
1320 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>;
1323 emmc_bus4: emmc-bus4 {
1325 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1326 <2 28 RK_FUNC_2 &pcfg_pull_up_12ma>,
1327 <2 29 RK_FUNC_2 &pcfg_pull_up_12ma>,
1328 <2 30 RK_FUNC_2 &pcfg_pull_up_12ma>;
1331 emmc_bus8: emmc-bus8 {
1333 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1334 <2 28 RK_FUNC_2 &pcfg_pull_up_12ma>,
1335 <2 29 RK_FUNC_2 &pcfg_pull_up_12ma>,
1336 <2 30 RK_FUNC_2 &pcfg_pull_up_12ma>,
1337 <2 31 RK_FUNC_2 &pcfg_pull_up_12ma>,
1338 <3 16 RK_FUNC_2 &pcfg_pull_up_12ma>,
1339 <3 17 RK_FUNC_2 &pcfg_pull_up_12ma>,
1340 <3 18 RK_FUNC_2 &pcfg_pull_up_12ma>;
1345 pwm0_pin: pwm0-pin {
1347 <2 4 RK_FUNC_1 &pcfg_pull_none>;
1352 pwm1_pin: pwm1-pin {
1354 <2 5 RK_FUNC_1 &pcfg_pull_none>;
1359 pwm2_pin: pwm2-pin {
1361 <2 6 RK_FUNC_1 &pcfg_pull_none>;
1366 pwmir_pin: pwmir-pin {
1368 <2 2 RK_FUNC_1 &pcfg_pull_none>;
1373 rgmiim0_pins: rgmiim0-pins {
1376 <0 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
1378 <0 10 RK_FUNC_1 &pcfg_pull_none>,
1380 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1382 <0 12 RK_FUNC_1 &pcfg_pull_none_12ma>,
1384 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1386 <0 25 RK_FUNC_1 &pcfg_pull_none>,
1388 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1390 <0 14 RK_FUNC_1 &pcfg_pull_none>,
1392 <0 15 RK_FUNC_1 &pcfg_pull_none>,
1394 <0 16 RK_FUNC_1 &pcfg_pull_none_12ma>,
1396 <0 17 RK_FUNC_1 &pcfg_pull_none_12ma>,
1398 <0 20 RK_FUNC_1 &pcfg_pull_none>,
1400 <0 21 RK_FUNC_1 &pcfg_pull_none>,
1402 <0 23 RK_FUNC_1 &pcfg_pull_none_12ma>,
1404 <0 22 RK_FUNC_1 &pcfg_pull_none_12ma>;
1407 rmiim0_pins: rmiim0-pins {
1410 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1412 <0 12 RK_FUNC_1 &pcfg_pull_none_12ma>,
1414 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1416 <0 13 RK_FUNC_1 &pcfg_pull_none>,
1418 <0 25 RK_FUNC_1 &pcfg_pull_none>,
1420 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1422 <0 14 RK_FUNC_1 &pcfg_pull_none>,
1424 <0 15 RK_FUNC_1 &pcfg_pull_none>,
1426 <0 16 RK_FUNC_1 &pcfg_pull_none_12ma>,
1428 <0 17 RK_FUNC_1 &pcfg_pull_none_12ma>;
1433 rgmiim1_pins: rgmiim1-pins {
1436 <1 12 RK_FUNC_2 &pcfg_pull_none_12ma>,
1438 <1 13 RK_FUNC_2 &pcfg_pull_none_2ma>,
1440 <1 19 RK_FUNC_2 &pcfg_pull_none_2ma>,
1442 <1 25 RK_FUNC_2 &pcfg_pull_none_12ma>,
1444 <1 21 RK_FUNC_2 &pcfg_pull_none_2ma>,
1446 <1 22 RK_FUNC_2 &pcfg_pull_none_2ma>,
1448 <1 23 RK_FUNC_2 &pcfg_pull_none_2ma>,
1450 <1 10 RK_FUNC_2 &pcfg_pull_none_2ma>,
1452 <1 11 RK_FUNC_2 &pcfg_pull_none_2ma>,
1454 <1 8 RK_FUNC_2 &pcfg_pull_none_12ma>,
1456 <1 9 RK_FUNC_2 &pcfg_pull_none_12ma>,
1458 <1 14 RK_FUNC_2 &pcfg_pull_none_2ma>,
1460 <1 15 RK_FUNC_2 &pcfg_pull_none_2ma>,
1462 <1 16 RK_FUNC_2 &pcfg_pull_none_12ma>,
1464 <1 17 RK_FUNC_2 &pcfg_pull_none_12ma>,
1467 <0 8 RK_FUNC_1 &pcfg_pull_none>,
1469 <0 12 RK_FUNC_1 &pcfg_pull_none>,
1471 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1473 <0 16 RK_FUNC_1 &pcfg_pull_none>,
1475 <0 17 RK_FUNC_1 &pcfg_pull_none>,
1477 <0 23 RK_FUNC_1 &pcfg_pull_none>,
1479 <0 22 RK_FUNC_1 &pcfg_pull_none>;
1482 rmiim1_pins: rmiim1-pins {
1485 <1 19 RK_FUNC_2 &pcfg_pull_none_2ma>,
1487 <1 25 RK_FUNC_2 &pcfg_pull_none_12ma>,
1489 <1 21 RK_FUNC_2 &pcfg_pull_none_2ma>,
1491 <1 24 RK_FUNC_2 &pcfg_pull_none_2ma>,
1493 <1 22 RK_FUNC_2 &pcfg_pull_none_2ma>,
1495 <1 23 RK_FUNC_2 &pcfg_pull_none_2ma>,
1497 <1 10 RK_FUNC_2 &pcfg_pull_none_2ma>,
1499 <1 11 RK_FUNC_2 &pcfg_pull_none_2ma>,
1501 <1 8 RK_FUNC_2 &pcfg_pull_none_12ma>,
1503 <1 9 RK_FUNC_2 &pcfg_pull_none_12ma>,
1506 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1508 <0 12 RK_FUNC_1 &pcfg_pull_none>,
1510 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1512 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1514 <0 16 RK_FUNC_1 &pcfg_pull_none>,
1516 <0 17 RK_FUNC_1 &pcfg_pull_none>;
1521 fephyled_speed100: fephyled-speed100 {
1523 <0 31 RK_FUNC_1 &pcfg_pull_none>;
1526 fephyled_speed10: fephyled-speed10 {
1528 <0 30 RK_FUNC_1 &pcfg_pull_none>;
1531 fephyled_duplex: fephyled-duplex {
1533 <0 30 RK_FUNC_2 &pcfg_pull_none>;
1536 fephyled_rxm0: fephyled-rxm0 {
1538 <0 29 RK_FUNC_1 &pcfg_pull_none>;
1541 fephyled_txm0: fephyled-txm0 {
1543 <0 29 RK_FUNC_2 &pcfg_pull_none>;
1546 fephyled_linkm0: fephyled-linkm0 {
1548 <0 28 RK_FUNC_1 &pcfg_pull_none>;
1551 fephyled_rxm1: fephyled-rxm1 {
1553 <2 25 RK_FUNC_2 &pcfg_pull_none>;
1556 fephyled_txm1: fephyled-txm1 {
1558 <2 25 RK_FUNC_3 &pcfg_pull_none>;
1561 fephyled_linkm1: fephyled-linkm1 {
1563 <2 24 RK_FUNC_2 &pcfg_pull_none>;
1568 tsadc_int: tsadc-int {
1570 <2 13 RK_FUNC_2 &pcfg_pull_none>;
1572 tsadc_gpio: tsadc-gpio {
1574 <2 13 RK_FUNC_GPIO &pcfg_pull_none>;
1579 hdmi_cec: hdmi-cec {
1581 <0 3 RK_FUNC_1 &pcfg_pull_none>;
1584 hdmi_hpd: hdmi-hpd {
1586 <0 4 RK_FUNC_1 &pcfg_pull_down>;
1591 dvp_d2d9_m0:dvp-d2d9-m0 {
1594 <3 4 RK_FUNC_2 &pcfg_pull_none>,
1596 <3 5 RK_FUNC_2 &pcfg_pull_none>,
1598 <3 6 RK_FUNC_2 &pcfg_pull_none>,
1600 <3 7 RK_FUNC_2 &pcfg_pull_none>,
1602 <3 8 RK_FUNC_2 &pcfg_pull_none>,
1604 <3 9 RK_FUNC_2 &pcfg_pull_none>,
1606 <3 10 RK_FUNC_2 &pcfg_pull_none>,
1608 <3 11 RK_FUNC_2 &pcfg_pull_none>,
1610 <3 1 RK_FUNC_2 &pcfg_pull_none>,
1612 <3 0 RK_FUNC_2 &pcfg_pull_none>,
1614 <3 3 RK_FUNC_2 &pcfg_pull_none>,
1616 <3 2 RK_FUNC_2 &pcfg_pull_none>;
1621 dvp_d2d9_m1:dvp-d2d9-m1 {
1624 <3 4 RK_FUNC_2 &pcfg_pull_none>,
1626 <3 5 RK_FUNC_2 &pcfg_pull_none>,
1628 <3 6 RK_FUNC_2 &pcfg_pull_none>,
1630 <3 7 RK_FUNC_2 &pcfg_pull_none>,
1632 <3 8 RK_FUNC_2 &pcfg_pull_none>,
1634 <2 16 RK_FUNC_4 &pcfg_pull_none>,
1636 <2 17 RK_FUNC_4 &pcfg_pull_none>,
1638 <2 18 RK_FUNC_4 &pcfg_pull_none>,
1640 <3 1 RK_FUNC_2 &pcfg_pull_none>,
1642 <3 0 RK_FUNC_2 &pcfg_pull_none>,
1644 <2 15 RK_FUNC_4 &pcfg_pull_none>,
1646 <3 2 RK_FUNC_2 &pcfg_pull_none>;