summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSergio Sota <sergiosota@fanamoel.com>2021-01-08 13:38:19 +0300
committerMaxime Ripard <maxime@cerno.tech>2021-01-13 11:18:56 +0300
commit7f230c86de7d3ae11aec87e712caf63b5ed7f593 (patch)
tree07ddbdd8e16396cb95f18928788a1c3430d64e3b /arch/arm
parent086b4f7afdeda24adabcb199cd23a5055b0cbe7b (diff)
downloadlinux-7f230c86de7d3ae11aec87e712caf63b5ed7f593.tar.xz
ARM: dts: sun5i: add A10s/A13 mali gpu support fallback
The A10s/A13 mali gpu was not defined in device tree Add A10 mali gpu as a fallback for A10s/A13 Tested with Olimex-A13-SOM / Olimex-A13-OlinuXino-MICRO "kmscube" 3d cube on screen (60fps / 10%cpu) Versions: Lima:1.1.0 EGL:1.4 OpenGLES:2.0 Mesa:20.2.2 Signed-off-by: Sergio Sota <sergiosota@fanamoel.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210108103819.322901-1-sergiosota@fanamoel.com
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/sun5i.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi
index c2b4fbf552a3..250d6b87ab4d 100644
--- a/arch/arm/boot/dts/sun5i.dtsi
+++ b/arch/arm/boot/dts/sun5i.dtsi
@@ -726,6 +726,18 @@
#size-cells = <0>;
};
+ mali: gpu@1c40000 {
+ compatible = "allwinner,sun4i-a10-mali", "arm,mali-400";
+ reg = <0x01c40000 0x10000>;
+ interrupts = <69>, <70>, <71>, <72>, <73>;
+ interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pmu";
+ clocks = <&ccu CLK_AHB_GPU>, <&ccu CLK_GPU>;
+ clock-names = "bus", "core";
+ resets = <&ccu RST_GPU>;
+ assigned-clocks = <&ccu CLK_GPU>;
+ assigned-clock-rates = <320000000>;
+ };
+
timer@1c60000 {
compatible = "allwinner,sun5i-a13-hstimer";
reg = <0x01c60000 0x1000>;