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>;
72 compatible = "mmio-sram";
73 reg = <0x10080000 0x2000>;
78 compatible = "arm,armv7-timer";
79 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
80 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
81 clock-frequency = <24000000>;
85 compatible = "rockchip,timer";
86 reg = <0x20044000 0x20>;
87 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
88 rockchip,broadcast = <1>;
91 watchdog: wdt@2004c000 {
92 compatible = "rockchip,watch dog";
93 reg = <0x2004c000 0x100>;
94 // clocks = <&clk_gates7 15>;
95 clock-names = "pclk_wdt";
96 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
98 rockchip,timeout = <60>;
99 rockchip,atboot = <1>;
100 rockchip,debug = <0>;
105 #address-cells = <1>;
107 compatible = "arm,amba-bus";
108 interrupt-parent = <&gic>;
111 pdma: pdma@20078000 {
112 compatible = "arm,pl330", "arm,primecell";
113 reg = <0x20078000 0x4000>;
114 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
115 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
120 reset: reset@20000110 {
121 compatible = "rockchip,reset";
122 reg = <0x20000110 0x24>;
123 rockchip,reset-flag = <ROCKCHIP_RESET_HIWORD_MASK>;
127 nandc: nandc@10500000 {
128 compatible = "rockchip,rk-nandc";
129 reg = <0x10500000 0x4000>;
130 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
131 //pinctrl-names = "default";
132 //pinctrl-0 = <&nandc_ale &nandc_cle &nandc_wrn &nandc_rdn &nandc_rdy &nandc_cs0 &nandc_data>;
134 clocks = <&clk_nandc>, <&clk_gates5 9>, <&clk_gates10 15>;
135 clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
138 nandc0reg: nandc0@10500000 {
139 compatible = "rockchip,rk-nandc";
140 reg = <0x10500000 0x4000>;
142 uart0: serial@20060000 {
143 compatible = "rockchip,serial";
144 reg = <0x20060000 0x100>;
145 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
146 clock-frequency = <24000000>;
147 clocks = <&clk_uart0>, <&clk_gates8 0>;
148 clock-names = "sclk_uart", "pclk_uart";
151 dmas = <&pdma 2>, <&pdma 3>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
158 uart1: serial@20064000 {
159 compatible = "rockchip,serial";
160 reg = <0x20064000 0x100>;
161 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
162 clock-frequency = <24000000>;
163 clocks = <&clk_uart1>, <&clk_gates8 1>;
164 clock-names = "sclk_uart", "pclk_uart";
167 dmas = <&pdma 4>, <&pdma 5>;
169 pinctrl-names = "default";
170 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
174 uart2: serial@20068000 {
175 compatible = "rockchip,serial";
176 reg = <0x20068000 0x100>;
177 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
178 clock-frequency = <24000000>;
179 clocks = <&clk_uart2>, <&clk_gates8 2>;
180 clock-names = "sclk_uart", "pclk_uart";
183 dmas = <&pdma 6>, <&pdma 7>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&uart2_xfer>;
191 compatible = "rockchip,gmac";
192 reg = <0x2008c000 0x4000>;
193 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; /*irq=88*/
194 interrupt-names = "macirq";
195 clocks = <&clk_mac_ref>, <&clk_gates2 6>,
196 <&clk_gates2 7>, <&clk_gates2 4>,
199 clock-names = "clk_mac", "mac_clk_rx",
200 "mac_clk_tx", "clk_mac_ref",
205 pinctrl-names = "default";
206 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>;
210 compatible = "rockchip,fiq-debugger";
211 rockchip,serial-id = <2>;
212 rockchip,signal-irq = <106>;
213 rockchip,wake-irq = <0>;
218 compatible = "rockchip,clocks-init";
219 rockchip,clocks-init-parent =
220 <&clk_core &clk_apll>, <&aclk_cpu &clk_gpll_div2>,
221 <&aclk_peri &clk_gpll_div2>, <&clk_uart0_pll &clk_gpll>,
222 <&clk_uart2_pll &clk_gpll>, <&clk_i2s_2ch_pll &clk_gpll>,
223 <&clk_i2s_8ch_pll &clk_gpll>, <&clk_spdif_pll &clk_gpll>,
224 <&clk_vepu &clk_gpll_div2>, <&clk_vdpu &clk_gpll_div2>,
225 <&clk_hevc_core &clk_gpll>, <&aclk_vio0_pre &clk_gpll_div2>,
226 <&aclk_vio1_pre &clk_gpll_div2>, <&hclk_vio_pre &clk_gpll_div2>,
227 <&sclk_lcdc0 &clk_cpll>, <&clk_gpu &clk_gpll_div2>,
228 <&clk_cif_pll &clk_gpll_div2>, <&dclk_ebc &clk_gpll_div2>,
229 <&clk_emmc &clk_gpll_div2>, <&clk_sdio &clk_gpll_div2>,
230 <&clk_sfc &clk_gpll_div2>, <&clk_sdmmc0 &clk_gpll_div2>,
231 <&clk_tsp &clk_gpll_div2>, <&clk_nandc &clk_gpll_div2>,
232 <&clk_mac_pll &clk_cpll>;
233 rockchip,clocks-init-rate =
234 <&clk_core 816000000>, <&clk_gpll 594000000>,
235 <&clk_cpll 400000000>, <&aclk_cpu 300000000>,
236 <&hclk_cpu_pre 150000000>, <&pclk_cpu_pre 75000000>,
237 <&aclk_peri 300000000>, <&hclk_peri_pre 150000000>,
238 <&pclk_peri_pre 75000000>, <&clk_gpu 300000000>,
239 <&aclk_vio0_pre 300000000>, <&hclk_vio_pre 150000000>,
240 <&aclk_vio1_pre 300000000>, <&clk_vepu 300000000>,
241 <&clk_vdpu 300000000>, <&clk_hevc_core 200000000>,
242 <&clk_mac_ref 125000000>;
243 /* rockchip,clocks-uboot-has-init =
247 compatible = "arm,mali400";
248 reg = <0x10091000 0x200>,
256 reg-names = "Mali_L2",
264 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
265 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
266 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
267 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
268 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
269 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
271 interrupt-names = "Mali_GP_IRQ",
280 compatible = "rockchip,clocks-enable";
283 <&clk_gates0 6>,<&clk_gates0 0>,
287 <&clk_gates0 1>, <&clk_gates0 3>,
288 <&clk_gates0 4>, <&clk_gates0 5>,
292 <&clk_gates10 3>, <&clk_gates10 4>,
293 <&clk_gates10 5>, <&clk_gates10 6>,
294 <&clk_gates10 7>, <&clk_gates10 8>,
297 <&clk_gates2 0>, <&hclk_peri_pre>,
298 <&pclk_peri_pre>, <&clk_gates2 1>,
301 <&clk_gates4 12>,/*aclk_intmem*/
302 <&clk_gates4 10>,/*aclk_strc_sys*/
305 <&clk_gates5 6>,/*hclk_rom*/
306 <&clk_gates3 5>,/*hclk_crypto*/
309 <&clk_gates5 4>,/*pclk_grf*/
310 <&clk_gates5 7>,/*pclk_ddrupctl*/
311 <&clk_gates5 14>,/*pclk_acodec*/
312 <&clk_gates3 8>,/*pclk_hdmi*/
315 <&clk_gates10 10>,/*aclk_gmac*/
316 <&clk_gates4 3>,/*aclk_peri_axi_matrix*/
317 <&clk_gates5 1>,/*aclk_dmac2*/
318 <&clk_gates9 15>,/*aclk_peri_niu*/
319 <&clk_gates4 2>,/*aclk_cpu_peri*/
322 <&clk_gates4 0>,/*hclk_peri_matrix*/
323 <&clk_gates9 13>,/*hclk_usb_peri*/
324 <&clk_gates9 14>,/*hclk_peri_arbi*/
327 <&clk_gates4 1>,/*pclk_peri_axi_matrix*/
330 <&clk_gates6 12>,/*hclk_vio_niu*/
331 <&clk_gates6 1>,/*hclk_lcdc*/
334 <&clk_gates6 13>,/*aclk_vio*/
335 <&clk_gates6 0>,/*aclk_lcdc*/
338 <&clk_gates9 10>,/*aclk_vio1_niu*/
343 <&clk_gates8 2>,/*pclk_uart2*/
348 <&clk_gates1 3>,/*clk_jtag*/
351 <&clk_gates1 0>;/*pclk_pmu_pre*/
355 compatible = "rockchip,rk30-i2c";
356 reg = <0x20072000 0x1000>;
357 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
358 #address-cells = <1>;
360 pinctrl-names = "default", "gpio";
361 pinctrl-0 = <&i2c0_sda &i2c0_scl>;
362 pinctrl-1 = <&i2c0_gpio>;
363 gpios = <&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
364 clocks = <&clk_gates8 4>;
365 rockchip,check-idle = <1>;
370 compatible = "rockchip,rk30-i2c";
371 reg = <0x20056000 0x1000>;
372 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
373 #address-cells = <1>;
375 pinctrl-names = "default", "gpio";
376 pinctrl-0 = <&i2c1_sda &i2c1_scl>;
377 pinctrl-1 = <&i2c1_gpio>;
378 gpios = <&gpio0 GPIO_A3 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
379 clocks = <&clk_gates8 5>;
380 rockchip,check-idle = <1>;
385 compatible = "rockchip,rk30-i2c";
386 reg = <0x2005a000 0x1000>;
387 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
388 #address-cells = <1>;
390 pinctrl-names = "default", "gpio";
391 pinctrl-0 = <&i2c2_sda &i2c2_scl>;
392 pinctrl-1 = <&i2c2_gpio>;
393 gpios = <&gpio2 GPIO_C4 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>;
394 clocks = <&clk_gates8 6>;
395 rockchip,check-idle = <1>;
400 compatible = "rockchip,rk30-i2c";
401 reg = <0x2005e000 0x1000>;
402 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
403 #address-cells = <1>;
405 pinctrl-names = "default", "gpio";
406 pinctrl-0 = <&i2c3_sda &i2c3_scl>;
407 pinctrl-1 = <&i2c3_gpio>;
408 gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A6 GPIO_ACTIVE_LOW>;
409 clocks = <&clk_gates8 7>;
410 rockchip,check-idle = <1>;
415 compatible = "rockchip-i2s";
416 reg = <0x10220000 0x1000>;
418 clocks = <&clk_i2s_2ch>, <&clk_i2s_2ch_out>, <&clk_gates7 2>;
419 clock-names = "i2s_clk", "i2s_mclk", "i2s_hclk";
420 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
421 dmas = <&pdma 0>, <&pdma 1>;
423 dma-names = "tx", "rx";
424 //pinctrl-names = "default", "sleep";
425 //pinctrl-0 = <&i2s0_mclk &i2s0_sclk &i2s0_lrckrx &i2s0_lrcktx &i2s0_sdi &i2s0_sdo>;
426 //pinctrl-1 = <&i2s0_gpio>;
430 compatible = "rockchip-i2s";
431 reg = <0x10200000 0x1000>;
433 clocks = <&clk_i2s_8ch>, <&clk_gates7 4>;
434 clock-names = "i2s_clk", "i2s_hclk";
435 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
436 dmas = <&pdma 14>, <&pdma 15>;
438 dma-names = "tx", "rx";
441 spdif: spdif@10204000 {
442 compatible = "rockchip-spdif";
443 reg = <0x10204000 0x1000>;
444 clocks = <&clk_spdif>, <&clk_gates10 8>;
445 clock-names = "spdif_8ch_mclk", "spdif_hclk";
446 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
450 //pinctrl-names = "default";
451 //pinctrl-0 = <&spdif_tx>;
454 dsihost0: mipi@10110000{
455 compatible = "rockchip,rk32-dsi";
457 reg = <0x10110000 0x4000>, <0x20038000 0x4000>;
458 reg-names = "mipi_dsi_host" ,"mipi_dsi_phy";
459 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
460 clocks = <&clk_gates2 15>, <&clk_gates5 0> ;//, <&pd_mipidsi>;
461 clock-names = "clk_mipi_24m", "pclk_mipi_dsi";//, "pd_mipi_dsi";
465 emmc: rksdmmc@1021c000 {
466 compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
467 reg = <0x1021c000 0x4000>;
468 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
469 #address-cells = <1>;
471 //pinctrl-names = "default",,"suspend";
472 //pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_wp &sd0_pwr &sd0_bus1 &sd0_bus4>;
473 clocks = <&clk_emmc>, <&clk_gates7 0>;
474 clock-names = "clk_mmc", "hclk_mmc";
476 dma-names = "dw_mci";
478 fifo-depth = <0x100>;
483 sdmmc: rksdmmc@10214000 {
484 compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
485 reg = <0x10214000 0x4000>;
486 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
487 #address-cells = <1>;
489 pinctrl-names = "default", "idle";
490 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_pwren &sdmmc0_dectn &sdmmc0_bus4>;
491 pinctrl-1 = <&sdmmc0_gpio>;
492 clocks = <&clk_sdmmc0>, <&clk_gates5 10>;
493 clock-names = "clk_mmc", "hclk_mmc";
495 dma-names = "dw_mci";
497 fifo-depth = <0x100>;
501 sdio: rksdmmc@10218000 {
502 compatible = "rockchip,rk_mmc", "rockchip,rk312x-sdmmc";
503 reg = <0x10218000 0x4000>;
504 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
505 #address-cells = <1>;
507 pinctrl-names = "default","idle";
508 pinctrl-0 = <&sdio0_pwren &sdio0_cmd>;
509 pinctrl-1 = <&sdio0_gpio>;
510 clocks = <&clk_sdio>, <&clk_gates5 11>;
511 clock-names = "clk_mmc", "hclk_mmc";
513 dma-names = "dw_mci";
515 fifo-depth = <0x100>;
520 compatible = "rockchip,saradc";
521 reg = <0x2006c000 0x100>;
522 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
523 #io-channel-cells = <1>;
525 rockchip,adc-vref = <1800>;
526 clock-frequency = <1000000>;
527 clocks = <&clk_saradc>, <&clk_gates7 14>;
528 clock-names = "saradc", "pclk_saradc";
533 compatible = "rockchip,rk-pwm";
534 reg = <0x20050000 0x10>;
536 pinctrl-names = "default";
537 pinctrl-0 = <&pwm0_pin>;
538 clocks = <&clk_gates7 10>;
539 clock-names = "pclk_pwm";
544 compatible = "rockchip,rk-pwm";
545 reg = <0x20050010 0x10>;
547 pinctrl-names = "default";
548 pinctrl-0 = <&pwm1_pin>;
549 clocks = <&clk_gates7 10>;
550 clock-names = "pclk_pwm";
555 compatible = "rockchip,rk-pwm";
556 reg = <0x20050020 0x10>;
558 pinctrl-names = "default";
559 pinctrl-0 = <&pwm2_pin>;
560 clocks = <&clk_gates7 10>;
561 clock-names = "pclk_pwm";
566 compatible = "rockchip,rk-pwm";
567 reg = <0x20050030 0x10>;
569 pinctrl-names = "default";
570 pinctrl-0 = <&pwm3_pin>;
571 clocks = <&clk_gates7 10>;
572 clock-names = "pclk_pwm";
576 remotectl: pwm@20050030 {
577 compatible = "rockchip,remotectl-pwm";
578 reg = <0x20050030 0x10>;
580 pinctrl-names = "default";
581 pinctrl-0 = <&pwm3_pin>;
582 clocks = <&clk_gates7 10>;
583 clock-names = "pclk_pwm";
584 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
587 dwc_control_usb: dwc-control-usb@20008000 {
588 compatible = "rockchip,rk3126-dwc-control-usb";
589 reg = <0x20008000 0x4>;
590 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
591 interrupt-names = "otg_bvalid";
592 clocks = <&clk_gates9 13>;
593 clock-names = "hclk_usb_peri";
594 rockchip,remote_wakeup;
595 rockchip,usb_irq_wakeup;
596 resets = <&reset RK3128_RST_USBPOR>;
597 reset-names = "usbphy_por";
599 compatible = "inno,phy";
600 regbase = &dwc_control_usb;
605 compatible = "rockchip,rk3126_usb20_otg";
606 reg = <0x10180000 0x40000>;
607 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
608 clocks = <&clk_gates1 5>, <&clk_gates5 13>;
609 clock-names = "clk_usbphy0", "hclk_usb0";
610 resets = <&reset RK3128_RST_USBOTG0>, <&reset RK3128_RST_USBOTG0>,
611 <&reset RK3128_RST_OTGC0>;
612 reset-names = "otg_ahb", "otg_phy", "otg_controller";
613 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
614 rockchip,usb-mode = <0>;
618 compatible = "rockchip,rk3126_usb20_host";
619 reg = <0x101c0000 0x40000>;
620 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
621 clocks = <&clk_gates1 6>, <&clk_gates7 3>;
622 clock-names = "clk_usbphy1", "hclk_usb1";
623 resets = <&reset RK3128_RST_USBOTG1>, <&reset RK3128_RST_UTMI1>,
624 <&reset RK3128_RST_OTGC1>;
625 reset-names = "host_ahb", "host_phy", "host_controller";
629 compatible = "rockchip,rk-fb";
630 rockchip,disp-mode = <ONE_DUAL>;
633 rk_screen: rk_screen{
634 compatible = "rockchip,screen";
637 lvds: lvds@20038000 {
638 compatible = "rockchip,rk31xx-lvds";
639 reg = <0x20038000 0x4000>;
640 clocks = <&clk_gates5 0>;
641 clock-names = "pclk_lvds";
642 pinctrl-names = "lcdc", "sleep";
643 pinctrl-0 = <&lcdc0_lcdc_d>;
644 pinctrl-1 = <&lcdc0_lcdc_gpio>;
647 lcdc: lcdc@1010e000 {
648 compatible = "rockchip,rk312x-lcdc";
649 rockchip,prop = <PRMRY>;
650 reg = <0x1010e000 0x2000>;
651 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
652 clocks = <&clk_gates6 0>, <&dclk_lcdc0>, <&clk_gates6 1>, <&sclk_lcdc0>;
653 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "sclk";
654 rockchip,iommu-enabled = <1>;
658 hdmi: hdmi@20034000 {
659 compatible = "rockchip,rk312x-hdmi";
660 reg = <0x20034000 0x4000>;
661 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
662 rockchip,hdmi_lcdc_source = <0>;
663 pinctrl-names = "default", "gpio";
664 pinctrl-0 = <&hdmi_cec &hdmi_sda &hdmi_scl &hdmi_hpd>;
665 pinctrl-1 = <&hdmi_gpio>;
666 clocks = <&clk_gates3 8>;
667 clock-names = "pclk_hdmi";
672 compatible = "rockchip,rk312x-tve";
673 reg = <0x1010e200 0x100>;
677 vpu: vpu_service@10106000 {
678 compatible = "vpu_service";
680 reg = <0x10106000 0x800>;
681 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
682 interrupt-names = "irq_enc", "irq_dec";
683 clocks = <&clk_vdpu>, <&hclk_vdpu>;
684 clock-names = "aclk_vcodec", "hclk_vcodec";
685 name = "vpu_service";
689 hevc: hevc_service@10104000 {
690 compatible = "rockchip,hevc_service";
692 reg = <0x10104000 0x400>;
693 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
694 interrupt-names = "irq_dec";
695 clocks = <&clk_vdpu>, <&hclk_vdpu>, <&clk_hevc_core>;
696 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
697 name = "hevc_service";
702 compatible = "rockchip,iep";
704 reg = <0x10108000 0x800>;
705 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
706 clocks = <&clk_gates9 8>, <&clk_gates9 7>;
707 clock-names = "aclk_iep", "hclk_iep";
712 compatible = "rockchip,rga_drv";
713 reg = <0x1010c000 0x1000>;
714 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
715 clocks = <&clk_gates0 11>, <&clk_gates1 4>;
716 clock-names = "hclk_rga", "aclk_rga";
722 compatible = "iommu,vop_mmu";
723 reg = <0x1010e300 0x100>;
724 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
725 interrupt-names = "vop_mmu";
730 compatible = "iommu,hevc_mmu";
731 reg = <0x10104440 0x100>,
733 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
734 interrupt-names = "hevc_mmu";
739 compatible = "iommu,vpu_mmu";
740 reg = <0x10104800 0x100>;
741 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
742 interrupt-names = "vpu_mmu";
747 compatible = "iommu,iep_mmu";
748 reg = <0x10108800 0x100>;
749 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
750 interrupt-names = "iep_mmu";
754 temp-limit-enable = <0>;
758 regulator_name = "vdd_arm";
760 clk_core_dvfs_table: clk_core {
769 normal-temp-limit = <
770 /*delta-temp delta-freq*/
776 performance-temp-limit = <
792 regulator_name = "vdd_logic";
794 clk_ddr_dvfs_table: clk_ddr {
806 clk_gpu_dvfs_table: clk_gpu {
825 compatible = "rockchip,ion";
826 #address-cells = <1>;
829 ion_cma: rockchip,ion-heap@1 { /* CMA HEAP */
830 compatible = "rockchip,ion-reserve";
831 rockchip,ion_heap = <1>;
832 reg = <0x00000000 0x10000000>; /* 256MB */
834 rockchip,ion-heap@3 { /* VMALLOC HEAP */
835 rockchip,ion_heap = <3>;
839 compatible = "rockchip,cif";
840 reg = <0x1010a000 0x2000>;
841 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
842 clocks = <&clk_gates3 3>,<&clk_gates6 5>,<&clk_gates6 4>,<&clk_cif0_in>,<&clk_cif_out>;
843 clock-names = "pd_cif0", "aclk_cif0","hclk_cif0","cif0_in","cif0_out";