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>;
104 cpu0_opp_table: opp-table-0 {
105 compatible = "operating-points-v2";
109 opp-hz = /bits/ 64 <408000000>;
110 opp-microvolt = <950000 950000 1340000>;
111 clock-latency-ns = <40000>;
115 opp-hz = /bits/ 64 <600000000>;
116 opp-microvolt = <950000 950000 1340000>;
117 clock-latency-ns = <40000>;
120 opp-hz = /bits/ 64 <816000000>;
121 opp-microvolt = <1025000 1025000 1340000>;
122 clock-latency-ns = <40000>;
125 opp-hz = /bits/ 64 <1008000000>;
126 opp-microvolt = <1125000 1125000 1340000>;
127 clock-latency-ns = <40000>;
132 compatible = "arm,cortex-a35-pmu";
133 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
134 <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
135 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
136 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
137 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
140 mac_clkin: external-mac-clock {
141 compatible = "fixed-clock";
142 clock-frequency = <50000000>;
143 clock-output-names = "mac_clkin";
148 compatible = "arm,psci-1.0";
153 compatible = "arm,armv8-timer";
154 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
155 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
156 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
157 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
161 compatible = "fixed-clock";
163 clock-frequency = <24000000>;
164 clock-output-names = "xin24m";
168 compatible = "rockchip,rk3308-grf", "syscon", "simple-mfd";
169 reg = <0x0 0xff000000 0x0 0x08000>;
172 compatible = "syscon-reboot-mode";
174 mode-bootloader = <BOOT_BL_DOWNLOAD>;
175 mode-loader = <BOOT_BL_DOWNLOAD>;
176 mode-normal = <BOOT_NORMAL>;
177 mode-recovery = <BOOT_RECOVERY>;
178 mode-fastboot = <BOOT_FASTBOOT>;
182 usb2phy_grf: syscon@ff008000 {
183 compatible = "rockchip,rk3308-usb2phy-grf", "syscon", "simple-mfd";
184 reg = <0x0 0xff008000 0x0 0x4000>;
185 #address-cells = <1>;
189 compatible = "rockchip,rk3308-usb2phy";
191 assigned-clocks = <&cru USB480M>;
192 assigned-clock-parents = <&u2phy>;
193 clocks = <&cru SCLK_USBPHY_REF>;
194 clock-names = "phyclk";
195 clock-output-names = "usb480m_phy";
199 u2phy_otg: otg-port {
200 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
202 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
203 interrupt-names = "otg-bvalid", "otg-id",
209 u2phy_host: host-port {
210 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
211 interrupt-names = "linestate";
218 detect_grf: syscon@ff00b000 {
219 compatible = "rockchip,rk3308-detect-grf", "syscon", "simple-mfd";
220 reg = <0x0 0xff00b000 0x0 0x1000>;
221 #address-cells = <1>;
225 core_grf: syscon@ff00c000 {
226 compatible = "rockchip,rk3308-core-grf", "syscon", "simple-mfd";
227 reg = <0x0 0xff00c000 0x0 0x1000>;
228 #address-cells = <1>;
233 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
234 reg = <0x0 0xff040000 0x0 0x1000>;
235 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
236 clock-names = "i2c", "pclk";
237 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
238 pinctrl-names = "default";
239 pinctrl-0 = <&i2c0_xfer>;
240 #address-cells = <1>;
246 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
247 reg = <0x0 0xff050000 0x0 0x1000>;
248 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
249 clock-names = "i2c", "pclk";
250 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&i2c1_xfer>;
253 #address-cells = <1>;
259 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
260 reg = <0x0 0xff060000 0x0 0x1000>;
261 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
262 clock-names = "i2c", "pclk";
263 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
264 pinctrl-names = "default";
265 pinctrl-0 = <&i2c2_xfer>;
266 #address-cells = <1>;
272 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
273 reg = <0x0 0xff070000 0x0 0x1000>;
274 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
275 clock-names = "i2c", "pclk";
276 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&i2c3m0_xfer>;
279 #address-cells = <1>;
284 wdt: watchdog@ff080000 {
285 compatible = "rockchip,rk3308-wdt", "snps,dw-wdt";
286 reg = <0x0 0xff080000 0x0 0x100>;
287 clocks = <&cru PCLK_WDT>;
288 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
292 uart0: serial@ff0a0000 {
293 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
294 reg = <0x0 0xff0a0000 0x0 0x100>;
295 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
296 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
297 clock-names = "baudclk", "apb_pclk";
300 pinctrl-names = "default";
301 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
305 uart1: serial@ff0b0000 {
306 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
307 reg = <0x0 0xff0b0000 0x0 0x100>;
308 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
310 clock-names = "baudclk", "apb_pclk";
313 pinctrl-names = "default";
314 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
318 uart2: serial@ff0c0000 {
319 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
320 reg = <0x0 0xff0c0000 0x0 0x100>;
321 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
322 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
323 clock-names = "baudclk", "apb_pclk";
326 pinctrl-names = "default";
327 pinctrl-0 = <&uart2m0_xfer>;
331 uart3: serial@ff0d0000 {
332 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
333 reg = <0x0 0xff0d0000 0x0 0x100>;
334 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
335 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
336 clock-names = "baudclk", "apb_pclk";
339 pinctrl-names = "default";
340 pinctrl-0 = <&uart3_xfer>;
344 uart4: serial@ff0e0000 {
345 compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
346 reg = <0x0 0xff0e0000 0x0 0x100>;
347 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
348 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
349 clock-names = "baudclk", "apb_pclk";
352 pinctrl-names = "default";
353 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
358 compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
359 reg = <0x0 0xff120000 0x0 0x1000>;
360 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
361 #address-cells = <1>;
363 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
364 clock-names = "spiclk", "apb_pclk";
365 dmas = <&dmac0 0>, <&dmac0 1>;
366 dma-names = "tx", "rx";
367 pinctrl-names = "default";
368 pinctrl-0 = <&spi0_clk &spi0_csn0 &spi0_miso &spi0_mosi>;
373 compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
374 reg = <0x0 0xff130000 0x0 0x1000>;
375 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
376 #address-cells = <1>;
378 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
379 clock-names = "spiclk", "apb_pclk";
380 dmas = <&dmac0 2>, <&dmac0 3>;
381 dma-names = "tx", "rx";
382 pinctrl-names = "default";
383 pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_miso &spi1_mosi>;
388 compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
389 reg = <0x0 0xff140000 0x0 0x1000>;
390 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
391 #address-cells = <1>;
393 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
394 clock-names = "spiclk", "apb_pclk";
395 dmas = <&dmac1 16>, <&dmac1 17>;
396 dma-names = "tx", "rx";
397 pinctrl-names = "default";
398 pinctrl-0 = <&spi2_clk &spi2_csn0 &spi2_miso &spi2_mosi>;
403 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
404 reg = <0x0 0xff160000 0x0 0x10>;
405 clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
406 clock-names = "pwm", "pclk";
407 pinctrl-names = "default";
408 pinctrl-0 = <&pwm8_pin>;
414 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
415 reg = <0x0 0xff160010 0x0 0x10>;
416 clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
417 clock-names = "pwm", "pclk";
418 pinctrl-names = "default";
419 pinctrl-0 = <&pwm9_pin>;
424 pwm10: pwm@ff160020 {
425 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
426 reg = <0x0 0xff160020 0x0 0x10>;
427 clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
428 clock-names = "pwm", "pclk";
429 pinctrl-names = "default";
430 pinctrl-0 = <&pwm10_pin>;
435 pwm11: pwm@ff160030 {
436 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
437 reg = <0x0 0xff160030 0x0 0x10>;
438 clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
439 clock-names = "pwm", "pclk";
440 pinctrl-names = "default";
441 pinctrl-0 = <&pwm11_pin>;
447 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
448 reg = <0x0 0xff170000 0x0 0x10>;
449 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
450 clock-names = "pwm", "pclk";
451 pinctrl-names = "default";
452 pinctrl-0 = <&pwm4_pin>;
458 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
459 reg = <0x0 0xff170010 0x0 0x10>;
460 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
461 clock-names = "pwm", "pclk";
462 pinctrl-names = "default";
463 pinctrl-0 = <&pwm5_pin>;
469 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
470 reg = <0x0 0xff170020 0x0 0x10>;
471 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
472 clock-names = "pwm", "pclk";
473 pinctrl-names = "default";
474 pinctrl-0 = <&pwm6_pin>;
480 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
481 reg = <0x0 0xff170030 0x0 0x10>;
482 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
483 clock-names = "pwm", "pclk";
484 pinctrl-names = "default";
485 pinctrl-0 = <&pwm7_pin>;
491 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
492 reg = <0x0 0xff180000 0x0 0x10>;
493 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
494 clock-names = "pwm", "pclk";
495 pinctrl-names = "default";
496 pinctrl-0 = <&pwm0_pin>;
502 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
503 reg = <0x0 0xff180010 0x0 0x10>;
504 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
505 clock-names = "pwm", "pclk";
506 pinctrl-names = "default";
507 pinctrl-0 = <&pwm1_pin>;
513 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
514 reg = <0x0 0xff180020 0x0 0x10>;
515 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
516 clock-names = "pwm", "pclk";
517 pinctrl-names = "default";
518 pinctrl-0 = <&pwm2_pin>;
524 compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
525 reg = <0x0 0xff180030 0x0 0x10>;
526 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
527 clock-names = "pwm", "pclk";
528 pinctrl-names = "default";
529 pinctrl-0 = <&pwm3_pin>;
534 rktimer: rktimer@ff1a0000 {
535 compatible = "rockchip,rk3288-timer";
536 reg = <0x0 0xff1a0000 0x0 0x20>;
537 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
538 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
539 clock-names = "pclk", "timer";
542 saradc: saradc@ff1e0000 {
543 compatible = "rockchip,rk3308-saradc", "rockchip,rk3399-saradc";
544 reg = <0x0 0xff1e0000 0x0 0x100>;
545 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
546 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
547 clock-names = "saradc", "apb_pclk";
548 #io-channel-cells = <1>;
549 resets = <&cru SRST_SARADC_P>;
550 reset-names = "saradc-apb";
554 dmac0: dma-controller@ff2c0000 {
555 compatible = "arm,pl330", "arm,primecell";
556 reg = <0x0 0xff2c0000 0x0 0x4000>;
557 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
558 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
559 arm,pl330-periph-burst;
560 clocks = <&cru ACLK_DMAC0>;
561 clock-names = "apb_pclk";
565 dmac1: dma-controller@ff2d0000 {
566 compatible = "arm,pl330", "arm,primecell";
567 reg = <0x0 0xff2d0000 0x0 0x4000>;
568 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
569 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
570 arm,pl330-periph-burst;
571 clocks = <&cru ACLK_DMAC1>;
572 clock-names = "apb_pclk";
576 i2s_2ch_0: i2s@ff350000 {
577 compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
578 reg = <0x0 0xff350000 0x0 0x1000>;
579 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
580 clocks = <&cru SCLK_I2S0_2CH>, <&cru HCLK_I2S0_2CH>;
581 clock-names = "i2s_clk", "i2s_hclk";
582 dmas = <&dmac1 8>, <&dmac1 9>;
583 dma-names = "tx", "rx";
584 resets = <&cru SRST_I2S0_2CH_M>, <&cru SRST_I2S0_2CH_H>;
585 reset-names = "reset-m", "reset-h";
586 pinctrl-names = "default";
587 pinctrl-0 = <&i2s_2ch_0_sclk
594 i2s_2ch_1: i2s@ff360000 {
595 compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
596 reg = <0x0 0xff360000 0x0 0x1000>;
597 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
598 clocks = <&cru SCLK_I2S1_2CH>, <&cru HCLK_I2S1_2CH>;
599 clock-names = "i2s_clk", "i2s_hclk";
602 resets = <&cru SRST_I2S1_2CH_M>, <&cru SRST_I2S1_2CH_H>;
603 reset-names = "reset-m", "reset-h";
607 spdif_tx: spdif-tx@ff3a0000 {
608 compatible = "rockchip,rk3308-spdif", "rockchip,rk3066-spdif";
609 reg = <0x0 0xff3a0000 0x0 0x1000>;
610 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
611 clocks = <&cru SCLK_SPDIF_TX>, <&cru HCLK_SPDIFTX>;
612 clock-names = "mclk", "hclk";
615 pinctrl-names = "default";
616 pinctrl-0 = <&spdif_out>;
620 usb20_otg: usb@ff400000 {
621 compatible = "rockchip,rk3308-usb", "rockchip,rk3066-usb",
623 reg = <0x0 0xff400000 0x0 0x40000>;
624 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
625 clocks = <&cru HCLK_OTG>;
628 g-np-tx-fifo-size = <16>;
629 g-rx-fifo-size = <280>;
630 g-tx-fifo-size = <256 128 128 64 32 16>;
632 phy-names = "usb2-phy";
636 usb_host_ehci: usb@ff440000 {
637 compatible = "generic-ehci";
638 reg = <0x0 0xff440000 0x0 0x10000>;
639 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
640 clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
641 phys = <&u2phy_host>;
646 usb_host_ohci: usb@ff450000 {
647 compatible = "generic-ohci";
648 reg = <0x0 0xff450000 0x0 0x10000>;
649 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
650 clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
651 phys = <&u2phy_host>;
656 sdmmc: mmc@ff480000 {
657 compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
658 reg = <0x0 0xff480000 0x0 0x4000>;
659 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
661 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
662 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
663 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
664 fifo-depth = <0x100>;
665 max-frequency = <150000000>;
666 pinctrl-names = "default";
667 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
672 compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
673 reg = <0x0 0xff490000 0x0 0x4000>;
674 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
676 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
677 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
678 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
679 fifo-depth = <0x100>;
680 max-frequency = <150000000>;
685 compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
686 reg = <0x0 0xff4a0000 0x0 0x4000>;
687 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
689 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
690 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
691 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
692 fifo-depth = <0x100>;
693 max-frequency = <150000000>;
694 pinctrl-names = "default";
695 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
699 nfc: nand-controller@ff4b0000 {
700 compatible = "rockchip,rk3308-nfc",
701 "rockchip,rv1108-nfc";
702 reg = <0x0 0xff4b0000 0x0 0x4000>;
703 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
704 clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
705 clock-names = "ahb", "nfc";
706 assigned-clocks = <&cru SCLK_NANDC>;
707 assigned-clock-rates = <150000000>;
708 pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
709 &flash_rdn &flash_rdy &flash_wrn>;
710 pinctrl-names = "default";
714 gmac: ethernet@ff4e0000 {
715 compatible = "rockchip,rk3308-gmac";
716 reg = <0x0 0xff4e0000 0x0 0x10000>;
717 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
718 interrupt-names = "macirq";
719 clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX_TX>,
720 <&cru SCLK_MAC_RX_TX>, <&cru SCLK_MAC_REF>,
721 <&cru SCLK_MAC>, <&cru ACLK_MAC>,
722 <&cru PCLK_MAC>, <&cru SCLK_MAC_RMII>;
723 clock-names = "stmmaceth", "mac_clk_rx",
724 "mac_clk_tx", "clk_mac_ref",
725 "clk_mac_refout", "aclk_mac",
726 "pclk_mac", "clk_mac_speed";
728 pinctrl-names = "default";
729 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
730 resets = <&cru SRST_MAC_A>;
731 reset-names = "stmmaceth";
732 rockchip,grf = <&grf>;
737 compatible = "rockchip,sfc";
738 reg = <0x0 0xff4c0000 0x0 0x4000>;
739 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
740 clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
741 clock-names = "clk_sfc", "hclk_sfc";
742 pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
743 pinctrl-names = "default";
747 cru: clock-controller@ff500000 {
748 compatible = "rockchip,rk3308-cru";
749 reg = <0x0 0xff500000 0x0 0x1000>;
751 clock-names = "xin24m";
752 rockchip,grf = <&grf>;
755 assigned-clocks = <&cru SCLK_RTC32K>;
756 assigned-clock-rates = <32768>;
759 gic: interrupt-controller@ff580000 {
760 compatible = "arm,gic-400";
761 reg = <0x0 0xff581000 0x0 0x1000>,
762 <0x0 0xff582000 0x0 0x2000>,
763 <0x0 0xff584000 0x0 0x2000>,
764 <0x0 0xff586000 0x0 0x2000>;
765 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
766 #interrupt-cells = <3>;
767 interrupt-controller;
768 #address-cells = <0>;
771 sram: sram@fff80000 {
772 compatible = "mmio-sram";
773 reg = <0x0 0xfff80000 0x0 0x40000>;
774 ranges = <0 0x0 0xfff80000 0x40000>;
775 #address-cells = <1>;
778 /* reserved for ddr dvfs and system suspend/resume */
783 /* reserved for vad audio buffer */
784 vad_sram: vad-sram@8000 {
785 reg = <0x8000 0x38000>;
790 compatible = "rockchip,rk3308-pinctrl";
791 rockchip,grf = <&grf>;
792 #address-cells = <2>;
796 gpio0: gpio@ff220000 {
797 compatible = "rockchip,gpio-bank";
798 reg = <0x0 0xff220000 0x0 0x100>;
799 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
800 clocks = <&cru PCLK_GPIO0>;
803 interrupt-controller;
804 #interrupt-cells = <2>;
807 gpio1: gpio@ff230000 {
808 compatible = "rockchip,gpio-bank";
809 reg = <0x0 0xff230000 0x0 0x100>;
810 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
811 clocks = <&cru PCLK_GPIO1>;
814 interrupt-controller;
815 #interrupt-cells = <2>;
818 gpio2: gpio@ff240000 {
819 compatible = "rockchip,gpio-bank";
820 reg = <0x0 0xff240000 0x0 0x100>;
821 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
822 clocks = <&cru PCLK_GPIO2>;
825 interrupt-controller;
826 #interrupt-cells = <2>;
829 gpio3: gpio@ff250000 {
830 compatible = "rockchip,gpio-bank";
831 reg = <0x0 0xff250000 0x0 0x100>;
832 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
833 clocks = <&cru PCLK_GPIO3>;
836 interrupt-controller;
837 #interrupt-cells = <2>;
840 gpio4: gpio@ff260000 {
841 compatible = "rockchip,gpio-bank";
842 reg = <0x0 0xff260000 0x0 0x100>;
843 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
844 clocks = <&cru PCLK_GPIO4>;
847 interrupt-controller;
848 #interrupt-cells = <2>;
851 pcfg_pull_up: pcfg-pull-up {
855 pcfg_pull_down: pcfg-pull-down {
859 pcfg_pull_none: pcfg-pull-none {
863 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
865 drive-strength = <2>;
868 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
870 drive-strength = <2>;
873 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
875 drive-strength = <4>;
878 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
880 drive-strength = <4>;
883 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
885 drive-strength = <4>;
888 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
890 drive-strength = <8>;
893 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
895 drive-strength = <8>;
898 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
900 drive-strength = <12>;
903 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
905 drive-strength = <12>;
908 pcfg_pull_none_smt: pcfg-pull-none-smt {
910 input-schmitt-enable;
913 pcfg_output_high: pcfg-output-high {
917 pcfg_output_low: pcfg-output-low {
921 pcfg_input_high: pcfg-input-high {
926 pcfg_input: pcfg-input {
933 <3 RK_PB1 2 &pcfg_pull_none_8ma>;
938 <3 RK_PB0 2 &pcfg_pull_up_8ma>;
941 emmc_pwren: emmc-pwren {
943 <3 RK_PB3 2 &pcfg_pull_none>;
946 emmc_rstn: emmc-rstn {
948 <3 RK_PB2 2 &pcfg_pull_none>;
951 emmc_bus1: emmc-bus1 {
953 <3 RK_PA0 2 &pcfg_pull_up_8ma>;
956 emmc_bus4: emmc-bus4 {
958 <3 RK_PA0 2 &pcfg_pull_up_8ma>,
959 <3 RK_PA1 2 &pcfg_pull_up_8ma>,
960 <3 RK_PA2 2 &pcfg_pull_up_8ma>,
961 <3 RK_PA3 2 &pcfg_pull_up_8ma>;
964 emmc_bus8: emmc-bus8 {
966 <3 RK_PA0 2 &pcfg_pull_up_8ma>,
967 <3 RK_PA1 2 &pcfg_pull_up_8ma>,
968 <3 RK_PA2 2 &pcfg_pull_up_8ma>,
969 <3 RK_PA3 2 &pcfg_pull_up_8ma>,
970 <3 RK_PA4 2 &pcfg_pull_up_8ma>,
971 <3 RK_PA5 2 &pcfg_pull_up_8ma>,
972 <3 RK_PA6 2 &pcfg_pull_up_8ma>,
973 <3 RK_PA7 2 &pcfg_pull_up_8ma>;
978 flash_csn0: flash-csn0 {
980 <3 RK_PB5 1 &pcfg_pull_none>;
983 flash_rdy: flash-rdy {
985 <3 RK_PB4 1 &pcfg_pull_none>;
988 flash_ale: flash-ale {
990 <3 RK_PB3 1 &pcfg_pull_none>;
993 flash_cle: flash-cle {
995 <3 RK_PB1 1 &pcfg_pull_none>;
998 flash_wrn: flash-wrn {
1000 <3 RK_PB0 1 &pcfg_pull_none>;
1003 flash_rdn: flash-rdn {
1005 <3 RK_PB2 1 &pcfg_pull_none>;
1008 flash_bus8: flash-bus8 {
1010 <3 RK_PA0 1 &pcfg_pull_up_12ma>,
1011 <3 RK_PA1 1 &pcfg_pull_up_12ma>,
1012 <3 RK_PA2 1 &pcfg_pull_up_12ma>,
1013 <3 RK_PA3 1 &pcfg_pull_up_12ma>,
1014 <3 RK_PA4 1 &pcfg_pull_up_12ma>,
1015 <3 RK_PA5 1 &pcfg_pull_up_12ma>,
1016 <3 RK_PA6 1 &pcfg_pull_up_12ma>,
1017 <3 RK_PA7 1 &pcfg_pull_up_12ma>;
1022 sfc_bus4: sfc-bus4 {
1024 <3 RK_PA0 3 &pcfg_pull_none>,
1025 <3 RK_PA1 3 &pcfg_pull_none>,
1026 <3 RK_PA2 3 &pcfg_pull_none>,
1027 <3 RK_PA3 3 &pcfg_pull_none>;
1030 sfc_bus2: sfc-bus2 {
1032 <3 RK_PA0 3 &pcfg_pull_none>,
1033 <3 RK_PA1 3 &pcfg_pull_none>;
1038 <3 RK_PA4 3 &pcfg_pull_none>;
1043 <3 RK_PA5 3 &pcfg_pull_none>;
1048 rmii_pins: rmii-pins {
1051 <1 RK_PC1 3 &pcfg_pull_none_12ma>,
1053 <1 RK_PC3 3 &pcfg_pull_none_12ma>,
1055 <1 RK_PC2 3 &pcfg_pull_none_12ma>,
1057 <1 RK_PC4 3 &pcfg_pull_none>,
1059 <1 RK_PC5 3 &pcfg_pull_none>,
1061 <1 RK_PB7 3 &pcfg_pull_none>,
1063 <1 RK_PC0 3 &pcfg_pull_none>,
1065 <1 RK_PB6 3 &pcfg_pull_none>,
1067 <1 RK_PB5 3 &pcfg_pull_none>;
1070 mac_refclk_12ma: mac-refclk-12ma {
1072 <1 RK_PB4 3 &pcfg_pull_none_12ma>;
1075 mac_refclk: mac-refclk {
1077 <1 RK_PB4 3 &pcfg_pull_none>;
1082 rmiim1_pins: rmiim1-pins {
1085 <4 RK_PB7 2 &pcfg_pull_none_12ma>,
1087 <4 RK_PA5 2 &pcfg_pull_none_12ma>,
1089 <4 RK_PA4 2 &pcfg_pull_none_12ma>,
1091 <4 RK_PA2 2 &pcfg_pull_none>,
1093 <4 RK_PA3 2 &pcfg_pull_none>,
1095 <4 RK_PA0 2 &pcfg_pull_none>,
1097 <4 RK_PA1 2 &pcfg_pull_none>,
1099 <4 RK_PB6 2 &pcfg_pull_none>,
1101 <4 RK_PB5 2 &pcfg_pull_none>;
1104 macm1_refclk_12ma: macm1-refclk-12ma {
1106 <4 RK_PB4 2 &pcfg_pull_none_12ma>;
1109 macm1_refclk: macm1-refclk {
1111 <4 RK_PB4 2 &pcfg_pull_none>;
1116 i2c0_xfer: i2c0-xfer {
1118 <1 RK_PD0 2 &pcfg_pull_none_smt>,
1119 <1 RK_PD1 2 &pcfg_pull_none_smt>;
1124 i2c1_xfer: i2c1-xfer {
1126 <0 RK_PB3 1 &pcfg_pull_none_smt>,
1127 <0 RK_PB4 1 &pcfg_pull_none_smt>;
1132 i2c2_xfer: i2c2-xfer {
1134 <2 RK_PA2 3 &pcfg_pull_none_smt>,
1135 <2 RK_PA3 3 &pcfg_pull_none_smt>;
1140 i2c3m0_xfer: i2c3m0-xfer {
1142 <0 RK_PB7 2 &pcfg_pull_none_smt>,
1143 <0 RK_PC0 2 &pcfg_pull_none_smt>;
1148 i2c3m1_xfer: i2c3m1-xfer {
1150 <3 RK_PB4 2 &pcfg_pull_none_smt>,
1151 <3 RK_PB5 2 &pcfg_pull_none_smt>;
1156 i2c3m2_xfer: i2c3m2-xfer {
1158 <2 RK_PA1 3 &pcfg_pull_none_smt>,
1159 <2 RK_PA0 3 &pcfg_pull_none_smt>;
1164 i2s_2ch_0_mclk: i2s-2ch-0-mclk {
1166 <4 RK_PB4 1 &pcfg_pull_none>;
1169 i2s_2ch_0_sclk: i2s-2ch-0-sclk {
1171 <4 RK_PB5 1 &pcfg_pull_none>;
1174 i2s_2ch_0_lrck: i2s-2ch-0-lrck {
1176 <4 RK_PB6 1 &pcfg_pull_none>;
1179 i2s_2ch_0_sdo: i2s-2ch-0-sdo {
1181 <4 RK_PB7 1 &pcfg_pull_none>;
1184 i2s_2ch_0_sdi: i2s-2ch-0-sdi {
1186 <4 RK_PC0 1 &pcfg_pull_none>;
1191 i2s_8ch_0_mclk: i2s-8ch-0-mclk {
1193 <2 RK_PA4 1 &pcfg_pull_none>;
1196 i2s_8ch_0_sclktx: i2s-8ch-0-sclktx {
1198 <2 RK_PA5 1 &pcfg_pull_none>;
1201 i2s_8ch_0_sclkrx: i2s-8ch-0-sclkrx {
1203 <2 RK_PA6 1 &pcfg_pull_none>;
1206 i2s_8ch_0_lrcktx: i2s-8ch-0-lrcktx {
1208 <2 RK_PA7 1 &pcfg_pull_none>;
1211 i2s_8ch_0_lrckrx: i2s-8ch-0-lrckrx {
1213 <2 RK_PB0 1 &pcfg_pull_none>;
1216 i2s_8ch_0_sdo0: i2s-8ch-0-sdo0 {
1218 <2 RK_PB1 1 &pcfg_pull_none>;
1221 i2s_8ch_0_sdo1: i2s-8ch-0-sdo1 {
1223 <2 RK_PB2 1 &pcfg_pull_none>;
1226 i2s_8ch_0_sdo2: i2s-8ch-0-sdo2 {
1228 <2 RK_PB3 1 &pcfg_pull_none>;
1231 i2s_8ch_0_sdo3: i2s-8ch-0-sdo3 {
1233 <2 RK_PB4 1 &pcfg_pull_none>;
1236 i2s_8ch_0_sdi0: i2s-8ch-0-sdi0 {
1238 <2 RK_PB5 1 &pcfg_pull_none>;
1241 i2s_8ch_0_sdi1: i2s-8ch-0-sdi1 {
1243 <2 RK_PB6 1 &pcfg_pull_none>;
1246 i2s_8ch_0_sdi2: i2s-8ch-0-sdi2 {
1248 <2 RK_PB7 1 &pcfg_pull_none>;
1251 i2s_8ch_0_sdi3: i2s-8ch-0-sdi3 {
1253 <2 RK_PC0 1 &pcfg_pull_none>;
1258 i2s_8ch_1_m0_mclk: i2s-8ch-1-m0-mclk {
1260 <1 RK_PA2 2 &pcfg_pull_none>;
1263 i2s_8ch_1_m0_sclktx: i2s-8ch-1-m0-sclktx {
1265 <1 RK_PA3 2 &pcfg_pull_none>;
1268 i2s_8ch_1_m0_sclkrx: i2s-8ch-1-m0-sclkrx {
1270 <1 RK_PA4 2 &pcfg_pull_none>;
1273 i2s_8ch_1_m0_lrcktx: i2s-8ch-1-m0-lrcktx {
1275 <1 RK_PA5 2 &pcfg_pull_none>;
1278 i2s_8ch_1_m0_lrckrx: i2s-8ch-1-m0-lrckrx {
1280 <1 RK_PA6 2 &pcfg_pull_none>;
1283 i2s_8ch_1_m0_sdo0: i2s-8ch-1-m0-sdo0 {
1285 <1 RK_PA7 2 &pcfg_pull_none>;
1288 i2s_8ch_1_m0_sdo1_sdi3: i2s-8ch-1-m0-sdo1-sdi3 {
1290 <1 RK_PB0 2 &pcfg_pull_none>;
1293 i2s_8ch_1_m0_sdo2_sdi2: i2s-8ch-1-m0-sdo2-sdi2 {
1295 <1 RK_PB1 2 &pcfg_pull_none>;
1298 i2s_8ch_1_m0_sdo3_sdi1: i2s-8ch-1-m0-sdo3_sdi1 {
1300 <1 RK_PB2 2 &pcfg_pull_none>;
1303 i2s_8ch_1_m0_sdi0: i2s-8ch-1-m0-sdi0 {
1305 <1 RK_PB3 2 &pcfg_pull_none>;
1310 i2s_8ch_1_m1_mclk: i2s-8ch-1-m1-mclk {
1312 <1 RK_PB4 2 &pcfg_pull_none>;
1315 i2s_8ch_1_m1_sclktx: i2s-8ch-1-m1-sclktx {
1317 <1 RK_PB5 2 &pcfg_pull_none>;
1320 i2s_8ch_1_m1_sclkrx: i2s-8ch-1-m1-sclkrx {
1322 <1 RK_PB6 2 &pcfg_pull_none>;
1325 i2s_8ch_1_m1_lrcktx: i2s-8ch-1-m1-lrcktx {
1327 <1 RK_PB7 2 &pcfg_pull_none>;
1330 i2s_8ch_1_m1_lrckrx: i2s-8ch-1-m1-lrckrx {
1332 <1 RK_PC0 2 &pcfg_pull_none>;
1335 i2s_8ch_1_m1_sdo0: i2s-8ch-1-m1-sdo0 {
1337 <1 RK_PC1 2 &pcfg_pull_none>;
1340 i2s_8ch_1_m1_sdo1_sdi3: i2s-8ch-1-m1-sdo1-sdi3 {
1342 <1 RK_PC2 2 &pcfg_pull_none>;
1345 i2s_8ch_1_m1_sdo2_sdi2: i2s-8ch-1-m1-sdo2-sdi2 {
1347 <1 RK_PC3 2 &pcfg_pull_none>;
1350 i2s_8ch_1_m1_sdo3_sdi1: i2s-8ch-1-m1-sdo3_sdi1 {
1352 <1 RK_PC4 2 &pcfg_pull_none>;
1355 i2s_8ch_1_m1_sdi0: i2s-8ch-1-m1-sdi0 {
1357 <1 RK_PC5 2 &pcfg_pull_none>;
1362 pdm_m0_clk: pdm-m0-clk {
1364 <1 RK_PA4 3 &pcfg_pull_none>;
1367 pdm_m0_sdi0: pdm-m0-sdi0 {
1369 <1 RK_PB3 3 &pcfg_pull_none>;
1372 pdm_m0_sdi1: pdm-m0-sdi1 {
1374 <1 RK_PB2 3 &pcfg_pull_none>;
1377 pdm_m0_sdi2: pdm-m0-sdi2 {
1379 <1 RK_PB1 3 &pcfg_pull_none>;
1382 pdm_m0_sdi3: pdm-m0-sdi3 {
1384 <1 RK_PB0 3 &pcfg_pull_none>;
1389 pdm_m1_clk: pdm-m1-clk {
1391 <1 RK_PB6 4 &pcfg_pull_none>;
1394 pdm_m1_sdi0: pdm-m1-sdi0 {
1396 <1 RK_PC5 4 &pcfg_pull_none>;
1399 pdm_m1_sdi1: pdm-m1-sdi1 {
1401 <1 RK_PC4 4 &pcfg_pull_none>;
1404 pdm_m1_sdi2: pdm-m1-sdi2 {
1406 <1 RK_PC3 4 &pcfg_pull_none>;
1409 pdm_m1_sdi3: pdm-m1-sdi3 {
1411 <1 RK_PC2 4 &pcfg_pull_none>;
1416 pdm_m2_clkm: pdm-m2-clkm {
1418 <2 RK_PA4 3 &pcfg_pull_none>;
1421 pdm_m2_clk: pdm-m2-clk {
1423 <2 RK_PA6 2 &pcfg_pull_none>;
1426 pdm_m2_sdi0: pdm-m2-sdi0 {
1428 <2 RK_PB5 2 &pcfg_pull_none>;
1431 pdm_m2_sdi1: pdm-m2-sdi1 {
1433 <2 RK_PB6 2 &pcfg_pull_none>;
1436 pdm_m2_sdi2: pdm-m2-sdi2 {
1438 <2 RK_PB7 2 &pcfg_pull_none>;
1441 pdm_m2_sdi3: pdm-m2-sdi3 {
1443 <2 RK_PC0 2 &pcfg_pull_none>;
1448 pwm0_pin: pwm0-pin {
1450 <0 RK_PB5 1 &pcfg_pull_none>;
1453 pwm0_pin_pull_down: pwm0-pin-pull-down {
1455 <0 RK_PB5 1 &pcfg_pull_down>;
1460 pwm1_pin: pwm1-pin {
1462 <0 RK_PB6 1 &pcfg_pull_none>;
1465 pwm1_pin_pull_down: pwm1-pin-pull-down {
1467 <0 RK_PB6 1 &pcfg_pull_down>;
1472 pwm2_pin: pwm2-pin {
1474 <0 RK_PB7 1 &pcfg_pull_none>;
1477 pwm2_pin_pull_down: pwm2-pin-pull-down {
1479 <0 RK_PB7 1 &pcfg_pull_down>;
1484 pwm3_pin: pwm3-pin {
1486 <0 RK_PC0 1 &pcfg_pull_none>;
1489 pwm3_pin_pull_down: pwm3-pin-pull-down {
1491 <0 RK_PC0 1 &pcfg_pull_down>;
1496 pwm4_pin: pwm4-pin {
1498 <0 RK_PA1 2 &pcfg_pull_none>;
1501 pwm4_pin_pull_down: pwm4-pin-pull-down {
1503 <0 RK_PA1 2 &pcfg_pull_down>;
1508 pwm5_pin: pwm5-pin {
1510 <0 RK_PC1 2 &pcfg_pull_none>;
1513 pwm5_pin_pull_down: pwm5-pin-pull-down {
1515 <0 RK_PC1 2 &pcfg_pull_down>;
1520 pwm6_pin: pwm6-pin {
1522 <0 RK_PC2 2 &pcfg_pull_none>;
1525 pwm6_pin_pull_down: pwm6-pin-pull-down {
1527 <0 RK_PC2 2 &pcfg_pull_down>;
1532 pwm7_pin: pwm7-pin {
1534 <2 RK_PB0 2 &pcfg_pull_none>;
1537 pwm7_pin_pull_down: pwm7-pin-pull-down {
1539 <2 RK_PB0 2 &pcfg_pull_down>;
1544 pwm8_pin: pwm8-pin {
1546 <2 RK_PB2 2 &pcfg_pull_none>;
1549 pwm8_pin_pull_down: pwm8-pin-pull-down {
1551 <2 RK_PB2 2 &pcfg_pull_down>;
1556 pwm9_pin: pwm9-pin {
1558 <2 RK_PB3 2 &pcfg_pull_none>;
1561 pwm9_pin_pull_down: pwm9-pin-pull-down {
1563 <2 RK_PB3 2 &pcfg_pull_down>;
1568 pwm10_pin: pwm10-pin {
1570 <2 RK_PB4 2 &pcfg_pull_none>;
1573 pwm10_pin_pull_down: pwm10-pin-pull-down {
1575 <2 RK_PB4 2 &pcfg_pull_down>;
1580 pwm11_pin: pwm11-pin {
1582 <2 RK_PC0 4 &pcfg_pull_none>;
1585 pwm11_pin_pull_down: pwm11-pin-pull-down {
1587 <2 RK_PC0 4 &pcfg_pull_down>;
1594 <0 RK_PC3 1 &pcfg_pull_none>;
1599 sdmmc_clk: sdmmc-clk {
1601 <4 RK_PD5 1 &pcfg_pull_none_4ma>;
1604 sdmmc_cmd: sdmmc-cmd {
1606 <4 RK_PD4 1 &pcfg_pull_up_4ma>;
1609 sdmmc_det: sdmmc-det {
1611 <0 RK_PA3 1 &pcfg_pull_up_4ma>;
1614 sdmmc_pwren: sdmmc-pwren {
1616 <4 RK_PD6 1 &pcfg_pull_none_4ma>;
1619 sdmmc_bus1: sdmmc-bus1 {
1621 <4 RK_PD0 1 &pcfg_pull_up_4ma>;
1624 sdmmc_bus4: sdmmc-bus4 {
1626 <4 RK_PD0 1 &pcfg_pull_up_4ma>,
1627 <4 RK_PD1 1 &pcfg_pull_up_4ma>,
1628 <4 RK_PD2 1 &pcfg_pull_up_4ma>,
1629 <4 RK_PD3 1 &pcfg_pull_up_4ma>;
1634 sdio_clk: sdio-clk {
1636 <4 RK_PA5 1 &pcfg_pull_none_8ma>;
1639 sdio_cmd: sdio-cmd {
1641 <4 RK_PA4 1 &pcfg_pull_up_8ma>;
1644 sdio_pwren: sdio-pwren {
1646 <0 RK_PA2 1 &pcfg_pull_none_8ma>;
1649 sdio_wrpt: sdio-wrpt {
1651 <0 RK_PA1 1 &pcfg_pull_none_8ma>;
1654 sdio_intn: sdio-intn {
1656 <0 RK_PA0 1 &pcfg_pull_none_8ma>;
1659 sdio_bus1: sdio-bus1 {
1661 <4 RK_PA0 1 &pcfg_pull_up_8ma>;
1664 sdio_bus4: sdio-bus4 {
1666 <4 RK_PA0 1 &pcfg_pull_up_8ma>,
1667 <4 RK_PA1 1 &pcfg_pull_up_8ma>,
1668 <4 RK_PA2 1 &pcfg_pull_up_8ma>,
1669 <4 RK_PA3 1 &pcfg_pull_up_8ma>;
1674 spdif_in: spdif-in {
1676 <0 RK_PC2 1 &pcfg_pull_none>;
1681 spdif_out: spdif-out {
1683 <0 RK_PC1 1 &pcfg_pull_none>;
1688 spi0_clk: spi0-clk {
1690 <2 RK_PA2 2 &pcfg_pull_up_4ma>;
1693 spi0_csn0: spi0-csn0 {
1695 <2 RK_PA3 2 &pcfg_pull_up_4ma>;
1698 spi0_miso: spi0-miso {
1700 <2 RK_PA0 2 &pcfg_pull_up_4ma>;
1703 spi0_mosi: spi0-mosi {
1705 <2 RK_PA1 2 &pcfg_pull_up_4ma>;
1710 spi1_clk: spi1-clk {
1712 <3 RK_PB3 3 &pcfg_pull_up_4ma>;
1715 spi1_csn0: spi1-csn0 {
1717 <3 RK_PB5 3 &pcfg_pull_up_4ma>;
1720 spi1_miso: spi1-miso {
1722 <3 RK_PB2 3 &pcfg_pull_up_4ma>;
1725 spi1_mosi: spi1-mosi {
1727 <3 RK_PB4 3 &pcfg_pull_up_4ma>;
1732 spi1m1_miso: spi1m1-miso {
1734 <2 RK_PA4 2 &pcfg_pull_up_4ma>;
1737 spi1m1_mosi: spi1m1-mosi {
1739 <2 RK_PA5 2 &pcfg_pull_up_4ma>;
1742 spi1m1_clk: spi1m1-clk {
1744 <2 RK_PA7 2 &pcfg_pull_up_4ma>;
1747 spi1m1_csn0: spi1m1-csn0 {
1749 <2 RK_PB1 2 &pcfg_pull_up_4ma>;
1754 spi2_clk: spi2-clk {
1756 <1 RK_PD0 3 &pcfg_pull_up_4ma>;
1759 spi2_csn0: spi2-csn0 {
1761 <1 RK_PD1 3 &pcfg_pull_up_4ma>;
1764 spi2_miso: spi2-miso {
1766 <1 RK_PC6 3 &pcfg_pull_up_4ma>;
1769 spi2_mosi: spi2-mosi {
1771 <1 RK_PC7 3 &pcfg_pull_up_4ma>;
1776 tsadc_otp_pin: tsadc-otp-pin {
1778 <0 RK_PB2 0 &pcfg_pull_none>;
1781 tsadc_otp_out: tsadc-otp-out {
1783 <0 RK_PB2 1 &pcfg_pull_none>;
1788 uart0_xfer: uart0-xfer {
1790 <2 RK_PA1 1 &pcfg_pull_up>,
1791 <2 RK_PA0 1 &pcfg_pull_up>;
1794 uart0_cts: uart0-cts {
1796 <2 RK_PA2 1 &pcfg_pull_none>;
1799 uart0_rts: uart0-rts {
1801 <2 RK_PA3 1 &pcfg_pull_none>;
1804 uart0_rts_pin: uart0-rts-pin {
1806 <2 RK_PA3 0 &pcfg_pull_none>;
1811 uart1_xfer: uart1-xfer {
1813 <1 RK_PD1 1 &pcfg_pull_up>,
1814 <1 RK_PD0 1 &pcfg_pull_up>;
1817 uart1_cts: uart1-cts {
1819 <1 RK_PC6 1 &pcfg_pull_none>;
1822 uart1_rts: uart1-rts {
1824 <1 RK_PC7 1 &pcfg_pull_none>;
1829 uart2m0_xfer: uart2m0-xfer {
1831 <1 RK_PC7 2 &pcfg_pull_up>,
1832 <1 RK_PC6 2 &pcfg_pull_up>;
1837 uart2m1_xfer: uart2m1-xfer {
1839 <4 RK_PD3 2 &pcfg_pull_up>,
1840 <4 RK_PD2 2 &pcfg_pull_up>;
1845 uart3_xfer: uart3-xfer {
1847 <3 RK_PB5 4 &pcfg_pull_up>,
1848 <3 RK_PB4 4 &pcfg_pull_up>;
1853 uart3m1_xfer: uart3m1-xfer {
1855 <0 RK_PC2 3 &pcfg_pull_up>,
1856 <0 RK_PC1 3 &pcfg_pull_up>;
1861 uart4_xfer: uart4-xfer {
1863 <4 RK_PB1 1 &pcfg_pull_up>,
1864 <4 RK_PB0 1 &pcfg_pull_up>;
1867 uart4_cts: uart4-cts {
1869 <4 RK_PA6 1 &pcfg_pull_none>;
1872 uart4_rts: uart4-rts {
1874 <4 RK_PA7 1 &pcfg_pull_none>;
1877 uart4_rts_pin: uart4-rts-pin {
1879 <4 RK_PA7 0 &pcfg_pull_none>;