Skip to contentSkip to conversation

ARM: dts: meson: add a node which describes the SRAM

PATCH New Martin Blumenstingl 2 participants 2 messages Jul 11, 2017 – Jul 28, 2017

Subsystems (2)
lore
Share & tools
lore

Martin Blumenstingl

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: meson: add a node which describes the SRAM

All 32bit Meson SoCs contain 128KiB SRAM. This SRAM is used when suspending the device (the the ARM Power Firmware on Meson8/Meson8b/Meson8m2 saves the DDR settings there) and to boot the secondary CPU cores.

---
 arch/arm/boot/dts/meson.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/meson.dtsi +8 -0
index 4c27ca083afb..7e136991a4b9 100644
@@ -244,5 +244,13 @@
 			interrupt-names = "macirq";
 			status = "disabled";
 		};
+
+		ahb_sram: sram at d9000000 {
+			compatible = "mmio-sram";
+			reg = <0xd9000000 0x20000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges = <0 0xd9000000 0x20000>;
+		};
 	};
 }; /* end of / */
Signature · 1 line
2.13.2
maintainer Applied
#1 lore raw

PATCH 1/1 ARM: dts: meson: add a node which describes the SRAM

Quoted 6 lines · Martin Blumenstingl

All 32bit Meson SoCs contain 128KiB SRAM. This SRAM is used when suspending the device (the the ARM Power Firmware on Meson8/Meson8b/Meson8m2 saves the DDR settings there) and to boot the secondary CPU cores.

Applied to v4.14/dt,

Thanks,

Kevin