1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
7 #include <dt-bindings/clock/rk3308-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>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #include <dt-bindings/thermal/thermal.h>
16 compatible = "rockchip,rk3308";
18 interrupt-parent = <&gic>;
43 compatible = "arm,cortex-a35";
45 enable-method = "psci";
46 clocks = <&cru ARMCLK>;
48 dynamic-power-coefficient = <90>;
49 operating-points-v2 = <&cpu0_opp_table>;
50 cpu-idle-states = <&CPU_SLEEP>;
51 next-level-cache = <&l2>;
56 compatible = "arm,cortex-a35";
58 enable-method = "psci";
59 operating-points-v2 = <&cpu0_opp_table>;
60 cpu-idle-states = <&CPU_SLEEP>;
61 next-level-cache = <&l2>;
66 compatible = "arm,cortex-a35";
68 enable-method = "psci";
69 operating-points-v2 = <&cpu0_opp_table>;
70 cpu-idle-states = <&CPU_SLEEP>;
71 next-level-cache = <&l2>;
76 compatible = "arm,cortex-a35";
78 enable-method = "psci";
79 operating-points-v2 = <&cpu0_opp_table>;
80 cpu-idle-states = <&CPU_SLEEP>;
81 next-level-cache = <&l2>;
85 entry-method = "psci";
87 CPU_SLEEP: cpu-sleep {
88 compatible = "arm,idle-state";
90 arm,psci-suspend-param = <0x0010000>;
91 entry-latency-us = <120>;
92 exit-latency-us = <250>;
93 min-residency-us = <900>;
102 cpu0_opp_table: opp-table-0 {
103 compatible = "operating-points-v2";
107 opp-hz = /bits/ 64 <408000000>;
108 opp-microvolt = <950000 950000 1340000>;
109 clock-latency-ns = <40000>;
113 opp-hz = /bits/ 64 <600000000>;
114 opp-microvolt = <950000 950000 1340000>;
115 clock-latency-ns = <40000>;
118 opp-hz = /bits/ 64 <816000000>;
119 opp-microvolt = <1025000 1025000 1340000>;
120 clock-latency-ns = <40000>;
123 opp-hz = /bits/ 64 <1008000000>;
124 opp-microvolt = <1125000 1125000 1340000>;
125 clock-latency-ns = <40000>;
130 compatible = "arm,cortex-a35-pmu";
131 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
132 <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
133 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
134 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
135 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
138 mac_clkin: external-mac-clock {
139 compatible = "fixed-clock";
140 clock-frequency = <50000000>;
141 clock-output-names = "mac_clkin";
146 compatible = "arm,psci-1.0";
151 compatible = "arm,armv8-timer";
152 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
153 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
154 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
155 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
159 compatible = "fixed-clock";
161 clock-frequency = <24000000>;
162 clock-output-names = "xin24m";
166 compatible = "rockchip,rk3308-grf", "syscon", "simple-mfd";
167 reg = <0x0 0xff000000 0x0 0x08000>;
170 compatible = "syscon-reboot-mode";
172 mode-bootloader = <BOOT_BL_DOWNLOAD>;
173 mode-loader = <BOOT_BL_DOWNLOAD>;
174 mode-normal = <BOOT_NORMAL>;
175 mode-recovery = <BOOT_RECOVERY>;
176 mode-fastboot = <BOOT_FASTBOOT>;
180 usb2phy_grf: syscon@ff008000 {
181 compatible = "rockchip,rk3308-usb2phy-grf", "syscon", "simple-mfd";
182 reg = <0x0 0xff008000 0x0 0x4000>;
183 #address-cells = <1>;
187 compatible = "rockchip,rk3308-usb2phy";
189 assigned-clocks = <&cru USB480M>;
190 assigned-clock-parents = <&u2phy>;
191 clocks = <&cru SCLK_USBPHY_REF>;
192 clock-names = "phyclk";
193 clock-output-names = "usb480m_phy";
197 u2phy_otg: otg-port {
198 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
199 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
200 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
201 interrupt-names = "otg-bvalid", "otg-id",
207 u2phy_host: host-port {
208 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
209 interrupt-names = "linestate";
216 detect_grf: syscon@ff00b000 {
217 compatible = "rockchip,rk3308-detect-grf", "syscon", "simple-mfd";
218 reg = <0x0 0xff00b000 0x0 0x1000>;
219 #address-cells = <1>;
223 core_grf: syscon@ff00c000 {
224 compatible = "rockchip,rk3308-core-grf", "syscon", "simple-mfd";
225 reg = <0x0 0xff00c000 0x0 0x1000>;
226 #address-cells = <1>;
231 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
232 reg = <0x0 0xff040000 0x0 0x1000>;
233 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
234 clock-names = "i2c", "pclk";
235 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&i2c0_xfer>;
238 #address-cells = <1>;
244 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
245 reg = <0x0 0xff050000 0x0 0x1000>;
246 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
247 clock-names = "i2c", "pclk";
248 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&i2c1_xfer>;
251 #address-cells = <1>;
257 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
258 reg = <0x0 0xff060000 0x0 0x1000>;
259 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
260 clock-names = "i2c", "pclk";
261 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
262 pinctrl-names = "default";
263 pinctrl-0 = <&i2c2_xfer>;
264 #address-cells = <1>;
270 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
271 reg = <0x0 0xff070000 0x0 0x1000>;
272 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
273 clock-names = "i2c", "pclk";
274 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&i2c3m0_xfer>;
277 #address-cells = <1>;
282 wdt: watchdog@ff080000 {
283 compatible = "rockchip,rk3308-wdt", "snps,dw-wdt";
284 reg = <0x0 0xff080000 0x0 0x100>;
285 clocks = <&cru PCLK_WDT>;
286 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
290 uart0: serial@ff0a0000 {
291 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
292 reg = <0x0 0xff0a0000 0x0 0x100>;
293 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
294 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
295 clock-names = "baudclk", "apb_pclk";
298 pinctrl-names = "default";
299 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
303 uart1: serial@ff0b0000 {
304 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
305 reg = <0x0 0xff0b0000 0x0 0x100>;
306 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
307 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
308 clock-names = "baudclk", "apb_pclk";
311 pinctrl-names = "default";
312 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
316 uart2: serial@ff0c0000 {
317 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
318 reg = <0x0 0xff0c0000 0x0 0x100>;
319 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
320 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
321 clock-names = "baudclk", "apb_pclk";
324 pinctrl-names = "default";
325 pinctrl-0 = <&uart2m0_xfer>;
329 uart3: serial@ff0d0000 {
330 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
331 reg = <0x0 0xff0d0000 0x0 0x100>;
332 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
333 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
334 clock-names = "baudclk", "apb_pclk";
337 pinctrl-names = "default";
338 pinctrl-0 = <&uart3_xfer>;
342 uart4: serial@ff0e0000 {
343 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
344 reg = <0x0 0xff0e0000 0x0 0x100>;
345 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
346 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
347 clock-names = "baudclk", "apb_pclk";
350 pinctrl-names = "default";
351 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
356 compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
357 reg = <0x0 0xff120000 0x0 0x1000>;
358 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
359 #address-cells = <1>;
361 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
362 clock-names = "spiclk", "apb_pclk";
363 dmas = <&dmac0 0>, <&dmac0 1>;
364 dma-names = "tx", "rx";
365 pinctrl-names = "default";
366 pinctrl-0 = <&spi0_clk &spi0_csn0 &spi0_miso &spi0_mosi>;
371 compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
372 reg = <0x0 0xff130000 0x0 0x1000>;
373 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
374 #address-cells = <1>;
376 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
377 clock-names = "spiclk", "apb_pclk";
378 dmas = <&dmac0 2>, <&dmac0 3>;
379 dma-names = "tx", "rx";
380 pinctrl-names = "default";
381 pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_miso &spi1_mosi>;
386 compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
387 reg = <0x0 0xff140000 0x0 0x1000>;
388 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
389 #address-cells = <1>;
391 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
392 clock-names = "spiclk", "apb_pclk";
393 dmas = <&dmac1 16>, <&dmac1 17>;
394 dma-names = "tx", "rx";
395 pinctrl-names = "default";
396 pinctrl-0 = <&spi2_clk &spi2_csn0 &spi2_miso &spi2_mosi>;
401 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
402 reg = <0x0 0xff160000 0x0 0x10>;
403 clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
404 clock-names = "pwm", "pclk";
405 pinctrl-names = "default";
406 pinctrl-0 = <&pwm8_pin>;
412 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
413 reg = <0x0 0xff160010 0x0 0x10>;
414 clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
415 clock-names = "pwm", "pclk";
416 pinctrl-names = "default";
417 pinctrl-0 = <&pwm9_pin>;
422 pwm10: pwm@ff160020 {
423 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
424 reg = <0x0 0xff160020 0x0 0x10>;
425 clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
426 clock-names = "pwm", "pclk";
427 pinctrl-names = "default";
428 pinctrl-0 = <&pwm10_pin>;
433 pwm11: pwm@ff160030 {
434 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
435 reg = <0x0 0xff160030 0x0 0x10>;
436 clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
437 clock-names = "pwm", "pclk";
438 pinctrl-names = "default";
439 pinctrl-0 = <&pwm11_pin>;
445 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
446 reg = <0x0 0xff170000 0x0 0x10>;
447 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
448 clock-names = "pwm", "pclk";
449 pinctrl-names = "default";
450 pinctrl-0 = <&pwm4_pin>;
456 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
457 reg = <0x0 0xff170010 0x0 0x10>;
458 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
459 clock-names = "pwm", "pclk";
460 pinctrl-names = "default";
461 pinctrl-0 = <&pwm5_pin>;
467 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
468 reg = <0x0 0xff170020 0x0 0x10>;
469 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
470 clock-names = "pwm", "pclk";
471 pinctrl-names = "default";
472 pinctrl-0 = <&pwm6_pin>;
478 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
479 reg = <0x0 0xff170030 0x0 0x10>;
480 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
481 clock-names = "pwm", "pclk";
482 pinctrl-names = "default";
483 pinctrl-0 = <&pwm7_pin>;
489 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
490 reg = <0x0 0xff180000 0x0 0x10>;
491 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
492 clock-names = "pwm", "pclk";
493 pinctrl-names = "default";
494 pinctrl-0 = <&pwm0_pin>;
500 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
501 reg = <0x0 0xff180010 0x0 0x10>;
502 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
503 clock-names = "pwm", "pclk";
504 pinctrl-names = "default";
505 pinctrl-0 = <&pwm1_pin>;
511 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
512 reg = <0x0 0xff180020 0x0 0x10>;
513 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
514 clock-names = "pwm", "pclk";
515 pinctrl-names = "default";
516 pinctrl-0 = <&pwm2_pin>;
522 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
523 reg = <0x0 0xff180030 0x0 0x10>;
524 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
525 clock-names = "pwm", "pclk";
526 pinctrl-names = "default";
527 pinctrl-0 = <&pwm3_pin>;
532 rktimer: rktimer@ff1a0000 {
533 compatible = "rockchip,rk3288-timer";
534 reg = <0x0 0xff1a0000 0x0 0x20>;
535 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
536 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
537 clock-names = "pclk", "timer";
540 saradc: saradc@ff1e0000 {
541 compatible = "rockchip,rk3308-saradc", "rockchip,rk3399-saradc";
542 reg = <0x0 0xff1e0000 0x0 0x100>;
543 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
544 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
545 clock-names = "saradc", "apb_pclk";
546 #io-channel-cells = <1>;
547 resets = <&cru SRST_SARADC_P>;
548 reset-names = "saradc-apb";
552 dmac0: dma-controller@ff2c0000 {
553 compatible = "arm,pl330", "arm,primecell";
554 reg = <0x0 0xff2c0000 0x0 0x4000>;
555 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
556 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
557 arm,pl330-periph-burst;
558 clocks = <&cru ACLK_DMAC0>;
559 clock-names = "apb_pclk";
563 dmac1: dma-controller@ff2d0000 {
564 compatible = "arm,pl330", "arm,primecell";
565 reg = <0x0 0xff2d0000 0x0 0x4000>;
566 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
567 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
568 arm,pl330-periph-burst;
569 clocks = <&cru ACLK_DMAC1>;
570 clock-names = "apb_pclk";
574 i2s_2ch_0: i2s@ff350000 {
575 compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
576 reg = <0x0 0xff350000 0x0 0x1000>;
577 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
578 clocks = <&cru SCLK_I2S0_2CH>, <&cru HCLK_I2S0_2CH>;
579 clock-names = "i2s_clk", "i2s_hclk";
580 dmas = <&dmac1 8>, <&dmac1 9>;
581 dma-names = "tx", "rx";
582 resets = <&cru SRST_I2S0_2CH_M>, <&cru SRST_I2S0_2CH_H>;
583 reset-names = "reset-m", "reset-h";
584 pinctrl-names = "default";
585 pinctrl-0 = <&i2s_2ch_0_sclk
592 i2s_2ch_1: i2s@ff360000 {
593 compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
594 reg = <0x0 0xff360000 0x0 0x1000>;
595 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
596 clocks = <&cru SCLK_I2S1_2CH>, <&cru HCLK_I2S1_2CH>;
597 clock-names = "i2s_clk", "i2s_hclk";
600 resets = <&cru SRST_I2S1_2CH_M>, <&cru SRST_I2S1_2CH_H>;
601 reset-names = "reset-m", "reset-h";
605 spdif_tx: spdif-tx@ff3a0000 {
606 compatible = "rockchip,rk3308-spdif", "rockchip,rk3066-spdif";
607 reg = <0x0 0xff3a0000 0x0 0x1000>;
608 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
609 clocks = <&cru SCLK_SPDIF_TX>, <&cru HCLK_SPDIFTX>;
610 clock-names = "mclk", "hclk";
613 pinctrl-names = "default";
614 pinctrl-0 = <&spdif_out>;
618 usb20_otg: usb@ff400000 {
619 compatible = "rockchip,rk3308-usb", "rockchip,rk3066-usb",
621 reg = <0x0 0xff400000 0x0 0x40000>;
622 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
623 clocks = <&cru HCLK_OTG>;
626 g-np-tx-fifo-size = <16>;
627 g-rx-fifo-size = <280>;
628 g-tx-fifo-size = <256 128 128 64 32 16>;
630 phy-names = "usb2-phy";
634 usb_host_ehci: usb@ff440000 {
635 compatible = "generic-ehci";
636 reg = <0x0 0xff440000 0x0 0x10000>;
637 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
638 clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
639 phys = <&u2phy_host>;
644 usb_host_ohci: usb@ff450000 {
645 compatible = "generic-ohci";
646 reg = <0x0 0xff450000 0x0 0x10000>;
647 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
648 clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
649 phys = <&u2phy_host>;
654 sdmmc: mmc@ff480000 {
655 compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
656 reg = <0x0 0xff480000 0x0 0x4000>;
657 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
659 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
660 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
661 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
662 fifo-depth = <0x100>;
663 max-frequency = <150000000>;
664 pinctrl-names = "default";
665 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
670 compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
671 reg = <0x0 0xff490000 0x0 0x4000>;
672 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
674 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
675 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
676 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
677 fifo-depth = <0x100>;
678 max-frequency = <150000000>;
683 compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
684 reg = <0x0 0xff4a0000 0x0 0x4000>;
685 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
687 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
688 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
689 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
690 fifo-depth = <0x100>;
691 max-frequency = <150000000>;
692 pinctrl-names = "default";
693 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
697 nfc: nand-controller@ff4b0000 {
698 compatible = "rockchip,rk3308-nfc",
699 "rockchip,rv1108-nfc";
700 reg = <0x0 0xff4b0000 0x0 0x4000>;
701 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
702 clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
703 clock-names = "ahb", "nfc";
704 assigned-clocks = <&cru SCLK_NANDC>;
705 assigned-clock-rates = <150000000>;
706 pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
707 &flash_rdn &flash_rdy &flash_wrn>;
708 pinctrl-names = "default";
712 gmac: ethernet@ff4e0000 {
713 compatible = "rockchip,rk3308-gmac";
714 reg = <0x0 0xff4e0000 0x0 0x10000>;
715 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
716 interrupt-names = "macirq";
717 clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX_TX>,
718 <&cru SCLK_MAC_RX_TX>, <&cru SCLK_MAC_REF>,
719 <&cru SCLK_MAC>, <&cru ACLK_MAC>,
720 <&cru PCLK_MAC>, <&cru SCLK_MAC_RMII>;
721 clock-names = "stmmaceth", "mac_clk_rx",
722 "mac_clk_tx", "clk_mac_ref",
723 "clk_mac_refout", "aclk_mac",
724 "pclk_mac", "clk_mac_speed";
726 pinctrl-names = "default";
727 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
728 resets = <&cru SRST_MAC_A>;
729 reset-names = "stmmaceth";
730 rockchip,grf = <&grf>;
735 compatible = "rockchip,sfc";
736 reg = <0x0 0xff4c0000 0x0 0x4000>;
737 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
738 clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
739 clock-names = "clk_sfc", "hclk_sfc";
740 pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
741 pinctrl-names = "default";
745 cru: clock-controller@ff500000 {
746 compatible = "rockchip,rk3308-cru";
747 reg = <0x0 0xff500000 0x0 0x1000>;
750 rockchip,grf = <&grf>;
752 assigned-clocks = <&cru SCLK_RTC32K>;
753 assigned-clock-rates = <32768>;
756 gic: interrupt-controller@ff580000 {
757 compatible = "arm,gic-400";
758 reg = <0x0 0xff581000 0x0 0x1000>,
759 <0x0 0xff582000 0x0 0x2000>,
760 <0x0 0xff584000 0x0 0x2000>,
761 <0x0 0xff586000 0x0 0x2000>;
762 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
763 #interrupt-cells = <3>;
764 interrupt-controller;
765 #address-cells = <0>;
768 sram: sram@fff80000 {
769 compatible = "mmio-sram";
770 reg = <0x0 0xfff80000 0x0 0x40000>;
771 ranges = <0 0x0 0xfff80000 0x40000>;
772 #address-cells = <1>;
775 /* reserved for ddr dvfs and system suspend/resume */
780 /* reserved for vad audio buffer */
781 vad_sram: vad-sram@8000 {
782 reg = <0x8000 0x38000>;
787 compatible = "rockchip,rk3308-pinctrl";
788 rockchip,grf = <&grf>;
789 #address-cells = <2>;
793 gpio0: gpio@ff220000 {
794 compatible = "rockchip,gpio-bank";
795 reg = <0x0 0xff220000 0x0 0x100>;
796 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
797 clocks = <&cru PCLK_GPIO0>;
800 interrupt-controller;
801 #interrupt-cells = <2>;
804 gpio1: gpio@ff230000 {
805 compatible = "rockchip,gpio-bank";
806 reg = <0x0 0xff230000 0x0 0x100>;
807 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
808 clocks = <&cru PCLK_GPIO1>;
811 interrupt-controller;
812 #interrupt-cells = <2>;
815 gpio2: gpio@ff240000 {
816 compatible = "rockchip,gpio-bank";
817 reg = <0x0 0xff240000 0x0 0x100>;
818 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
819 clocks = <&cru PCLK_GPIO2>;
822 interrupt-controller;
823 #interrupt-cells = <2>;
826 gpio3: gpio@ff250000 {
827 compatible = "rockchip,gpio-bank";
828 reg = <0x0 0xff250000 0x0 0x100>;
829 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
830 clocks = <&cru PCLK_GPIO3>;
833 interrupt-controller;
834 #interrupt-cells = <2>;
837 gpio4: gpio@ff260000 {
838 compatible = "rockchip,gpio-bank";
839 reg = <0x0 0xff260000 0x0 0x100>;
840 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
841 clocks = <&cru PCLK_GPIO4>;
844 interrupt-controller;
845 #interrupt-cells = <2>;
848 pcfg_pull_up: pcfg-pull-up {
852 pcfg_pull_down: pcfg-pull-down {
856 pcfg_pull_none: pcfg-pull-none {
860 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
862 drive-strength = <2>;
865 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
867 drive-strength = <2>;
870 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
872 drive-strength = <4>;
875 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
877 drive-strength = <4>;
880 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
882 drive-strength = <4>;
885 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
887 drive-strength = <8>;
890 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
892 drive-strength = <8>;
895 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
897 drive-strength = <12>;
900 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
902 drive-strength = <12>;
905 pcfg_pull_none_smt: pcfg-pull-none-smt {
907 input-schmitt-enable;
910 pcfg_output_high: pcfg-output-high {
914 pcfg_output_low: pcfg-output-low {
918 pcfg_input_high: pcfg-input-high {
923 pcfg_input: pcfg-input {
930 <3 RK_PB1 2 &pcfg_pull_none_8ma>;
935 <3 RK_PB0 2 &pcfg_pull_up_8ma>;
938 emmc_pwren: emmc-pwren {
940 <3 RK_PB3 2 &pcfg_pull_none>;
943 emmc_rstn: emmc-rstn {
945 <3 RK_PB2 2 &pcfg_pull_none>;
948 emmc_bus1: emmc-bus1 {
950 <3 RK_PA0 2 &pcfg_pull_up_8ma>;
953 emmc_bus4: emmc-bus4 {
955 <3 RK_PA0 2 &pcfg_pull_up_8ma>,
956 <3 RK_PA1 2 &pcfg_pull_up_8ma>,
957 <3 RK_PA2 2 &pcfg_pull_up_8ma>,
958 <3 RK_PA3 2 &pcfg_pull_up_8ma>;
961 emmc_bus8: emmc-bus8 {
963 <3 RK_PA0 2 &pcfg_pull_up_8ma>,
964 <3 RK_PA1 2 &pcfg_pull_up_8ma>,
965 <3 RK_PA2 2 &pcfg_pull_up_8ma>,
966 <3 RK_PA3 2 &pcfg_pull_up_8ma>,
967 <3 RK_PA4 2 &pcfg_pull_up_8ma>,
968 <3 RK_PA5 2 &pcfg_pull_up_8ma>,
969 <3 RK_PA6 2 &pcfg_pull_up_8ma>,
970 <3 RK_PA7 2 &pcfg_pull_up_8ma>;
975 flash_csn0: flash-csn0 {
977 <3 RK_PB5 1 &pcfg_pull_none>;
980 flash_rdy: flash-rdy {
982 <3 RK_PB4 1 &pcfg_pull_none>;
985 flash_ale: flash-ale {
987 <3 RK_PB3 1 &pcfg_pull_none>;
990 flash_cle: flash-cle {
992 <3 RK_PB1 1 &pcfg_pull_none>;
995 flash_wrn: flash-wrn {
997 <3 RK_PB0 1 &pcfg_pull_none>;
1000 flash_rdn: flash-rdn {
1002 <3 RK_PB2 1 &pcfg_pull_none>;
1005 flash_bus8: flash-bus8 {
1007 <3 RK_PA0 1 &pcfg_pull_up_12ma>,
1008 <3 RK_PA1 1 &pcfg_pull_up_12ma>,
1009 <3 RK_PA2 1 &pcfg_pull_up_12ma>,
1010 <3 RK_PA3 1 &pcfg_pull_up_12ma>,
1011 <3 RK_PA4 1 &pcfg_pull_up_12ma>,
1012 <3 RK_PA5 1 &pcfg_pull_up_12ma>,
1013 <3 RK_PA6 1 &pcfg_pull_up_12ma>,
1014 <3 RK_PA7 1 &pcfg_pull_up_12ma>;
1019 sfc_bus4: sfc-bus4 {
1021 <3 RK_PA0 3 &pcfg_pull_none>,
1022 <3 RK_PA1 3 &pcfg_pull_none>,
1023 <3 RK_PA2 3 &pcfg_pull_none>,
1024 <3 RK_PA3 3 &pcfg_pull_none>;
1027 sfc_bus2: sfc-bus2 {
1029 <3 RK_PA0 3 &pcfg_pull_none>,
1030 <3 RK_PA1 3 &pcfg_pull_none>;
1035 <3 RK_PA4 3 &pcfg_pull_none>;
1040 <3 RK_PA5 3 &pcfg_pull_none>;
1045 rmii_pins: rmii-pins {
1048 <1 RK_PC1 3 &pcfg_pull_none_12ma>,
1050 <1 RK_PC3 3 &pcfg_pull_none_12ma>,
1052 <1 RK_PC2 3 &pcfg_pull_none_12ma>,
1054 <1 RK_PC4 3 &pcfg_pull_none>,
1056 <1 RK_PC5 3 &pcfg_pull_none>,
1058 <1 RK_PB7 3 &pcfg_pull_none>,
1060 <1 RK_PC0 3 &pcfg_pull_none>,
1062 <1 RK_PB6 3 &pcfg_pull_none>,
1064 <1 RK_PB5 3 &pcfg_pull_none>;
1067 mac_refclk_12ma: mac-refclk-12ma {
1069 <1 RK_PB4 3 &pcfg_pull_none_12ma>;
1072 mac_refclk: mac-refclk {
1074 <1 RK_PB4 3 &pcfg_pull_none>;
1079 rmiim1_pins: rmiim1-pins {
1082 <4 RK_PB7 2 &pcfg_pull_none_12ma>,
1084 <4 RK_PA5 2 &pcfg_pull_none_12ma>,
1086 <4 RK_PA4 2 &pcfg_pull_none_12ma>,
1088 <4 RK_PA2 2 &pcfg_pull_none>,
1090 <4 RK_PA3 2 &pcfg_pull_none>,
1092 <4 RK_PA0 2 &pcfg_pull_none>,
1094 <4 RK_PA1 2 &pcfg_pull_none>,
1096 <4 RK_PB6 2 &pcfg_pull_none>,
1098 <4 RK_PB5 2 &pcfg_pull_none>;
1101 macm1_refclk_12ma: macm1-refclk-12ma {
1103 <4 RK_PB4 2 &pcfg_pull_none_12ma>;
1106 macm1_refclk: macm1-refclk {
1108 <4 RK_PB4 2 &pcfg_pull_none>;
1113 i2c0_xfer: i2c0-xfer {
1115 <1 RK_PD0 2 &pcfg_pull_none_smt>,
1116 <1 RK_PD1 2 &pcfg_pull_none_smt>;
1121 i2c1_xfer: i2c1-xfer {
1123 <0 RK_PB3 1 &pcfg_pull_none_smt>,
1124 <0 RK_PB4 1 &pcfg_pull_none_smt>;
1129 i2c2_xfer: i2c2-xfer {
1131 <2 RK_PA2 3 &pcfg_pull_none_smt>,
1132 <2 RK_PA3 3 &pcfg_pull_none_smt>;
1137 i2c3m0_xfer: i2c3m0-xfer {
1139 <0 RK_PB7 2 &pcfg_pull_none_smt>,
1140 <0 RK_PC0 2 &pcfg_pull_none_smt>;
1145 i2c3m1_xfer: i2c3m1-xfer {
1147 <3 RK_PB4 2 &pcfg_pull_none_smt>,
1148 <3 RK_PB5 2 &pcfg_pull_none_smt>;
1153 i2c3m2_xfer: i2c3m2-xfer {
1155 <2 RK_PA1 3 &pcfg_pull_none_smt>,
1156 <2 RK_PA0 3 &pcfg_pull_none_smt>;
1161 i2s_2ch_0_mclk: i2s-2ch-0-mclk {
1163 <4 RK_PB4 1 &pcfg_pull_none>;
1166 i2s_2ch_0_sclk: i2s-2ch-0-sclk {
1168 <4 RK_PB5 1 &pcfg_pull_none>;
1171 i2s_2ch_0_lrck: i2s-2ch-0-lrck {
1173 <4 RK_PB6 1 &pcfg_pull_none>;
1176 i2s_2ch_0_sdo: i2s-2ch-0-sdo {
1178 <4 RK_PB7 1 &pcfg_pull_none>;
1181 i2s_2ch_0_sdi: i2s-2ch-0-sdi {
1183 <4 RK_PC0 1 &pcfg_pull_none>;
1188 i2s_8ch_0_mclk: i2s-8ch-0-mclk {
1190 <2 RK_PA4 1 &pcfg_pull_none>;
1193 i2s_8ch_0_sclktx: i2s-8ch-0-sclktx {
1195 <2 RK_PA5 1 &pcfg_pull_none>;
1198 i2s_8ch_0_sclkrx: i2s-8ch-0-sclkrx {
1200 <2 RK_PA6 1 &pcfg_pull_none>;
1203 i2s_8ch_0_lrcktx: i2s-8ch-0-lrcktx {
1205 <2 RK_PA7 1 &pcfg_pull_none>;
1208 i2s_8ch_0_lrckrx: i2s-8ch-0-lrckrx {
1210 <2 RK_PB0 1 &pcfg_pull_none>;
1213 i2s_8ch_0_sdo0: i2s-8ch-0-sdo0 {
1215 <2 RK_PB1 1 &pcfg_pull_none>;
1218 i2s_8ch_0_sdo1: i2s-8ch-0-sdo1 {
1220 <2 RK_PB2 1 &pcfg_pull_none>;
1223 i2s_8ch_0_sdo2: i2s-8ch-0-sdo2 {
1225 <2 RK_PB3 1 &pcfg_pull_none>;
1228 i2s_8ch_0_sdo3: i2s-8ch-0-sdo3 {
1230 <2 RK_PB4 1 &pcfg_pull_none>;
1233 i2s_8ch_0_sdi0: i2s-8ch-0-sdi0 {
1235 <2 RK_PB5 1 &pcfg_pull_none>;
1238 i2s_8ch_0_sdi1: i2s-8ch-0-sdi1 {
1240 <2 RK_PB6 1 &pcfg_pull_none>;
1243 i2s_8ch_0_sdi2: i2s-8ch-0-sdi2 {
1245 <2 RK_PB7 1 &pcfg_pull_none>;
1248 i2s_8ch_0_sdi3: i2s-8ch-0-sdi3 {
1250 <2 RK_PC0 1 &pcfg_pull_none>;
1255 i2s_8ch_1_m0_mclk: i2s-8ch-1-m0-mclk {
1257 <1 RK_PA2 2 &pcfg_pull_none>;
1260 i2s_8ch_1_m0_sclktx: i2s-8ch-1-m0-sclktx {
1262 <1 RK_PA3 2 &pcfg_pull_none>;
1265 i2s_8ch_1_m0_sclkrx: i2s-8ch-1-m0-sclkrx {
1267 <1 RK_PA4 2 &pcfg_pull_none>;
1270 i2s_8ch_1_m0_lrcktx: i2s-8ch-1-m0-lrcktx {
1272 <1 RK_PA5 2 &pcfg_pull_none>;
1275 i2s_8ch_1_m0_lrckrx: i2s-8ch-1-m0-lrckrx {
1277 <1 RK_PA6 2 &pcfg_pull_none>;
1280 i2s_8ch_1_m0_sdo0: i2s-8ch-1-m0-sdo0 {
1282 <1 RK_PA7 2 &pcfg_pull_none>;
1285 i2s_8ch_1_m0_sdo1_sdi3: i2s-8ch-1-m0-sdo1-sdi3 {
1287 <1 RK_PB0 2 &pcfg_pull_none>;
1290 i2s_8ch_1_m0_sdo2_sdi2: i2s-8ch-1-m0-sdo2-sdi2 {
1292 <1 RK_PB1 2 &pcfg_pull_none>;
1295 i2s_8ch_1_m0_sdo3_sdi1: i2s-8ch-1-m0-sdo3_sdi1 {
1297 <1 RK_PB2 2 &pcfg_pull_none>;
1300 i2s_8ch_1_m0_sdi0: i2s-8ch-1-m0-sdi0 {
1302 <1 RK_PB3 2 &pcfg_pull_none>;
1307 i2s_8ch_1_m1_mclk: i2s-8ch-1-m1-mclk {
1309 <1 RK_PB4 2 &pcfg_pull_none>;
1312 i2s_8ch_1_m1_sclktx: i2s-8ch-1-m1-sclktx {
1314 <1 RK_PB5 2 &pcfg_pull_none>;
1317 i2s_8ch_1_m1_sclkrx: i2s-8ch-1-m1-sclkrx {
1319 <1 RK_PB6 2 &pcfg_pull_none>;
1322 i2s_8ch_1_m1_lrcktx: i2s-8ch-1-m1-lrcktx {
1324 <1 RK_PB7 2 &pcfg_pull_none>;
1327 i2s_8ch_1_m1_lrckrx: i2s-8ch-1-m1-lrckrx {
1329 <1 RK_PC0 2 &pcfg_pull_none>;
1332 i2s_8ch_1_m1_sdo0: i2s-8ch-1-m1-sdo0 {
1334 <1 RK_PC1 2 &pcfg_pull_none>;
1337 i2s_8ch_1_m1_sdo1_sdi3: i2s-8ch-1-m1-sdo1-sdi3 {
1339 <1 RK_PC2 2 &pcfg_pull_none>;
1342 i2s_8ch_1_m1_sdo2_sdi2: i2s-8ch-1-m1-sdo2-sdi2 {
1344 <1 RK_PC3 2 &pcfg_pull_none>;
1347 i2s_8ch_1_m1_sdo3_sdi1: i2s-8ch-1-m1-sdo3_sdi1 {
1349 <1 RK_PC4 2 &pcfg_pull_none>;
1352 i2s_8ch_1_m1_sdi0: i2s-8ch-1-m1-sdi0 {
1354 <1 RK_PC5 2 &pcfg_pull_none>;
1359 pdm_m0_clk: pdm-m0-clk {
1361 <1 RK_PA4 3 &pcfg_pull_none>;
1364 pdm_m0_sdi0: pdm-m0-sdi0 {
1366 <1 RK_PB3 3 &pcfg_pull_none>;
1369 pdm_m0_sdi1: pdm-m0-sdi1 {
1371 <1 RK_PB2 3 &pcfg_pull_none>;
1374 pdm_m0_sdi2: pdm-m0-sdi2 {
1376 <1 RK_PB1 3 &pcfg_pull_none>;
1379 pdm_m0_sdi3: pdm-m0-sdi3 {
1381 <1 RK_PB0 3 &pcfg_pull_none>;
1386 pdm_m1_clk: pdm-m1-clk {
1388 <1 RK_PB6 4 &pcfg_pull_none>;
1391 pdm_m1_sdi0: pdm-m1-sdi0 {
1393 <1 RK_PC5 4 &pcfg_pull_none>;
1396 pdm_m1_sdi1: pdm-m1-sdi1 {
1398 <1 RK_PC4 4 &pcfg_pull_none>;
1401 pdm_m1_sdi2: pdm-m1-sdi2 {
1403 <1 RK_PC3 4 &pcfg_pull_none>;
1406 pdm_m1_sdi3: pdm-m1-sdi3 {
1408 <1 RK_PC2 4 &pcfg_pull_none>;
1413 pdm_m2_clkm: pdm-m2-clkm {
1415 <2 RK_PA4 3 &pcfg_pull_none>;
1418 pdm_m2_clk: pdm-m2-clk {
1420 <2 RK_PA6 2 &pcfg_pull_none>;
1423 pdm_m2_sdi0: pdm-m2-sdi0 {
1425 <2 RK_PB5 2 &pcfg_pull_none>;
1428 pdm_m2_sdi1: pdm-m2-sdi1 {
1430 <2 RK_PB6 2 &pcfg_pull_none>;
1433 pdm_m2_sdi2: pdm-m2-sdi2 {
1435 <2 RK_PB7 2 &pcfg_pull_none>;
1438 pdm_m2_sdi3: pdm-m2-sdi3 {
1440 <2 RK_PC0 2 &pcfg_pull_none>;
1445 pwm0_pin: pwm0-pin {
1447 <0 RK_PB5 1 &pcfg_pull_none>;
1450 pwm0_pin_pull_down: pwm0-pin-pull-down {
1452 <0 RK_PB5 1 &pcfg_pull_down>;
1457 pwm1_pin: pwm1-pin {
1459 <0 RK_PB6 1 &pcfg_pull_none>;
1462 pwm1_pin_pull_down: pwm1-pin-pull-down {
1464 <0 RK_PB6 1 &pcfg_pull_down>;
1469 pwm2_pin: pwm2-pin {
1471 <0 RK_PB7 1 &pcfg_pull_none>;
1474 pwm2_pin_pull_down: pwm2-pin-pull-down {
1476 <0 RK_PB7 1 &pcfg_pull_down>;
1481 pwm3_pin: pwm3-pin {
1483 <0 RK_PC0 1 &pcfg_pull_none>;
1486 pwm3_pin_pull_down: pwm3-pin-pull-down {
1488 <0 RK_PC0 1 &pcfg_pull_down>;
1493 pwm4_pin: pwm4-pin {
1495 <0 RK_PA1 2 &pcfg_pull_none>;
1498 pwm4_pin_pull_down: pwm4-pin-pull-down {
1500 <0 RK_PA1 2 &pcfg_pull_down>;
1505 pwm5_pin: pwm5-pin {
1507 <0 RK_PC1 2 &pcfg_pull_none>;
1510 pwm5_pin_pull_down: pwm5-pin-pull-down {
1512 <0 RK_PC1 2 &pcfg_pull_down>;
1517 pwm6_pin: pwm6-pin {
1519 <0 RK_PC2 2 &pcfg_pull_none>;
1522 pwm6_pin_pull_down: pwm6-pin-pull-down {
1524 <0 RK_PC2 2 &pcfg_pull_down>;
1529 pwm7_pin: pwm7-pin {
1531 <2 RK_PB0 2 &pcfg_pull_none>;
1534 pwm7_pin_pull_down: pwm7-pin-pull-down {
1536 <2 RK_PB0 2 &pcfg_pull_down>;
1541 pwm8_pin: pwm8-pin {
1543 <2 RK_PB2 2 &pcfg_pull_none>;
1546 pwm8_pin_pull_down: pwm8-pin-pull-down {
1548 <2 RK_PB2 2 &pcfg_pull_down>;
1553 pwm9_pin: pwm9-pin {
1555 <2 RK_PB3 2 &pcfg_pull_none>;
1558 pwm9_pin_pull_down: pwm9-pin-pull-down {
1560 <2 RK_PB3 2 &pcfg_pull_down>;
1565 pwm10_pin: pwm10-pin {
1567 <2 RK_PB4 2 &pcfg_pull_none>;
1570 pwm10_pin_pull_down: pwm10-pin-pull-down {
1572 <2 RK_PB4 2 &pcfg_pull_down>;
1577 pwm11_pin: pwm11-pin {
1579 <2 RK_PC0 4 &pcfg_pull_none>;
1582 pwm11_pin_pull_down: pwm11-pin-pull-down {
1584 <2 RK_PC0 4 &pcfg_pull_down>;
1591 <0 RK_PC3 1 &pcfg_pull_none>;
1596 sdmmc_clk: sdmmc-clk {
1598 <4 RK_PD5 1 &pcfg_pull_none_4ma>;
1601 sdmmc_cmd: sdmmc-cmd {
1603 <4 RK_PD4 1 &pcfg_pull_up_4ma>;
1606 sdmmc_det: sdmmc-det {
1608 <0 RK_PA3 1 &pcfg_pull_up_4ma>;
1611 sdmmc_pwren: sdmmc-pwren {
1613 <4 RK_PD6 1 &pcfg_pull_none_4ma>;
1616 sdmmc_bus1: sdmmc-bus1 {
1618 <4 RK_PD0 1 &pcfg_pull_up_4ma>;
1621 sdmmc_bus4: sdmmc-bus4 {
1623 <4 RK_PD0 1 &pcfg_pull_up_4ma>,
1624 <4 RK_PD1 1 &pcfg_pull_up_4ma>,
1625 <4 RK_PD2 1 &pcfg_pull_up_4ma>,
1626 <4 RK_PD3 1 &pcfg_pull_up_4ma>;
1631 sdio_clk: sdio-clk {
1633 <4 RK_PA5 1 &pcfg_pull_none_8ma>;
1636 sdio_cmd: sdio-cmd {
1638 <4 RK_PA4 1 &pcfg_pull_up_8ma>;
1641 sdio_pwren: sdio-pwren {
1643 <0 RK_PA2 1 &pcfg_pull_none_8ma>;
1646 sdio_wrpt: sdio-wrpt {
1648 <0 RK_PA1 1 &pcfg_pull_none_8ma>;
1651 sdio_intn: sdio-intn {
1653 <0 RK_PA0 1 &pcfg_pull_none_8ma>;
1656 sdio_bus1: sdio-bus1 {
1658 <4 RK_PA0 1 &pcfg_pull_up_8ma>;
1661 sdio_bus4: sdio-bus4 {
1663 <4 RK_PA0 1 &pcfg_pull_up_8ma>,
1664 <4 RK_PA1 1 &pcfg_pull_up_8ma>,
1665 <4 RK_PA2 1 &pcfg_pull_up_8ma>,
1666 <4 RK_PA3 1 &pcfg_pull_up_8ma>;
1671 spdif_in: spdif-in {
1673 <0 RK_PC2 1 &pcfg_pull_none>;
1678 spdif_out: spdif-out {
1680 <0 RK_PC1 1 &pcfg_pull_none>;
1685 spi0_clk: spi0-clk {
1687 <2 RK_PA2 2 &pcfg_pull_up_4ma>;
1690 spi0_csn0: spi0-csn0 {
1692 <2 RK_PA3 2 &pcfg_pull_up_4ma>;
1695 spi0_miso: spi0-miso {
1697 <2 RK_PA0 2 &pcfg_pull_up_4ma>;
1700 spi0_mosi: spi0-mosi {
1702 <2 RK_PA1 2 &pcfg_pull_up_4ma>;
1707 spi1_clk: spi1-clk {
1709 <3 RK_PB3 3 &pcfg_pull_up_4ma>;
1712 spi1_csn0: spi1-csn0 {
1714 <3 RK_PB5 3 &pcfg_pull_up_4ma>;
1717 spi1_miso: spi1-miso {
1719 <3 RK_PB2 3 &pcfg_pull_up_4ma>;
1722 spi1_mosi: spi1-mosi {
1724 <3 RK_PB4 3 &pcfg_pull_up_4ma>;
1729 spi1m1_miso: spi1m1-miso {
1731 <2 RK_PA4 2 &pcfg_pull_up_4ma>;
1734 spi1m1_mosi: spi1m1-mosi {
1736 <2 RK_PA5 2 &pcfg_pull_up_4ma>;
1739 spi1m1_clk: spi1m1-clk {
1741 <2 RK_PA7 2 &pcfg_pull_up_4ma>;
1744 spi1m1_csn0: spi1m1-csn0 {
1746 <2 RK_PB1 2 &pcfg_pull_up_4ma>;
1751 spi2_clk: spi2-clk {
1753 <1 RK_PD0 3 &pcfg_pull_up_4ma>;
1756 spi2_csn0: spi2-csn0 {
1758 <1 RK_PD1 3 &pcfg_pull_up_4ma>;
1761 spi2_miso: spi2-miso {
1763 <1 RK_PC6 3 &pcfg_pull_up_4ma>;
1766 spi2_mosi: spi2-mosi {
1768 <1 RK_PC7 3 &pcfg_pull_up_4ma>;
1773 tsadc_otp_pin: tsadc-otp-pin {
1775 <0 RK_PB2 0 &pcfg_pull_none>;
1778 tsadc_otp_out: tsadc-otp-out {
1780 <0 RK_PB2 1 &pcfg_pull_none>;
1785 uart0_xfer: uart0-xfer {
1787 <2 RK_PA1 1 &pcfg_pull_up>,
1788 <2 RK_PA0 1 &pcfg_pull_up>;
1791 uart0_cts: uart0-cts {
1793 <2 RK_PA2 1 &pcfg_pull_none>;
1796 uart0_rts: uart0-rts {
1798 <2 RK_PA3 1 &pcfg_pull_none>;
1801 uart0_rts_pin: uart0-rts-pin {
1803 <2 RK_PA3 0 &pcfg_pull_none>;
1808 uart1_xfer: uart1-xfer {
1810 <1 RK_PD1 1 &pcfg_pull_up>,
1811 <1 RK_PD0 1 &pcfg_pull_up>;
1814 uart1_cts: uart1-cts {
1816 <1 RK_PC6 1 &pcfg_pull_none>;
1819 uart1_rts: uart1-rts {
1821 <1 RK_PC7 1 &pcfg_pull_none>;
1826 uart2m0_xfer: uart2m0-xfer {
1828 <1 RK_PC7 2 &pcfg_pull_up>,
1829 <1 RK_PC6 2 &pcfg_pull_up>;
1834 uart2m1_xfer: uart2m1-xfer {
1836 <4 RK_PD3 2 &pcfg_pull_up>,
1837 <4 RK_PD2 2 &pcfg_pull_up>;
1842 uart3_xfer: uart3-xfer {
1844 <3 RK_PB5 4 &pcfg_pull_up>,
1845 <3 RK_PB4 4 &pcfg_pull_up>;
1850 uart3m1_xfer: uart3m1-xfer {
1852 <0 RK_PC2 3 &pcfg_pull_up>,
1853 <0 RK_PC1 3 &pcfg_pull_up>;
1858 uart4_xfer: uart4-xfer {
1860 <4 RK_PB1 1 &pcfg_pull_up>,
1861 <4 RK_PB0 1 &pcfg_pull_up>;
1864 uart4_cts: uart4-cts {
1866 <4 RK_PA6 1 &pcfg_pull_none>;
1869 uart4_rts: uart4-rts {
1871 <4 RK_PA7 1 &pcfg_pull_none>;
1874 uart4_rts_pin: uart4-rts-pin {
1876 <4 RK_PA7 0 &pcfg_pull_none>;