1 #include <dt-bindings/interrupt-controller/arm-gic.h>
2 #include <dt-bindings/suspend/rockchip-pm.h>
3 #include <dt-bindings/sensor-dev.h>
4 #include <dt-bindings/clock/rk_system_status.h>
5 #include <dt-bindings/rkfb/rk_fb.h>
7 #include "skeleton.dtsi"
8 #include "rk312x-clocks.dtsi"
9 #include "rk312x-pinctrl.dtsi"
12 compatible = "rockchip,rk312x";
13 rockchip,sram = <&sram>;
14 interrupt-parent = <&gic>;
34 compatible = "arm,cortex-a7";
39 compatible = "arm,cortex-a7";
44 compatible = "arm,cortex-a7";
49 compatible = "arm,cortex-a7";
54 gic: interrupt-controller@10139000 {
55 compatible = "arm,cortex-a15-gic";
57 #interrupt-cells = <3>;
59 reg = <0x10139000 0x1000>,
64 compatible = "arm,cortex-a7-pmu";
65 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
66 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
67 <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
68 <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
71 cpu_axi_bus: cpu_axi_bus {
72 compatible = "rockchip,cpu_axi_bus";
83 reg = <0x10128080 0x20>;
86 reg = <0x1012a000 0x20>;
89 reg = <0x1012c000 0x20>;
92 reg = <0x1012d000 0x20>;
95 reg = <0x1012e000 0x20>;
98 reg = <0x1012f000 0x20>;
101 reg = <0x1012f080 0x20>;
104 reg = <0x1012f100 0x20>;
107 reg = <0x1012f180 0x20>;
108 rockchip,priority = <3 3>;
111 reg = <0x1012f200 0x20>;
112 rockchip,priority = <3 3>;
117 #address-cells = <1>;
122 reg = <0x10128000 0x20>;
123 rockchip,read-latency = <0x3f>;
128 sram: sram@10080000 {
129 compatible = "mmio-sram";
130 reg = <0x10080000 0x2000>;
136 compatible = "arm,armv7-timer";
137 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
138 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
139 clock-frequency = <24000000>;
143 compatible = "rockchip,timer";
144 reg = <0x20044000 0x20>;
145 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
146 rockchip,broadcast = <1>;
149 watchdog: wdt@2004c000 {
150 compatible = "rockchip,watch dog";
151 reg = <0x2004c000 0x100>;
152 // clocks = <&clk_gates7 15>;
153 clock-names = "pclk_wdt";
154 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
156 rockchip,timeout = <60>;
157 rockchip,atboot = <1>;
158 rockchip,debug = <0>;
163 #address-cells = <1>;
165 compatible = "arm,amba-bus";
166 interrupt-parent = <&gic>;
169 pdma: pdma@20078000 {
170 compatible = "arm,pl330", "arm,primecell";
171 reg = <0x20078000 0x4000>;
172 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
173 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
178 reset: reset@20000110 {
179 compatible = "rockchip,reset";
180 reg = <0x20000110 0x24>;
181 rockchip,reset-flag = <ROCKCHIP_RESET_HIWORD_MASK>;
185 nandc: nandc@10500000 {
186 compatible = "rockchip,rk-nandc";
187 reg = <0x10500000 0x4000>;
188 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
189 //pinctrl-names = "default";
190 //pinctrl-0 = <&nandc_ale &nandc_cle &nandc_wrn &nandc_rdn &nandc_rdy &nandc_cs0 &nandc_data>;
192 clocks = <&clk_nandc>, <&clk_gates5 9>, <&clk_gates10 15>;
193 clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
196 nandc0reg: nandc0@10500000 {
197 compatible = "rockchip,rk-nandc";
198 reg = <0x10500000 0x4000>;
200 uart0: serial@20060000 {
201 compatible = "rockchip,serial";
202 reg = <0x20060000 0x100>;
203 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
204 clock-frequency = <24000000>;
205 clocks = <&clk_uart0>, <&clk_gates8 0>;
206 clock-names = "sclk_uart", "pclk_uart";
209 dmas = <&pdma 2>, <&pdma 3>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
216 uart1: serial@20064000 {
217 compatible = "rockchip,serial";
218 reg = <0x20064000 0x100>;
219 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
220 clock-frequency = <24000000>;
221 clocks = <&clk_uart1>, <&clk_gates8 1>;
222 clock-names = "sclk_uart", "pclk_uart";
225 dmas = <&pdma 4>, <&pdma 5>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
232 uart2: serial@20068000 {
233 compatible = "rockchip,serial";
234 reg = <0x20068000 0x100>;
235 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
236 clock-frequency = <24000000>;
237 clocks = <&clk_uart2>, <&clk_gates8 2>;
238 clock-names = "sclk_uart", "pclk_uart";
241 dmas = <&pdma 6>, <&pdma 7>;
243 pinctrl-names = "default";
244 pinctrl-0 = <&uart2_xfer>;
249 compatible = "rockchip,rk312x-gmac";
250 reg = <0x2008c000 0x4000>;
251 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; /*irq=88*/
252 interrupt-names = "macirq";
253 clocks = <&clk_mac_ref>, <&clk_gates2 6>,
254 <&clk_gates2 7>, <&clk_gates2 4>,
255 <&clk_gates2 5>, <&clk_gates10 10>,
257 clock-names = "clk_mac", "mac_clk_rx",
258 "mac_clk_tx", "clk_mac_ref",
259 "clk_mac_refout", "aclk_mac",
262 pinctrl-names = "default";
263 pinctrl-0 = <&gmac_rxdv &gmac_txclk &gmac_crs &gmac_rxclk &gmac_mdio &gmac_txen &gmac_clk &gmac_rxer &gmac_rxd1 &gmac_rxd0 &gmac_txd1 &gmac_txd0 &gmac_rxd3 &gmac_rxd2 &gmac_txd2 &gmac_txd3 &gmac_col_gpio &gmac_mdc>;
267 compatible = "rockchip,fiq-debugger";
268 rockchip,serial-id = <2>;
269 rockchip,signal-irq = <106>;
270 rockchip,wake-irq = <0>;
275 compatible = "rockchip,clocks-init";
276 rockchip,clocks-init-parent =
277 <&clk_core &clk_apll>, <&aclk_cpu &clk_gpll_div2>,
278 <&aclk_peri &clk_gpll_div2>, <&clk_uart0_pll &clk_gpll>,
279 <&clk_uart2_pll &clk_gpll>, <&clk_i2s_2ch_pll &clk_gpll>,
280 <&clk_i2s_8ch_pll &clk_gpll>, <&clk_spdif_pll &clk_gpll>,
281 <&clk_vepu &clk_gpll_div2>, <&clk_vdpu &clk_gpll_div2>,
282 <&clk_hevc_core &clk_gpll>, <&aclk_vio0_pre &clk_gpll_div2>,
283 <&aclk_vio1_pre &clk_gpll_div2>, <&hclk_vio_pre &clk_gpll_div2>,
284 <&sclk_lcdc0 &clk_cpll>, <&clk_gpu &clk_gpll_div2>,
285 <&clk_cif_pll &clk_gpll_div2>, <&dclk_ebc &clk_gpll_div2>,
286 <&clk_emmc &clk_gpll_div2>, <&clk_sdio &clk_gpll_div2>,
287 <&clk_sfc &clk_gpll_div2>, <&clk_sdmmc0 &clk_gpll_div2>,
288 <&clk_tsp &clk_gpll_div2>, <&clk_nandc &clk_gpll_div2>,
289 <&clk_mac_pll &clk_cpll>;
290 rockchip,clocks-init-rate =
291 <&clk_core 816000000>, <&clk_gpll 594000000>,
292 <&clk_cpll 400000000>, <&aclk_cpu 300000000>,
293 <&hclk_cpu_pre 150000000>, <&pclk_cpu_pre 75000000>,
294 <&aclk_peri 300000000>, <&hclk_peri_pre 150000000>,
295 <&pclk_peri_pre 75000000>, <&clk_gpu 300000000>,
296 <&aclk_vio0_pre 300000000>, <&hclk_vio_pre 150000000>,
297 <&aclk_vio1_pre 300000000>, <&clk_vepu 300000000>,
298 <&clk_vdpu 300000000>, <&clk_hevc_core 200000000>,
299 <&clk_mac_ref 125000000>;
300 /* rockchip,clocks-uboot-has-init =
304 compatible = "arm,mali400";
305 reg = <0x10091000 0x200>,
313 reg-names = "Mali_L2",
321 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
322 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
323 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
324 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
325 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
326 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
328 interrupt-names = "Mali_GP_IRQ",
337 compatible = "rockchip,clocks-enable";
340 <&clk_gates0 6>,<&clk_gates0 0>,
344 <&clk_gates0 1>, <&clk_gates0 3>,
345 <&clk_gates0 4>, <&clk_gates0 5>,
349 <&clk_gates10 3>, <&clk_gates10 4>,
350 <&clk_gates10 5>, <&clk_gates10 6>,
351 <&clk_gates10 7>, <&clk_gates10 8>,
354 <&clk_gates2 0>, <&hclk_peri_pre>,
355 <&pclk_peri_pre>, <&clk_gates2 1>,
358 <&clk_gates4 12>,/*aclk_intmem*/
359 <&clk_gates4 10>,/*aclk_strc_sys*/
362 //<&clk_gates5 6>,/*hclk_rom*/
363 <&clk_gates3 5>,/*hclk_crypto*/
366 <&clk_gates5 4>,/*pclk_grf*/
367 <&clk_gates5 7>,/*pclk_ddrupctl*/
368 //<&clk_gates5 14>,/*pclk_acodec*/
369 //<&clk_gates3 8>,/*pclk_hdmi*/
372 //<&clk_gates10 10>,/*aclk_gmac*/
373 <&clk_gates4 3>,/*aclk_peri_axi_matrix*/
374 <&clk_gates5 1>,/*aclk_dmac2*/
375 <&clk_gates9 15>,/*aclk_peri_niu*/
376 <&clk_gates9 2>,/*g_pclk_pmu*/
377 <&clk_gates9 3>,/*g_pclk_pmu_noc*/
378 <&clk_gates4 2>,/*aclk_cpu_peri*/
381 <&clk_gates4 0>,/*hclk_peri_matrix*/
382 //<&clk_gates9 13>,/*hclk_usb_peri*/
383 <&clk_gates9 14>,/*hclk_peri_arbi*/
386 <&clk_gates4 1>,/*pclk_peri_axi_matrix*/
389 //<&clk_gates6 12>,/*hclk_vio_niu*/
390 //<&clk_gates6 1>,/*hclk_lcdc*/
393 //<&clk_gates6 13>,/*aclk_vio*/
394 //<&clk_gates6 0>,/*aclk_lcdc*/
397 //<&clk_gates9 10>,/*aclk_vio1_niu*/
402 <&clk_gates8 2>,/*pclk_uart2*/
407 //<&clk_gates1 3>,/*clk_jtag*/
410 <&clk_gates1 0>;/*pclk_pmu_pre*/
414 compatible = "rockchip,rk30-i2c";
415 reg = <0x20072000 0x1000>;
416 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
417 #address-cells = <1>;
419 pinctrl-names = "default", "gpio";
420 pinctrl-0 = <&i2c0_sda &i2c0_scl>;
421 pinctrl-1 = <&i2c0_gpio>;
422 gpios = <&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
423 clocks = <&clk_gates8 4>;
424 rockchip,check-idle = <1>;
429 compatible = "rockchip,rk30-i2c";
430 reg = <0x20056000 0x1000>;
431 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
432 #address-cells = <1>;
434 pinctrl-names = "default", "gpio";
435 pinctrl-0 = <&i2c1_sda &i2c1_scl>;
436 pinctrl-1 = <&i2c1_gpio>;
437 gpios = <&gpio0 GPIO_A3 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
438 clocks = <&clk_gates8 5>;
439 rockchip,check-idle = <1>;
444 compatible = "rockchip,rk30-i2c";
445 reg = <0x2005a000 0x1000>;
446 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
447 #address-cells = <1>;
449 pinctrl-names = "default", "gpio";
450 pinctrl-0 = <&i2c2_sda &i2c2_scl>;
451 pinctrl-1 = <&i2c2_gpio>;
452 gpios = <&gpio2 GPIO_C4 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>;
453 clocks = <&clk_gates8 6>;
454 rockchip,check-idle = <1>;
459 compatible = "rockchip,rk30-i2c";
460 reg = <0x2005e000 0x1000>;
461 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
462 #address-cells = <1>;
464 pinctrl-names = "default", "gpio";
465 pinctrl-0 = <&i2c3_sda &i2c3_scl>;
466 pinctrl-1 = <&i2c3_gpio>;
467 gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A6 GPIO_ACTIVE_LOW>;
468 clocks = <&clk_gates8 7>;
469 rockchip,check-idle = <1>;
474 compatible = "rockchip-i2s";
475 reg = <0x10220000 0x1000>;
477 clocks = <&clk_i2s_2ch>, <&clk_i2s_2ch_out>, <&clk_gates7 2>;
478 clock-names = "i2s_clk", "i2s_mclk", "i2s_hclk";
479 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
480 dmas = <&pdma 0>, <&pdma 1>;
482 dma-names = "tx", "rx";
483 //pinctrl-names = "default", "sleep";
484 //pinctrl-0 = <&i2s0_mclk &i2s0_sclk &i2s0_lrckrx &i2s0_lrcktx &i2s0_sdi &i2s0_sdo>;
485 //pinctrl-1 = <&i2s0_gpio>;
490 compatible = "rockchip-i2s";
491 reg = <0x10200000 0x1000>;
493 clocks = <&clk_i2s_8ch>, <&clk_gates7 4>;
494 clock-names = "i2s_clk", "i2s_hclk";
495 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
496 dmas = <&pdma 14>, <&pdma 15>;
498 dma-names = "tx", "rx";
501 spdif: spdif@10204000 {
502 compatible = "rockchip-spdif";
503 reg = <0x10204000 0x1000>;
504 clocks = <&clk_spdif>, <&clk_gates10 9>;
505 clock-names = "spdif_mclk", "spdif_hclk";
506 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
510 pinctrl-names = "default";
511 pinctrl-0 = <&spdif_tx>;
514 dsihost0: mipi@10110000{
515 compatible = "rockchip,rk32-dsi";
517 reg = <0x10110000 0x4000>, <0x20038000 0x4000>;
518 reg-names = "mipi_dsi_host" ,"mipi_dsi_phy";
519 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
520 clocks = <&clk_gates2 15>, <&clk_gates5 0> ;//, <&pd_mipidsi>;
521 clock-names = "clk_mipi_24m", "pclk_mipi_dsi";//, "pd_mipi_dsi";
525 emmc: rksdmmc@1021c000 {
526 compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
527 reg = <0x1021c000 0x4000>;
528 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
529 #address-cells = <1>;
531 //pinctrl-names = "default",,"suspend";
532 //pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_wp &sd0_pwr &sd0_bus1 &sd0_bus4>;
533 clocks = <&clk_emmc>, <&clk_gates7 0>;
534 clock-names = "clk_mmc", "hclk_mmc";
536 dma-names = "dw_mci";
538 fifo-depth = <0x100>;
543 sdmmc: rksdmmc@10214000 {
544 compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
545 reg = <0x10214000 0x4000>;
546 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
547 #address-cells = <1>;
549 pinctrl-names = "default", "idle";
550 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
551 pinctrl-1 = <&sdmmc0_gpio>;
552 clocks = <&clk_sdmmc0>, <&clk_gates5 10>;
553 clock-names = "clk_mmc", "hclk_mmc";
555 dma-names = "dw_mci";
557 fifo-depth = <0x100>;
561 sdio: rksdmmc@10218000 {
562 compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
563 reg = <0x10218000 0x4000>;
564 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
565 #address-cells = <1>;
567 pinctrl-names = "default","idle";
568 pinctrl-0 = <&sdio0_pwren &sdio0_cmd &sdio0_clk &sdio0_bus4>;
569 pinctrl-1 = <&sdio0_gpio>;
570 clocks = <&clk_sdio>, <&clk_gates5 11>;
571 clock-names = "clk_mmc", "hclk_mmc";
573 dma-names = "dw_mci";
575 fifo-depth = <0x100>;
580 compatible = "rockchip,saradc";
581 reg = <0x2006c000 0x100>;
582 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
583 #io-channel-cells = <1>;
585 rockchip,adc-vref = <1800>;
586 clock-frequency = <1000000>;
587 clocks = <&clk_saradc>, <&clk_gates7 14>;
588 clock-names = "saradc", "pclk_saradc";
593 compatible = "rockchip,rk-pwm";
594 reg = <0x20050000 0x10>;
596 pinctrl-names = "default";
597 pinctrl-0 = <&pwm0_pin>;
598 clocks = <&clk_gates7 10>;
599 clock-names = "pclk_pwm";
604 compatible = "rockchip,rk-pwm";
605 reg = <0x20050010 0x10>;
607 pinctrl-names = "default";
608 pinctrl-0 = <&pwm1_pin>;
609 clocks = <&clk_gates7 10>;
610 clock-names = "pclk_pwm";
615 compatible = "rockchip,rk-pwm";
616 reg = <0x20050020 0x10>;
618 pinctrl-names = "default";
619 pinctrl-0 = <&pwm2_pin>;
620 clocks = <&clk_gates7 10>;
621 clock-names = "pclk_pwm";
626 compatible = "rockchip,rk-pwm";
627 reg = <0x20050030 0x10>;
629 pinctrl-names = "default";
630 pinctrl-0 = <&pwm3_pin>;
631 clocks = <&clk_gates7 10>;
632 clock-names = "pclk_pwm";
636 remotectl: pwm@20050030 {
637 compatible = "rockchip,remotectl-pwm";
638 reg = <0x20050030 0x10>;
640 pinctrl-names = "default";
641 pinctrl-0 = <&pwm3_pin>;
642 clocks = <&clk_gates7 10>;
643 clock-names = "pclk_pwm";
644 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
647 dwc_control_usb: dwc-control-usb@20008000 {
648 compatible = "rockchip,rk3126-dwc-control-usb";
649 reg = <0x20008000 0x4>;
650 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
651 interrupt-names = "otg_bvalid";
652 clocks = <&clk_gates9 13>;
653 clock-names = "hclk_usb_peri";
654 rockchip,remote_wakeup;
655 rockchip,usb_irq_wakeup;
656 resets = <&reset RK3128_RST_USBPOR>;
657 reset-names = "usbphy_por";
659 compatible = "inno,phy";
660 regbase = &dwc_control_usb;
665 compatible = "rockchip,rk3126_usb20_otg";
666 reg = <0x10180000 0x40000>;
667 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
668 clocks = <&clk_gates1 5>, <&clk_gates5 13>;
669 clock-names = "clk_usbphy0", "hclk_usb0";
670 resets = <&reset RK3128_RST_USBOTG0>, <&reset RK3128_RST_USBOTG0>,
671 <&reset RK3128_RST_OTGC0>;
672 reset-names = "otg_ahb", "otg_phy", "otg_controller";
673 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
674 rockchip,usb-mode = <0>;
678 compatible = "rockchip,rk3126_usb20_host";
679 reg = <0x101c0000 0x40000>;
680 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
681 clocks = <&clk_gates1 6>, <&clk_gates10 14>;
682 clock-names = "clk_usbphy1", "hclk_usb1";
683 resets = <&reset RK3128_RST_USBOTG1>, <&reset RK3128_RST_UTMI1>,
684 <&reset RK3128_RST_OTGC1>;
685 reset-names = "host_ahb", "host_phy", "host_controller";
689 compatible = "rockchip,rk-fb";
690 rockchip,disp-mode = <ONE_DUAL>;
693 rk_screen: rk_screen{
694 compatible = "rockchip,screen";
697 lvds: lvds@20038000 {
698 compatible = "rockchip,rk31xx-lvds";
699 reg = <0x20038000 0x4000>;
700 clocks = <&clk_gates5 0>;
701 clock-names = "pclk_lvds";
704 lcdc: lcdc@1010e000 {
705 compatible = "rockchip,rk312x-lcdc";
706 rockchip,prop = <PRMRY>;
707 reg = <0x1010e000 0x1000>;
708 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
709 clocks = <&clk_gates6 0>, <&dclk_lcdc0>, <&clk_gates6 1>, <&sclk_lcdc0>, <&pd_vop>, <&clk_cpll>;
710 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "sclk_lcdc", "pd_lcdc", "sclk_pll";
711 rockchip,iommu-enabled = <1>;
715 hdmi: hdmi@20034000 {
716 compatible = "rockchip,rk312x-hdmi";
717 reg = <0x20034000 0x4000>;
718 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
719 rockchip,hdmi_lcdc_source = <0>;
720 pinctrl-names = "default", "gpio";
721 pinctrl-0 = <&hdmi_cec &hdmi_sda &hdmi_scl &hdmi_hpd>;
722 pinctrl-1 = <&hdmi_gpio>;
723 clocks = <&clk_gates3 8>, <&pd_hdmi>;
724 clock-names = "pclk_hdmi", "pd_hdmi";
729 compatible = "rockchip,rk312x-tve";
730 reg = <0x1010e200 0x100>;
734 vpu: vpu_service@10106000 {
735 compatible = "vpu_service";
737 reg = <0x10106000 0x800>;
738 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
739 interrupt-names = "irq_enc", "irq_dec";
740 clocks = <&clk_vdpu>, <&hclk_vdpu>;
741 clock-names = "aclk_vcodec", "hclk_vcodec";
742 name = "vpu_service";
746 hevc: hevc_service@10104000 {
747 compatible = "rockchip,hevc_service";
749 reg = <0x10104000 0x400>;
750 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
751 interrupt-names = "irq_dec";
752 clocks = <&clk_vdpu>, <&hclk_vdpu>, <&clk_hevc_core>;
753 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
754 name = "hevc_service";
759 compatible = "rockchip,iep";
761 reg = <0x10108000 0x800>;
762 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
763 clocks = <&clk_gates9 8>, <&clk_gates9 7>;
764 clock-names = "aclk_iep", "hclk_iep";
769 compatible = "rockchip,rk312x-rga";
770 reg = <0x1010c000 0x1000>;
771 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
772 clocks = <&clk_gates6 10>, <&clk_gates6 11>;
773 clock-names = "hclk_rga", "aclk_rga";
779 compatible = "rockchip,vop_mmu";
780 reg = <0x1010e300 0x100>;
781 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
782 interrupt-names = "vop_mmu";
787 compatible = "rockchip,hevc_mmu";
788 reg = <0x10104440 0x40>,
790 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
791 interrupt-names = "hevc_mmu";
796 compatible = "rockchip,vpu_mmu";
797 reg = <0x10106800 0x100>;
798 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
799 interrupt-names = "vpu_mmu";
804 compatible = "rockchip,iep_mmu";
805 reg = <0x10108800 0x100>;
806 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
807 interrupt-names = "iep_mmu";
811 temp-limit-enable = <0>;
815 regulator_name = "vdd_arm";
817 clk_core_dvfs_table: clk_core {
826 normal-temp-limit = <
827 /*delta-temp delta-freq*/
833 performance-temp-limit = <
849 regulator_name = "vdd_logic";
851 clk_ddr_dvfs_table: clk_ddr {
863 clk_gpu_dvfs_table: clk_gpu {
882 compatible = "rockchip,ion";
883 #address-cells = <1>;
886 ion_cma: rockchip,ion-heap@1 { /* CMA HEAP */
887 compatible = "rockchip,ion-reserve";
888 rockchip,ion_heap = <1>;
889 reg = <0x00000000 0x800000>; /* 8MB */
891 rockchip,ion-heap@3 { /* VMALLOC HEAP */
892 rockchip,ion_heap = <3>;
896 compatible = "rockchip,cif";
897 reg = <0x1010a000 0x2000>;
898 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
899 clocks = <&pd_vip>,<&clk_gates6 5>,<&clk_gates6 4>,<&clk_cif0_in>,<&clk_cif_out>;
900 clock-names = "pd_cif0", "aclk_cif0","hclk_cif0","cif0_in","cif0_out";
904 codec_hdmi_spdif: codec-hdmi-spdif {
905 compatible = "hdmi-spdif";
908 rockchip-hdmi-spdif {
909 compatible = "rockchip-hdmi-spdif";
912 audio-codec = <&codec_hdmi_spdif>;
913 i2s-controller = <&spdif>;
917 codec: codec@20030000 {
918 compatible = "rk312x-codec";
919 reg = <0x20030000 0x4000>;
920 //pinctrl-names = "default";
921 //pinctrl-0 = <&i2s_gpio>;
923 pa_enable_time = <1000>;
924 clocks = <&clk_gates5 14>;
925 clock-names = "g_pclk_acodec";
928 compatible = "audio-rk312x";
931 audio-codec = <&codec>;
932 i2s-controller = <&i2s1>;
935 //bitclock-inversion;
941 audio-codec = <&codec>;
942 i2s-controller = <&i2s1>;
945 //bitclock-inversion;
958 |RKPM_CTR_ARMOFF_LPMD
961 rockchip,pmic-suspend_gpios = <