Skip to content

Commit 3d99e0d

Browse files
iuncuimwens
authored andcommitted
arm64: dts: allwinner: a523: add Mali GPU node
The Allwinner A523 SoC features the Mali-G57 MC1 GPU, which belongs to the Mali Valhall (v9) family. There is a power domain specifically for this GPU that needs to be enabled to utilize it. To enable in a specific device, we need to enable the gpu node and specify the “mali-supply” regulator additionally in the device tree. Signed-off-by: Mikhail Kalashnikov <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent 3b430dc commit 3d99e0d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,21 @@
108108
#size-cells = <1>;
109109
ranges = <0x0 0x0 0x0 0x40000000>;
110110

111+
gpu: gpu@1800000 {
112+
compatible = "allwinner,sun55i-a523-mali",
113+
"arm,mali-valhall-jm";
114+
reg = <0x1800000 0x10000>;
115+
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
116+
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
117+
<GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
118+
interrupt-names = "job", "mmu", "gpu";
119+
clocks = <&ccu CLK_GPU>, <&ccu CLK_BUS_GPU>;
120+
clock-names = "core", "bus";
121+
power-domains = <&pck600 PD_GPU>;
122+
resets = <&ccu RST_BUS_GPU>;
123+
status = "disabled";
124+
};
125+
111126
pio: pinctrl@2000000 {
112127
compatible = "allwinner,sun55i-a523-pinctrl";
113128
reg = <0x2000000 0x800>;

0 commit comments

Comments
 (0)