]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun4i: Add support for the C1 SRAM region with the SRAM controller
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 18 Jan 2019 14:57:29 +0000 (15:57 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 18 Jan 2019 18:30:59 +0000 (19:30 +0100)
This adds support for the C1 SRAM region (to be used with the SRAM
controller driver) for the A10 platform. The region is shared
between the Video Engine and the CPU.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun4i-a10.dtsi

index a2fb473cbb9d7ec00751348a487bb6d0b75c15b0..c3a74024ca0f32ed42a3be3db7d7245a5b9357cd 100644 (file)
@@ -229,6 +229,19 @@ otg_sram: sram-section@0 {
                                        status = "disabled";
                                };
                        };
+
+                       sram_c: sram@1d00000 {
+                               compatible = "mmio-sram";
+                               reg = <0x01d00000 0xd0000>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0 0x01d00000 0xd0000>;
+
+                               ve_sram: sram-section@0 {
+                                       compatible = "allwinner,sun4i-a10-sram-c1";
+                                       reg = <0x000000 0x80000>;
+                               };
+                       };
                };
 
                dma: dma-controller@1c02000 {