ARM: dts: rockchip: add GPU device node for RK3288
authorYakir Yang <ykk@rock-chips.com>
Fri, 24 Jun 2016 08:35:59 +0000 (16:35 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 30 Jun 2016 06:29:50 +0000 (14:29 +0800)
RK3288 have integrated the Mali-T760

Change-Id: Id5f98f8c236049c7936c44290e93dfef9dee0c3b
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
arch/arm/boot/dts/rk3288.dtsi

index 37e134678ab56fd9ec29742bb238c263f8cbcc04..ae6eb55f00616012fb22ff4367b6f13db304bf8e 100644 (file)
                };
        };
 
+       gpu: gpu@ffa30000 {
+               compatible = "arm,malit764",
+                            "arm,malit76x",
+                            "arm,malit7xx",
+                            "arm,mali-midgard";
+               reg = <0xffa30000 0x10000>;
+               interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "JOB", "MMU", "GPU";
+               clocks = <&cru ACLK_GPU>;
+               clock-names = "clk_mali";
+               operating-points = <
+                       /* KHz uV */
+                       600000 1250000
+                       /* 500000 1200000 - See crosbug.com/p/33857 */
+                       400000 1100000
+                       300000 1000000
+                       200000 950000
+                       100000 950000
+               >;
+               #cooling-cells = <2>; /* min followed by max */
+               power-domains = <&power RK3288_PD_GPU>;
+               status = "disabled";
+       };
+
        gic: interrupt-controller@ffc01000 {
                compatible = "arm,gic-400";
                interrupt-controller;