ARM: dts: rk3228: add gpu config
authorSimon Xue <xxm@rock-chips.com>
Tue, 13 Oct 2015 10:11:39 +0000 (18:11 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 14 Oct 2015 02:05:49 +0000 (10:05 +0800)
Change-Id: Ib8dbc4ede8abd4816e501454fe4a1f21fe3f54ad
Signed-off-by: Simon Xue <xxm@rock-chips.com>
arch/arm/boot/dts/rk3228.dtsi

index 22463d88a03b2eb284d8026c2708a053dfb7d3a1..b59ee5925449767573b4ab1efd2b7e32c5cf655f 100644 (file)
                dma-names = "tx";
                status = "disabled";
        };
-};
+
+       gpu {
+               compatible = "arm,mali400";
+               reg = <0x20001000 0x200>,
+                     <0x20000000 0x100>,
+                     <0x20003000 0x100>,
+                     <0x20008000 0x1100>,
+                     <0x20004000 0x100>,
+                     <0x2000A000 0x1100>,
+                     <0x20005000 0x100>;
+
+               reg-names = "Mali_L2",
+                           "Mali_GP",
+                           "Mali_GP_MMU",
+                           "Mali_PP0",
+                           "Mali_PP0_MMU",
+                           "Mali_PP1",
+                           "Mali_PP1_MMU";
+
+               interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
+
+               interrupt-names = "Mali_GP_IRQ",
+                                 "Mali_GP_MMU_IRQ",
+                                 "Mali_PP0_IRQ",
+                                 "Mali_PP0_MMU_IRQ",
+                                 "Mali_PP1_IRQ",
+                                 "Mali_PP1_MMU_IRQ";
+       };
+ };