2 * Copyright (c) 2015 Heiko Stuebner <heiko@sntech.de>
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
43 #include <dt-bindings/clock/rk3368-cru.h>
44 #include <dt-bindings/gpio/gpio.h>
45 #include <dt-bindings/interrupt-controller/irq.h>
46 #include <dt-bindings/interrupt-controller/arm-gic.h>
47 #include <dt-bindings/pinctrl/rockchip.h>
48 #include <dt-bindings/power/rk3368-power.h>
49 #include <dt-bindings/soc/rockchip,boot-mode.h>
50 #include <dt-bindings/thermal/thermal.h>
53 compatible = "rockchip,rk3368";
54 interrupt-parent = <&gic>;
77 #address-cells = <0x2>;
113 entry-method = "psci";
115 cpu_sleep: cpu-sleep-0 {
116 compatible = "arm,idle-state";
117 arm,psci-suspend-param = <0x1010000>;
118 entry-latency-us = <0x3fffffff>;
119 exit-latency-us = <0x40000000>;
120 min-residency-us = <0xffffffff>;
126 compatible = "arm,cortex-a53", "arm,armv8";
128 cpu-idle-states = <&cpu_sleep>;
129 enable-method = "psci";
130 clocks = <&cru ARMCLKL>;
131 operating-points-v2 = <&cluster0_opp>;
133 #cooling-cells = <2>; /* min followed by max */
138 compatible = "arm,cortex-a53", "arm,armv8";
140 cpu-idle-states = <&cpu_sleep>;
141 enable-method = "psci";
142 clocks = <&cru ARMCLKL>;
143 operating-points-v2 = <&cluster0_opp>;
148 compatible = "arm,cortex-a53", "arm,armv8";
150 cpu-idle-states = <&cpu_sleep>;
151 enable-method = "psci";
152 clocks = <&cru ARMCLKL>;
153 operating-points-v2 = <&cluster0_opp>;
158 compatible = "arm,cortex-a53", "arm,armv8";
160 cpu-idle-states = <&cpu_sleep>;
161 enable-method = "psci";
162 clocks = <&cru ARMCLKL>;
163 operating-points-v2 = <&cluster0_opp>;
168 compatible = "arm,cortex-a53", "arm,armv8";
170 cpu-idle-states = <&cpu_sleep>;
171 enable-method = "psci";
172 clocks = <&cru ARMCLKB>;
173 operating-points-v2 = <&cluster1_opp>;
175 #cooling-cells = <2>; /* min followed by max */
180 compatible = "arm,cortex-a53", "arm,armv8";
182 cpu-idle-states = <&cpu_sleep>;
183 enable-method = "psci";
184 clocks = <&cru ARMCLKB>;
185 operating-points-v2 = <&cluster1_opp>;
190 compatible = "arm,cortex-a53", "arm,armv8";
192 cpu-idle-states = <&cpu_sleep>;
193 enable-method = "psci";
194 clocks = <&cru ARMCLKB>;
195 operating-points-v2 = <&cluster1_opp>;
200 compatible = "arm,cortex-a53", "arm,armv8";
202 cpu-idle-states = <&cpu_sleep>;
203 enable-method = "psci";
204 clocks = <&cru ARMCLKB>;
205 operating-points-v2 = <&cluster1_opp>;
209 cluster0_opp: opp_table0 {
210 compatible = "operating-points-v2";
214 opp-hz = /bits/ 64 <216000000>;
215 opp-microvolt = <950000 950000 1350000>;
216 clock-latency-ns = <40000>;
220 opp-hz = /bits/ 64 <408000000>;
221 opp-microvolt = <950000 950000 1350000>;
222 clock-latency-ns = <40000>;
225 opp-hz = /bits/ 64 <600000000>;
226 opp-microvolt = <950000 950000 1350000>;
227 clock-latency-ns = <40000>;
230 opp-hz = /bits/ 64 <816000000>;
231 opp-microvolt = <1025000 1025000 1350000>;
232 clock-latency-ns = <40000>;
235 opp-hz = /bits/ 64 <1008000000>;
236 opp-microvolt = <1125000 1125000 1350000>;
237 clock-latency-ns = <40000>;
240 opp-hz = /bits/ 64 <1200000000>;
241 opp-microvolt = <1225000 1225000 1350000>;
242 clock-latency-ns = <40000>;
246 cluster1_opp: opp_table1 {
247 compatible = "operating-points-v2";
251 opp-hz = /bits/ 64 <216000000>;
252 opp-microvolt = <950000 950000 1350000>;
253 clock-latency-ns = <40000>;
257 opp-hz = /bits/ 64 <408000000>;
258 opp-microvolt = <950000 950000 1350000>;
259 clock-latency-ns = <40000>;
262 opp-hz = /bits/ 64 <600000000>;
263 opp-microvolt = <950000 950000 1350000>;
264 clock-latency-ns = <40000>;
267 opp-hz = /bits/ 64 <816000000>;
268 opp-microvolt = <975000 975000 1350000>;
269 clock-latency-ns = <40000>;
272 opp-hz = /bits/ 64 <1008000000>;
273 opp-microvolt = <1050000 1050000 1350000>;
274 clock-latency-ns = <40000>;
277 opp-hz = /bits/ 64 <1200000000>;
278 opp-microvolt = <1150000 1150000 1350000>;
279 clock-latency-ns = <40000>;
282 opp-hz = /bits/ 64 <1296000000>;
283 opp-microvolt = <1225000 1225000 1350000>;
284 clock-latency-ns = <40000>;
287 opp-hz = /bits/ 64 <1416000000>;
288 opp-microvolt = <1300000 1300000 1350000>;
289 clock-latency-ns = <40000>;
292 opp-hz = /bits/ 64 <1512000000>;
293 opp-microvolt = <1350000 1350000 1350000>;
294 clock-latency-ns = <40000>;
301 min-volt = <950000>; /* uV */
302 min-freq = <216000>; /* KHz */
303 leakage-adjust-volt = <
307 nvmem-cells = <&cpu_leakage>;
308 nvmem-cell-names = "cpu_leakage";
312 min-volt = <950000>; /* uV */
313 min-freq = <216000>; /* KHz */
314 leakage-adjust-volt = <
318 nvmem-cells = <&cpu_leakage>;
319 nvmem-cell-names = "cpu_leakage";
324 compatible = "arm,armv8-pmuv3";
325 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
326 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
327 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
328 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
329 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
330 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
331 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
332 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
333 interrupt-affinity = <&cpu_l0>, <&cpu_l1>, <&cpu_l2>,
334 <&cpu_l3>, <&cpu_b0>, <&cpu_b1>,
335 <&cpu_b2>, <&cpu_b3>;
339 compatible = "arm,amba-bus";
340 #address-cells = <2>;
344 dmac_peri: dma-controller@ff250000 {
345 compatible = "arm,pl330", "arm,primecell";
346 reg = <0x0 0xff250000 0x0 0x4000>;
347 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
348 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
350 clocks = <&cru ACLK_DMAC_PERI>;
351 clock-names = "apb_pclk";
352 arm,pl330-broken-no-flushp;
353 peripherals-req-type-burst;
356 dmac_bus: dma-controller@ff600000 {
357 compatible = "arm,pl330", "arm,primecell";
358 reg = <0x0 0xff600000 0x0 0x4000>;
359 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
360 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
362 clocks = <&cru ACLK_DMAC_BUS>;
363 clock-names = "apb_pclk";
364 arm,pl330-broken-no-flushp;
365 peripherals-req-type-burst;
370 compatible = "arm,psci-0.2";
375 compatible = "arm,armv8-timer";
376 interrupts = <GIC_PPI 13
377 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
379 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
381 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
383 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
387 compatible = "fixed-clock";
388 clock-frequency = <24000000>;
389 clock-output-names = "xin24m";
393 sdmmc: rksdmmc@ff0c0000 {
394 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
395 reg = <0x0 0xff0c0000 0x0 0x4000>;
396 clock-freq-min-max = <400000 150000000>;
397 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
398 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
399 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
400 fifo-depth = <0x100>;
401 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
405 sdio0: dwmmc@ff0d0000 {
406 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
407 reg = <0x0 0xff0d0000 0x0 0x4000>;
408 clock-freq-min-max = <400000 150000000>;
409 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>,
410 <&cru SCLK_SDIO0_DRV>, <&cru SCLK_SDIO0_SAMPLE>;
411 clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
412 fifo-depth = <0x100>;
413 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
417 emmc: rksdmmc@ff0f0000 {
418 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
419 reg = <0x0 0xff0f0000 0x0 0x4000>;
420 clock-freq-min-max = <400000 150000000>;
421 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
422 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
423 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
424 fifo-depth = <0x100>;
425 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
429 saradc: saradc@ff100000 {
430 compatible = "rockchip,saradc";
431 reg = <0x0 0xff100000 0x0 0x100>;
432 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
433 #io-channel-cells = <1>;
434 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
435 clock-names = "saradc", "apb_pclk";
436 resets = <&cru SRST_SARADC>;
437 reset-names = "saradc-apb";
442 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
443 reg = <0x0 0xff110000 0x0 0x1000>;
444 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
445 clock-names = "spiclk", "apb_pclk";
446 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
449 #address-cells = <1>;
455 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
456 reg = <0x0 0xff120000 0x0 0x1000>;
457 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
458 clock-names = "spiclk", "apb_pclk";
459 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
460 pinctrl-names = "default";
461 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
462 #address-cells = <1>;
468 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
469 reg = <0x0 0xff130000 0x0 0x1000>;
470 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
471 clock-names = "spiclk", "apb_pclk";
472 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
473 pinctrl-names = "default";
474 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
475 #address-cells = <1>;
481 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
482 reg = <0x0 0xff650000 0x0 0x1000>;
483 clocks = <&cru PCLK_I2C0>;
485 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
486 pinctrl-names = "default";
487 pinctrl-0 = <&i2c0_xfer>;
488 #address-cells = <1>;
494 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
495 reg = <0x0 0xff140000 0x0 0x1000>;
496 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
497 #address-cells = <1>;
500 clocks = <&cru PCLK_I2C2>;
501 pinctrl-names = "default";
502 pinctrl-0 = <&i2c2_xfer>;
507 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
508 reg = <0x0 0xff150000 0x0 0x1000>;
509 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
510 #address-cells = <1>;
513 clocks = <&cru PCLK_I2C3>;
514 pinctrl-names = "default";
515 pinctrl-0 = <&i2c3_xfer>;
520 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
521 reg = <0x0 0xff160000 0x0 0x1000>;
522 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
523 #address-cells = <1>;
526 clocks = <&cru PCLK_I2C4>;
527 pinctrl-names = "default";
528 pinctrl-0 = <&i2c4_xfer>;
533 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
534 reg = <0x0 0xff170000 0x0 0x1000>;
535 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
536 #address-cells = <1>;
539 clocks = <&cru PCLK_I2C5>;
540 pinctrl-names = "default";
541 pinctrl-0 = <&i2c5_xfer>;
545 uart0: serial@ff180000 {
546 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
547 reg = <0x0 0xff180000 0x0 0x100>;
548 clock-frequency = <24000000>;
549 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
550 clock-names = "baudclk", "apb_pclk";
551 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
557 uart1: serial@ff190000 {
558 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
559 reg = <0x0 0xff190000 0x0 0x100>;
560 clock-frequency = <24000000>;
561 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
562 clock-names = "baudclk", "apb_pclk";
563 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
569 uart3: serial@ff1b0000 {
570 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
571 reg = <0x0 0xff1b0000 0x0 0x100>;
572 clock-frequency = <24000000>;
573 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
574 clock-names = "baudclk", "apb_pclk";
575 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
581 uart4: serial@ff1c0000 {
582 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
583 reg = <0x0 0xff1c0000 0x0 0x100>;
584 clock-frequency = <24000000>;
585 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
586 clock-names = "baudclk", "apb_pclk";
587 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
595 polling-delay-passive = <100>; /* milliseconds */
596 polling-delay = <5000>; /* milliseconds */
598 thermal-sensors = <&tsadc 0>;
601 cpu_alert0: cpu_alert0 {
602 temperature = <75000>; /* millicelsius */
603 hysteresis = <2000>; /* millicelsius */
606 cpu_alert1: cpu_alert1 {
607 temperature = <80000>; /* millicelsius */
608 hysteresis = <2000>; /* millicelsius */
612 temperature = <95000>; /* millicelsius */
613 hysteresis = <2000>; /* millicelsius */
620 trip = <&cpu_alert0>;
622 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
625 trip = <&cpu_alert1>;
627 <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
633 polling-delay-passive = <100>; /* milliseconds */
634 polling-delay = <5000>; /* milliseconds */
636 thermal-sensors = <&tsadc 1>;
639 gpu_alert0: gpu_alert0 {
640 temperature = <80000>; /* millicelsius */
641 hysteresis = <2000>; /* millicelsius */
645 temperature = <115000>; /* millicelsius */
646 hysteresis = <2000>; /* millicelsius */
653 trip = <&gpu_alert0>;
655 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
661 tsadc: tsadc@ff280000 {
662 compatible = "rockchip,rk3368-tsadc";
663 reg = <0x0 0xff280000 0x0 0x100>;
664 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
665 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
666 clock-names = "tsadc", "apb_pclk";
667 resets = <&cru SRST_TSADC>;
668 reset-names = "tsadc-apb";
669 pinctrl-names = "init", "default", "sleep";
670 pinctrl-0 = <&otp_gpio>;
671 pinctrl-1 = <&otp_out>;
672 pinctrl-2 = <&otp_gpio>;
673 #thermal-sensor-cells = <1>;
674 rockchip,hw-tshut-temp = <95000>;
678 gmac: ethernet@ff290000 {
679 compatible = "rockchip,rk3368-gmac";
680 reg = <0x0 0xff290000 0x0 0x10000>;
681 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
682 interrupt-names = "macirq";
683 rockchip,grf = <&grf>;
684 clocks = <&cru SCLK_MAC>,
685 <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
686 <&cru SCLK_MACREF>, <&cru SCLK_MACREF_OUT>,
687 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
688 clock-names = "stmmaceth",
689 "mac_clk_rx", "mac_clk_tx",
690 "clk_mac_ref", "clk_mac_refout",
691 "aclk_mac", "pclk_mac";
695 nandc0: nandc@ff400000 {
696 compatible = "rockchip,rk-nandc";
697 reg = <0x0 0xff400000 0x0 0x4000>;
698 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
700 clocks = <&cru SCLK_NANDC0>, <&cru HCLK_NANDC0>;
701 clock-names = "clk_nandc", "hclk_nandc";
705 usb_host0_ehci: usb@ff500000 {
706 compatible = "generic-ehci";
707 reg = <0x0 0xff500000 0x0 0x20000>;
708 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
709 clocks = <&cru HCLK_HOST0>, <&u2phy>;
710 clock-names = "usbhost", "utmi";
711 phys = <&u2phy_host>;
716 usb_host0_ohci: usb@ff520000 {
717 compatible = "generic-ohci";
718 reg = <0x0 0xff520000 0x0 0x20000>;
719 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
720 clocks = <&cru HCLK_HOST0>, <&u2phy>;
721 clock-names = "usbhost", "utmi";
722 phys = <&u2phy_host>;
727 usb_otg: usb@ff580000 {
728 compatible = "rockchip,rk3368-usb", "rockchip,rk3066-usb",
730 reg = <0x0 0xff580000 0x0 0x40000>;
731 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
732 clocks = <&cru HCLK_OTG0>;
735 g-np-tx-fifo-size = <16>;
736 g-rx-fifo-size = <275>;
737 g-tx-fifo-size = <256 128 128 64 64 32>;
742 ddrpctl: syscon@ff610000 {
743 compatible = "rockchip,rk3368-ddrpctl", "syscon";
744 reg = <0x0 0xff610000 0x0 0x400>;
748 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
749 reg = <0x0 0xff660000 0x0 0x1000>;
750 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
751 #address-cells = <1>;
754 clocks = <&cru PCLK_I2C1>;
755 pinctrl-names = "default";
756 pinctrl-0 = <&i2c1_xfer>;
761 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
762 reg = <0x0 0xff680000 0x0 0x10>;
764 pinctrl-names = "default";
765 pinctrl-0 = <&pwm0_pin>;
766 clocks = <&cru PCLK_PWM1>;
772 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
773 reg = <0x0 0xff680010 0x0 0x10>;
775 pinctrl-names = "default";
776 pinctrl-0 = <&pwm1_pin>;
777 clocks = <&cru PCLK_PWM1>;
783 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
784 reg = <0x0 0xff680020 0x0 0x10>;
786 clocks = <&cru PCLK_PWM1>;
792 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
793 reg = <0x0 0xff680030 0x0 0x10>;
795 pinctrl-names = "default";
796 pinctrl-0 = <&pwm3_pin>;
797 clocks = <&cru PCLK_PWM1>;
802 uart2: serial@ff690000 {
803 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
804 reg = <0x0 0xff690000 0x0 0x100>;
805 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
806 clock-names = "baudclk", "apb_pclk";
807 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
808 pinctrl-names = "default";
809 pinctrl-0 = <&uart2_xfer>;
815 mbox: mbox@ff6b0000 {
816 compatible = "rockchip,rk3368-mailbox";
817 reg = <0x0 0xff6b0000 0x0 0x1000>;
818 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
819 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
820 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
821 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
822 clocks = <&cru PCLK_MAILBOX>;
823 clock-names = "pclk_mailbox";
828 mailbox: mailbox@ff6b0000 {
829 compatible = "rockchip,rk3368-mbox-legacy";
830 reg = <0x0 0xff6b0000 0x0 0x1000>,
831 <0x0 0xff8cf000 0x0 0x1000>; /* the end 4k of sram */
832 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
833 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
834 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
835 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
836 clocks = <&cru PCLK_MAILBOX>;
837 clock-names = "pclk_mailbox";
842 mailbox_scpi: mailbox-scpi {
843 compatible = "rockchip,rk3368-scpi-legacy";
844 mboxes = <&mailbox 0>, <&mailbox 1>, <&mailbox 2>;
849 pmu: power-management@ff730000 {
850 compatible = "rockchip,rk3368-pmu", "syscon", "simple-mfd";
851 reg = <0x0 0xff730000 0x0 0x1000>;
853 power: power-controller {
855 compatible = "rockchip,rk3368-power-controller";
856 #power-domain-cells = <1>;
857 #address-cells = <1>;
861 * Note: Although SCLK_* are the working clocks
862 * of device without including on the NOC, needed for
865 * The clocks on the which NOC:
866 * ACLK_IEP/ACLK_VIP/ACLK_VOP0 are on ACLK_VIO0_NIU.
867 * ACLK_ISP/ACLK_VOP1 are on ACLK_VIO1_NIU.
868 * ACLK_RGA is on ACLK_RGA_NIU.
869 * The others (HCLK_*,PLCK_*) are on HCLK_VIO_NIU.
871 * Which clock are device clocks:
873 * *_IEP IEP:Image Enhancement Processor
874 * *_ISP ISP:Image Signal Processing
875 * *_VIP VIP:Video Input Processor
876 * *_VOP* VOP:Visual Output Processor
884 reg = <RK3368_PD_VIO>;
885 clocks = <&cru ACLK_IEP>,
897 <&cru HCLK_VIO_HDCPMMU>,
898 <&cru PCLK_EDP_CTRL>,
899 <&cru PCLK_HDMI_CTRL>,
905 <&cru PCLK_MIPI_CSI>,
906 <&cru PCLK_MIPI_DSI0>,
907 <&cru SCLK_VOP0_PWM>,
913 <&cru SCLK_HDMI_CEC>,
914 <&cru SCLK_HDMI_HDCP>;
917 * Note: ACLK_VCODEC/HCLK_VCODEC are VCODEC
918 * (video endecoder & decoder) clocks that on the
919 * ACLK_VCODEC_NIU and HCLK_VCODEC_NIU (NOC).
922 reg = <RK3368_PD_VIDEO>;
923 clocks = <&cru ACLK_VIDEO>,
925 <&cru SCLK_HEVC_CABAC>,
926 <&cru SCLK_HEVC_CORE>;
929 * Note: ACLK_GPU is the GPU clock,
930 * and on the ACLK_GPU_NIU (NOC).
933 reg = <RK3368_PD_GPU_1>;
934 clocks = <&cru ACLK_GPU_CFG>,
936 <&cru SCLK_GPU_CORE>;
941 pmugrf: syscon@ff738000 {
942 compatible = "rockchip,rk3368-pmugrf", "syscon", "simple-mfd";
943 reg = <0x0 0xff738000 0x0 0x1000>;
945 pmu_io_domains: io-domains {
946 compatible = "rockchip,rk3368-pmu-io-voltage-domain";
951 compatible = "syscon-reboot-mode";
953 mode-normal = <BOOT_NORMAL>;
954 mode-recovery = <BOOT_RECOVERY>;
955 mode-bootloader = <BOOT_FASTBOOT>;
956 mode-loader = <BOOT_BL_DOWNLOAD>;
960 cru: clock-controller@ff760000 {
961 compatible = "rockchip,rk3368-cru";
962 reg = <0x0 0xff760000 0x0 0x1000>;
963 rockchip,grf = <&grf>;
967 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
969 <&cru ACLK_BUS>, <&cru ACLK_PERI>,
970 <&cru HCLK_BUS>, <&cru HCLK_PERI>,
971 <&cru PCLK_BUS>, <&cru PCLK_PERI>;
972 assigned-clock-rates =
973 <576000000>, <400000000>,
975 <300000000>, <300000000>,
976 <150000000>, <150000000>,
977 <75000000>, <75000000>;
980 grf: syscon@ff770000 {
981 compatible = "rockchip,rk3368-grf", "syscon", "simple-mfd";
982 reg = <0x0 0xff770000 0x0 0x1000>;
983 #address-cells = <1>;
986 io_domains: io-domains {
987 compatible = "rockchip,rk3368-io-voltage-domain";
991 u2phy: usb2-phy@700 {
992 compatible = "rockchip,rk3368-usb2phy";
994 clocks = <&cru SCLK_OTGPHY0>;
995 clock-names = "phyclk";
997 clock-output-names = "usbotg_out";
998 assigned-clocks = <&cru SCLK_USBPHY480M>;
999 assigned-clock-parents = <&u2phy>;
1000 status = "disabled";
1002 u2phy_host: host-port {
1004 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1005 interrupt-names = "linestate";
1006 status = "disabled";
1011 wdt: watchdog@ff800000 {
1012 compatible = "rockchip,rk3368-wdt", "snps,dw-wdt";
1013 reg = <0x0 0xff800000 0x0 0x100>;
1014 clocks = <&cru PCLK_WDT>;
1015 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1016 status = "disabled";
1020 compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer";
1021 reg = <0x0 0xff810000 0x0 0x20>;
1022 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
1025 i2s_2ch: i2s-2ch@ff890000 {
1026 compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
1027 reg = <0x0 0xff890000 0x0 0x1000>;
1028 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
1029 dmas = <&dmac_bus 6>, <&dmac_bus 7>;
1030 dma-names = "tx", "rx";
1031 clock-names = "i2s_clk", "i2s_hclk";
1032 clocks = <&cru SCLK_I2S_2CH>, <&cru HCLK_I2S_2CH>;
1033 status = "disabled";
1036 i2s_8ch: i2s-8ch@ff898000 {
1037 compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
1038 reg = <0x0 0xff898000 0x0 0x1000>;
1039 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
1040 dmas = <&dmac_bus 0>, <&dmac_bus 1>;
1041 dma-names = "tx", "rx";
1042 clock-names = "i2s_clk", "i2s_hclk";
1043 clocks = <&cru SCLK_I2S_8CH>, <&cru HCLK_I2S_8CH>;
1044 pinctrl-names = "default";
1045 pinctrl-0 = <&i2s_8ch_bus>;
1046 status = "disabled";
1049 isp_mmu: iommu@ff914000 {
1050 compatible = "rockchip,iommu";
1051 reg = <0x0 0xff914000 0x0 0x100>,
1052 <0x0 0xff915000 0x0 0x100>;
1053 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1054 interrupt-names = "isp_mmu";
1056 status = "disabled";
1060 compatible = "rockchip,rk3368-vop";
1061 reg = <0x0 0xff930000 0x0 0x2fc>;
1062 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1063 clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>;
1064 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1065 resets = <&cru SRST_LCDC0_AXI>, <&cru SRST_LCDC0_AHB>, <&cru SRST_LCDC0_DCLK>;
1066 reset-names = "axi", "ahb", "dclk";
1067 power-domains = <&power RK3368_PD_VIO>;
1068 iommus = <&vop_mmu>;
1069 status = "disabled";
1072 #address-cells = <1>;
1077 display_subsystem: display-subsystem {
1078 compatible = "rockchip,display-subsystem";
1080 status = "disabled";
1083 vop_mmu: iommu@ff930300 {
1084 compatible = "rockchip,iommu";
1085 reg = <0x0 0xff930300 0x0 0x100>;
1086 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1087 interrupt-names = "vop_mmu";
1088 clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
1089 clock-names = "aclk", "hclk";
1090 power-domains = <&power RK3368_PD_VIO>;
1092 status = "disabled";
1095 hevc_mmu: iommu@ff9a0440 {
1096 compatible = "rockchip,iommu";
1097 reg = <0x0 0xff9a0440 0x0 0x100>,
1098 <0x0 0xff9a0480 0x0 0x100>;
1099 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1100 interrupt-names = "hevc_mmu";
1101 clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>;
1102 clock-names = "aclk", "hclk";
1103 power-domains = <&power RK3368_PD_VIDEO>;
1105 status = "disabled";
1108 vpu_mmu: iommu@ff9a0800 {
1109 compatible = "rockchip,iommu";
1110 reg = <0x0 0xff9a0800 0x0 0x100>;
1111 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1112 interrupt-names = "vpu_mmu";
1113 clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>;
1114 clock-names = "aclk", "hclk";
1115 power-domains = <&power RK3368_PD_VIDEO>;
1117 status = "disabled";
1120 gic: interrupt-controller@ffb71000 {
1121 compatible = "arm,gic-400";
1122 interrupt-controller;
1123 #interrupt-cells = <3>;
1124 #address-cells = <0>;
1126 reg = <0x0 0xffb71000 0x0 0x1000>,
1127 <0x0 0xffb72000 0x0 0x2000>,
1128 <0x0 0xffb74000 0x0 0x2000>,
1129 <0x0 0xffb76000 0x0 0x2000>;
1130 interrupts = <GIC_PPI 9
1131 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
1134 gpu: rogue-g6110@ffa30000 {
1135 compatible = "arm,rogue-G6110", "arm,rk3368-gpu";
1136 reg = <0x0 0xffa30000 0x0 0x10000>;
1138 <&cru SCLK_GPU_CORE>,
1139 <&cru ACLK_GPU_MEM>,
1140 <&cru ACLK_GPU_CFG>;
1145 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1146 interrupt-names = "rogue-g6110-irq";
1147 operating-points-v2 = <&gpu_opp_table>;
1150 gpu_opp_table: gpu_opp_table {
1151 compatible = "operating-points-v2";
1155 opp-hz = /bits/ 64 <200000000>;
1156 opp-microvolt = <1100000>;
1159 opp-hz = /bits/ 64 <288000000>;
1160 opp-microvolt = <1100000>;
1163 opp-hz = /bits/ 64 <400000000>;
1164 opp-microvolt = <1100000>;
1167 opp-hz = /bits/ 64 <576000000>;
1168 opp-microvolt = <1200000>;
1172 efuse: efuse@ffb00000 {
1173 compatible = "rockchip,rk3368-efuse";
1174 reg = <0x0 0xffb00000 0x0 0x20>;
1175 #address-cells = <1>;
1177 clocks = <&cru PCLK_EFUSE256>;
1178 clock-names = "pclk_efuse";
1181 cpu_leakage: cpu-leakage@17 {
1184 temp_adjust: temp-adjust@1f {
1190 compatible = "rockchip,rk3368-pinctrl";
1191 rockchip,grf = <&grf>;
1192 rockchip,pmu = <&pmugrf>;
1193 #address-cells = <0x2>;
1194 #size-cells = <0x2>;
1197 gpio0: gpio0@ff750000 {
1198 compatible = "rockchip,gpio-bank";
1199 reg = <0x0 0xff750000 0x0 0x100>;
1200 clocks = <&cru PCLK_GPIO0>;
1201 interrupts = <GIC_SPI 0x51 IRQ_TYPE_LEVEL_HIGH>;
1204 #gpio-cells = <0x2>;
1206 interrupt-controller;
1207 #interrupt-cells = <0x2>;
1210 gpio1: gpio1@ff780000 {
1211 compatible = "rockchip,gpio-bank";
1212 reg = <0x0 0xff780000 0x0 0x100>;
1213 clocks = <&cru PCLK_GPIO1>;
1214 interrupts = <GIC_SPI 0x52 IRQ_TYPE_LEVEL_HIGH>;
1217 #gpio-cells = <0x2>;
1219 interrupt-controller;
1220 #interrupt-cells = <0x2>;
1223 gpio2: gpio2@ff790000 {
1224 compatible = "rockchip,gpio-bank";
1225 reg = <0x0 0xff790000 0x0 0x100>;
1226 clocks = <&cru PCLK_GPIO2>;
1227 interrupts = <GIC_SPI 0x53 IRQ_TYPE_LEVEL_HIGH>;
1230 #gpio-cells = <0x2>;
1232 interrupt-controller;
1233 #interrupt-cells = <0x2>;
1236 gpio3: gpio3@ff7a0000 {
1237 compatible = "rockchip,gpio-bank";
1238 reg = <0x0 0xff7a0000 0x0 0x100>;
1239 clocks = <&cru PCLK_GPIO3>;
1240 interrupts = <GIC_SPI 0x54 IRQ_TYPE_LEVEL_HIGH>;
1243 #gpio-cells = <0x2>;
1245 interrupt-controller;
1246 #interrupt-cells = <0x2>;
1249 pcfg_pull_up: pcfg-pull-up {
1253 pcfg_pull_down: pcfg-pull-down {
1257 pcfg_pull_none: pcfg-pull-none {
1261 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1263 drive-strength = <12>;
1267 emmc_clk: emmc-clk {
1268 rockchip,pins = <2 4 RK_FUNC_2 &pcfg_pull_none>;
1271 emmc_cmd: emmc-cmd {
1272 rockchip,pins = <1 26 RK_FUNC_2 &pcfg_pull_up>;
1275 emmc_pwr: emmc-pwr {
1276 rockchip,pins = <1 27 RK_FUNC_2 &pcfg_pull_up>;
1279 emmc_bus1: emmc-bus1 {
1280 rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>;
1283 emmc_bus4: emmc-bus4 {
1284 rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>,
1285 <1 19 RK_FUNC_2 &pcfg_pull_up>,
1286 <1 20 RK_FUNC_2 &pcfg_pull_up>,
1287 <1 21 RK_FUNC_2 &pcfg_pull_up>;
1290 emmc_bus8: emmc-bus8 {
1291 rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>,
1292 <1 19 RK_FUNC_2 &pcfg_pull_up>,
1293 <1 20 RK_FUNC_2 &pcfg_pull_up>,
1294 <1 21 RK_FUNC_2 &pcfg_pull_up>,
1295 <1 22 RK_FUNC_2 &pcfg_pull_up>,
1296 <1 23 RK_FUNC_2 &pcfg_pull_up>,
1297 <1 24 RK_FUNC_2 &pcfg_pull_up>,
1298 <1 25 RK_FUNC_2 &pcfg_pull_up>;
1303 rgmii_pins: rgmii-pins {
1304 rockchip,pins = <3 22 RK_FUNC_1 &pcfg_pull_none>,
1305 <3 24 RK_FUNC_1 &pcfg_pull_none>,
1306 <3 19 RK_FUNC_1 &pcfg_pull_none>,
1307 <3 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
1308 <3 9 RK_FUNC_1 &pcfg_pull_none_12ma>,
1309 <3 10 RK_FUNC_1 &pcfg_pull_none_12ma>,
1310 <3 14 RK_FUNC_1 &pcfg_pull_none_12ma>,
1311 <3 28 RK_FUNC_1 &pcfg_pull_none_12ma>,
1312 <3 13 RK_FUNC_1 &pcfg_pull_none_12ma>,
1313 <3 15 RK_FUNC_1 &pcfg_pull_none>,
1314 <3 16 RK_FUNC_1 &pcfg_pull_none>,
1315 <3 17 RK_FUNC_1 &pcfg_pull_none>,
1316 <3 18 RK_FUNC_1 &pcfg_pull_none>,
1317 <3 25 RK_FUNC_1 &pcfg_pull_none>,
1318 <3 20 RK_FUNC_1 &pcfg_pull_none>;
1321 rmii_pins: rmii-pins {
1322 rockchip,pins = <3 22 RK_FUNC_1 &pcfg_pull_none>,
1323 <3 24 RK_FUNC_1 &pcfg_pull_none>,
1324 <3 19 RK_FUNC_1 &pcfg_pull_none>,
1325 <3 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
1326 <3 9 RK_FUNC_1 &pcfg_pull_none_12ma>,
1327 <3 13 RK_FUNC_1 &pcfg_pull_none_12ma>,
1328 <3 15 RK_FUNC_1 &pcfg_pull_none>,
1329 <3 16 RK_FUNC_1 &pcfg_pull_none>,
1330 <3 20 RK_FUNC_1 &pcfg_pull_none>,
1331 <3 21 RK_FUNC_1 &pcfg_pull_none>;
1336 i2c0_xfer: i2c0-xfer {
1337 rockchip,pins = <0 6 RK_FUNC_1 &pcfg_pull_none>,
1338 <0 7 RK_FUNC_1 &pcfg_pull_none>;
1343 i2c1_xfer: i2c1-xfer {
1344 rockchip,pins = <2 21 RK_FUNC_1 &pcfg_pull_none>,
1345 <2 22 RK_FUNC_1 &pcfg_pull_none>;
1350 i2c2_xfer: i2c2-xfer {
1351 rockchip,pins = <0 9 RK_FUNC_2 &pcfg_pull_none>,
1352 <3 31 RK_FUNC_2 &pcfg_pull_none>;
1357 i2c3_xfer: i2c3-xfer {
1358 rockchip,pins = <1 16 RK_FUNC_1 &pcfg_pull_none>,
1359 <1 17 RK_FUNC_1 &pcfg_pull_none>;
1364 i2c4_xfer: i2c4-xfer {
1365 rockchip,pins = <3 24 RK_FUNC_2 &pcfg_pull_none>,
1366 <3 25 RK_FUNC_2 &pcfg_pull_none>;
1371 i2c5_xfer: i2c5-xfer {
1372 rockchip,pins = <3 26 RK_FUNC_2 &pcfg_pull_none>,
1373 <3 27 RK_FUNC_2 &pcfg_pull_none>;
1378 i2s_8ch_bus: i2s-8ch-bus {
1379 rockchip,pins = <2 12 RK_FUNC_1 &pcfg_pull_none>,
1380 <2 13 RK_FUNC_1 &pcfg_pull_none>,
1381 <2 14 RK_FUNC_1 &pcfg_pull_none>,
1382 <2 15 RK_FUNC_1 &pcfg_pull_none>,
1383 <2 16 RK_FUNC_1 &pcfg_pull_none>,
1384 <2 17 RK_FUNC_1 &pcfg_pull_none>,
1385 <2 18 RK_FUNC_1 &pcfg_pull_none>,
1386 <2 19 RK_FUNC_1 &pcfg_pull_none>,
1387 <2 20 RK_FUNC_1 &pcfg_pull_none>;
1392 pwm0_pin: pwm0-pin {
1393 rockchip,pins = <3 8 RK_FUNC_2 &pcfg_pull_none>;
1396 vop_pwm_pin: vop-pwm {
1397 rockchip,pins = <3 8 RK_FUNC_3 &pcfg_pull_none>;
1402 pwm1_pin: pwm1-pin {
1403 rockchip,pins = <0 8 RK_FUNC_2 &pcfg_pull_none>;
1408 pwm3_pin: pwm3-pin {
1409 rockchip,pins = <3 29 RK_FUNC_3 &pcfg_pull_none>;
1414 sdio0_bus1: sdio0-bus1 {
1415 rockchip,pins = <2 28 RK_FUNC_1 &pcfg_pull_up>;
1418 sdio0_bus4: sdio0-bus4 {
1419 rockchip,pins = <2 28 RK_FUNC_1 &pcfg_pull_up>,
1420 <2 29 RK_FUNC_1 &pcfg_pull_up>,
1421 <2 30 RK_FUNC_1 &pcfg_pull_up>,
1422 <2 31 RK_FUNC_1 &pcfg_pull_up>;
1425 sdio0_cmd: sdio0-cmd {
1426 rockchip,pins = <3 0 RK_FUNC_1 &pcfg_pull_up>;
1429 sdio0_clk: sdio0-clk {
1430 rockchip,pins = <3 1 RK_FUNC_1 &pcfg_pull_none>;
1433 sdio0_cd: sdio0-cd {
1434 rockchip,pins = <3 2 RK_FUNC_1 &pcfg_pull_up>;
1437 sdio0_wp: sdio0-wp {
1438 rockchip,pins = <3 3 RK_FUNC_1 &pcfg_pull_up>;
1441 sdio0_pwr: sdio0-pwr {
1442 rockchip,pins = <3 4 RK_FUNC_1 &pcfg_pull_up>;
1445 sdio0_bkpwr: sdio0-bkpwr {
1446 rockchip,pins = <3 5 RK_FUNC_1 &pcfg_pull_up>;
1449 sdio0_int: sdio0-int {
1450 rockchip,pins = <3 6 RK_FUNC_1 &pcfg_pull_up>;
1455 sdmmc_clk: sdmmc-clk {
1456 rockchip,pins = <2 9 RK_FUNC_1 &pcfg_pull_none>;
1459 sdmmc_cmd: sdmmc-cmd {
1460 rockchip,pins = <2 10 RK_FUNC_1 &pcfg_pull_up>;
1463 sdmmc_cd: sdmmc-cd {
1464 rockchip,pins = <2 11 RK_FUNC_1 &pcfg_pull_up>;
1467 sdmmc_bus1: sdmmc-bus1 {
1468 rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up>;
1471 sdmmc_bus4: sdmmc-bus4 {
1472 rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up>,
1473 <2 6 RK_FUNC_1 &pcfg_pull_up>,
1474 <2 7 RK_FUNC_1 &pcfg_pull_up>,
1475 <2 8 RK_FUNC_1 &pcfg_pull_up>;
1480 spi0_clk: spi0-clk {
1481 rockchip,pins = <1 29 RK_FUNC_2 &pcfg_pull_up>;
1483 spi0_cs0: spi0-cs0 {
1484 rockchip,pins = <1 24 RK_FUNC_3 &pcfg_pull_up>;
1486 spi0_cs1: spi0-cs1 {
1487 rockchip,pins = <1 25 RK_FUNC_3 &pcfg_pull_up>;
1490 rockchip,pins = <1 23 RK_FUNC_3 &pcfg_pull_up>;
1493 rockchip,pins = <1 22 RK_FUNC_3 &pcfg_pull_up>;
1498 spi1_clk: spi1-clk {
1499 rockchip,pins = <1 14 RK_FUNC_2 &pcfg_pull_up>;
1501 spi1_cs0: spi1-cs0 {
1502 rockchip,pins = <1 15 RK_FUNC_2 &pcfg_pull_up>;
1504 spi1_cs1: spi1-cs1 {
1505 rockchip,pins = <3 28 RK_FUNC_2 &pcfg_pull_up>;
1508 rockchip,pins = <1 16 RK_FUNC_2 &pcfg_pull_up>;
1511 rockchip,pins = <1 17 RK_FUNC_2 &pcfg_pull_up>;
1516 spi2_clk: spi2-clk {
1517 rockchip,pins = <0 12 RK_FUNC_2 &pcfg_pull_up>;
1519 spi2_cs0: spi2-cs0 {
1520 rockchip,pins = <0 13 RK_FUNC_2 &pcfg_pull_up>;
1523 rockchip,pins = <0 10 RK_FUNC_2 &pcfg_pull_up>;
1526 rockchip,pins = <0 11 RK_FUNC_2 &pcfg_pull_up>;
1531 otp_gpio: otp-gpio {
1532 rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>;
1536 rockchip,pins = <0 3 RK_FUNC_1 &pcfg_pull_none>;
1541 uart0_xfer: uart0-xfer {
1542 rockchip,pins = <2 24 RK_FUNC_1 &pcfg_pull_up>,
1543 <2 25 RK_FUNC_1 &pcfg_pull_none>;
1546 uart0_cts: uart0-cts {
1547 rockchip,pins = <2 26 RK_FUNC_1 &pcfg_pull_none>;
1550 uart0_rts: uart0-rts {
1551 rockchip,pins = <2 27 RK_FUNC_1 &pcfg_pull_none>;
1556 uart1_xfer: uart1-xfer {
1557 rockchip,pins = <0 20 RK_FUNC_3 &pcfg_pull_up>,
1558 <0 21 RK_FUNC_3 &pcfg_pull_none>;
1561 uart1_cts: uart1-cts {
1562 rockchip,pins = <0 22 RK_FUNC_3 &pcfg_pull_none>;
1565 uart1_rts: uart1-rts {
1566 rockchip,pins = <0 23 RK_FUNC_3 &pcfg_pull_none>;
1571 uart2_xfer: uart2-xfer {
1572 rockchip,pins = <2 6 RK_FUNC_2 &pcfg_pull_up>,
1573 <2 5 RK_FUNC_2 &pcfg_pull_none>;
1575 /* no rts / cts for uart2 */
1579 uart3_xfer: uart3-xfer {
1580 rockchip,pins = <3 29 RK_FUNC_2 &pcfg_pull_up>,
1581 <3 30 RK_FUNC_3 &pcfg_pull_none>;
1584 uart3_cts: uart3-cts {
1585 rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_none>;
1588 uart3_rts: uart3-rts {
1589 rockchip,pins = <3 17 RK_FUNC_2 &pcfg_pull_none>;
1594 uart4_xfer: uart4-xfer {
1595 rockchip,pins = <0 27 RK_FUNC_3 &pcfg_pull_up>,
1596 <0 26 RK_FUNC_3 &pcfg_pull_none>;
1599 uart4_cts: uart4-cts {
1600 rockchip,pins = <0 24 RK_FUNC_3 &pcfg_pull_none>;
1603 uart4_rts: uart4-rts {
1604 rockchip,pins = <0 25 RK_FUNC_3 &pcfg_pull_none>;