From: Maxime Ripard Date: Tue, 10 Jul 2018 08:01:05 +0000 (+0200) Subject: ARM: dts: sun8i: a23-a33: Add SRAM controller node and C1 SRAM region X-Git-Tag: v4.19~314^2~10^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae54cf89d6ca897dc698858935b39e91e7e65535;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: sun8i: a23-a33: Add SRAM controller node and C1 SRAM region This adds a SRAM controller node for the A23 and A33, with support for the C1 SRAM region that is shared between the Video Engine and the CPU. Signed-off-by: Maxime Ripard Signed-off-by: Paul Kocialkowski [Maxime: Fixed the prefix and the compatibles] Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi index 44f3cad..c16ffcc 100644 --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi @@ -124,6 +124,28 @@ #size-cells = <1>; ranges; + system-control@1c00000 { + compatible = "allwinner,sun8i-a23-system-control"; + reg = <0x01c00000 0x30>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + sram_c: sram@1d00000 { + compatible = "mmio-sram"; + reg = <0x01d00000 0x80000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x01d00000 0x80000>; + + ve_sram: sram-section@0 { + compatible = "allwinner,sun8i-a23-sram-c1", + "allwinner,sun4i-a10-sram-c1"; + reg = <0x000000 0x80000>; + }; + }; + }; + dma: dma-controller@1c02000 { compatible = "allwinner,sun8i-a23-dma"; reg = <0x01c02000 0x1000>;