From: chenzhen Date: Tue, 9 May 2017 07:39:39 +0000 (+0800) Subject: arm: dts: rk322x: add mali-400 GPU device X-Git-Tag: release-20171130_firefly~4^2~592 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eacaf9e9fa43267b7de9a62609fe89075fdb8a92;p=firefly-linux-kernel-4.4.55.git arm: dts: rk322x: add mali-400 GPU device Change-Id: I4fb5d27a34e57bb17db2c79ffdc655223ce8c338 Signed-off-by: chenzhen --- diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index b3b5bee64350..07a61da5c8e9 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -509,6 +509,60 @@ status = "disabled"; }; + gpu: gpu@0x20001000 { + compatible = "arm,mali400"; + reg = <0x20001000 0x200>, + <0x20000000 0x100>, + <0x20003000 0x100>, + <0x20008000 0x1100>, + <0x20004000 0x100>, + <0x2000A000 0x1100>, + <0x20005000 0x100>; + + reg-names = "Mali_L2", + "Mali_GP", + "Mali_GP_MMU", + "Mali_PP0", + "Mali_PP0_MMU", + "Mali_PP1", + "Mali_PP1_MMU"; + + interrupts = , + , + , + , + , + ; + + interrupt-names = "Mali_GP_IRQ", + "Mali_GP_MMU_IRQ", + "Mali_PP0_IRQ", + "Mali_PP0_MMU_IRQ", + "Mali_PP1_IRQ", + "Mali_PP1_MMU_IRQ"; + clocks = <&cru ACLK_GPU>; + clock-names = "clk_mali"; + operating-points-v2 = <&gpu_opp_table>; + status = "disabled"; + }; + + gpu_opp_table: opp-table2 { + compatible = "operating-points-v2"; + + opp-200000000 { + opp-hz = /bits/ 64 <200000000>; + opp-microvolt = <1050000>; + }; + opp-300000000 { + opp-hz = /bits/ 64 <300000000>; + opp-microvolt = <1050000>; + }; + opp-500000000 { + opp-hz = /bits/ 64 <500000000>; + opp-microvolt = <1150000>; + }; + }; + vop: vop@20050000 { compatible = "rockchip,rk322x-vop"; reg = <0x20050000 0x1ffc>, <0x20052000 0x1000>;