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 {
191 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
192 reg = <0x0 0xff100000 0x0 0x1000>;
193 #address-cells = <1>;
196 io_domains: io-domains {
197 compatible = "rockchip,rk3328-io-voltage-domain";
202 uart0: serial@ff110000 {
203 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
204 reg = <0x0 0xff110000 0x0 0x100>;
205 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
206 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
207 clock-names = "baudclk", "apb_pclk";
210 dmas = <&dmac 2>, <&dmac 3>;
212 pinctrl-names = "default";
213 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
217 uart1: serial@ff120000 {
218 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
219 reg = <0x0 0xff120000 0x0 0x100>;
220 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
221 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
222 clock-names = "sclk_uart", "pclk_uart";
225 dmas = <&dmac 4>, <&dmac 5>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
232 uart2: serial@ff130000 {
233 compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
234 reg = <0x0 0xff130000 0x0 0x100>;
235 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
236 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
237 clock-names = "baudclk", "apb_pclk";
238 clock-frequency = <24000000>;
241 dmas = <&dmac 6>, <&dmac 7>;
243 pinctrl-names = "default";
244 pinctrl-0 = <&uart2m1_xfer>;
248 pmu: power-management@ff140000 {
249 compatible = "rockchip,rk3328-pmu", "syscon", "simple-mfd";
250 reg = <0x0 0xff140000 0x0 0x1000>;
254 compatible = "rockchip,rk3328-i2c";
255 reg = <0x0 0xff150000 0x0 0x1000>;
256 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
257 #address-cells = <1>;
259 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
260 clock-names = "i2c", "pclk";
261 pinctrl-names = "default";
262 pinctrl-0 = <&i2c0_xfer>;
267 compatible = "rockchip,rk3328-i2c";
268 reg = <0x0 0xff160000 0x0 0x1000>;
269 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
270 #address-cells = <1>;
272 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
273 clock-names = "i2c", "pclk";
274 pinctrl-names = "default";
275 pinctrl-0 = <&i2c1_xfer>;
280 compatible = "rockchip,rk3328-i2c";
281 reg = <0x0 0xff170000 0x0 0x1000>;
282 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
283 #address-cells = <1>;
285 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
286 clock-names = "i2c", "pclk";
287 pinctrl-names = "default";
288 pinctrl-0 = <&i2c2_xfer>;
293 compatible = "rockchip,rk3328-i2c";
294 reg = <0x0 0xff180000 0x0 0x1000>;
295 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
296 #address-cells = <1>;
298 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
299 clock-names = "i2c", "pclk";
300 pinctrl-names = "default";
301 pinctrl-0 = <&i2c3_xfer>;
306 compatible = "rockchip,rk3328-spi", "rockchip,rk3066-spi";
307 reg = <0x0 0xff190000 0x0 0x1000>;
308 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
309 #address-cells = <1>;
311 clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
312 clock-names = "spiclk", "apb_pclk";
313 dmas = <&dmac 8>, <&dmac 9>;
315 dma-names = "tx", "rx";
316 pinctrl-names = "default";
317 pinctrl-0 = <&spi0m2_clk &spi0m2_tx &spi0m2_rx &spi0m2_cs0>;
321 wdt: watchdog@ff1a0000 {
322 compatible = "snps,dw-wdt";
323 reg = <0x0 0xff1a0000 0x0 0x100>;
324 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
329 compatible = "simple-bus";
330 #address-cells = <2>;
334 dmac: dmac@ff1f0000 {
335 compatible = "arm,pl330", "arm,primecell";
336 reg = <0x0 0xff1f0000 0x0 0x4000>;
337 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
338 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
339 clocks = <&cru ACLK_DMAC>;
340 clock-names = "apb_pclk";
345 saradc: saradc@ff280000 {
346 compatible = "rockchip,rk3328-saradc", "rockchip,saradc";
347 reg = <0x0 0xff280000 0x0 0x100>;
348 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
349 #io-channel-cells = <1>;
350 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
351 clock-names = "saradc", "apb_pclk";
352 resets = <&cru SRST_SARADC_P>;
353 reset-names = "saradc-apb";
359 compatible = "rockchip,rk3328-dmc", "syscon";
360 reg = <0x0 0xff400000 0x0 0x1000>;
363 cru: clock-controller@ff440000 {
364 compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon";
365 reg = <0x0 0xff440000 0x0 0x1000>;
366 rockchip,grf = <&grf>;
370 <&cru DCLK_LCDC>, <&cru SCLK_PDM>,
371 <&cru SCLK_RTC32K>, <&cru SCLK_UART0>,
372 <&cru SCLK_UART1>, <&cru SCLK_UART2>,
373 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
374 <&cru ACLK_VIO_PRE>, <&cru ACLK_RGA_PRE>,
375 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
376 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
377 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
378 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
379 <&cru SCLK_SDIO>, <&cru SCLK_TSP>,
380 <&cru SCLK_WIFI>, <&cru ARMCLK>,
381 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
382 <&cru ACLK_BUS_PRE>, <&cru HCLK_BUS_PRE>,
383 <&cru PCLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
384 <&cru HCLK_PERI>, <&cru PCLK_PERI>,
385 <&cru ACLK_VIO_PRE>, <&cru HCLK_VIO_PRE>,
386 <&cru ACLK_RGA_PRE>, <&cru SCLK_RGA>,
387 <&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
388 <&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
389 <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
390 <&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
391 <&cru SCLK_EFUSE>, <&cru PCLK_DDR>,
392 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>,
393 <&cru SCLK_RTC32K>, <&cru SCLK_USB3OTG_SUSPEND>;
394 assigned-clock-parents =
395 <&cru HDMIPHY>, <&cru PLL_APLL>,
396 <&cru PLL_GPLL>, <&xin24m>,
397 <&xin24m>, <&xin24m>;
398 assigned-clock-rates =
401 <24000000>, <24000000>,
402 <15000000>, <15000000>,
403 <100000000>, <100000000>,
404 <100000000>, <100000000>,
405 <50000000>, <100000000>,
406 <100000000>, <100000000>,
407 <50000000>, <50000000>,
408 <50000000>, <50000000>,
409 <24000000>, <600000000>,
410 <491520000>, <1200000000>,
411 <150000000>, <75000000>,
412 <75000000>, <150000000>,
413 <75000000>, <75000000>,
414 <300000000>, <100000000>,
415 <300000000>, <200000000>,
416 <400000000>, <500000000>,
417 <200000000>, <300000000>,
418 <300000000>, <250000000>,
419 <200000000>, <100000000>,
420 <24000000>, <100000000>,
421 <150000000>, <50000000>,
425 sdmmc: rksdmmc@ff500000 {
426 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
427 reg = <0x0 0xff500000 0x0 0x4000>;
428 max-frequency = <150000000>;
429 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
430 clock-names = "biu", "ciu";
431 fifo-depth = <0x100>;
432 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
436 sdio: dwmmc@ff510000 {
437 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
438 reg = <0x0 0xff510000 0x0 0x4000>;
439 max-frequency = <150000000>;
440 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
441 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
442 clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
443 fifo-depth = <0x100>;
444 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
448 emmc: rksdmmc@ff520000 {
449 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
450 reg = <0x0 0xff520000 0x0 0x4000>;
451 max-frequency = <150000000>;
452 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
453 clock-names = "biu", "ciu";
454 fifo-depth = <0x100>;
455 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
459 usb_host0_ehci: usb@ff5c0000 {
460 compatible = "generic-ehci";
461 reg = <0x0 0xff5c0000 0x0 0x10000>;
462 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
466 usb_host0_ohci: usb@ff5d0000 {
467 compatible = "generic-ohci";
468 reg = <0x0 0xff5d0000 0x0 0x10000>;
469 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
473 usb20_otg: usb@ff580000 {
474 compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb",
476 reg = <0x0 0xff580000 0x0 0x40000>;
477 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
483 sdmmc_ext: rksdmmc@ff5f0000 {
484 compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
485 reg = <0x0 0xff5f0000 0x0 0x4000>;
486 max-frequency = <150000000>;
487 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
488 clock-names = "biu", "ciu";
489 fifo-depth = <0x100>;
490 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
494 usb_host0_xhci: usb@ff600000 {
495 compatible = "rockchip,rk3328-xhci";
496 reg = <0x0 0xff600000 0x0 0x100000>;
497 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
498 snps,dis-enblslpm-quirk;
499 snps,phyif-utmi-bits = <16>;
500 snps,dis-u2-freeclk-exists-quirk;
501 snps,dis-u2-susphy-quirk;
505 gic: interrupt-controller@ffb70000 {
506 compatible = "arm,gic-400";
507 #interrupt-cells = <3>;
508 #address-cells = <0>;
509 interrupt-controller;
510 reg = <0x0 0xff811000 0 0x1000>,
511 <0x0 0xff812000 0 0x2000>,
512 <0x0 0xff814000 0 0x2000>,
513 <0x0 0xff816000 0 0x2000>;
514 interrupts = <GIC_PPI 9
515 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
519 compatible = "rockchip,rk3328-pinctrl";
520 rockchip,grf = <&grf>;
521 #address-cells = <2>;
525 gpio0: gpio0@ff210000 {
526 compatible = "rockchip,gpio-bank";
527 reg = <0x0 0xff210000 0x0 0x100>;
528 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
529 clocks = <&cru PCLK_GPIO0>;
534 interrupt-controller;
535 #interrupt-cells = <2>;
538 gpio1: gpio1@ff220000 {
539 compatible = "rockchip,gpio-bank";
540 reg = <0x0 0xff220000 0x0 0x100>;
541 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
542 clocks = <&cru PCLK_GPIO1>;
547 interrupt-controller;
548 #interrupt-cells = <2>;
551 gpio2: gpio2@ff230000 {
552 compatible = "rockchip,gpio-bank";
553 reg = <0x0 0xff230000 0x0 0x100>;
554 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
555 clocks = <&cru PCLK_GPIO2>;
560 interrupt-controller;
561 #interrupt-cells = <2>;
564 gpio3: gpio3@ff240000 {
565 compatible = "rockchip,gpio-bank";
566 reg = <0x0 0xff240000 0x0 0x100>;
567 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
568 clocks = <&cru PCLK_GPIO3>;
573 interrupt-controller;
574 #interrupt-cells = <2>;
577 pcfg_pull_up: pcfg-pull-up {
581 pcfg_pull_down: pcfg-pull-down {
585 pcfg_pull_none: pcfg-pull-none {
589 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
591 drive-strength = <2>;
594 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
596 drive-strength = <2>;
599 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
601 drive-strength = <4>;
604 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
606 drive-strength = <4>;
609 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
611 drive-strength = <4>;
614 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
616 drive-strength = <8>;
619 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
621 drive-strength = <8>;
624 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
626 drive-strength = <12>;
629 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
631 drive-strength = <12>;
634 pcfg_output_high: pcfg-output-high {
638 pcfg_output_low: pcfg-output-low {
642 pcfg_input_high: pcfg-input-high {
647 pcfg_input: pcfg-input {
652 i2c0_xfer: i2c0-xfer {
654 <2 24 RK_FUNC_1 &pcfg_pull_none>,
655 <2 25 RK_FUNC_1 &pcfg_pull_none>;
660 i2c1_xfer: i2c1-xfer {
662 <2 4 RK_FUNC_2 &pcfg_pull_none>,
663 <2 5 RK_FUNC_2 &pcfg_pull_none>;
668 i2c2_xfer: i2c2-xfer {
670 <2 13 RK_FUNC_1 &pcfg_pull_none>,
671 <2 14 RK_FUNC_1 &pcfg_pull_none>;
676 i2c3_xfer: i2c3-xfer {
678 <0 5 RK_FUNC_2 &pcfg_pull_none>,
679 <0 6 RK_FUNC_2 &pcfg_pull_none>;
681 i2c3_gpio: i2c3-gpio {
683 <0 5 RK_FUNC_GPIO &pcfg_pull_none>,
684 <0 6 RK_FUNC_GPIO &pcfg_pull_none>;
689 hdmii2c_xfer: hdmii2c-xfer {
691 <0 5 RK_FUNC_1 &pcfg_pull_none>,
692 <0 6 RK_FUNC_1 &pcfg_pull_none>;
697 uart0_xfer: uart0-xfer {
699 <1 9 RK_FUNC_1 &pcfg_pull_up>,
700 <1 8 RK_FUNC_1 &pcfg_pull_none>;
703 uart0_cts: uart0-cts {
705 <1 11 RK_FUNC_1 &pcfg_pull_none>;
708 uart0_rts: uart0-rts {
710 <1 10 RK_FUNC_1 &pcfg_pull_none>;
713 uart0_rts_gpio: uart0-rts-gpio {
715 <1 10 RK_FUNC_GPIO &pcfg_pull_none>;
720 uart1_xfer: uart1-xfer {
722 <3 4 RK_FUNC_4 &pcfg_pull_up>,
723 <3 6 RK_FUNC_4 &pcfg_pull_none>;
726 uart1_cts: uart1-cts {
728 <3 7 RK_FUNC_4 &pcfg_pull_none>;
731 uart1_rts: uart1-rts {
733 <3 5 RK_FUNC_4 &pcfg_pull_none>;
736 uart1_rts_gpio: uart1-rts-gpio {
738 <3 5 RK_FUNC_GPIO &pcfg_pull_none>;
743 uart2m0_xfer: uart2m0-xfer {
745 <1 0 RK_FUNC_2 &pcfg_pull_up>,
746 <1 1 RK_FUNC_2 &pcfg_pull_none>;
751 uart2m1_xfer: uart2m1-xfer {
753 <2 0 RK_FUNC_1 &pcfg_pull_up>,
754 <2 1 RK_FUNC_1 &pcfg_pull_none>;
759 spi0m0_clk: spi0m0-clk {
761 <2 8 RK_FUNC_1 &pcfg_pull_up>;
764 spi0m0_cs0: spi0m0-cs0 {
766 <2 11 RK_FUNC_1 &pcfg_pull_up>;
769 spi0m0_tx: spi0m0-tx {
771 <2 9 RK_FUNC_1 &pcfg_pull_up>;
774 spi0m0_rx: spi0m0-rx {
776 <2 10 RK_FUNC_1 &pcfg_pull_up>;
779 spi0m0_cs1: spi0m0-cs1 {
781 <2 12 RK_FUNC_1 &pcfg_pull_up>;
786 spi0m1_clk: spi0m1-clk {
788 <3 23 RK_FUNC_2 &pcfg_pull_up>;
791 spi0m1_cs0: spi0m1-cs0 {
793 <3 26 RK_FUNC_2 &pcfg_pull_up>;
796 spi0m1_tx: spi0m1-tx {
798 <3 25 RK_FUNC_2 &pcfg_pull_up>;
801 spi0m1_rx: spi0m1-rx {
803 <3 24 RK_FUNC_2 &pcfg_pull_up>;
806 spi0m1_cs1: spi0m1-cs1 {
808 <3 27 RK_FUNC_2 &pcfg_pull_up>;
813 spi0m2_clk: spi0m2-clk {
815 <3 0 RK_FUNC_4 &pcfg_pull_up>;
818 spi0m2_cs0: spi0m2-cs0 {
820 <3 8 RK_FUNC_3 &pcfg_pull_up>;
823 spi0m2_tx: spi0m2-tx {
825 <3 1 RK_FUNC_4 &pcfg_pull_up>;
828 spi0m2_rx: spi0m2-rx {
830 <3 2 RK_FUNC_4 &pcfg_pull_up>;
835 i2s1_mclk: i2s1-mclk {
837 <2 15 RK_FUNC_1 &pcfg_pull_none>;
840 i2s1_sclk: i2s1-sclk {
842 <2 18 RK_FUNC_1 &pcfg_pull_none>;
845 i2s1_lrckrx: i2s1-lrckrx {
847 <2 16 RK_FUNC_1 &pcfg_pull_none>;
850 i2s1_lrcktx: i2s1-lrcktx {
852 <2 17 RK_FUNC_1 &pcfg_pull_none>;
857 <2 19 RK_FUNC_1 &pcfg_pull_none>;
862 <2 23 RK_FUNC_1 &pcfg_pull_none>;
865 i2s1_sdio1: i2s1-sdio1 {
867 <2 20 RK_FUNC_1 &pcfg_pull_none>;
870 i2s1_sdio2: i2s1-sdio2 {
872 <2 21 RK_FUNC_1 &pcfg_pull_none>;
875 i2s1_sdio3: i2s1-sdio3 {
877 <2 22 RK_FUNC_1 &pcfg_pull_none>;
880 i2s1_sleep: i2s1-sleep {
882 <2 15 RK_FUNC_GPIO &pcfg_input_high>,
883 <2 16 RK_FUNC_GPIO &pcfg_input_high>,
884 <2 17 RK_FUNC_GPIO &pcfg_input_high>,
885 <2 18 RK_FUNC_GPIO &pcfg_input_high>,
886 <2 19 RK_FUNC_GPIO &pcfg_input_high>,
887 <2 20 RK_FUNC_GPIO &pcfg_input_high>,
888 <2 21 RK_FUNC_GPIO &pcfg_input_high>,
889 <2 22 RK_FUNC_GPIO &pcfg_input_high>,
890 <2 23 RK_FUNC_GPIO &pcfg_input_high>;
895 i2s2m0_mclk: i2s2m0-mclk {
897 <1 21 RK_FUNC_1 &pcfg_pull_none>;
900 i2s2m0_sclk: i2s2m0-sclk {
902 <1 22 RK_FUNC_1 &pcfg_pull_none>;
905 i2s2m0_lrckrx: i2s2m0-lrckrx {
907 <1 26 RK_FUNC_1 &pcfg_pull_none>;
910 i2s2m0_lrcktx: i2s2m0-lrcktx {
912 <1 23 RK_FUNC_1 &pcfg_pull_none>;
915 i2s2m0_sdi: i2s2m0-sdi {
917 <1 24 RK_FUNC_1 &pcfg_pull_none>;
920 i2s2m0_sdo: i2s2m0-sdo {
922 <1 25 RK_FUNC_1 &pcfg_pull_none>;
925 i2s2m0_sleep: i2s2m0-sleep {
927 <1 21 RK_FUNC_GPIO &pcfg_input_high>,
928 <1 22 RK_FUNC_GPIO &pcfg_input_high>,
929 <1 26 RK_FUNC_GPIO &pcfg_input_high>,
930 <1 23 RK_FUNC_GPIO &pcfg_input_high>,
931 <1 24 RK_FUNC_GPIO &pcfg_input_high>,
932 <1 25 RK_FUNC_GPIO &pcfg_input_high>;
937 i2s2m1_mclk: i2s2m1-mclk {
939 <1 21 RK_FUNC_1 &pcfg_pull_none>;
942 i2s2m1_sclk: i2s2m1-sclk {
944 <3 0 RK_FUNC_6 &pcfg_pull_none>;
947 i2s2m1_lrckrx: i2sm1-lrckrx {
949 <3 8 RK_FUNC_6 &pcfg_pull_none>;
952 i2s2m1_lrcktx: i2s2m1-lrcktx {
954 <3 8 RK_FUNC_4 &pcfg_pull_none>;
957 i2s2m1_sdi: i2s2m1-sdi {
959 <3 2 RK_FUNC_6 &pcfg_pull_none>;
962 i2s2m1_sdo: i2s2m1-sdo {
964 <3 1 RK_FUNC_6 &pcfg_pull_none>;
967 i2s2m1_sleep: i2s2m1-sleep {
969 <1 21 RK_FUNC_GPIO &pcfg_input_high>,
970 <3 0 RK_FUNC_GPIO &pcfg_input_high>,
971 <3 8 RK_FUNC_GPIO &pcfg_input_high>,
972 <3 2 RK_FUNC_GPIO &pcfg_input_high>,
973 <3 1 RK_FUNC_GPIO &pcfg_input_high>;
978 spdifm0_tx: spdifm0-tx {
980 <0 27 RK_FUNC_1 &pcfg_pull_none>;
985 spdifm1_tx: spdifm1-tx {
987 <2 17 RK_FUNC_2 &pcfg_pull_none>;
992 spdifm2_tx: spdifm2-tx {
994 <0 2 RK_FUNC_2 &pcfg_pull_none>;
999 sdmmc0m0_pwren: sdmmc0m0-pwren {
1001 <2 7 RK_FUNC_1 &pcfg_pull_up_4ma>;
1004 sdmmc0m0_gpio: sdmmc0m0-gpio {
1006 <2 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1011 sdmmc0m1_pwren: sdmmc0m1-pwren {
1013 <0 30 RK_FUNC_3 &pcfg_pull_up_4ma>;
1016 sdmmc0m1_gpio: sdmmc0m1-gpio {
1018 <0 30 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1023 sdmmc0_clk: sdmmc0-clk {
1025 <1 6 RK_FUNC_1 &pcfg_pull_none_4ma>;
1028 sdmmc0_cmd: sdmmc0-cmd {
1030 <1 4 RK_FUNC_1 &pcfg_pull_up_4ma>;
1033 sdmmc0_dectn: sdmmc0-dectn {
1035 <1 5 RK_FUNC_1 &pcfg_pull_up_4ma>;
1038 sdmmc0_wrprt: sdmmc0-wrprt {
1040 <1 7 RK_FUNC_1 &pcfg_pull_up_4ma>;
1043 sdmmc0_bus1: sdmmc0-bus1 {
1045 <1 0 RK_FUNC_1 &pcfg_pull_up_4ma>;
1048 sdmmc0_bus4: sdmmc0-bus4 {
1050 <1 0 RK_FUNC_1 &pcfg_pull_up_4ma>,
1051 <1 1 RK_FUNC_1 &pcfg_pull_up_4ma>,
1052 <1 2 RK_FUNC_1 &pcfg_pull_up_4ma>,
1053 <1 3 RK_FUNC_1 &pcfg_pull_up_4ma>;
1056 sdmmc0_gpio: sdmmc0-gpio {
1058 <1 6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1059 <1 4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1060 <1 5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1061 <1 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1062 <1 3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1063 <1 2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1064 <1 1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1065 <1 0 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1070 sdmmc0ext_clk: sdmmc0ext-clk {
1072 <3 2 RK_FUNC_3 &pcfg_pull_none_4ma>;
1075 sdmmc0ext_cmd: sdmmc0ext-cmd {
1077 <3 0 RK_FUNC_3 &pcfg_pull_up_4ma>;
1080 sdmmc0ext_wrprt: sdmmc0ext-wrprt {
1082 <3 3 RK_FUNC_3 &pcfg_pull_up_4ma>;
1085 sdmmc0ext_dectn: sdmmc0ext-dectn {
1087 <3 1 RK_FUNC_3 &pcfg_pull_up_4ma>;
1090 sdmmc0ext_bus1: sdmmc0ext-bus1 {
1092 <3 4 RK_FUNC_3 &pcfg_pull_up_4ma>;
1095 sdmmc0ext_bus4: sdmmc0ext-bus4 {
1097 <3 4 RK_FUNC_3 &pcfg_pull_up_4ma>,
1098 <3 5 RK_FUNC_3 &pcfg_pull_up_4ma>,
1099 <3 6 RK_FUNC_3 &pcfg_pull_up_4ma>,
1100 <3 7 RK_FUNC_3 &pcfg_pull_up_4ma>;
1103 sdmmc0ext_gpio: sdmmc0ext-gpio {
1105 <3 0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1106 <3 1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1107 <3 2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1108 <3 3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1109 <3 4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1110 <3 5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1111 <3 6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1112 <3 7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1117 sdmmc1_clk: sdmmc1-clk {
1119 <1 12 RK_FUNC_1 &pcfg_pull_none_8ma>;
1122 sdmmc1_cmd: sdmmc1-cmd {
1124 <1 13 RK_FUNC_1 &pcfg_pull_up_8ma>;
1127 sdmmc1_pwren: sdmmc1-pwren {
1129 <1 18 RK_FUNC_1 &pcfg_pull_up_8ma>;
1132 sdmmc1_wrprt: sdmmc1-wrprt {
1134 <1 20 RK_FUNC_1 &pcfg_pull_up_8ma>;
1137 sdmmc1_dectn: sdmmc1-dectn {
1139 <1 19 RK_FUNC_1 &pcfg_pull_up_8ma>;
1142 sdmmc1_bus1: sdmmc1-bus1 {
1144 <1 14 RK_FUNC_1 &pcfg_pull_up_8ma>;
1147 sdmmc1_bus4: sdmmc1-bus4 {
1149 <1 12 RK_FUNC_1 &pcfg_pull_up_8ma>,
1150 <1 13 RK_FUNC_1 &pcfg_pull_up_8ma>,
1151 <1 16 RK_FUNC_1 &pcfg_pull_up_8ma>,
1152 <1 17 RK_FUNC_1 &pcfg_pull_up_8ma>;
1155 sdmmc1_gpio: sdmmc1-gpio {
1157 <1 12 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1158 <1 13 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1159 <1 14 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1160 <1 15 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1161 <1 16 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1162 <1 17 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1163 <1 18 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1164 <1 19 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
1165 <1 20 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
1170 emmc_clk: emmc-clk {
1172 <3 21 RK_FUNC_2 &pcfg_pull_none_12ma>;
1175 emmc_cmd: emmc-cmd {
1177 <3 19 RK_FUNC_2 &pcfg_pull_up_12ma>;
1180 emmc_pwren: emmc-pwren {
1182 <3 22 RK_FUNC_2 &pcfg_pull_none>;
1185 emmc_rstnout: emmc-rstnout {
1187 <3 20 RK_FUNC_2 &pcfg_pull_none>;
1190 emmc_bus1: emmc-bus1 {
1192 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>;
1195 emmc_bus4: emmc-bus4 {
1197 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1198 <2 28 RK_FUNC_2 &pcfg_pull_up_12ma>,
1199 <2 29 RK_FUNC_2 &pcfg_pull_up_12ma>,
1200 <2 30 RK_FUNC_2 &pcfg_pull_up_12ma>;
1203 emmc_bus8: emmc-bus8 {
1205 <0 7 RK_FUNC_2 &pcfg_pull_up_12ma>,
1206 <2 28 RK_FUNC_2 &pcfg_pull_up_12ma>,
1207 <2 29 RK_FUNC_2 &pcfg_pull_up_12ma>,
1208 <2 30 RK_FUNC_2 &pcfg_pull_up_12ma>,
1209 <2 31 RK_FUNC_2 &pcfg_pull_up_12ma>,
1210 <3 16 RK_FUNC_2 &pcfg_pull_up_12ma>,
1211 <3 17 RK_FUNC_2 &pcfg_pull_up_12ma>,
1212 <3 18 RK_FUNC_2 &pcfg_pull_up_12ma>;
1217 pwm0_pin: pwm0-pin {
1219 <2 4 RK_FUNC_1 &pcfg_pull_none>;
1224 pwm1_pin: pwm1-pin {
1226 <2 5 RK_FUNC_1 &pcfg_pull_none>;
1231 pwm2_pin: pwm2-pin {
1233 <2 6 RK_FUNC_1 &pcfg_pull_none>;
1238 pwmir_pin: pwmir-pin {
1240 <2 2 RK_FUNC_1 &pcfg_pull_none>;
1245 rgmiim0_pins: rgmiim0-pins {
1248 <0 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
1250 <0 10 RK_FUNC_1 &pcfg_pull_none>,
1252 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1254 <0 12 RK_FUNC_1 &pcfg_pull_none_12ma>,
1256 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1258 <0 25 RK_FUNC_1 &pcfg_pull_none>,
1260 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1262 <0 14 RK_FUNC_1 &pcfg_pull_none>,
1264 <0 15 RK_FUNC_1 &pcfg_pull_none>,
1266 <0 16 RK_FUNC_1 &pcfg_pull_none_12ma>,
1268 <0 17 RK_FUNC_1 &pcfg_pull_none_12ma>,
1270 <0 20 RK_FUNC_1 &pcfg_pull_none>,
1272 <0 21 RK_FUNC_1 &pcfg_pull_none>,
1274 <0 23 RK_FUNC_1 &pcfg_pull_none_12ma>,
1276 <0 22 RK_FUNC_1 &pcfg_pull_none_12ma>;
1279 rmiim0_pins: rmiim0-pins {
1282 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1284 <0 12 RK_FUNC_1 &pcfg_pull_none_12ma>,
1286 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1288 <0 13 RK_FUNC_1 &pcfg_pull_none>,
1290 <0 25 RK_FUNC_1 &pcfg_pull_none>,
1292 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1294 <0 14 RK_FUNC_1 &pcfg_pull_none>,
1296 <0 15 RK_FUNC_1 &pcfg_pull_none>,
1298 <0 16 RK_FUNC_1 &pcfg_pull_none_12ma>,
1300 <0 17 RK_FUNC_1 &pcfg_pull_none_12ma>;
1305 rgmiim1_pins: rgmiim1-pins {
1308 <1 12 RK_FUNC_2 &pcfg_pull_none_12ma>,
1310 <1 13 RK_FUNC_2 &pcfg_pull_none_2ma>,
1312 <1 19 RK_FUNC_2 &pcfg_pull_none_2ma>,
1314 <1 25 RK_FUNC_2 &pcfg_pull_none_12ma>,
1316 <1 21 RK_FUNC_2 &pcfg_pull_none_2ma>,
1318 <1 22 RK_FUNC_2 &pcfg_pull_none_2ma>,
1320 <1 23 RK_FUNC_2 &pcfg_pull_none_2ma>,
1322 <1 10 RK_FUNC_2 &pcfg_pull_none_2ma>,
1324 <1 11 RK_FUNC_2 &pcfg_pull_none_2ma>,
1326 <1 8 RK_FUNC_2 &pcfg_pull_none_12ma>,
1328 <1 9 RK_FUNC_2 &pcfg_pull_none_12ma>,
1330 <1 14 RK_FUNC_2 &pcfg_pull_none_2ma>,
1332 <1 15 RK_FUNC_2 &pcfg_pull_none_2ma>,
1334 <1 16 RK_FUNC_2 &pcfg_pull_none_12ma>,
1336 <1 17 RK_FUNC_2 &pcfg_pull_none_12ma>,
1339 <0 8 RK_FUNC_1 &pcfg_pull_none>,
1341 <0 12 RK_FUNC_1 &pcfg_pull_none>,
1343 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1345 <0 16 RK_FUNC_1 &pcfg_pull_none>,
1347 <0 17 RK_FUNC_1 &pcfg_pull_none>,
1349 <0 23 RK_FUNC_1 &pcfg_pull_none>,
1351 <0 22 RK_FUNC_1 &pcfg_pull_none>;
1354 rmiim1_pins: rmiim1-pins {
1357 <1 19 RK_FUNC_2 &pcfg_pull_none_2ma>,
1359 <1 25 RK_FUNC_2 &pcfg_pull_none_12ma>,
1361 <1 21 RK_FUNC_2 &pcfg_pull_none_2ma>,
1363 <1 24 RK_FUNC_2 &pcfg_pull_none_2ma>,
1365 <1 22 RK_FUNC_2 &pcfg_pull_none_2ma>,
1367 <1 23 RK_FUNC_2 &pcfg_pull_none_2ma>,
1369 <1 10 RK_FUNC_2 &pcfg_pull_none_2ma>,
1371 <1 11 RK_FUNC_2 &pcfg_pull_none_2ma>,
1373 <1 8 RK_FUNC_2 &pcfg_pull_none_12ma>,
1375 <1 9 RK_FUNC_2 &pcfg_pull_none_12ma>,
1378 <0 11 RK_FUNC_1 &pcfg_pull_none>,
1380 <0 12 RK_FUNC_1 &pcfg_pull_none>,
1382 <0 24 RK_FUNC_1 &pcfg_pull_none>,
1384 <0 19 RK_FUNC_1 &pcfg_pull_none>,
1386 <0 16 RK_FUNC_1 &pcfg_pull_none>,
1388 <0 17 RK_FUNC_1 &pcfg_pull_none>;
1393 fephyled_speed100: fephyled-speed100 {
1395 <0 31 RK_FUNC_1 &pcfg_pull_none>;
1398 fephyled_speed10: fephyled-speed10 {
1400 <0 30 RK_FUNC_1 &pcfg_pull_none>;
1403 fephyled_duplex: fephyled-duplex {
1405 <0 30 RK_FUNC_2 &pcfg_pull_none>;
1408 fephyled_rxm0: fephyled-rxm0 {
1410 <0 29 RK_FUNC_1 &pcfg_pull_none>;
1413 fephyled_txm0: fephyled-txm0 {
1415 <0 29 RK_FUNC_2 &pcfg_pull_none>;
1418 fephyled_linkm0: fephyled-linkm0 {
1420 <0 28 RK_FUNC_1 &pcfg_pull_none>;
1423 fephyled_rxm1: fephyled-rxm1 {
1425 <2 25 RK_FUNC_2 &pcfg_pull_none>;
1428 fephyled_txm1: fephyled-txm1 {
1430 <2 25 RK_FUNC_3 &pcfg_pull_none>;
1433 fephyled_linkm1: fephyled-linkm1 {
1435 <2 24 RK_FUNC_2 &pcfg_pull_none>;
1440 tsadc_int: tsadc-int {
1442 <2 13 RK_FUNC_2 &pcfg_pull_none>;
1444 tsadc_gpio: tsadc-gpio {
1446 <2 13 RK_FUNC_GPIO &pcfg_pull_none>;
1451 hdmi_cec: hdmi-cec {
1453 <0 3 RK_FUNC_1 &pcfg_pull_none>;
1456 hdmi_hpd: hdmi-hpd {
1458 <0 4 RK_FUNC_1 &pcfg_pull_down>;
1463 dvp_d2d9_m0:dvp-d2d9-m0 {
1466 <3 4 RK_FUNC_2 &pcfg_pull_none>,
1468 <3 5 RK_FUNC_2 &pcfg_pull_none>,
1470 <3 6 RK_FUNC_2 &pcfg_pull_none>,
1472 <3 7 RK_FUNC_2 &pcfg_pull_none>,
1474 <3 8 RK_FUNC_2 &pcfg_pull_none>,
1476 <3 9 RK_FUNC_2 &pcfg_pull_none>,
1478 <3 10 RK_FUNC_2 &pcfg_pull_none>,
1480 <3 11 RK_FUNC_2 &pcfg_pull_none>,
1482 <3 1 RK_FUNC_2 &pcfg_pull_none>,
1484 <3 0 RK_FUNC_2 &pcfg_pull_none>,
1486 <3 3 RK_FUNC_2 &pcfg_pull_none>,
1488 <3 2 RK_FUNC_2 &pcfg_pull_none>;
1493 dvp_d2d9_m1:dvp-d2d9-m1 {
1496 <3 4 RK_FUNC_2 &pcfg_pull_none>,
1498 <3 5 RK_FUNC_2 &pcfg_pull_none>,
1500 <3 6 RK_FUNC_2 &pcfg_pull_none>,
1502 <3 7 RK_FUNC_2 &pcfg_pull_none>,
1504 <3 8 RK_FUNC_2 &pcfg_pull_none>,
1506 <2 16 RK_FUNC_4 &pcfg_pull_none>,
1508 <2 17 RK_FUNC_4 &pcfg_pull_none>,
1510 <2 18 RK_FUNC_4 &pcfg_pull_none>,
1512 <3 1 RK_FUNC_2 &pcfg_pull_none>,
1514 <3 0 RK_FUNC_2 &pcfg_pull_none>,
1516 <2 15 RK_FUNC_4 &pcfg_pull_none>,
1518 <3 2 RK_FUNC_2 &pcfg_pull_none>;