aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-08-22 12:47:59 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-08-22 12:47:59 +0530
commita20633b159f885bc8a62234831e9b7a0151a151b (patch)
tree53a751d4ab477f8d7d664ca36eb2677169181143
parentcc9673785b0324167c54f4654a25a39953c3f670 (diff)
downloadhikey-a20633b159f885bc8a62234831e9b7a0151a151b.tar.gz
arm64: dts: hisilicon: Enable GPU on Hikey960HEADv4.19.5master
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi3660-gpu.dtsi19
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts1
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-gpu.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660-gpu.dtsi
new file mode 100644
index 000000000000..7c21296c5e72
--- /dev/null
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-gpu.dtsi
@@ -0,0 +1,19 @@
+/{
+ gpu: mali@E82C0000 {
+ compatible = "arm,malit6xx", "arm,mali-midgard";
+ #cooling-cells = <3>; /* min followed by max */
+ gpu_outstanding = <0x0>;
+ reg = <0x0 0xE82C0000 0x0 0x4000>;
+ interrupts = <0 258 4 0 259 4 0 260 4>;
+ interrupt-names = "JOB", "MMU", "GPU";
+ operating-points = <
+ /* <frequency> <voltage>*/
+ 178000 650000
+ 400000 700000
+ 533000 800000
+ 807000 900000
+ 960000 1000000
+ 1037000 1100000
+ >;
+ };
+};
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
index 6f36cacb3eed..975b69c8ce7f 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
@@ -10,6 +10,7 @@
#include "hi3660.dtsi"
#include "hikey960-pinctrl.dtsi"
+#include "hi3660-gpu.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>