All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] ARM: dts: stm32: add SRAM binding
@ 2022-05-16 12:16 Steffen Trumtrar
  2022-05-16 12:16 ` [PATCH v2 2/3] ARM: dts: stm32: add STM32MP1-based Phytec SoM Steffen Trumtrar
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Steffen Trumtrar @ 2022-05-16 12:16 UTC (permalink / raw)
  To: linux-stm32, linux-arm-kernel
  Cc: Maxime Coquelin, Alexandre Torgue, kernel, Steffen Trumtrar

The STM32 has an SRAM from 0x1000000 to 0x10060000.
Make it available via mmio-sram.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/boot/dts/stm32mp151.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 08708346d583..1816d9b02bb8 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -122,6 +122,14 @@ soc {
 		interrupt-parent = <&intc>;
 		ranges;
 
+		sram: sram@10000000 {
+			compatible = "mmio-sram";
+			reg = <0x10000000 0x60000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges = <0 0x10000000 0x60000>;
+		};
+
 		timers2: timer@40000000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-05-16 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16 12:16 [PATCH v2 1/3] ARM: dts: stm32: add SRAM binding Steffen Trumtrar
2022-05-16 12:16 ` [PATCH v2 2/3] ARM: dts: stm32: add STM32MP1-based Phytec SoM Steffen Trumtrar
2022-05-16 12:32   ` Ahmad Fatoum
2022-05-16 15:16   ` Alexandre TORGUE
2022-05-16 12:16 ` [PATCH v2 3/3] ARM: dts: stm32: add STM32MP1-based Phytec board Steffen Trumtrar
2022-05-16 15:11   ` Alexandre TORGUE
2022-05-16 12:24 ` [PATCH v2 1/3] ARM: dts: stm32: add SRAM binding Ahmad Fatoum
2022-05-16 12:35   ` Ahmad Fatoum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.