]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: allwinner: a523: enable Mali GPU for all boards
authorMikhail Kalashnikov <iuncuim@gmail.com>
Fri, 11 Jul 2025 03:57:29 +0000 (11:57 +0800)
committerChen-Yu Tsai <wens@csie.org>
Tue, 15 Jul 2025 15:37:02 +0000 (23:37 +0800)
All devices based on the A523/A527/H728/T527 processors contain a G57 MC1 GPU.

Enable the DT nodes for this GPU and specify a regulator that supplies power
to the SoC's VDD_GPU pins. The other parameters are set in the SoC dtsi,
so are board independent.

Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Link: https://patch.msgid.link/20250711035730.17507-4-iuncuim@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts
arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
arch/arm64/boot/dts/allwinner/sun55i-t527-orangepi-4a.dts

index 0f58d92a6adcd6902d28cdfdabbec86c14eceb77..e482300379db70407116fda84230d9fa8cf5f97a 100644 (file)
        status = "okay";
 };
 
+&gpu {
+       mali-supply = <&reg_dcdc2>;
+       status = "okay";
+};
+
 &mdio0 {
        ext_rgmii_phy: ethernet-phy@1 {
                compatible = "ethernet-phy-ieee802.3-c22";
index 59db103546f655c29bcb0d93f35a62d2a6898c7a..a96927fbdadd5f9612009e4e29df9d187927117c 100644 (file)
        status = "okay";
 };
 
+&gpu {
+       mali-supply = <&reg_dcdc2>;
+       status = "okay";
+};
+
 &mmc0 {
        vmmc-supply = <&reg_vcc3v3>;
        cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */
index 08127f0cdd3571d4b2083871694ff62b9d7dd39f..62c6128a18aea32c6fe61de66af39d4bdfb38753 100644 (file)
        status = "okay";
 };
 
+&gpu {
+       mali-supply = <&reg_dcdc2>;
+       status = "okay";
+};
+
 &mdio0 {
        ext_rgmii_phy: ethernet-phy@1 {
                compatible = "ethernet-phy-ieee802.3-c22";
index 5f97505ec8f9e9ced53171841b88e5cb17dca999..d07bb9193b4382080d41a21b3491e607674002e6 100644 (file)
        status = "okay";
 };
 
+&gpu {
+       mali-supply = <&reg_dcdc2>;
+       status = "okay";
+};
+
 &mmc0 {
        vmmc-supply = <&reg_cldo3>;
        cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */