]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arch: arm: socfpga: Assign unit address to memory node
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Tue, 16 Dec 2025 08:46:23 +0000 (00:46 -0800)
committerTom Rini <trini@konsulko.com>
Sat, 14 Feb 2026 17:06:46 +0000 (11:06 -0600)
Assign unit address of 0 to memory node following latest Linux convention.

Without this unit address, SPL will not be able to retrieve proper memory
node values set from the device tree.

Update all dts files which includes the common .dtsi to add unit address
as well.

Fixes: e291277689f6 ("sync socfpga common u-boot dts")
Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/dts/socfpga-common-u-boot.dtsi
arch/arm/dts/socfpga_arria5_secu1.dts
arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts
arch/arm/dts/socfpga_cyclone5_de10_nano.dts
arch/arm/dts/socfpga_cyclone5_de10_standard.dts
arch/arm/dts/socfpga_cyclone5_de1_soc.dts
arch/arm/dts/socfpga_cyclone5_is1.dts

index 695242bec21e3301a8d886ba39fd1c2df41bb6db..ddef9a2896d9ed3d4d6c559adbbc8ba97c473654 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (c) 2019 Simon Goldschmidt
  */
 /{
-       memory {
+       memory@0 {
                bootph-all;
        };
 
index 8e9c3bbdf9dc935f7d0378cd99c62f5f8f58361d..dfc04cc2d7a0ae07c9990ae714b734567cd733e6 100644 (file)
@@ -16,7 +16,7 @@
                bootargs = "console=ttyS0,115200";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x20000000>; /* 512MB */
index ca030c8c41bf448a2059a517c8a6d42c0c3d5d05..094db1cb7d47ecb084b26794594a6ed80bef3eaa 100644 (file)
@@ -20,7 +20,7 @@
                udc0 = &usb1;
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index 34886ec1ad89cf399ca8a83709ee4faa4091e8ee..346b2ef9e2d79a59996ee8716179b5ac9649d813 100644 (file)
@@ -22,7 +22,7 @@
                udc0 = &usb1;
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index b38f0723823e247e8f34963cac55ce901d1e443c..37203b63410faeb50dccd20a9610399fd086a054 100644 (file)
@@ -22,7 +22,7 @@
                udc0 = &usb1;
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index e9de72429f27bb1c29e440732578cb5f77b8b801..264ca3dd53f1bb828f72315a44968edffbcb7c09 100644 (file)
@@ -20,7 +20,7 @@
                udc0 = &usb1;
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index 58a5faf6ea22552be61cc9f4b4b28156c3683ac8..b26248b023e485150d345e1844cc92c2e4320923 100644 (file)
@@ -15,7 +15,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x10000000>;