add gpu node support on board and add the supplying regulator

Signed-off-by: Akash Gajjar <ak...@openedev.com>
Signed-off-by: Andrius Štikonas <andr...@stikonas.eu>
---
 arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts 
b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
index 12285c51cceb..bc8c04190d1a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
@@ -62,6 +62,11 @@
 
 };
 
+&gpu {
+       mali-supply = <&vdd_gpu>;
+       status = "okay";
+};
+
 &pcie0 {
        ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
 };
-- 
2.17.1

Reply via email to