Re: [PATCH 1/2] riscv: dts: spacemit: k3: use com260 8gb memory configuration
From: Yixun Lan
Date: Mon Nov 16 2026 - 19:58:02 EST
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@xxxxxxxxxxxx>
> ---
> 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@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)