2 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
4 * SPDX-License-Identifier: GPL-2.0+
7 #include <dt-bindings/clock/rk3328-cru.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
14 compatible = "rockchip,rk3328";
16 interrupt-parent = <&gic>;
39 compatible = "arm,cortex-a53", "arm,armv8";
41 enable-method = "psci";
42 // clocks = <&cru ARMCLK>;
43 operating-points-v2 = <&cpu0_opp_table>;
47 compatible = "arm,cortex-a53", "arm,armv8";
49 enable-method = "psci";
53 compatible = "arm,cortex-a53", "arm,armv8";
55 enable-method = "psci";
59 compatible = "arm,cortex-a53", "arm,armv8";
61 enable-method = "psci";
65 cpu0_opp_table: opp_table0 {
66 compatible = "operating-points-v2";
70 opp-hz = /bits/ 64 <408000000>;
71 opp-microvolt = <950000>;
72 clock-latency-ns = <40000>;
76 opp-hz = /bits/ 64 <600000000>;
77 opp-microvolt = <950000>;
78 clock-latency-ns = <40000>;
81 opp-hz = /bits/ 64 <816000000>;
82 opp-microvolt = <1000000>;
83 clock-latency-ns = <40000>;
86 opp-hz = /bits/ 64 <1008000000>;
87 opp-microvolt = <1100000>;
88 clock-latency-ns = <40000>;
91 opp-hz = /bits/ 64 <1200000000>;
92 opp-microvolt = <1225000>;
93 clock-latency-ns = <40000>;
96 opp-hz = /bits/ 64 <1296000000>;
97 opp-microvolt = <1300000>;
98 clock-latency-ns = <40000>;
103 compatible = "arm,cortex-a53-pmu";
104 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
105 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
106 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
107 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
108 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
112 compatible = "arm,psci-1.0";
117 compatible = "arm,armv8-timer";
118 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
119 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
120 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
121 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
125 compatible = "fixed-clock";
127 clock-frequency = <24000000>;
128 clock-output-names = "xin24m";
132 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
133 reg = <0x0 0xff000000 0x0 0x1000>;
134 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
135 clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>;
136 clock-names = "i2s_clk", "i2s_hclk";
137 dmas = <&dmac 11>, <&dmac 12>;
139 dma-names = "tx", "rx";
144 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
145 reg = <0x0 0xff010000 0x0 0x1000>;
146 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
147 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>;
148 clock-names = "i2s_clk", "i2s_hclk";
149 dmas = <&dmac 14>, <&dmac 15>;
151 dma-names = "tx", "rx";
156 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
157 reg = <0x0 0xff020000 0x0 0x1000>;
158 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
159 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2_2CH>;
160 clock-names = "i2s_clk", "i2s_hclk";
161 dmas = <&dmac 0>, <&dmac 1>;
163 dma-names = "tx", "rx";
164 pinctrl-names = "default", "sleep";
165 pinctrl-0 = <&i2s2m0_mclk
171 pinctrl-1 = <&i2s2m0_sleep>;
175 spdif: spdif@ff030000 {
176 compatible = "rockchip,rk3328-spdif";
177 reg = <0x0 0xff030000 0x0 0x1000>;
178 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
179 clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
180 clock-names = "mclk", "hclk";
184 pinctrl-names = "default";
185 pinctrl-0 = <&spdifm2_tx>;
189 grf: syscon@ff100000 {
190 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
191 reg = <0x0 0xff100000 0x0 0x1000>;
192 #address-cells = <1>;
195 io_domains: io-domains {
196 compatible = "rockchip,rk3328-io-voltage-domain";
201 uart0: serial@ff110000 {
202 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
203 reg = <0x0 0xff110000 0x0 0x100>;
204 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
205 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
206 clock-names = "baudclk", "apb_pclk";
209 dmas = <&dmac 2>, <&dmac 3>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
216 uart1: serial@ff120000 {
217 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
218 reg = <0x0 0xff120000 0x0 0x100>;
219 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
220 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
221 clock-names = "sclk_uart", "pclk_uart";
224 dmas = <&dmac 4>, <&dmac 5>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
231 uart2: serial@ff130000 {
232 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
233 reg = <0x0 0xff130000 0x0 0x100>;
234 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
235 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
236 clock-names = "baudclk", "apb_pclk";
237 clock-frequency = <24000000>;
240 dmas = <&dmac 6>, <&dmac 7>;
242 pinctrl-names = "default";
243 pinctrl-0 = <&uart2m1_xfer>;
247 pmu: power-management@ff140000 {
248 compatible = "rockchip,rk3328-pmu", "syscon", "simple-mfd";
249 reg = <0x0 0xff140000 0x0 0x1000>;
253 compatible = "rockchip,rk3328-i2c";
254 reg = <0x0 0xff150000 0x0 0x1000>;
255 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
256 #address-cells = <1>;
258 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
259 clock-names = "i2c", "pclk";
260 pinctrl-names = "default";
261 pinctrl-0 = <&i2c0_xfer>;
266 compatible = "rockchip,rk3328-i2c";
267 reg = <0x0 0xff160000 0x0 0x1000>;
268 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
269 #address-cells = <1>;
271 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
272 clock-names = "i2c", "pclk";
273 pinctrl-names = "default";
274 pinctrl-0 = <&i2c1_xfer>;
279 compatible = "rockchip,rk3328-i2c";
280 reg = <0x0 0xff170000 0x0 0x1000>;
281 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
282 #address-cells = <1>;
284 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
285 clock-names = "i2c", "pclk";
286 pinctrl-names = "default";
287 pinctrl-0 = <&i2c2_xfer>;
292 compatible = "rockchip,rk3328-i2c";
293 reg = <0x0 0xff180000 0x0 0x1000>;
294 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
295 #address-cells = <1>;
297 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
298 clock-names = "i2c", "pclk";
299 pinctrl-names = "default";
300 pinctrl-0 = <&i2c3_xfer>;
305 compatible = "rockchip,rk3328-spi", "rockchip,rk3066-spi";
306 reg = <0x0 0xff190000 0x0 0x1000>;
307 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
308 #address-cells = <1>;
310 clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
311 clock-names = "spiclk", "apb_pclk";
312 dmas = <&dmac 8>, <&dmac 9>;
314 dma-names = "tx", "rx";
315 pinctrl-names = "default";
316 pinctrl-0 = <&spi0m2_clk &spi0m2_tx &spi0m2_rx &spi0m2_cs0>;
320 wdt: watchdog@ff1a0000 {
321 compatible = "snps,dw-wdt";
322 reg = <0x0 0xff1a0000 0x0 0x100>;
323 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
328 compatible = "simple-bus";
329 #address-cells = <2>;
333 dmac: dmac@ff1f0000 {
334 compatible = "arm,pl330", "arm,primecell";
335 reg = <0x0 0xff1f0000 0x0 0x4000>;
336 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
337 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
338 clocks = <&cru ACLK_DMAC>;
339 clock-names = "apb_pclk";
344 saradc: saradc@ff280000 {
345 compatible = "rockchip,rk3328-saradc", "rockchip,saradc";
346 reg = <0x0 0xff280000 0x0 0x100>;
347 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
348 #io-channel-cells = <1>;
349 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
350 clock-names = "saradc", "apb_pclk";
351 resets = <&cru SRST_SARADC_P>;
352 reset-names = "saradc-apb";
356 cru: clock-controller@ff440000 {
357 compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon";
358 reg = <0x0 0xff440000 0x0 0x1000>;
359 rockchip,grf = <&grf>;
363 <&cru DCLK_LCDC>, <&cru SCLK_PDM>,
364 <&cru SCLK_RTC32K>, <&cru SCLK_UART0>,
365 <&cru SCLK_UART1>, <&cru SCLK_UART2>,
366 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
367 <&cru ACLK_VIO_PRE>, <&cru ACLK_RGA_PRE>,
368 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
369 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
370 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
371 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
372 <&cru SCLK_SDIO>, <&cru SCLK_TSP>,
373 <&cru SCLK_WIFI>, <&cru ARMCLK>,
374 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
375 <&cru ACLK_BUS_PRE>, <&cru HCLK_BUS_PRE>,
376 <&cru PCLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
377 <&cru HCLK_PERI>, <&cru PCLK_PERI>,
378 <&cru ACLK_VIO_PRE>, <&cru HCLK_VIO_PRE>,
379 <&cru ACLK_RGA_PRE>, <&cru SCLK_RGA>,
380 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
381 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
382 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
383 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
384 <&cru SCLK_EFUSE>, <&cru PCLK_DDR>,
385 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>,
386 <&cru SCLK_RTC32K>, <&cru SCLK_USB3OTG_SUSPEND>;
387 assigned-clock-parents =
388 <&cru HDMIPHY>, <&cru PLL_APLL>,
389 <&cru PLL_GPLL>, <&xin24m>,
390 <&xin24m>, <&xin24m>;
391 assigned-clock-rates =
394 <24000000>, <24000000>,
395 <15000000>, <15000000>,
396 <100000000>, <100000000>,
397 <100000000>, <100000000>,
398 <50000000>, <100000000>,
399 <100000000>, <100000000>,
400 <50000000>, <50000000>,
401 <50000000>, <50000000>,
402 <24000000>, <600000000>,
403 <491520000>, <1200000000>,
404 <150000000>, <75000000>,
405 <75000000>, <150000000>,
406 <75000000>, <75000000>,
407 <300000000>, <100000000>,
408 <300000000>, <200000000>,
409 <400000000>, <500000000>,
410 <200000000>, <300000000>,
411 <300000000>, <250000000>,
412 <200000000>, <100000000>,
413 <24000000>, <100000000>,
414 <150000000>, <50000000>,
418 sdmmc: rksdmmc@ff500000 {
419 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
420 reg = <0x0 0xff500000 0x0 0x4000>;
421 clock-freq-min-max = <400000 150000000>;
422 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
423 clock-names = "biu", "ciu";
424 fifo-depth = <0x100>;
425 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
429 sdio: dwmmc@ff510000 {
430 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
431 reg = <0x0 0xff510000 0x0 0x4000>;
432 clock-freq-min-max = <400000 150000000>;
433 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
434 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
435 clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
436 fifo-depth = <0x100>;
437 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
441 emmc: rksdmmc@ff520000 {
442 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
443 reg = <0x0 0xff520000 0x0 0x4000>;
444 clock-freq-min-max = <400000 150000000>;
445 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
446 clock-names = "biu", "ciu";
447 fifo-depth = <0x100>;
448 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
452 usb_host0_ehci: usb@ff5c0000 {
453 compatible = "generic-ehci";
454 reg = <0x0 0xff5c0000 0x0 0x10000>;
455 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
459 usb_host0_ohci: usb@ff5d0000 {
460 compatible = "generic-ohci";
461 reg = <0x0 0xff5d0000 0x0 0x10000>;
462 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
466 sdmmc_ext: rksdmmc@ff5f0000 {
467 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
468 reg = <0x0 0xff5f0000 0x0 0x4000>;
469 clock-freq-min-max = <400000 150000000>;
470 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
471 clock-names = "biu", "ciu";
472 fifo-depth = <0x100>;
473 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
477 usb_host0_xhci: usb@ff600000 {
478 compatible = "rockchip,rk3328-xhci";
479 reg = <0x0 0xff600000 0x0 0x100000>;
480 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
481 snps,dis-enblslpm-quirk;
482 snps,phyif-utmi-bits = <16>;
483 snps,dis-u2-freeclk-exists-quirk;
484 snps,dis-u2-susphy-quirk;
488 gic: interrupt-controller@ffb70000 {
489 compatible = "arm,gic-400";
490 #interrupt-cells = <3>;
491 #address-cells = <0>;
492 interrupt-controller;
493 reg = <0x0 0xff811000 0 0x1000>,
494 <0x0 0xff812000 0 0x2000>,
495 <0x0 0xff814000 0 0x2000>,
496 <0x0 0xff816000 0 0x2000>;
497 interrupts = <GIC_PPI 9
498 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
502 compatible = "rockchip,rk3328-pinctrl";
503 rockchip,grf = <&grf>;
504 #address-cells = <2>;
508 gpio0: gpio0@ff210000 {
509 compatible = "rockchip,gpio-bank";
510 reg = <0x0 0xff210000 0x0 0x100>;
511 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
512 clocks = <&cru PCLK_GPIO0>;
517 interrupt-controller;
518 #interrupt-cells = <2>;
521 gpio1: gpio1@ff220000 {
522 compatible = "rockchip,gpio-bank";
523 reg = <0x0 0xff220000 0x0 0x100>;
524 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
525 clocks = <&cru PCLK_GPIO1>;
530 interrupt-controller;
531 #interrupt-cells = <2>;
534 gpio2: gpio2@ff230000 {
535 compatible = "rockchip,gpio-bank";
536 reg = <0x0 0xff230000 0x0 0x100>;
537 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
538 clocks = <&cru PCLK_GPIO2>;
543 interrupt-controller;
544 #interrupt-cells = <2>;
547 gpio3: gpio3@ff240000 {
548 compatible = "rockchip,gpio-bank";
549 reg = <0x0 0xff240000 0x0 0x100>;
550 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
551 clocks = <&cru PCLK_GPIO3>;
556 interrupt-controller;
557 #interrupt-cells = <2>;
560 pcfg_pull_up: pcfg-pull-up {
564 pcfg_pull_down: pcfg-pull-down {
568 pcfg_pull_none: pcfg-pull-none {
572 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
574 drive-strength = <2>;
577 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
579 drive-strength = <2>;
582 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
584 drive-strength = <4>;
587 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
589 drive-strength = <4>;
592 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
594 drive-strength = <4>;
597 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
599 drive-strength = <8>;
602 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
604 drive-strength = <8>;
607 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
609 drive-strength = <12>;
612 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
614 drive-strength = <12>;
617 pcfg_output_high: pcfg-output-high {
621 pcfg_output_low: pcfg-output-low {
625 pcfg_input_high: pcfg-input-high {
630 pcfg_input: pcfg-input {
635 i2c0_xfer: i2c0-xfer {
637 <2 24 RK_FUNC_1 &pcfg_pull_none>,
638 <2 25 RK_FUNC_1 &pcfg_pull_none>;
643 i2c1_xfer: i2c1-xfer {
645 <2 4 RK_FUNC_2 &pcfg_pull_none>,
646 <2 5 RK_FUNC_2 &pcfg_pull_none>;
651 i2c2_xfer: i2c2-xfer {
653 <2 13 RK_FUNC_1 &pcfg_pull_none>,
654 <2 14 RK_FUNC_1 &pcfg_pull_none>;
659 i2c3_xfer: i2c3-xfer {
661 <0 5 RK_FUNC_2 &pcfg_pull_none>,
662 <0 6 RK_FUNC_2 &pcfg_pull_none>;
664 i2c3_gpio: i2c3-gpio {
666 <0 5 RK_FUNC_GPIO &pcfg_pull_none>,
667 <0 6 RK_FUNC_GPIO &pcfg_pull_none>;
672 hdmii2c_xfer: hdmii2c-xfer {
674 <0 5 RK_FUNC_1 &pcfg_pull_none>,
675 <0 6 RK_FUNC_1 &pcfg_pull_none>;
680 uart0_xfer: uart0-xfer {
682 <1 9 RK_FUNC_1 &pcfg_pull_up>,
683 <1 8 RK_FUNC_1 &pcfg_pull_none>;
686 uart0_cts: uart0-cts {
688 <1 11 RK_FUNC_1 &pcfg_pull_none>;
691 uart0_rts: uart0-rts {
693 <1 10 RK_FUNC_1 &pcfg_pull_none>;
696 uart0_rts_gpio: uart0-rts-gpio {
698 <1 10 RK_FUNC_GPIO &pcfg_pull_none>;
703 uart1_xfer: uart1-xfer {
705 <3 4 RK_FUNC_4 &pcfg_pull_up>,
706 <3 6 RK_FUNC_4 &pcfg_pull_none>;
709 uart1_cts: uart1-cts {
711 <3 7 RK_FUNC_4 &pcfg_pull_none>;
714 uart1_rts: uart1-rts {
716 <3 5 RK_FUNC_4 &pcfg_pull_none>;
719 uart1_rts_gpio: uart1-rts-gpio {
721 <3 5 RK_FUNC_GPIO &pcfg_pull_none>;
726 uart2m0_xfer: uart2m0-xfer {
728 <1 0 RK_FUNC_2 &pcfg_pull_up>,
729 <1 1 RK_FUNC_2 &pcfg_pull_none>;
734 uart2m1_xfer: uart2m1-xfer {
736 <2 0 RK_FUNC_1 &pcfg_pull_up>,
737 <2 1 RK_FUNC_1 &pcfg_pull_none>;
742 spi0m0_clk: spi0m0-clk {
744 <2 8 RK_FUNC_1 &pcfg_pull_up>;
747 spi0m0_cs0: spi0m0-cs0 {
749 <2 11 RK_FUNC_1 &pcfg_pull_up>;
752 spi0m0_tx: spi0m0-tx {
754 <2 9 RK_FUNC_1 &pcfg_pull_up>;
757 spi0m0_rx: spi0m0-rx {
759 <2 10 RK_FUNC_1 &pcfg_pull_up>;
762 spi0m0_cs1: spi0m0-cs1 {
764 <2 12 RK_FUNC_1 &pcfg_pull_up>;
769 spi0m1_clk: spi0m1-clk {
771 <3 23 RK_FUNC_2 &pcfg_pull_up>;
774 spi0m1_cs0: spi0m1-cs0 {
776 <3 26 RK_FUNC_2 &pcfg_pull_up>;
779 spi0m1_tx: spi0m1-tx {
781 <3 25 RK_FUNC_2 &pcfg_pull_up>;
784 spi0m1_rx: spi0m1-rx {
786 <3 24 RK_FUNC_2 &pcfg_pull_up>;
789 spi0m1_cs1: spi0m1-cs1 {
791 <3 27 RK_FUNC_2 &pcfg_pull_up>;
796 spi0m2_clk: spi0m2-clk {
798 <3 0 RK_FUNC_4 &pcfg_pull_up>;
801 spi0m2_cs0: spi0m2-cs0 {
803 <3 8 RK_FUNC_3 &pcfg_pull_up>;
806 spi0m2_tx: spi0m2-tx {
808 <3 1 RK_FUNC_4 &pcfg_pull_up>;
811 spi0m2_rx: spi0m2-rx {
813 <3 2 RK_FUNC_4 &pcfg_pull_up>;
818 i2s1_mclk: i2s1-mclk {
820 <2 15 RK_FUNC_1 &pcfg_pull_none>;
823 i2s1_sclk: i2s1-sclk {
825 <2 18 RK_FUNC_1 &pcfg_pull_none>;
828 i2s1_lrckrx: i2s1-lrckrx {
830 <2 16 RK_FUNC_1 &pcfg_pull_none>;
833 i2s1_lrcktx: i2s1-lrcktx {
835 <2 17 RK_FUNC_1 &pcfg_pull_none>;
840 <2 19 RK_FUNC_1 &pcfg_pull_none>;
845 <2 23 RK_FUNC_1 &pcfg_pull_none>;
848 i2s1_sdio1: i2s1-sdio1 {
850 <2 20 RK_FUNC_1 &pcfg_pull_none>;
853 i2s1_sdio2: i2s1-sdio2 {
855 <2 21 RK_FUNC_1 &pcfg_pull_none>;
858 i2s1_sdio3: i2s1-sdio3 {
860 <2 22 RK_FUNC_1 &pcfg_pull_none>;
863 i2s1_sleep: i2s1-sleep {
865 <2 15 RK_FUNC_GPIO &pcfg_input_high>,
866 <2 16 RK_FUNC_GPIO &pcfg_input_high>,
867 <2 17 RK_FUNC_GPIO &pcfg_input_high>,
868 <2 18 RK_FUNC_GPIO &pcfg_input_high>,
869 <2 19 RK_FUNC_GPIO &pcfg_input_high>,
870 <2 20 RK_FUNC_GPIO &pcfg_input_high>,
871 <2 21 RK_FUNC_GPIO &pcfg_input_high>,
872 <2 22 RK_FUNC_GPIO &pcfg_input_high>,
873 <2 23 RK_FUNC_GPIO &pcfg_input_high>;
878 i2s2m0_mclk: i2s2m0-mclk {
880 <1 21 RK_FUNC_1 &pcfg_pull_none>;
883 i2s2m0_sclk: i2s2m0-sclk {
885 <1 22 RK_FUNC_1 &pcfg_pull_none>;
888 i2s2m0_lrckrx: i2s2m0-lrckrx {
890 <1 26 RK_FUNC_1 &pcfg_pull_none>;
893 i2s2m0_lrcktx: i2s2m0-lrcktx {
895 <1 23 RK_FUNC_1 &pcfg_pull_none>;
898 i2s2m0_sdi: i2s2m0-sdi {
900 <1 24 RK_FUNC_1 &pcfg_pull_none>;
903 i2s2m0_sdo: i2s2m0-sdo {
905 <1 25 RK_FUNC_1 &pcfg_pull_none>;
908 i2s2m0_sleep: i2s2m0-sleep {
910 <1 21 RK_FUNC_GPIO &pcfg_input_high>,
911 <1 22 RK_FUNC_GPIO &pcfg_input_high>,
912 <1 26 RK_FUNC_GPIO &pcfg_input_high>,
913 <1 23 RK_FUNC_GPIO &pcfg_input_high>,
914 <1 24 RK_FUNC_GPIO &pcfg_input_high>,
915 <1 25 RK_FUNC_GPIO &pcfg_input_high>;
920 i2s2m1_mclk: i2s2m1-mclk {
922 <1 21 RK_FUNC_1 &pcfg_pull_none>;
925 i2s2m1_sclk: i2s2m1-sclk {
927 <3 0 RK_FUNC_6 &pcfg_pull_none>;
930 i2s2m1_lrckrx: i2sm1-lrckrx {
932 <3 8 RK_FUNC_6 &pcfg_pull_none>;
935 i2s2m1_lrcktx: i2s2m1-lrcktx {
937 <3 8 RK_FUNC_4 &pcfg_pull_none>;
940 i2s2m1_sdi: i2s2m1-sdi {
942 <3 2 RK_FUNC_6 &pcfg_pull_none>;
945 i2s2m1_sdo: i2s2m1-sdo {
947 <3 1 RK_FUNC_6 &pcfg_pull_none>;
950 i2s2m1_sleep: i2s2m1-sleep {
952 <1 21 RK_FUNC_GPIO &pcfg_input_high>,
953 <3 0 RK_FUNC_GPIO &pcfg_input_high>,
954 <3 8 RK_FUNC_GPIO &pcfg_input_high>,
955 <3 2 RK_FUNC_GPIO &pcfg_input_high>,
956 <3 1 RK_FUNC_GPIO &pcfg_input_high>;
961 spdifm0_tx: spdifm0-tx {
963 <0 27 RK_FUNC_1 &pcfg_pull_none>;
968 spdifm1_tx: spdifm1-tx {
970 <2 17 RK_FUNC_2 &pcfg_pull_none>;
975 spdifm2_tx: spdifm2-tx {
977 <0 2 RK_FUNC_2 &pcfg_pull_none>;
982 sdmmc0m0_pwren: sdmmc0m0-pwren {
984 <2 7 RK_FUNC_1 &pcfg_pull_up_4ma>;
987 sdmmc0m0_gpio: sdmmc0m0-gpio {
989 <2 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
994 sdmmc0m1_pwren: sdmmc0m1-pwren {
996 <0 30 RK_FUNC_3 &pcfg_pull_up_4ma>;
999 sdmmc0m1_gpio: sdmmc0m1-gpio {
1001 <0 30 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1006 sdmmc0_clk: sdmmc0-clk {
1008 <1 6 RK_FUNC_1 &pcfg_pull_none_4ma>;
1011 sdmmc0_cmd: sdmmc0-cmd {
1013 <1 4 RK_FUNC_1 &pcfg_pull_up_4ma>;
1016 sdmmc0_dectn: sdmmc0-dectn {
1018 <1 5 RK_FUNC_1 &pcfg_pull_up_4ma>;
1021 sdmmc0_wrprt: sdmmc0-wrprt {
1023 <1 7 RK_FUNC_1 &pcfg_pull_up_4ma>;
1026 sdmmc0_bus1: sdmmc0-bus1 {
1028 <1 0 RK_FUNC_1 &pcfg_pull_up_4ma>;
1031 sdmmc0_bus4: sdmmc0-bus4 {
1033 <1 0 RK_FUNC_1 &pcfg_pull_up_4ma>,
1034 <1 1 RK_FUNC_1 &pcfg_pull_up_4ma>,
1035 <1 2 RK_FUNC_1 &pcfg_pull_up_4ma>,
1036 <1 3 RK_FUNC_1 &pcfg_pull_up_4ma>;
1039 sdmmc0_gpio: sdmmc0-gpio {
1041 <1 6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1042 <1 4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1043 <1 5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1044 <1 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1045 <1 3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1046 <1 2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1047 <1 1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1048 <1 0 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1053 sdmmc0ext_clk: sdmmc0ext-clk {
1055 <3 2 RK_FUNC_3 &pcfg_pull_none_4ma>;
1058 sdmmc0ext_cmd: sdmmc0ext-cmd {
1060 <3 0 RK_FUNC_3 &pcfg_pull_up_4ma>;
1063 sdmmc0ext_wrprt: sdmmc0ext-wrprt {
1065 <3 3 RK_FUNC_3 &pcfg_pull_up_4ma>;
1068 sdmmc0ext_dectn: sdmmc0ext-dectn {
1070 <3 1 RK_FUNC_3 &pcfg_pull_up_4ma>;
1073 sdmmc0ext_bus1: sdmmc0ext-bus1 {
1075 <3 4 RK_FUNC_3 &pcfg_pull_up_4ma>;
1078 sdmmc0ext_bus4: sdmmc0ext-bus4 {
1080 <3 4 RK_FUNC_3 &pcfg_pull_up_4ma>,
1081 <3 5 RK_FUNC_3 &pcfg_pull_up_4ma>,
1082 <3 6 RK_FUNC_3 &pcfg_pull_up_4ma>,
1083 <3 7 RK_FUNC_3 &pcfg_pull_up_4ma>;
1086 sdmmc0ext_gpio: sdmmc0ext-gpio {
1088 <3 0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1089 <3 1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1090 <3 2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1091 <3 3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1092 <3 4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1093 <3 5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1094 <3 6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1095 <3 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1100 sdmmc1_clk: sdmmc1-clk {
1102 <1 12 RK_FUNC_1 &pcfg_pull_none_8ma>;
1105 sdmmc1_cmd: sdmmc1-cmd {
1107 <1 13 RK_FUNC_1 &pcfg_pull_up_8ma>;
1110 sdmmc1_pwren: sdmmc1-pwren {
1112 <1 18 RK_FUNC_1 &pcfg_pull_up_8ma>;
1115 sdmmc1_wrprt: sdmmc1-wrprt {
1117 <1 20 RK_FUNC_1 &pcfg_pull_up_8ma>;
1120 sdmmc1_dectn: sdmmc1-dectn {
1122 <1 19 RK_FUNC_1 &pcfg_pull_up_8ma>;
1125 sdmmc1_bus1: sdmmc1-bus1 {
1127 <1 14 RK_FUNC_1 &pcfg_pull_up_8ma>;
1130 sdmmc1_bus4: sdmmc1-bus4 {
1132 <1 12 RK_FUNC_1 &pcfg_pull_up_8ma>,
1133 <1 13 RK_FUNC_1 &pcfg_pull_up_8ma>,
1134 <1 16 RK_FUNC_1 &pcfg_pull_up_8ma>,
1135 <1 17 RK_FUNC_1 &pcfg_pull_up_8ma>;
1138 sdmmc1_gpio: sdmmc1-gpio {
1140 <1 12 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1141 <1 13 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1142 <1 14 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1143 <1 15 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1144 <1 16 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1145 <1 17 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1146 <1 18 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1147 <1 19 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1148 <1 20 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1153 emmc_clk: emmc-clk {
1155 <3 21 RK_FUNC_2 &pcfg_pull_none_12ma>;
1158 emmc_cmd: emmc-cmd {
1160 <3 19 RK_FUNC_2 &pcfg_pull_up_12ma>;
1163 emmc_pwren: emmc-pwren {
1165 <3 22 RK_FUNC_2 &pcfg_pull_none>;
1168 emmc_rstnout: emmc-rstnout {
1170 <3 20 RK_FUNC_2 &pcfg_pull_none>;
1173 emmc_bus1: emmc-bus1 {
1175 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>;
1178 emmc_bus4: emmc-bus4 {
1180 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1181 <2 28 RK_FUNC_2 &pcfg_pull_up_12ma>,
1182 <2 29 RK_FUNC_2 &pcfg_pull_up_12ma>,
1183 <2 30 RK_FUNC_2 &pcfg_pull_up_12ma>;
1186 emmc_bus8: emmc-bus8 {
1188 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1189 <2 28 RK_FUNC_2 &pcfg_pull_up_12ma>,
1190 <2 29 RK_FUNC_2 &pcfg_pull_up_12ma>,
1191 <2 30 RK_FUNC_2 &pcfg_pull_up_12ma>,
1192 <2 31 RK_FUNC_2 &pcfg_pull_up_12ma>,
1193 <3 16 RK_FUNC_2 &pcfg_pull_up_12ma>,
1194 <3 17 RK_FUNC_2 &pcfg_pull_up_12ma>,
1195 <3 18 RK_FUNC_2 &pcfg_pull_up_12ma>;
1200 pwm0_pin: pwm0-pin {
1202 <2 4 RK_FUNC_1 &pcfg_pull_none>;
1207 pwm1_pin: pwm1-pin {
1209 <2 5 RK_FUNC_1 &pcfg_pull_none>;
1214 pwm2_pin: pwm2-pin {
1216 <2 6 RK_FUNC_1 &pcfg_pull_none>;
1221 pwmir_pin: pwmir-pin {
1223 <2 2 RK_FUNC_1 &pcfg_pull_none>;
1228 rgmiim0_pins: rgmiim0-pins {
1231 <0 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
1233 <0 10 RK_FUNC_1 &pcfg_pull_none>,
1235 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1237 <0 12 RK_FUNC_1 &pcfg_pull_none_12ma>,
1239 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1241 <0 25 RK_FUNC_1 &pcfg_pull_none>,
1243 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1245 <0 14 RK_FUNC_1 &pcfg_pull_none>,
1247 <0 15 RK_FUNC_1 &pcfg_pull_none>,
1249 <0 16 RK_FUNC_1 &pcfg_pull_none_12ma>,
1251 <0 17 RK_FUNC_1 &pcfg_pull_none_12ma>,
1253 <0 20 RK_FUNC_1 &pcfg_pull_none>,
1255 <0 21 RK_FUNC_1 &pcfg_pull_none>,
1257 <0 23 RK_FUNC_1 &pcfg_pull_none_12ma>,
1259 <0 22 RK_FUNC_1 &pcfg_pull_none_12ma>;
1262 rmiim0_pins: rmiim0-pins {
1265 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1267 <0 12 RK_FUNC_1 &pcfg_pull_none_12ma>,
1269 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1271 <0 13 RK_FUNC_1 &pcfg_pull_none>,
1273 <0 25 RK_FUNC_1 &pcfg_pull_none>,
1275 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1277 <0 14 RK_FUNC_1 &pcfg_pull_none>,
1279 <0 15 RK_FUNC_1 &pcfg_pull_none>,
1281 <0 16 RK_FUNC_1 &pcfg_pull_none_12ma>,
1283 <0 17 RK_FUNC_1 &pcfg_pull_none_12ma>;
1288 rgmiim1_pins: rgmiim1-pins {
1291 <1 12 RK_FUNC_2 &pcfg_pull_none_12ma>,
1293 <1 13 RK_FUNC_2 &pcfg_pull_none_2ma>,
1295 <1 19 RK_FUNC_2 &pcfg_pull_none_2ma>,
1297 <1 25 RK_FUNC_2 &pcfg_pull_none_12ma>,
1299 <1 21 RK_FUNC_2 &pcfg_pull_none_2ma>,
1301 <1 22 RK_FUNC_2 &pcfg_pull_none_2ma>,
1303 <1 23 RK_FUNC_2 &pcfg_pull_none_2ma>,
1305 <1 10 RK_FUNC_2 &pcfg_pull_none_2ma>,
1307 <1 11 RK_FUNC_2 &pcfg_pull_none_2ma>,
1309 <1 8 RK_FUNC_2 &pcfg_pull_none_12ma>,
1311 <1 9 RK_FUNC_2 &pcfg_pull_none_12ma>,
1313 <1 14 RK_FUNC_2 &pcfg_pull_none_2ma>,
1315 <1 15 RK_FUNC_2 &pcfg_pull_none_2ma>,
1317 <1 16 RK_FUNC_2 &pcfg_pull_none_12ma>,
1319 <1 17 RK_FUNC_2 &pcfg_pull_none_12ma>,
1322 <0 8 RK_FUNC_1 &pcfg_pull_none>,
1324 <0 12 RK_FUNC_1 &pcfg_pull_none>,
1326 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1328 <0 16 RK_FUNC_1 &pcfg_pull_none>,
1330 <0 17 RK_FUNC_1 &pcfg_pull_none>,
1332 <0 23 RK_FUNC_1 &pcfg_pull_none>,
1334 <0 22 RK_FUNC_1 &pcfg_pull_none>;
1337 rmiim1_pins: rmiim1-pins {
1340 <1 19 RK_FUNC_2 &pcfg_pull_none_2ma>,
1342 <1 25 RK_FUNC_2 &pcfg_pull_none_12ma>,
1344 <1 21 RK_FUNC_2 &pcfg_pull_none_2ma>,
1346 <1 24 RK_FUNC_2 &pcfg_pull_none_2ma>,
1348 <1 22 RK_FUNC_2 &pcfg_pull_none_2ma>,
1350 <1 23 RK_FUNC_2 &pcfg_pull_none_2ma>,
1352 <1 10 RK_FUNC_2 &pcfg_pull_none_2ma>,
1354 <1 11 RK_FUNC_2 &pcfg_pull_none_2ma>,
1356 <1 8 RK_FUNC_2 &pcfg_pull_none_12ma>,
1358 <1 9 RK_FUNC_2 &pcfg_pull_none_12ma>,
1361 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1363 <0 12 RK_FUNC_1 &pcfg_pull_none>,
1365 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1367 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1369 <0 16 RK_FUNC_1 &pcfg_pull_none>,
1371 <0 17 RK_FUNC_1 &pcfg_pull_none>;
1376 fephyled_speed100: fephyled-speed100 {
1378 <0 31 RK_FUNC_1 &pcfg_pull_none>;
1381 fephyled_speed10: fephyled-speed10 {
1383 <0 30 RK_FUNC_1 &pcfg_pull_none>;
1386 fephyled_duplex: fephyled-duplex {
1388 <0 30 RK_FUNC_2 &pcfg_pull_none>;
1391 fephyled_rxm0: fephyled-rxm0 {
1393 <0 29 RK_FUNC_1 &pcfg_pull_none>;
1396 fephyled_txm0: fephyled-txm0 {
1398 <0 29 RK_FUNC_2 &pcfg_pull_none>;
1401 fephyled_linkm0: fephyled-linkm0 {
1403 <0 28 RK_FUNC_1 &pcfg_pull_none>;
1406 fephyled_rxm1: fephyled-rxm1 {
1408 <2 25 RK_FUNC_2 &pcfg_pull_none>;
1411 fephyled_txm1: fephyled-txm1 {
1413 <2 25 RK_FUNC_3 &pcfg_pull_none>;
1416 fephyled_linkm1: fephyled-linkm1 {
1418 <2 24 RK_FUNC_2 &pcfg_pull_none>;
1423 tsadc_int: tsadc-int {
1425 <2 13 RK_FUNC_2 &pcfg_pull_none>;
1427 tsadc_gpio: tsadc-gpio {
1429 <2 13 RK_FUNC_GPIO &pcfg_pull_none>;
1434 hdmi_cec: hdmi-cec {
1436 <0 3 RK_FUNC_1 &pcfg_pull_none>;
1439 hdmi_hpd: hdmi-hpd {
1441 <0 4 RK_FUNC_1 &pcfg_pull_down>;
1446 dvp_d2d9_m0:dvp-d2d9-m0 {
1449 <3 4 RK_FUNC_2 &pcfg_pull_none>,
1451 <3 5 RK_FUNC_2 &pcfg_pull_none>,
1453 <3 6 RK_FUNC_2 &pcfg_pull_none>,
1455 <3 7 RK_FUNC_2 &pcfg_pull_none>,
1457 <3 8 RK_FUNC_2 &pcfg_pull_none>,
1459 <3 9 RK_FUNC_2 &pcfg_pull_none>,
1461 <3 10 RK_FUNC_2 &pcfg_pull_none>,
1463 <3 11 RK_FUNC_2 &pcfg_pull_none>,
1465 <3 1 RK_FUNC_2 &pcfg_pull_none>,
1467 <3 0 RK_FUNC_2 &pcfg_pull_none>,
1469 <3 3 RK_FUNC_2 &pcfg_pull_none>,
1471 <3 2 RK_FUNC_2 &pcfg_pull_none>;
1476 dvp_d2d9_m1:dvp-d2d9-m1 {
1479 <3 4 RK_FUNC_2 &pcfg_pull_none>,
1481 <3 5 RK_FUNC_2 &pcfg_pull_none>,
1483 <3 6 RK_FUNC_2 &pcfg_pull_none>,
1485 <3 7 RK_FUNC_2 &pcfg_pull_none>,
1487 <3 8 RK_FUNC_2 &pcfg_pull_none>,
1489 <2 16 RK_FUNC_4 &pcfg_pull_none>,
1491 <2 17 RK_FUNC_4 &pcfg_pull_none>,
1493 <2 18 RK_FUNC_4 &pcfg_pull_none>,
1495 <3 1 RK_FUNC_2 &pcfg_pull_none>,
1497 <3 0 RK_FUNC_2 &pcfg_pull_none>,
1499 <2 15 RK_FUNC_4 &pcfg_pull_none>,
1501 <3 2 RK_FUNC_2 &pcfg_pull_none>;