arm64: dts: allwinner: h616: enable Mali GPU for all boards

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>
Link: https://patch.msgid.link/20250416224839.9840-5-andre.przywara@arm.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
Andre Przywara
2025-04-16 23:48:39 +01:00
committed by Chen-Yu Tsai
parent 87c6b4504c
commit 224e986158
10 changed files with 47 additions and 0 deletions

View File

@@ -79,6 +79,11 @@ &ehci0 {
status = "okay";
};
&gpu {
mali-supply = <&reg_dcdc1>;
status = "okay";
};
&ir {
status = "okay";
};

View File

@@ -67,6 +67,11 @@ &cpu0 {
cpu-supply = <&reg_dcdc2>;
};
&gpu {
mali-supply = <&reg_dcdc1>;
status = "okay";
};
&mmc0 {
vmmc-supply = <&reg_dldo1>;
/* Card detection pin is not connected */

View File

@@ -77,6 +77,10 @@ &emac0 {
status = "okay";
};
&gpu {
status = "okay";
};
&mdio0 {
ext_rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";

View File

@@ -24,6 +24,10 @@ &emac0 {
phy-supply = <&reg_dcdce>;
};
&gpu {
mali-supply = <&reg_dcdcc>;
};
&mmc0 {
vmmc-supply = <&reg_dcdce>;
};

View File

@@ -50,6 +50,11 @@ &ehci2 {
status = "okay";
};
&gpu {
mali-supply = <&reg_dcdcc>;
status = "okay";
};
&ir {
status = "okay";
};

View File

@@ -10,6 +10,11 @@ &cpu0 {
cpu-supply = <&reg_dcdc2>;
};
&gpu {
mali-supply = <&reg_dcdc1>;
status = "okay";
};
&mmc2 {
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins>;

View File

@@ -69,6 +69,11 @@ &ehci1 {
/* USB 2 & 3 are on the FPC connector (or the exansion board) */
&gpu {
mali-supply = <&reg_dcdc1>;
status = "okay";
};
&mmc0 {
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
bus-width = <4>;

View File

@@ -27,6 +27,10 @@ &ext_rgmii_phy {
motorcomm,clk-out-frequency-hz = <125000000>;
};
&gpu {
mali-supply = <&reg_dcdc1>;
};
&mmc0 {
/*
* The schematic shows the card detect pin wired up to PF6, via an

View File

@@ -69,6 +69,11 @@ &ehci1 {
status = "okay";
};
&gpu {
mali-supply = <&reg_dcdc1>;
status = "okay";
};
&ir {
status = "okay";
};

View File

@@ -200,6 +200,11 @@ &ehci0 {
status = "okay";
};
&gpu {
mali-supply = <&reg_dcdc2>;
status = "okay";
};
&mmc0 {
vmmc-supply = <&reg_cldo3>;
disable-wp;