mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: meson: add a node which describes the SRAM
@ 2017-07-11 22:26 Martin Blumenstingl
  2017-07-28 16:48 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Blumenstingl @ 2017-07-11 22:26 UTC (permalink / raw)
  To: linus-amlogic

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.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
index 4c27ca083afb..7e136991a4b9 100644
--- a/arch/arm/boot/dts/meson.dtsi
+++ b/arch/arm/boot/dts/meson.dtsi
@@ -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 / */
-- 
2.13.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dts: meson: add a node which describes the SRAM
  2017-07-11 22:26 [PATCH] ARM: dts: meson: add a node which describes the SRAM Martin Blumenstingl
@ 2017-07-28 16:48 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2017-07-28 16:48 UTC (permalink / raw)
  To: linus-amlogic

Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:

> 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.
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Applied to v4.14/dt,

Thanks,

Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-28 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-11 22:26 [PATCH] ARM: dts: meson: add a node which describes the SRAM Martin Blumenstingl
2017-07-28 16:48 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®