[15/15] arm64: dts: mediatek: radxa-nio-12l: Enable Panfrost for Mali GPU

Message ID 20240112094632.66310-16-angelogioacchino.delregno@collabora.com
State New
Headers
Series MediaTek: Introduce MT8395 Radxa NIO 12L devicetree |

Commit Message

AngeloGioacchino Del Regno Jan. 12, 2024, 9:46 a.m. UTC
  Enable the GPU node and add the required power supply to get GPU
support through Panfrost.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 5 +++++
 1 file changed, 5 insertions(+)
  

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts
index b0d66fa139b5..1e97d2bf7b8b 100644
--- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts
@@ -153,6 +153,11 @@  rgmii_phy: ethernet-phy@1 {
 	};
 };
 
+&gpu {
+	mali-supply = <&mt6315_7_vbuck1>;
+	status = "okay";
+};
+
 &i2c2 {
 	clock-frequency = <400000>;
 	pinctrl-0 = <&i2c2_pins>;