summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-03-19 16:11:46 +0100
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2024-03-21 14:26:33 +0000
commit5fb5c207a377c5d90a54eac1a42cfee5f15fe364 (patch)
treefaf16f15b9cd83e902f1249ca055ec057ba065e6
parentc36fa560b0ff80330443c2444ffbcdc861283f78 (diff)
arm64: dts: ti: verdin-am62: 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: Submitted [https://lore.kernel.org/all/20240320142937.2028707-1-max.oss.09@gmail.com/] Submitted to the linux kernel. Upstream U-Boot will get it through the regular sync with Linux. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--arch/arm/dts/k3-am62-verdin.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/dts/k3-am62-verdin.dtsi b/arch/arm/dts/k3-am62-verdin.dtsi
index 0bf1c9c4e3..912297d01f 100644
--- a/arch/arm/dts/k3-am62-verdin.dtsi
+++ b/arch/arm/dts/k3-am62-verdin.dtsi
@@ -60,7 +60,7 @@
memory@80000000 {
device_type = "memory";
- reg = <0x00000000 0x80000000 0x00000000 0x40000000>; /* 1G RAM */
+ reg = <0x00000000 0x80000000 0x00000000 0x80000000>; /* 2G RAM */
};
opp-table {