[PATCH 3/5] ARM: dts: at91: sama5d2: Add memory node in devicetree
Clément Léger
clement.leger at bootlin.com
Mon Aug 2 14:39:50 CEST 2021
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 at 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
More information about the U-Boot
mailing list