Permalink
Browse files

ARM: sun7i: dt: Add mali node

The A20 has an ARM Mali 400 GPU.

Signed-off-by: Jonathan Liu <net147@gmail.com>
  • Loading branch information...
net147 committed Apr 22, 2017
1 parent 7061a00 commit c374295c5d19b60b93404f9e82d3c606608e6f04
Showing with 25 additions and 0 deletions.
  1. +25 −0 arch/arm/boot/dts/sun7i-a20.dtsi
@@ -1252,6 +1252,31 @@
interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
};
mali: gpu@1c40000 {
compatible = "allwinner,sun7i-a20-mali", "arm,mali-400";
reg = <0x01c40000 0x10000>;
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "gp",
"gpmmu",
"pp0",
"ppmmu0",
"pp1",
"ppmmu1",
"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 = <312000000>;
};
fe0: display-frontend@1e00000 {
compatible = "allwinner,sun7i-a20-display-frontend";
reg = <0x01e00000 0x20000>;

0 comments on commit c374295

Please sign in to comment.