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/display/rk_fb.h>
49 #include <dt-bindings/power/rk3368-power.h>
52 compatible = "rockchip,rk3368";
53 interrupt-parent = <&gic>;
76 #address-cells = <0x2>;
112 entry-method = "psci";
114 cpu_sleep: cpu-sleep-0 {
115 compatible = "arm,idle-state";
116 arm,psci-suspend-param = <0x1010000>;
117 entry-latency-us = <0x3fffffff>;
118 exit-latency-us = <0x40000000>;
119 min-residency-us = <0xffffffff>;
125 compatible = "arm,cortex-a53", "arm,armv8";
127 cpu-idle-states = <&cpu_sleep>;
128 enable-method = "psci";
129 clocks = <&cru ARMCLKL>;
130 operating-points-v2 = <&cluster1_opp>;
135 compatible = "arm,cortex-a53", "arm,armv8";
137 cpu-idle-states = <&cpu_sleep>;
138 enable-method = "psci";
139 operating-points-v2 = <&cluster1_opp>;
144 compatible = "arm,cortex-a53", "arm,armv8";
146 cpu-idle-states = <&cpu_sleep>;
147 enable-method = "psci";
148 operating-points-v2 = <&cluster1_opp>;
153 compatible = "arm,cortex-a53", "arm,armv8";
155 cpu-idle-states = <&cpu_sleep>;
156 enable-method = "psci";
157 operating-points-v2 = <&cluster1_opp>;
162 compatible = "arm,cortex-a53", "arm,armv8";
164 cpu-idle-states = <&cpu_sleep>;
165 enable-method = "psci";
166 clocks = <&cru ARMCLKB>;
167 operating-points-v2 = <&cluster0_opp>;
172 compatible = "arm,cortex-a53", "arm,armv8";
174 cpu-idle-states = <&cpu_sleep>;
175 enable-method = "psci";
176 operating-points-v2 = <&cluster0_opp>;
181 compatible = "arm,cortex-a53", "arm,armv8";
183 cpu-idle-states = <&cpu_sleep>;
184 enable-method = "psci";
185 operating-points-v2 = <&cluster0_opp>;
190 compatible = "arm,cortex-a53", "arm,armv8";
192 cpu-idle-states = <&cpu_sleep>;
193 enable-method = "psci";
194 operating-points-v2 = <&cluster0_opp>;
198 cluster0_opp: opp_table0 {
199 compatible = "operating-points-v2";
203 opp-hz = /bits/ 64 <408000000>;
204 opp-microvolt = <1200000>;
205 clock-latency-ns = <40000>;
209 opp-hz = /bits/ 64 <600000000>;
210 opp-microvolt = <1200000>;
213 opp-hz = /bits/ 64 <816000000>;
214 opp-microvolt = <1200000>;
217 opp-hz = /bits/ 64 <1008000000>;
218 opp-microvolt = <1200000>;
221 opp-hz = /bits/ 64 <1200000000>;
222 opp-microvolt = <1200000>;
226 cluster1_opp: opp_table1 {
227 compatible = "operating-points-v2";
231 opp-hz = /bits/ 64 <408000000>;
232 opp-microvolt = <1200000>;
233 clock-latency-ns = <40000>;
237 opp-hz = /bits/ 64 <600000000>;
238 opp-microvolt = <1200000>;
241 opp-hz = /bits/ 64 <816000000>;
242 opp-microvolt = <1200000>;
245 opp-hz = /bits/ 64 <1008000000>;
246 opp-microvolt = <1200000>;
251 compatible = "arm,armv8-pmuv3";
252 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
253 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
254 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
255 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
256 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
257 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
258 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
259 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
260 interrupt-affinity = <&cpu_l0>, <&cpu_l1>, <&cpu_l2>,
261 <&cpu_l3>, <&cpu_b0>, <&cpu_b1>,
262 <&cpu_b2>, <&cpu_b3>;
266 compatible = "arm,amba-bus";
267 #address-cells = <2>;
271 dmac_peri: dma-controller@ff250000 {
272 compatible = "arm,pl330", "arm,primecell";
273 reg = <0x0 0xff250000 0x0 0x4000>;
274 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
275 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
277 clocks = <&cru ACLK_DMAC_PERI>;
278 clock-names = "apb_pclk";
281 dmac_bus: dma-controller@ff600000 {
282 compatible = "arm,pl330", "arm,primecell";
283 reg = <0x0 0xff600000 0x0 0x4000>;
284 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
285 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
287 clocks = <&cru ACLK_DMAC_BUS>;
288 clock-names = "apb_pclk";
293 compatible = "arm,psci-0.2";
298 compatible = "arm,armv8-timer";
299 interrupts = <GIC_PPI 13
300 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
302 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
304 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
306 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
310 compatible = "fixed-clock";
311 clock-frequency = <24000000>;
312 clock-output-names = "xin24m";
316 sdmmc: rksdmmc@ff0c0000 {
317 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
318 reg = <0x0 0xff0c0000 0x0 0x4000>;
319 clock-freq-min-max = <400000 150000000>;
320 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
321 clock-names = "biu", "ciu";
322 fifo-depth = <0x100>;
323 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
327 sdio0: dwmmc@ff0d0000 {
328 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
329 reg = <0x0 0xff0d0000 0x0 0x4000>;
330 clock-freq-min-max = <400000 150000000>;
331 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>,
332 <&cru SCLK_SDIO0_DRV>, <&cru SCLK_SDIO0_SAMPLE>;
333 clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
334 fifo-depth = <0x100>;
335 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
339 emmc: rksdmmc@ff0f0000 {
340 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
341 reg = <0x0 0xff0f0000 0x0 0x4000>;
342 clock-freq-min-max = <400000 150000000>;
343 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
344 clock-names = "biu", "ciu";
345 fifo-depth = <0x100>;
346 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
350 saradc: saradc@ff100000 {
351 compatible = "rockchip,saradc";
352 reg = <0x0 0xff100000 0x0 0x100>;
353 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
354 #io-channel-cells = <1>;
355 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
356 clock-names = "saradc", "apb_pclk";
361 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
362 reg = <0x0 0xff110000 0x0 0x1000>;
363 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
364 clock-names = "spiclk", "apb_pclk";
365 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
366 pinctrl-names = "default";
367 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
368 #address-cells = <1>;
374 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
375 reg = <0x0 0xff120000 0x0 0x1000>;
376 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
377 clock-names = "spiclk", "apb_pclk";
378 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
379 pinctrl-names = "default";
380 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
381 #address-cells = <1>;
387 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
388 reg = <0x0 0xff130000 0x0 0x1000>;
389 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
390 clock-names = "spiclk", "apb_pclk";
391 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
392 pinctrl-names = "default";
393 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
394 #address-cells = <1>;
400 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
401 reg = <0x0 0xff650000 0x0 0x1000>;
402 clocks = <&cru PCLK_I2C0>;
404 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
405 pinctrl-names = "default";
406 pinctrl-0 = <&i2c0_xfer>;
407 #address-cells = <1>;
413 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
414 reg = <0x0 0xff140000 0x0 0x1000>;
415 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
416 #address-cells = <1>;
419 clocks = <&cru PCLK_I2C2>;
420 pinctrl-names = "default";
421 pinctrl-0 = <&i2c2_xfer>;
426 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
427 reg = <0x0 0xff150000 0x0 0x1000>;
428 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
429 #address-cells = <1>;
432 clocks = <&cru PCLK_I2C3>;
433 pinctrl-names = "default";
434 pinctrl-0 = <&i2c3_xfer>;
439 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
440 reg = <0x0 0xff160000 0x0 0x1000>;
441 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
442 #address-cells = <1>;
445 clocks = <&cru PCLK_I2C4>;
446 pinctrl-names = "default";
447 pinctrl-0 = <&i2c4_xfer>;
452 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
453 reg = <0x0 0xff170000 0x0 0x1000>;
454 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
455 #address-cells = <1>;
458 clocks = <&cru PCLK_I2C5>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&i2c5_xfer>;
464 uart0: serial@ff180000 {
465 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
466 reg = <0x0 0xff180000 0x0 0x100>;
467 clock-frequency = <24000000>;
468 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
469 clock-names = "baudclk", "apb_pclk";
470 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
476 uart1: serial@ff190000 {
477 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
478 reg = <0x0 0xff190000 0x0 0x100>;
479 clock-frequency = <24000000>;
480 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
481 clock-names = "baudclk", "apb_pclk";
482 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
488 uart3: serial@ff1b0000 {
489 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
490 reg = <0x0 0xff1b0000 0x0 0x100>;
491 clock-frequency = <24000000>;
492 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
493 clock-names = "baudclk", "apb_pclk";
494 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
500 uart4: serial@ff1c0000 {
501 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
502 reg = <0x0 0xff1c0000 0x0 0x100>;
503 clock-frequency = <24000000>;
504 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
505 clock-names = "baudclk", "apb_pclk";
506 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
512 gmac: ethernet@ff290000 {
513 compatible = "rockchip,rk3368-gmac";
514 reg = <0x0 0xff290000 0x0 0x10000>;
515 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
516 interrupt-names = "macirq";
517 rockchip,grf = <&grf>;
518 clocks = <&cru SCLK_MAC>,
519 <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
520 <&cru SCLK_MACREF>, <&cru SCLK_MACREF_OUT>,
521 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
522 clock-names = "stmmaceth",
523 "mac_clk_rx", "mac_clk_tx",
524 "clk_mac_ref", "clk_mac_refout",
525 "aclk_mac", "pclk_mac";
529 nandc0: nandc@ff400000 {
530 compatible = "rockchip,rk-nandc";
531 reg = <0x0 0xff400000 0x0 0x4000>;
532 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&cru SCLK_NANDC0>, <&cru HCLK_NANDC0>;
535 clock-names = "clk_nandc", "hclk_nandc";
539 usb_host0_ehci: usb@ff500000 {
540 compatible = "generic-ehci";
541 reg = <0x0 0xff500000 0x0 0x100>;
542 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
543 clocks = <&cru HCLK_HOST0>;
544 clock-names = "usbhost";
548 usb_otg: usb@ff580000 {
549 compatible = "rockchip,rk3368-usb", "rockchip,rk3066-usb",
551 reg = <0x0 0xff580000 0x0 0x40000>;
552 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
553 clocks = <&cru HCLK_OTG0>;
556 g-np-tx-fifo-size = <16>;
557 g-rx-fifo-size = <275>;
558 g-tx-fifo-size = <256 128 128 64 64 32>;
563 ddrpctl: syscon@ff610000 {
564 compatible = "rockchip,rk3368-ddrpctl", "syscon";
565 reg = <0x0 0xff610000 0x0 0x400>;
569 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
570 reg = <0x0 0xff660000 0x0 0x1000>;
571 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
572 #address-cells = <1>;
575 clocks = <&cru PCLK_I2C1>;
576 pinctrl-names = "default";
577 pinctrl-0 = <&i2c1_xfer>;
582 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
583 reg = <0x0 0xff680000 0x0 0x10>;
585 pinctrl-names = "default";
586 pinctrl-0 = <&pwm0_pin>;
587 clocks = <&cru PCLK_PWM1>;
593 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
594 reg = <0x0 0xff680010 0x0 0x10>;
596 pinctrl-names = "default";
597 pinctrl-0 = <&pwm1_pin>;
598 clocks = <&cru PCLK_PWM1>;
604 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
605 reg = <0x0 0xff680020 0x0 0x10>;
607 clocks = <&cru PCLK_PWM1>;
613 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
614 reg = <0x0 0xff680030 0x0 0x10>;
616 pinctrl-names = "default";
617 pinctrl-0 = <&pwm3_pin>;
618 clocks = <&cru PCLK_PWM1>;
623 uart2: serial@ff690000 {
624 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
625 reg = <0x0 0xff690000 0x0 0x100>;
626 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
627 clock-names = "baudclk", "apb_pclk";
628 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
629 pinctrl-names = "default";
630 pinctrl-0 = <&uart2_xfer>;
636 pmu: power-management@ff730000 {
637 compatible = "rockchip,rk3368-pmu", "syscon", "simple-mfd";
638 reg = <0x0 0xff730000 0x0 0x1000>;
640 power: power-controller {
642 compatible = "rockchip,rk3368-power-controller";
643 #power-domain-cells = <1>;
644 #address-cells = <1>;
648 * Note: Although SCLK_* are the working clocks
649 * of device without including on the NOC, needed for
652 * The clocks on the which NOC:
653 * ACLK_IEP/ACLK_VIP/ACLK_VOP0 are on ACLK_VIO0_NIU.
654 * ACLK_ISP/ACLK_VOP1 are on ACLK_VIO1_NIU.
655 * ACLK_RGA is on ACLK_RGA_NIU.
656 * The others (HCLK_*,PLCK_*) are on HCLK_VIO_NIU.
658 * Which clock are device clocks:
660 * *_IEP IEP:Image Enhancement Processor
661 * *_ISP ISP:Image Signal Processing
662 * *_VIP VIP:Video Input Processor
663 * *_VOP* VOP:Visual Output Processor
671 reg = <RK3368_PD_VIO>;
672 clocks = <&cru ACLK_IEP>,
684 <&cru HCLK_VIO_HDCPMMU>,
685 <&cru PCLK_EDP_CTRL>,
686 <&cru PCLK_HDMI_CTRL>,
692 <&cru PCLK_MIPI_CSI>,
693 <&cru PCLK_MIPI_DSI0>,
694 <&cru SCLK_VOP0_PWM>,
700 <&cru SCLK_HDMI_CEC>,
701 <&cru SCLK_HDMI_HDCP>;
704 * Note: ACLK_VCODEC/HCLK_VCODEC are VCODEC
705 * (video endecoder & decoder) clocks that on the
706 * ACLK_VCODEC_NIU and HCLK_VCODEC_NIU (NOC).
709 reg = <RK3368_PD_VIDEO>;
710 clocks = <&cru ACLK_VIDEO>,
712 <&cru SCLK_HEVC_CABAC>,
713 <&cru SCLK_HEVC_CORE>;
716 * Note: ACLK_GPU is the GPU clock,
717 * and on the ACLK_GPU_NIU (NOC).
720 reg = <RK3368_PD_GPU_1>;
721 clocks = <&cru ACLK_GPU_CFG>,
723 <&cru SCLK_GPU_CORE>;
728 pmugrf: syscon@ff738000 {
729 compatible = "rockchip,rk3368-pmugrf", "syscon";
730 reg = <0x0 0xff738000 0x0 0x1000>;
733 cru: clock-controller@ff760000 {
734 compatible = "rockchip,rk3368-cru";
735 reg = <0x0 0xff760000 0x0 0x1000>;
736 rockchip,grf = <&grf>;
740 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
742 <&cru ACLK_BUS>, <&cru ACLK_PERI>,
743 <&cru HCLK_BUS>, <&cru HCLK_PERI>,
744 <&cru PCLK_BUS>, <&cru PCLK_PERI>;
745 assigned-clock-rates =
746 <576000000>, <400000000>,
748 <300000000>, <300000000>,
749 <150000000>, <150000000>,
750 <75000000>, <75000000>;
753 grf: syscon@ff770000 {
754 compatible = "rockchip,rk3368-grf", "syscon";
755 reg = <0x0 0xff770000 0x0 0x1000>;
758 wdt: watchdog@ff800000 {
759 compatible = "rockchip,rk3368-wdt", "snps,dw-wdt";
760 reg = <0x0 0xff800000 0x0 0x100>;
761 clocks = <&cru PCLK_WDT>;
762 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
766 gic: interrupt-controller@ffb71000 {
767 compatible = "arm,gic-400";
768 interrupt-controller;
769 #interrupt-cells = <3>;
770 #address-cells = <0>;
772 reg = <0x0 0xffb71000 0x0 0x1000>,
773 <0x0 0xffb72000 0x0 0x1000>,
774 <0x0 0xffb74000 0x0 0x2000>,
775 <0x0 0xffb76000 0x0 0x2000>;
776 interrupts = <GIC_PPI 9
777 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
780 gpu: rogue-g6110@ffa30000 {
781 compatible = "arm,rogue-G6110", "arm,rk3368-gpu";
782 reg = <0x0 0xffa30000 0x0 0x10000>;
784 <&cru SCLK_GPU_CORE>,
798 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
799 interrupt-names = "rogue-g6110-irq";
802 i2s_2ch: i2s-2ch@ff890000 {
803 compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
804 reg = <0x0 0xff898000 0x0 0x1000>;
805 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
806 #address-cells = <2>;
808 dmas = <&dmac_bus 6>, <&dmac_bus 7>;
809 dma-names = "tx", "rx";
810 clock-names = "i2s_hclk", "i2s_clk";
811 clocks = <&cru HCLK_I2S_2CH>, <&cru SCLK_I2S_2CH>;
815 i2s_8ch: i2s-8ch@ff898000 {
816 compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
817 reg = <0x0 0xff898000 0x0 0x1000>;
818 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
819 #address-cells = <1>;
821 dmas = <&dmac_bus 0>, <&dmac_bus 1>;
822 dma-names = "tx", "rx";
823 clock-names = "i2s_hclk", "i2s_clk";
824 clocks = <&cru HCLK_I2S_8CH>, <&cru SCLK_I2S_8CH>;
825 pinctrl-names = "default";
826 pinctrl-0 = <&i2s_8ch_bus>;
831 compatible = "rockchip,rk3368-isp", "rockchip,isp";
832 reg = <0x0 0xff910000 0x0 0x10000>;
833 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
834 /*power-domains = <&power PD_VIO>;*/
836 <&cru ACLK_RGA>, <&cru HCLK_ISP>, <&cru SCLK_ISP>,
837 <&cru SCLK_ISP>, <&cru PCLK_ISP>, <&cru SCLK_VIP_OUT>,
838 <&cru SCLK_VIP_OUT>, <&cru PCLK_MIPI_CSI>,
839 <&cru PCLK_DPHYRX>, <&cru ACLK_VIO0_NOC>;
841 "aclk_isp", "hclk_isp", "clk_isp",
842 "clk_isp_jpe", "pclkin_isp", "clk_cif_out",
843 "clk_cif_pll", "hclk_mipiphy1",
844 "pclk_dphyrx", "clk_vio0_noc";
846 "default", "isp_dvp8bit2", "isp_dvp10bit", "isp_dvp12bit",
847 "isp_dvp8bit0", "isp_dvp8bit4", "isp_mipi_fl",
848 "isp_mipi_fl_prefl", "isp_flash_as_gpio",
849 "isp_flash_as_trigger_out";
850 pinctrl-0 = <&cif_clkout>;
851 pinctrl-1 = <&cif_clkout &isp_dvp_d2d9>;
852 pinctrl-2 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d0d1>;
853 pinctrl-3 = <&cif_clkout &isp_dvp_d2d9 &isp_dvp_d0d1 &isp_dvp_d10d11>;
854 pinctrl-4 = <&cif_clkout &isp_dvp_d0d7>;
855 pinctrl-5 = <&cif_clkout &isp_dvp_d4d11>;
856 pinctrl-6 = <&cif_clkout>;
857 pinctrl-7 = <&cif_clkout &isp_prelight>;
858 pinctrl-8 = <&isp_flash_trigger_as_gpio>;
859 pinctrl-9 = <&isp_flash_trigger>;
860 rockchip,isp,mipiphy = <2>;
861 rockchip,isp,cifphy = <1>;
862 rockchip,isp,mipiphy1,reg = <0xff964000 0x4000>;
863 rockchip,isp,csiphy,reg = <0xff96C000 0x4000>;
864 rockchip,grf = <&grf>;
865 rockchip,cru = <&cru>;
866 rockchip,gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
867 rockchip,isp,iommu_enable = <1>;
872 compatible = "rockchip,rga2";
874 reg = <0x0 0xff920000 0x0 0x1000>;
875 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
876 clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
877 clock-names = "aclk_rga", "hclk_rga", "clk_rga";
882 compatible = "rockchip,rk3368-pinctrl";
883 rockchip,grf = <&grf>;
884 rockchip,pmu = <&pmugrf>;
885 #address-cells = <0x2>;
889 gpio0: gpio0@ff750000 {
890 compatible = "rockchip,gpio-bank";
891 reg = <0x0 0xff750000 0x0 0x100>;
892 clocks = <&cru PCLK_GPIO0>;
893 interrupts = <GIC_SPI 0x51 IRQ_TYPE_LEVEL_HIGH>;
898 interrupt-controller;
899 #interrupt-cells = <0x2>;
902 gpio1: gpio1@ff780000 {
903 compatible = "rockchip,gpio-bank";
904 reg = <0x0 0xff780000 0x0 0x100>;
905 clocks = <&cru PCLK_GPIO1>;
906 interrupts = <GIC_SPI 0x52 IRQ_TYPE_LEVEL_HIGH>;
911 interrupt-controller;
912 #interrupt-cells = <0x2>;
915 gpio2: gpio2@ff790000 {
916 compatible = "rockchip,gpio-bank";
917 reg = <0x0 0xff790000 0x0 0x100>;
918 clocks = <&cru PCLK_GPIO2>;
919 interrupts = <GIC_SPI 0x53 IRQ_TYPE_LEVEL_HIGH>;
924 interrupt-controller;
925 #interrupt-cells = <0x2>;
928 gpio3: gpio3@ff7a0000 {
929 compatible = "rockchip,gpio-bank";
930 reg = <0x0 0xff7a0000 0x0 0x100>;
931 clocks = <&cru PCLK_GPIO3>;
932 interrupts = <GIC_SPI 0x54 IRQ_TYPE_LEVEL_HIGH>;
937 interrupt-controller;
938 #interrupt-cells = <0x2>;
941 pcfg_pull_up: pcfg-pull-up {
945 pcfg_pull_down: pcfg-pull-down {
949 pcfg_pull_none: pcfg-pull-none {
953 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
955 drive-strength = <12>;
960 rockchip,pins = <2 4 RK_FUNC_2 &pcfg_pull_none>;
964 rockchip,pins = <1 26 RK_FUNC_2 &pcfg_pull_up>;
968 rockchip,pins = <1 27 RK_FUNC_2 &pcfg_pull_up>;
971 emmc_bus1: emmc-bus1 {
972 rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>;
975 emmc_bus4: emmc-bus4 {
976 rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>,
977 <1 19 RK_FUNC_2 &pcfg_pull_up>,
978 <1 20 RK_FUNC_2 &pcfg_pull_up>,
979 <1 21 RK_FUNC_2 &pcfg_pull_up>;
982 emmc_bus8: emmc-bus8 {
983 rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>,
984 <1 19 RK_FUNC_2 &pcfg_pull_up>,
985 <1 20 RK_FUNC_2 &pcfg_pull_up>,
986 <1 21 RK_FUNC_2 &pcfg_pull_up>,
987 <1 22 RK_FUNC_2 &pcfg_pull_up>,
988 <1 23 RK_FUNC_2 &pcfg_pull_up>,
989 <1 24 RK_FUNC_2 &pcfg_pull_up>,
990 <1 25 RK_FUNC_2 &pcfg_pull_up>;
995 rgmii_pins: rgmii-pins {
996 rockchip,pins = <3 22 RK_FUNC_1 &pcfg_pull_none>,
997 <3 24 RK_FUNC_1 &pcfg_pull_none>,
998 <3 19 RK_FUNC_1 &pcfg_pull_none>,
999 <3 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
1000 <3 9 RK_FUNC_1 &pcfg_pull_none_12ma>,
1001 <3 10 RK_FUNC_1 &pcfg_pull_none_12ma>,
1002 <3 14 RK_FUNC_1 &pcfg_pull_none_12ma>,
1003 <3 28 RK_FUNC_1 &pcfg_pull_none_12ma>,
1004 <3 13 RK_FUNC_1 &pcfg_pull_none_12ma>,
1005 <3 15 RK_FUNC_1 &pcfg_pull_none>,
1006 <3 16 RK_FUNC_1 &pcfg_pull_none>,
1007 <3 17 RK_FUNC_1 &pcfg_pull_none>,
1008 <3 18 RK_FUNC_1 &pcfg_pull_none>,
1009 <3 25 RK_FUNC_1 &pcfg_pull_none>,
1010 <3 20 RK_FUNC_1 &pcfg_pull_none>;
1013 rmii_pins: rmii-pins {
1014 rockchip,pins = <3 22 RK_FUNC_1 &pcfg_pull_none>,
1015 <3 24 RK_FUNC_1 &pcfg_pull_none>,
1016 <3 19 RK_FUNC_1 &pcfg_pull_none>,
1017 <3 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
1018 <3 9 RK_FUNC_1 &pcfg_pull_none_12ma>,
1019 <3 13 RK_FUNC_1 &pcfg_pull_none_12ma>,
1020 <3 15 RK_FUNC_1 &pcfg_pull_none>,
1021 <3 16 RK_FUNC_1 &pcfg_pull_none>,
1022 <3 20 RK_FUNC_1 &pcfg_pull_none>,
1023 <3 21 RK_FUNC_1 &pcfg_pull_none>;
1028 hdmii2c_xfer: hdmii2c-xfer {
1029 rockchip,pins = <3 26 RK_FUNC_1 &pcfg_pull_none>,
1030 <3 27 RK_FUNC_1 &pcfg_pull_none>;
1035 hdmi_cec: hdmi-cec {
1036 rockchip,pins = <3 23 RK_FUNC_1 &pcfg_pull_none>;
1041 i2c0_xfer: i2c0-xfer {
1042 rockchip,pins = <0 6 RK_FUNC_1 &pcfg_pull_none>,
1043 <0 7 RK_FUNC_1 &pcfg_pull_none>;
1048 i2c1_xfer: i2c1-xfer {
1049 rockchip,pins = <2 21 RK_FUNC_1 &pcfg_pull_none>,
1050 <2 22 RK_FUNC_1 &pcfg_pull_none>;
1055 i2c2_xfer: i2c2-xfer {
1056 rockchip,pins = <0 9 RK_FUNC_2 &pcfg_pull_none>,
1057 <3 31 RK_FUNC_2 &pcfg_pull_none>;
1062 i2c3_xfer: i2c3-xfer {
1063 rockchip,pins = <1 16 RK_FUNC_1 &pcfg_pull_none>,
1064 <1 17 RK_FUNC_1 &pcfg_pull_none>;
1069 i2c4_xfer: i2c4-xfer {
1070 rockchip,pins = <3 24 RK_FUNC_2 &pcfg_pull_none>,
1071 <3 25 RK_FUNC_2 &pcfg_pull_none>;
1076 i2c5_xfer: i2c5-xfer {
1077 rockchip,pins = <3 26 RK_FUNC_2 &pcfg_pull_none>,
1078 <3 27 RK_FUNC_2 &pcfg_pull_none>;
1080 i2c5_gpio: i2c5-gpio {
1081 rockchip,pins = <3 26 RK_FUNC_GPIO &pcfg_pull_none>,
1082 <3 27 RK_FUNC_GPIO &pcfg_pull_none>;
1087 i2s_8ch_bus: i2s-8ch-bus {
1088 rockchip,pins = <2 12 RK_FUNC_1 &pcfg_pull_none>,
1089 <2 13 RK_FUNC_1 &pcfg_pull_none>,
1090 <2 14 RK_FUNC_1 &pcfg_pull_none>,
1091 <2 15 RK_FUNC_1 &pcfg_pull_none>,
1092 <2 16 RK_FUNC_1 &pcfg_pull_none>,
1093 <2 17 RK_FUNC_1 &pcfg_pull_none>,
1094 <2 18 RK_FUNC_1 &pcfg_pull_none>,
1095 <2 19 RK_FUNC_1 &pcfg_pull_none>,
1096 <2 20 RK_FUNC_1 &pcfg_pull_none>;
1101 sdio0_bus1: sdio0-bus1 {
1102 rockchip,pins = <2 28 RK_FUNC_1 &pcfg_pull_up>;
1105 sdio0_bus4: sdio0-bus4 {
1106 rockchip,pins = <2 28 RK_FUNC_1 &pcfg_pull_up>,
1107 <2 29 RK_FUNC_1 &pcfg_pull_up>,
1108 <2 30 RK_FUNC_1 &pcfg_pull_up>,
1109 <2 31 RK_FUNC_1 &pcfg_pull_up>;
1112 sdio0_cmd: sdio0-cmd {
1113 rockchip,pins = <3 0 RK_FUNC_1 &pcfg_pull_up>;
1116 sdio0_clk: sdio0-clk {
1117 rockchip,pins = <3 1 RK_FUNC_1 &pcfg_pull_none>;
1120 sdio0_cd: sdio0-cd {
1121 rockchip,pins = <3 2 RK_FUNC_1 &pcfg_pull_up>;
1124 sdio0_wp: sdio0-wp {
1125 rockchip,pins = <3 3 RK_FUNC_1 &pcfg_pull_up>;
1128 sdio0_pwr: sdio0-pwr {
1129 rockchip,pins = <3 4 RK_FUNC_1 &pcfg_pull_up>;
1132 sdio0_bkpwr: sdio0-bkpwr {
1133 rockchip,pins = <3 5 RK_FUNC_1 &pcfg_pull_up>;
1136 sdio0_int: sdio0-int {
1137 rockchip,pins = <3 6 RK_FUNC_1 &pcfg_pull_up>;
1142 sdmmc_clk: sdmmc-clk {
1143 rockchip,pins = <2 9 RK_FUNC_1 &pcfg_pull_none>;
1146 sdmmc_cmd: sdmmc-cmd {
1147 rockchip,pins = <2 10 RK_FUNC_1 &pcfg_pull_up>;
1150 sdmmc_cd: sdmcc-cd {
1151 rockchip,pins = <2 11 RK_FUNC_1 &pcfg_pull_up>;
1154 sdmmc_bus1: sdmmc-bus1 {
1155 rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up>;
1158 sdmmc_bus4: sdmmc-bus4 {
1159 rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up>,
1160 <2 6 RK_FUNC_1 &pcfg_pull_up>,
1161 <2 7 RK_FUNC_1 &pcfg_pull_up>,
1162 <2 8 RK_FUNC_1 &pcfg_pull_up>;
1167 spi0_clk: spi0-clk {
1168 rockchip,pins = <1 29 RK_FUNC_2 &pcfg_pull_up>;
1170 spi0_cs0: spi0-cs0 {
1171 rockchip,pins = <1 24 RK_FUNC_3 &pcfg_pull_up>;
1173 spi0_cs1: spi0-cs1 {
1174 rockchip,pins = <1 25 RK_FUNC_3 &pcfg_pull_up>;
1177 rockchip,pins = <1 23 RK_FUNC_3 &pcfg_pull_up>;
1180 rockchip,pins = <1 22 RK_FUNC_3 &pcfg_pull_up>;
1185 spi1_clk: spi1-clk {
1186 rockchip,pins = <1 14 RK_FUNC_2 &pcfg_pull_up>;
1188 spi1_cs0: spi1-cs0 {
1189 rockchip,pins = <1 15 RK_FUNC_2 &pcfg_pull_up>;
1191 spi1_cs1: spi1-cs1 {
1192 rockchip,pins = <3 28 RK_FUNC_2 &pcfg_pull_up>;
1195 rockchip,pins = <1 16 RK_FUNC_2 &pcfg_pull_up>;
1198 rockchip,pins = <1 17 RK_FUNC_2 &pcfg_pull_up>;
1203 spi2_clk: spi2-clk {
1204 rockchip,pins = <0 12 RK_FUNC_2 &pcfg_pull_up>;
1206 spi2_cs0: spi2-cs0 {
1207 rockchip,pins = <0 13 RK_FUNC_2 &pcfg_pull_up>;
1210 rockchip,pins = <0 10 RK_FUNC_2 &pcfg_pull_up>;
1213 rockchip,pins = <0 11 RK_FUNC_2 &pcfg_pull_up>;
1218 uart0_xfer: uart0-xfer {
1219 rockchip,pins = <2 24 RK_FUNC_1 &pcfg_pull_up>,
1220 <2 25 RK_FUNC_1 &pcfg_pull_none>;
1223 uart0_cts: uart0-cts {
1224 rockchip,pins = <2 26 RK_FUNC_1 &pcfg_pull_none>;
1227 uart0_rts: uart0-rts {
1228 rockchip,pins = <2 27 RK_FUNC_1 &pcfg_pull_none>;
1233 uart1_xfer: uart1-xfer {
1234 rockchip,pins = <0 20 RK_FUNC_3 &pcfg_pull_up>,
1235 <0 21 RK_FUNC_3 &pcfg_pull_none>;
1238 uart1_cts: uart1-cts {
1239 rockchip,pins = <0 22 RK_FUNC_3 &pcfg_pull_none>;
1242 uart1_rts: uart1-rts {
1243 rockchip,pins = <0 23 RK_FUNC_3 &pcfg_pull_none>;
1248 uart2_xfer: uart2-xfer {
1249 rockchip,pins = <2 6 RK_FUNC_2 &pcfg_pull_up>,
1250 <2 5 RK_FUNC_2 &pcfg_pull_none>;
1252 /* no rts / cts for uart2 */
1256 uart3_xfer: uart3-xfer {
1257 rockchip,pins = <3 29 RK_FUNC_2 &pcfg_pull_up>,
1258 <3 30 RK_FUNC_3 &pcfg_pull_none>;
1261 uart3_cts: uart3-cts {
1262 rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_none>;
1265 uart3_rts: uart3-rts {
1266 rockchip,pins = <3 17 RK_FUNC_2 &pcfg_pull_none>;
1271 uart4_xfer: uart4-xfer {
1272 rockchip,pins = <0 27 RK_FUNC_3 &pcfg_pull_up>,
1273 <0 26 RK_FUNC_3 &pcfg_pull_none>;
1276 uart4_cts: uart4-cts {
1277 rockchip,pins = <0 24 RK_FUNC_3 &pcfg_pull_none>;
1280 uart4_rts: uart4-rts {
1281 rockchip,pins = <0 25 RK_FUNC_3 &pcfg_pull_none>;
1286 pwm0_pin: pwm0-pin {
1287 rockchip,pins = <3 8 RK_FUNC_2 &pcfg_pull_none>;
1290 vop_pwm_pin: vop-pwm {
1291 rockchip,pins = <3 8 RK_FUNC_3 &pcfg_pull_none>;
1296 pwm1_pin: pwm1-pin {
1297 rockchip,pins = <0 8 RK_FUNC_2 &pcfg_pull_none>;
1302 pwm3_pin: pwm3-pin {
1303 rockchip,pins = <3 29 RK_FUNC_3 &pcfg_pull_none>;
1308 lcdc_lcdc: lcdc-lcdc {
1310 <0 14 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D10
1311 <0 15 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D11
1312 <0 16 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D12
1313 <0 17 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D13
1314 <0 18 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D14
1315 <0 18 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D15
1316 <0 20 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D16
1317 <0 21 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D17
1318 <0 22 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D18
1319 <0 23 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D19
1320 <0 24 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D20
1321 <0 25 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D21
1322 <0 26 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D22
1323 <0 27 RK_FUNC_1 &pcfg_pull_none>,//LCDC_D23
1324 <0 31 RK_FUNC_1 &pcfg_pull_none>,//DCLK
1325 <0 30 RK_FUNC_1 &pcfg_pull_none>,//DEN
1326 <0 28 RK_FUNC_1 &pcfg_pull_none>,//HSYNC
1327 <0 29 RK_FUNC_1 &pcfg_pull_none>;//VSYN
1330 lcdc_gpio: lcdc-gpio {
1332 <0 14 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D10
1333 <0 15 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D11
1334 <0 16 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D12
1335 <0 17 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D13
1336 <0 18 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D14
1337 <0 19 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D15
1338 <0 20 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D16
1339 <0 21 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D17
1340 <0 22 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D18
1341 <0 23 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D19
1342 <0 24 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D20
1343 <0 25 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D21
1344 <0 26 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D22
1345 <0 27 RK_FUNC_GPIO &pcfg_pull_none>,//LCDC_D23
1346 <0 31 RK_FUNC_GPIO &pcfg_pull_none>,//DCLK
1347 <0 30 RK_FUNC_GPIO &pcfg_pull_none>,//DEN
1348 <0 28 RK_FUNC_GPIO &pcfg_pull_none>,//HSYNC
1349 <0 29 RK_FUNC_GPIO &pcfg_pull_none>;//VSYN
1354 cif_clkout: cif-clkout {
1355 rockchip,pins = <1 11 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
1358 isp_dvp_d2d9: isp-dvp-d2d9 {
1360 <1 0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
1361 <1 1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
1362 <1 2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1363 <1 3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1364 <1 4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1365 <1 5 RK_FUNC_1 &pcfg_pull_none>,//cif_data7
1366 <1 6 RK_FUNC_1 &pcfg_pull_none>,//cif_data8
1367 <1 7 RK_FUNC_1 &pcfg_pull_none>,//cif_data9
1368 <1 8 RK_FUNC_1 &pcfg_pull_none>,//cif_sync
1369 <1 9 RK_FUNC_1 &pcfg_pull_none>,//cif_href
1370 <1 10 RK_FUNC_1 &pcfg_pull_none>,//cif_clkin
1371 <1 11 RK_FUNC_1 &pcfg_pull_none>;//cif_clkout
1374 isp_dvp_d0d1: isp-dvp-d0d1 {
1376 <1 12 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
1377 <1 13 RK_FUNC_1 &pcfg_pull_none>;//cif_data1
1380 isp_dvp_d10d11:isp_d10d11 {
1382 <1 14 RK_FUNC_1 &pcfg_pull_none>,//cif_data10
1383 <1 15 RK_FUNC_1 &pcfg_pull_none>;//cif_data11
1386 isp_dvp_d0d7: isp-dvp-d0d7 {
1388 <1 12 RK_FUNC_1 &pcfg_pull_none>,//cif_data0
1389 <1 13 RK_FUNC_1 &pcfg_pull_none>,//cif_data1
1390 <1 0 RK_FUNC_1 &pcfg_pull_none>,//cif_data2
1391 <1 1 RK_FUNC_1 &pcfg_pull_none>,//cif_data3
1392 <1 2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1393 <1 3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1394 <1 4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1395 <1 5 RK_FUNC_1 &pcfg_pull_none>;//cif_data7
1398 isp_dvp_d4d11: isp-dvp-d4d11 {
1400 <1 2 RK_FUNC_1 &pcfg_pull_none>,//cif_data4
1401 <1 3 RK_FUNC_1 &pcfg_pull_none>,//cif_data5
1402 <1 4 RK_FUNC_1 &pcfg_pull_none>,//cif_data6
1403 <1 5 RK_FUNC_1 &pcfg_pull_none>,//cif_data7
1404 <1 6 RK_FUNC_1 &pcfg_pull_none>,//cif_data8
1405 <1 7 RK_FUNC_1 &pcfg_pull_none>,//cif_data9
1406 <1 14 RK_FUNC_1 &pcfg_pull_none>,//cif_data10
1407 <1 17 RK_FUNC_1 &pcfg_pull_none>;//cif_data11
1410 isp_shutter: isp-shutter {
1412 <3 19 RK_FUNC_2 &pcfg_pull_none>, //SHUTTEREN
1413 <3 22 RK_FUNC_2 &pcfg_pull_none>;//SHUTTERTRIG
1416 isp_flash_trigger: isp-flash-trigger {
1417 rockchip,pins = <3 20 RK_FUNC_2 &pcfg_pull_none>; //ISP_FLASHTRIGOU
1420 isp_prelight: isp-prelight {
1421 rockchip,pins = <3 21 RK_FUNC_2 &pcfg_pull_none>;//ISP_PRELIGHTTRIG
1424 isp_flash_trigger_as_gpio: isp_flash_trigger_as_gpio {
1425 rockchip,pins = <3 20 RK_FUNC_GPIO &pcfg_pull_none>;//ISP_FLASHTRIGOU
1431 compatible = "rockchip,rk-fb";
1432 rockchip,disp-mode = <NO_DUAL>;
1433 status = "disabled";
1437 compatible = "rockchip,screen";
1438 status = "disabled";
1441 lcdc: lcdc@ff930000 {
1442 compatible = "rockchip,rk3368-lcdc";
1443 rockchip,grf = <&grf>;
1444 rockchip,pmugrf = <&pmugrf>;
1445 rockchip,cru = <&cru>;
1446 rockchip,prop = <PRMRY>;
1447 rockchip,pwr18 = <0>;
1448 rockchip,iommu-enabled = <1>;
1449 reg = <0x0 0xff930000 0x0 0x10000>;
1450 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1451 clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>;
1452 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc";
1453 /*power-domains = <&power PD_VIO>;*/
1454 resets = <&cru SRST_LCDC0_AXI>, <&cru SRST_LCDC0_AHB>, <&cru SRST_LCDC0_DCLK>;
1455 reset-names = "axi", "ahb", "dclk";
1456 status = "disabled";
1459 mipi: mipi@ff960000 {
1460 compatible = "rockchip,rk3368-dsi";
1461 rockchip,prop = <0>;
1462 reg = <0x0 0xff960000 0x0 0x4000>, <0x0 0xff968000 0x0 0x4000>;
1463 reg-names = "mipi_dsi_host" ,"mipi_dsi_phy";
1464 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
1465 clocks = <&cru SCLK_MIPIDSI_24M>, <&cru PCLK_DPHYTX0>, <&cru PCLK_MIPI_DSI0>;
1466 clock-names = "clk_mipi_24m", "pclk_mipi_dsi", "pclk_mipi_dsi_host";
1467 /*power-domains = <&power PD_VIO>;*/
1468 status = "disabled";
1471 lvds: lvds@ff968000 {
1472 compatible = "rockchip,rk3368-lvds";
1473 rockchip,grf = <&grf>;
1474 reg = <0x0 0xff968000 0x0 0x4000>, <0x0 0xff9600a0 0x0 0x20>;
1475 reg-names = "mipi_lvds_phy", "mipi_lvds_ctl";
1476 clocks = <&cru PCLK_DPHYTX0>, <&cru PCLK_MIPI_DSI0>;
1477 clock-names = "pclk_lvds", "pclk_lvds_ctl";
1478 /*power-domains = <&power PD_VIO>;*/
1479 status = "disabled";
1483 compatible = "rockchip,rk32-edp";
1484 reg = <0x0 0xff970000 0x0 0x4000>;
1485 rockchip,grf = <&grf>;
1486 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
1487 clocks = <&cru SCLK_EDP>, <&cru SCLK_EDP_24M>, <&cru PCLK_EDP_CTRL>;
1488 clock-names = "clk_edp", "clk_edp_24m", "pclk_edp";
1489 /*power-domains = <&power PD_VIO>;*/
1490 resets = <&cru SRST_EDP_24M>, <&cru SRST_EDP>;
1491 reset-names = "edp_24m", "edp_apb";
1492 status = "disabled";
1495 hdmi: hdmi@ff980000 {
1496 compatible = "rockchip,rk3368-hdmi";
1497 reg = <0x0 0xff980000 0x0 0x20000>;
1498 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
1499 clocks = <&cru PCLK_HDMI_CTRL>,
1500 <&cru SCLK_HDMI_HDCP>,
1501 <&cru SCLK_HDMI_CEC>;
1502 clock-names = "pclk_hdmi", "hdcp_clk_hdmi", "cec_clk_hdmi";
1503 /*power-domains = <&power PD_VIO>;*/
1504 resets = <&cru SRST_HDMI>;
1505 reset-names = "hdmi";
1506 pinctrl-names = "default", "gpio";
1507 pinctrl-0 = <&hdmii2c_xfer &hdmi_cec>;
1508 pinctrl-1 = <&i2c5_gpio>;
1509 status = "disabled";
1514 compatible = "rockchip,iep_mmu";
1515 reg = <0x0 0xff900800 0x0 0x100>;
1516 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1517 interrupt-names = "iep_mmu";
1518 status = "disabled";
1523 compatible = "rockchip,vip_mmu";
1524 reg = <0x0 0xff950800 0x0 0x100>;
1525 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
1526 interrupt-names = "vip_mmu";
1527 status = "disabled";
1530 vopb_mmu: vopb-mmu {
1532 compatible = "rockchip,vopb_mmu";
1533 reg = <0x0 0xff930300 0x0 0x100>;
1534 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1535 interrupt-names = "vop_mmu";
1536 status = "disabled";
1540 dbgname = "isp_mmu";
1541 compatible = "rockchip,isp_mmu";
1542 reg = <0x0 0xff914000 0x0 0x100>,
1543 <0x0 0xff915000 0x0 0x100>;
1544 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1545 interrupt-names = "isp_mmu";
1546 status = "disabled";
1549 hdcp_mmu: hdcp-mmu {
1550 dbgname = "hdcp_mmu";
1551 compatible = "rockchip,hdcp_mmu";
1552 reg = <0x0 0xff940000 0x0 0x100>;
1553 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1554 interrupt-names = "hdcp_mmu";
1555 status = "disabled";
1558 hevc_mmu: hevc-mmu {
1560 compatible = "rockchip,hevc_mmu";
1561 reg = <0x0 0xff9a0440 0x0 0x40>,
1562 <0x0 0xff9a0480 0x0 0x40>;
1563 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1564 interrupt-names = "hevc_mmu";
1565 status = "disabled";
1570 compatible = "rockchip,vpu_mmu";
1571 reg = <0x0 0xff9a0800 0x0 0x100>;
1572 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
1573 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1574 interrupt-names = "vepu_mmu", "vdpu_mmu";
1575 status = "disabled";