From b6f6371633b07db28fa44e6c2d8d0c5fa994da50 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 19 Mar 2024 16:11:46 +0100 Subject: arm: dts: ti: verdin-am62: R5: Set memory size to 2gb The maximum DDR RAM size stuffed on the Verdin AM62 is 2GB, correct the memory node accordingly. Commit 3610dbfc37e3 ("ram: k3-ddrss: Set SDRAM_IDX using device private data, ddr_ram_size") now evaluates the device tree property and limits DDR access to the specified size. Thus set the maximum stuffed size in the dts corresponding to what is set in CFG_SYS_SDRAM_SIZE. If CFG_SYS_SDRAM_SIZE is bigger than what is set in the device tree SPLs and U-Boot freeze when probing for the DDR size. Upstream-Status: Pending The R5 dtb memory node is only needed in downstream TI U-Boot. All mainline AM62 boards do not set the node, when said commit gets upstreamed we can follow the pattern TI adds the node to the dtb. Signed-off-by: Max Krummenacher --- arch/arm/dts/k3-am625-verdin-r5.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/k3-am625-verdin-r5.dts b/arch/arm/dts/k3-am625-verdin-r5.dts index a86b351e55..05fdd00b85 100644 --- a/arch/arm/dts/k3-am625-verdin-r5.dts +++ b/arch/arm/dts/k3-am625-verdin-r5.dts @@ -53,8 +53,8 @@ memory@80000000 { device_type = "memory"; - /* 1G RAM */ - reg = <0x00000000 0x80000000 0x00000000 0x40000000>; + /* 2G RAM */ + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; bootph-pre-ram; }; -- cgit v1.2.3