Devicetree
 help / color / mirror / Atom feed
* [PATCH 1/2] riscv: dts: spacemit: k3: use com260 8gb memory configuration
       [not found] <20261115195112.32120-1-e@freeshell.de>
@ 2026-11-15 19:50 ` E Shattow
  2026-11-17  0:57   ` Yixun Lan
  2026-11-15 19:51 ` [PATCH 2/2] riscv: dts: spacemit: k3: use pico-itx " E Shattow
  1 sibling, 1 reply; 3+ messages in thread
From: E Shattow @ 2026-11-15 19:50 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Yixun Lan,
	Troy Mitchell, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti
  Cc: linux-riscv, spacemit, E Shattow, devicetree, linux-kernel

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
configuration of 8gb is the most compatible option.

Signed-off-by: E Shattow <e@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@100000000 {
 		device_type = "memory";
-		reg = <0x1 0x00000000 0x4 0x00000000>;
+		reg = <0x1 0x00000000 0x2 0x00000000>;
 	};
 
 	reg_5v_sys: regulator-5v-sys {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] riscv: dts: spacemit: k3: use pico-itx 8gb memory configuration
       [not found] <20261115195112.32120-1-e@freeshell.de>
  2026-11-15 19:50 ` [PATCH 1/2] riscv: dts: spacemit: k3: use com260 8gb memory configuration E Shattow
@ 2026-11-15 19:51 ` E Shattow
  1 sibling, 0 replies; 3+ messages in thread
From: E Shattow @ 2026-11-15 19:51 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Yixun Lan,
	Troy Mitchell
  Cc: linux-riscv, spacemit, E Shattow, devicetree, linux-kernel

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
configuration of 8gb is the most compatible option.

Signed-off-by: E Shattow <e@freeshell.de>
---
 arch/riscv/boot/dts/spacemit/k3-pico-itx.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
index dda420900aa2..8d1cd468cf8c 100644
--- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
+++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
@@ -25,7 +25,7 @@ chosen {
 
 	memory@100000000 {
 		device_type = "memory";
-		reg = <0x1 0x00000000 0x4 0x00000000>;
+		reg = <0x1 0x00000000 0x2 0x00000000>;
 	};
 
 	reg_aux_vcc3v3: regulator-aux-vcc3v3 {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] riscv: dts: spacemit: k3: use com260 8gb memory configuration
  2026-11-15 19:50 ` [PATCH 1/2] riscv: dts: spacemit: k3: use com260 8gb memory configuration E Shattow
@ 2026-11-17  0:57   ` Yixun Lan
  0 siblings, 0 replies; 3+ messages in thread
From: Yixun Lan @ 2026-11-17  0:57 UTC (permalink / raw)
  To: E Shattow
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Troy Mitchell,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	linux-riscv, spacemit, devicetree, linux-kernel

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@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@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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-17  0:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261115195112.32120-1-e@freeshell.de>
2026-11-15 19:50 ` [PATCH 1/2] riscv: dts: spacemit: k3: use com260 8gb memory configuration E Shattow
2026-11-17  0:57   ` Yixun Lan
2026-11-15 19:51 ` [PATCH 2/2] riscv: dts: spacemit: k3: use pico-itx " E Shattow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox