From 770f0de9763e8adcf4b4de94c04b66c649b6c658 Mon Sep 17 00:00:00 2001 From: chenzhen Date: Tue, 1 Mar 2016 10:39:45 +0800 Subject: [PATCH] arm64: dts: rk3366: add node of GPU. Change-Id: Id545de4b7a2747e6b2c46cbedfdc160c3552c105 Signed-off-by: chenzhen --- arch/arm64/boot/dts/rockchip/rk3366-tb.dts | 7 +++++- arch/arm64/boot/dts/rockchip/rk3366.dtsi | 26 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts index f5cd5f7c81cf..717019109010 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts @@ -748,4 +748,9 @@ &cpu0 { cpu-supply = <&syr827>; -}; \ No newline at end of file +}; + +&gpu { + mali-supply = <&vdd_logic>; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/rockchip/rk3366.dtsi b/arch/arm64/boot/dts/rockchip/rk3366.dtsi index 4264dcdc5015..5e95e4187db4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -1373,4 +1373,30 @@ }; }; }; + + gpu: gpu@ffa30000 { + compatible = "arm,malit764", + "arm,malit76x", + "arm,malit7xx", + "arm,mali-midgard"; + + reg = <0x0 0xffa30000 0 0x10000>; + + interrupts = , + , + ; + interrupt-names = "GPU", "MMU", "JOB"; + + clocks = <&cru ACLK_GPU>; + clock-names = "clk_mali"; + + operating-points = < + /* KHz uV */ + 500000 1150000 + 420000 1050000 + 300000 950000 + 200000 900000 + 100000 900000 >; + status = "disabled"; + }; }; -- 2.34.1