[PATCH 3/5] ARM: dts: at91: sama5d2: Add memory node in devicetree

Clément Léger
2021-08-02T12:50:38Z

sama5d2 support from DRAM will be modified to use device tree instead of
hardcoded addresses. In order to prepare that, add the memory node to
sama5d2.dtsi file since the boards supported by U-Boot with sama5d2 all
contains 512Mb of DDR.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
---
arch/arm/dts/sama5d2.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
index 6fb2cb25f9..299aefc496 100644
--- a/arch/arm/dts/sama5d2.dtsi
+++ b/arch/arm/dts/sama5d2.dtsi
@@ -4,6 +4,10 @@
model = "Atmel SAMA5D2 family SoC";
compatible = "atmel,sama5d2";

+ memory {
+ reg = <0x20000000 0x20000000>;
+ };
+
aliases {
spi0 = &spi0;
spi1 = &qspi0;
--
2.32.0