arm64: boot: dts: ti: k3-*: Add memory node to bootloader stage

Add the bootph-all property to the memory node so that it can be
accessed by FDT functions at bootloader stage.

The bootloader requires the memory node to be able to initialize and set
the size of the DRAM banks. For this purpose, make sure all memory nodes
are present and standardized, and modify them if not.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Link: https://lore.kernel.org/r/20240506110203.3230255-1-n-francis@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
Neha Malcom Francis
2024-05-06 16:32:03 +05:30
committed by Vignesh Raghavendra
parent 9dcc0e1065
commit 12a29fb4f9
8 changed files with 16 additions and 10 deletions
@@ -33,6 +33,7 @@
memory@80000000 {
device_type = "memory";
bootph-all;
/* 4G RAM */
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
<0x00000008 0x80000000 0x00000000 0x80000000>;
+3 -2
View File
@@ -11,9 +11,10 @@
/ {
memory@80000000 {
device_type = "memory";
bootph-all;
/* 16 GB RAM */
reg = <0x00 0x80000000 0x00 0x80000000>,
<0x08 0x80000000 0x03 0x80000000>;
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
<0x00000008 0x80000000 0x00000003 0x80000000>;
};
reserved_memory: reserved-memory {
+2 -2
View File
@@ -35,8 +35,8 @@
device_type = "memory";
bootph-all;
/* 32G RAM */
reg = <0x00 0x80000000 0x00 0x80000000>,
<0x08 0x80000000 0x07 0x80000000>;
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
<0x00000008 0x80000000 0x00000007 0x80000000>;
};
reserved_memory: reserved-memory {
+3 -2
View File
@@ -12,9 +12,10 @@
/ {
memory@80000000 {
device_type = "memory";
bootph-all;
/* 4G RAM */
reg = <0x00 0x80000000 0x00 0x80000000>,
<0x08 0x80000000 0x00 0x80000000>;
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
<0x00000008 0x80000000 0x00000000 0x80000000>;
};
reserved_memory: reserved-memory {
+1
View File
@@ -31,6 +31,7 @@
memory@80000000 {
device_type = "memory";
bootph-all;
/* 4G RAM */
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
<0x00000008 0x80000000 0x00000000 0x80000000>;
@@ -12,6 +12,7 @@
/ {
memory@80000000 {
device_type = "memory";
bootph-all;
/* 4G RAM */
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
<0x00000008 0x80000000 0x00000000 0x80000000>;
+3 -2
View File
@@ -13,9 +13,10 @@
/ {
memory@80000000 {
device_type = "memory";
bootph-all;
/* 16 GB RAM */
reg = <0x00 0x80000000 0x00 0x80000000>,
<0x08 0x80000000 0x03 0x80000000>;
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
<0x00000008 0x80000000 0x00000003 0x80000000>;
};
/* Reserving memory regions still pending */
+2 -2
View File
@@ -35,8 +35,8 @@
device_type = "memory";
bootph-all;
/* 32G RAM */
reg = <0x00 0x80000000 0x00 0x80000000>,
<0x08 0x80000000 0x07 0x80000000>;
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
<0x00000008 0x80000000 0x00000007 0x80000000>;
};
reserved_memory: reserved-memory {