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>
status = "okay";
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&ir {
status = "okay";
};
cpu-supply = <®_dcdc2>;
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&mmc0 {
vmmc-supply = <®_dldo1>;
/* Card detection pin is not connected */
status = "okay";
};
+&gpu {
+ status = "okay";
+};
+
&mdio0 {
ext_rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
phy-supply = <®_dcdce>;
};
+&gpu {
+ mali-supply = <®_dcdcc>;
+};
+
&mmc0 {
vmmc-supply = <®_dcdce>;
};
status = "okay";
};
+&gpu {
+ mali-supply = <®_dcdcc>;
+ status = "okay";
+};
+
&ir {
status = "okay";
};
cpu-supply = <®_dcdc2>;
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&mmc2 {
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins>;
/* 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>;
motorcomm,clk-out-frequency-hz = <125000000>;
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+};
+
&mmc0 {
/*
* The schematic shows the card detect pin wired up to PF6, via an
status = "okay";
};
+&gpu {
+ mali-supply = <®_dcdc1>;
+ status = "okay";
+};
+
&ir {
status = "okay";
};
status = "okay";
};
+&gpu {
+ mali-supply = <®_dcdc2>;
+ status = "okay";
+};
+
&mmc0 {
vmmc-supply = <®_cldo3>;
disable-wp;