diff options
author | chenzhen <chenzhen@rock-chips.com> | 2017-05-09 15:39:39 +0800 |
---|---|---|
committer | Huang, Tao <huangtao@rock-chips.com> | 2017-05-12 11:21:11 +0800 |
commit | eacaf9e9fa43267b7de9a62609fe89075fdb8a92 (patch) | |
tree | fb793a0dbb21f63b9a6cb3b991d09d3f755bd9fd /arch/arm | |
parent | 5b3f63d63774a6b812e1444c2587a90b41df485f (diff) |
arm: dts: rk322x: add mali-400 GPU device
Change-Id: I4fb5d27a34e57bb17db2c79ffdc655223ce8c338
Signed-off-by: chenzhen <chenzhen@rock-chips.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/rk322x.dtsi | 54 |
1 files changed, 54 insertions, 0 deletions
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 = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; + + 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>; |