[PATCH v1 5/5] arch: arm: socfpga: Assign unit address to memory node

Chee, Tien Fong tienfong.chee at altera.com
Tue Jan 27 09:06:35 CET 2026


On 16/12/2025 4:46 pm, alif.zakuan.yuslaimi at altera.com wrote:
> From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at altera.com>
>
> 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 at altera.com>
> ---
>   arch/arm/dts/socfpga-common-u-boot.dtsi         | 2 +-
>   arch/arm/dts/socfpga_arria5_secu1.dts           | 2 +-
>   arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts      | 2 +-
>   arch/arm/dts/socfpga_cyclone5_de10_nano.dts     | 2 +-
>   arch/arm/dts/socfpga_cyclone5_de10_standard.dts | 2 +-
>   arch/arm/dts/socfpga_cyclone5_de1_soc.dts       | 2 +-
>   arch/arm/dts/socfpga_cyclone5_is1.dts           | 2 +-
>   7 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/dts/socfpga-common-u-boot.dtsi b/arch/arm/dts/socfpga-common-u-boot.dtsi
> index 695242bec21..ddef9a2896d 100644
> --- a/arch/arm/dts/socfpga-common-u-boot.dtsi
> +++ b/arch/arm/dts/socfpga-common-u-boot.dtsi
> @@ -5,7 +5,7 @@
>    * Copyright (c) 2019 Simon Goldschmidt
>    */
>   /{
> -	memory {
> +	memory at 0 {
>   		bootph-all;
>   	};
>   
> diff --git a/arch/arm/dts/socfpga_arria5_secu1.dts b/arch/arm/dts/socfpga_arria5_secu1.dts
> index 8e9c3bbdf9d..dfc04cc2d7a 100644
> --- a/arch/arm/dts/socfpga_arria5_secu1.dts
> +++ b/arch/arm/dts/socfpga_arria5_secu1.dts
> @@ -16,7 +16,7 @@
>   		bootargs = "console=ttyS0,115200";
>   	};
>   
> -	memory {
> +	memory at 0 {
>   		name = "memory";
>   		device_type = "memory";
>   		reg = <0x0 0x20000000>; /* 512MB */
> diff --git a/arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts b/arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts
> index ca030c8c41b..094db1cb7d4 100644
> --- a/arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts
> @@ -20,7 +20,7 @@
>   		udc0 = &usb1;
>   	};
>   
> -	memory {
> +	memory at 0 {
>   		name = "memory";
>   		device_type = "memory";
>   		reg = <0x0 0x40000000>; /* 1GB */
> diff --git a/arch/arm/dts/socfpga_cyclone5_de10_nano.dts b/arch/arm/dts/socfpga_cyclone5_de10_nano.dts
> index 34886ec1ad8..346b2ef9e2d 100644
> --- a/arch/arm/dts/socfpga_cyclone5_de10_nano.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_de10_nano.dts
> @@ -22,7 +22,7 @@
>   		udc0 = &usb1;
>   	};
>   
> -	memory {
> +	memory at 0 {
>   		name = "memory";
>   		device_type = "memory";
>   		reg = <0x0 0x40000000>; /* 1GB */
> diff --git a/arch/arm/dts/socfpga_cyclone5_de10_standard.dts b/arch/arm/dts/socfpga_cyclone5_de10_standard.dts
> index b38f0723823..37203b63410 100644
> --- a/arch/arm/dts/socfpga_cyclone5_de10_standard.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_de10_standard.dts
> @@ -22,7 +22,7 @@
>   		udc0 = &usb1;
>   	};
>   
> -	memory {
> +	memory at 0 {
>   		name = "memory";
>   		device_type = "memory";
>   		reg = <0x0 0x40000000>; /* 1GB */
> diff --git a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts
> index e9de72429f2..264ca3dd53f 100644
> --- a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts
> @@ -20,7 +20,7 @@
>   		udc0 = &usb1;
>   	};
>   
> -	memory {
> +	memory at 0 {
>   		name = "memory";
>   		device_type = "memory";
>   		reg = <0x0 0x40000000>; /* 1GB */
> diff --git a/arch/arm/dts/socfpga_cyclone5_is1.dts b/arch/arm/dts/socfpga_cyclone5_is1.dts
> index 58a5faf6ea2..b26248b023e 100644
> --- a/arch/arm/dts/socfpga_cyclone5_is1.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_is1.dts
> @@ -15,7 +15,7 @@
>   		stdout-path = "serial0:115200n8";
>   	};
>   
> -	memory {
> +	memory at 0 {
>   		name = "memory";
>   		device_type = "memory";
>   		reg = <0x0 0x10000000>;


Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>

Best regards,
Tien Fong



More information about the U-Boot mailing list