[PATCH 2/2] arm64: dts: rockchip: Enable gpu on Cool Pi 4B

Andy Yan andyshrk at 163.com
Sat Mar 30 03:01:34 PDT 2024


Enable mali gpu node and add the board specific supply-regulator.

Signed-off-by: Andy Yan <andyshrk at 163.com>
---

 arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts b/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts
index e037bf9db75a..25a2ae7d4827 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts
@@ -203,6 +203,11 @@ &cpu_b2 {
 	cpu-supply = <&vdd_cpu_big1_s0>;
 };
 
+&gpu {
+	mali-supply = <&vdd_gpu_s0>;
+	status = "okay";
+};
+
 &i2c0 {
 	pinctrl-0 = <&i2c0m2_xfer>;
 	status = "okay";
-- 
2.34.1




More information about the Linux-rockchip mailing list