[PATCH 1/2] riscv: dts: spacemit: k3: use com260 8gb memory configuration

Yixun Lan dlan at kernel.org
Mon Nov 16 16:57:55 PST 2026


Hi E Shattow,

On 11:50 Sun 15 Nov     , E Shattow wrote:
> The boot loader may override this configuration based on stored ID value
> in EEPROM TLV and if it does not then the smallest common sold
I think bootloader will detect memory size during DDR initiliazation phase,
and then update the DT configuration, I haven't checked vendor code, but
plan to implement this in mainline u-boot..

While the change itself looks good, to have always smallest valid default..

> configuration of 8gb is the most compatible option.
> 
> Signed-off-by: E Shattow <e at freeshell.de>
> ---
>  arch/riscv/boot/dts/spacemit/k3-com260.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi
> index 054bfff7413a..c18680b963a4 100644
> --- a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi
> +++ b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi
> @@ -14,7 +14,7 @@ / {
>  
>  	memory at 100000000 {
>  		device_type = "memory";
> -		reg = <0x1 0x00000000 0x4 0x00000000>;
> +		reg = <0x1 0x00000000 0x2 0x00000000>;
>  	};
>  
>  	reg_5v_sys: regulator-5v-sys {
> -- 
> 2.53.0
> 

-- 
Yixun Lan (dlan)



More information about the linux-riscv mailing list