summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Vlaev <g-vlaev@ti.com>2022-05-20 15:30:26 +0300
committerTom Rini <trini@konsulko.com>2022-05-26 10:32:26 -0400
commite7356f08e91566293415915b08229938c062a279 (patch)
treee19f018fece9d95133af0254323ccc6cfc0401c6
parent24c8d1aba1f0fa671f5aa556f389723e2a817c1f (diff)
arm: dts: k3-am642-*: Mark the memory node with u-boot, dm-spl
Since commit dffdb1f8eb ("board: ti: am64x: Use fdt functions for ram and bank init") ddr_init() and dram_bank_init() have switched to fdtdec for getting the memory configuration from the am64xx dts files instead of using hardcoded values. This requires an accessible memory node in SPL as we already have in k3-am642-r5-evm.dts. Make the memory node accessible in A53 SPL for both am642-sk and am642-evm and in am642-sk R5 SPL. Signed-off-by: Georgi Vlaev <g-vlaev@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--arch/arm/dts/k3-am642-evm-u-boot.dtsi4
-rw-r--r--arch/arm/dts/k3-am642-r5-sk.dts2
-rw-r--r--arch/arm/dts/k3-am642-sk-u-boot.dtsi4
3 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
index 0c2d9734091..055215cff8d 100644
--- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi
+++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
@@ -8,6 +8,10 @@
stdout-path = "serial2:115200n8";
tick-timer = &timer1;
};
+
+ memory@80000000 {
+ u-boot,dm-spl;
+ };
};
&cbass_main{
diff --git a/arch/arm/dts/k3-am642-r5-sk.dts b/arch/arm/dts/k3-am642-r5-sk.dts
index 1f96e3fcacf..cf3ba0e209c 100644
--- a/arch/arm/dts/k3-am642-r5-sk.dts
+++ b/arch/arm/dts/k3-am642-r5-sk.dts
@@ -27,7 +27,7 @@
device_type = "memory";
/* 2G RAM */
reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
-
+ u-boot,dm-spl;
};
a53_0: a53@0 {
diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u-boot.dtsi
index 65042281363..dda2c5d18a7 100644
--- a/arch/arm/dts/k3-am642-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am642-sk-u-boot.dtsi
@@ -12,6 +12,10 @@
aliases {
mmc1 = &sdhci1;
};
+
+ memory@80000000 {
+ u-boot,dm-spl;
+ };
};
&cbass_main{