[v2,4/4] arm64: dts: allwinner: h616: enable Mali GPU for all boards
Commit Message
All Allwinner H616/H618 SoCs contain a Mali G31 MP2 GPU.
Enable the DT nodes for that GPU, and specify the regulator providing
power to the VDD_GPU pins of the package. The rest of the DT node is set
by the SoC, so is not board specific.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
---
arch/arm64/boot/dts/allwinner/sun50i-h313-tanix-tx1.dts | 5 +++++
.../boot/dts/allwinner/sun50i-h616-bigtreetech-cb1.dtsi | 5 +++++
arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero.dtsi | 4 ++++
arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts | 4 ++++
arch/arm64/boot/dts/allwinner/sun50i-h616-x96-mate.dts | 5 +++++
.../boot/dts/allwinner/sun50i-h618-longan-module-3h.dtsi | 5 +++++
.../arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero2w.dts | 5 +++++
arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts | 4 ++++
.../boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts | 5 +++++
.../boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts | 5 +++++
10 files changed, 47 insertions(+)
@@ -79,6 +79,11 @@ &ehci0 {
status = "okay";
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&ir {
status = "okay";
};
@@ -67,6 +67,11 @@ &cpu0 {
cpu-supply = <®_dcdc2>;
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&mmc0 {
vmmc-supply = <®_dldo1>;
/* Card detection pin is not connected */
@@ -77,6 +77,10 @@ &emac0 {
status = "okay";
};
+&gpu {
+ status = "okay";
+};
+
&mdio0 {
ext_rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
@@ -24,6 +24,10 @@ &emac0 {
phy-supply = <®_dcdce>;
};
+&gpu {
+ mali-supply = <®_dcdcc>;
+};
+
&mmc0 {
vmmc-supply = <®_dcdce>;
};
@@ -50,6 +50,11 @@ &ehci2 {
status = "okay";
};
+&gpu {
+ mali-supply = <®_dcdcc>;
+ status = "okay";
+};
+
&ir {
status = "okay";
};
@@ -10,6 +10,11 @@ &cpu0 {
cpu-supply = <®_dcdc2>;
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&mmc2 {
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins>;
@@ -69,6 +69,11 @@ &ehci1 {
/* USB 2 & 3 are on the FPC connector (or the exansion board) */
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&mmc0 {
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
bus-width = <4>;
@@ -27,6 +27,10 @@ &ext_rgmii_phy {
motorcomm,clk-out-frequency-hz = <125000000>;
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+};
+
&mmc0 {
/*
* The schematic shows the card detect pin wired up to PF6, via an
@@ -69,6 +69,11 @@ &ehci1 {
status = "okay";
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&ir {
status = "okay";
};
@@ -197,6 +197,11 @@ &ehci0 {
status = "okay";
};
+&gpu {
+ mali-supply = <®_dcdc2>;
+ status = "okay";
+};
+
&mmc0 {
vmmc-supply = <®_cldo3>;
disable-wp;