arm64: dts: allwinner: a64: Add support for the SRAM C1 section
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Wed, 5 Dec 2018 09:24:39 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 5 Dec 2018 11:04:46 +0000 (12:04 +0100)
Add the description for the SRAM C1 section to the A64 device-tree.

Since there is no entry for this section in the A64 manual, the base
address and size were only verified to be consistent empirically.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 384c417..8557d52 100644 (file)
                                        reg = <0x0000 0x28000>;
                                };
                        };
+
+                       sram_c1: sram@1d00000 {
+                               compatible = "mmio-sram";
+                               reg = <0x01d00000 0x40000>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0 0x01d00000 0x40000>;
+
+                               ve_sram: sram-section@0 {
+                                       compatible = "allwinner,sun50i-a64-sram-c1",
+                                                    "allwinner,sun4i-a10-sram-c1";
+                                       reg = <0x000000 0x40000>;
+                               };
+                       };
                };
 
                dma: dma-controller@1c02000 {