Devicetree
 help / color / mirror / Atom feed
* [PATCH 1/1] riscv: dts: spacemit: enable eMMC for OrangePi RV2
@ 2026-05-09 10:00 Chukun Pan
  2026-05-09 12:07 ` Yixun Lan
  2026-05-11  4:50 ` Yixun Lan
  0 siblings, 2 replies; 3+ messages in thread
From: Chukun Pan @ 2026-05-09 10:00 UTC (permalink / raw)
  To: Yixun Lan
  Cc: Rob Herring, Paul Walmsley, Alexandre Ghiti, Albert Ou,
	Palmer Dabbelt, Conor Dooley, Krzysztof Kozlowski, linux-riscv,
	linux-kernel, devicetree, spacemit, Chukun Pan

The OrangePi RV2 board has one eMMC slot, so enable eMMC.
Tested using a 16 GiB AJTD4R eMMC module.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
 arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
index 3a829e3c9cbc..c95ca38e3d4a 100644
--- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
@@ -78,6 +78,16 @@ &combo_phy {
 	status = "okay";
 };
 
+&emmc {
+	bus-width = <8>;
+	mmc-hs400-1_8v;
+	mmc-hs400-enhanced-strobe;
+	no-sd;
+	no-sdio;
+	non-removable;
+	status = "okay";
+};
+
 &eth0 {
 	phy-handle = <&rgmii0>;
 	phy-mode = "rgmii-id";
-- 
2.34.1


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

* Re: [PATCH 1/1] riscv: dts: spacemit: enable eMMC for OrangePi RV2
  2026-05-09 10:00 [PATCH 1/1] riscv: dts: spacemit: enable eMMC for OrangePi RV2 Chukun Pan
@ 2026-05-09 12:07 ` Yixun Lan
  2026-05-11  4:50 ` Yixun Lan
  1 sibling, 0 replies; 3+ messages in thread
From: Yixun Lan @ 2026-05-09 12:07 UTC (permalink / raw)
  To: Chukun Pan
  Cc: Rob Herring, Paul Walmsley, Alexandre Ghiti, Albert Ou,
	Palmer Dabbelt, Conor Dooley, Krzysztof Kozlowski, linux-riscv,
	linux-kernel, devicetree, spacemit

Hi Chukun, 

On 18:00 Sat 09 May     , Chukun Pan wrote:
> The OrangePi RV2 board has one eMMC slot, so enable eMMC.
> Tested using a 16 GiB AJTD4R eMMC module.
> 
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>

Reviewed-by: Yixun Lan <dlan@kernel.org>

> ---
>  arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> index 3a829e3c9cbc..c95ca38e3d4a 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> @@ -78,6 +78,16 @@ &combo_phy {
>  	status = "okay";
>  };
>  
> +&emmc {
> +	bus-width = <8>;
> +	mmc-hs400-1_8v;
> +	mmc-hs400-enhanced-strobe;
> +	no-sd;
> +	no-sdio;
> +	non-removable;
> +	status = "okay";
> +};
> +
>  &eth0 {
>  	phy-handle = <&rgmii0>;
>  	phy-mode = "rgmii-id";
> -- 
> 2.34.1
> 
> 

-- 
Yixun Lan (dlan)

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

* Re: [PATCH 1/1] riscv: dts: spacemit: enable eMMC for OrangePi RV2
  2026-05-09 10:00 [PATCH 1/1] riscv: dts: spacemit: enable eMMC for OrangePi RV2 Chukun Pan
  2026-05-09 12:07 ` Yixun Lan
@ 2026-05-11  4:50 ` Yixun Lan
  1 sibling, 0 replies; 3+ messages in thread
From: Yixun Lan @ 2026-05-11  4:50 UTC (permalink / raw)
  To: Chukun Pan
  Cc: Yixun Lan, Rob Herring, Paul Walmsley, Alexandre Ghiti, Albert Ou,
	Palmer Dabbelt, Conor Dooley, Krzysztof Kozlowski, linux-riscv,
	linux-kernel, devicetree, spacemit


On Sat, 09 May 2026 18:00:00 +0800, Chukun Pan wrote:
> The OrangePi RV2 board has one eMMC slot, so enable eMMC.
> Tested using a 16 GiB AJTD4R eMMC module.

Applied, thanks!

[1/1] riscv: dts: spacemit: enable eMMC for OrangePi RV2
      https://github.com/spacemit-com/linux/commit/f068b204555ad62d6a841a49feb4ea8c4f45b25c

Best regards,
-- 
Yixun Lan <dlan@kernel.org>

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

end of thread, other threads:[~2026-05-11  4:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-09 10:00 [PATCH 1/1] riscv: dts: spacemit: enable eMMC for OrangePi RV2 Chukun Pan
2026-05-09 12:07 ` Yixun Lan
2026-05-11  4:50 ` Yixun Lan

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