Skip to content

Commit

Permalink
Platforms/HiKey960: Add gpu node in dts
Browse files Browse the repository at this point in the history
Signed-off-by: Shihui Zhao <zhaoshihui3@huawei.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
  • Loading branch information
Shihui Zhao authored and b49020 committed Jul 17, 2018
1 parent 1a10744 commit 102978d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Platforms/Hisilicon/DeviceTree/hi3660-gpu.dtsi
Original file line number Diff line number Diff line change
@@ -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
>;
};
};
Binary file modified Platforms/Hisilicon/DeviceTree/hi3660-hikey960.dtb
Binary file not shown.
1 change: 1 addition & 0 deletions Platforms/Hisilicon/DeviceTree/hi3660-hikey960.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 102978d

Please sign in to comment.