[PATCH v2 3/5] riscv: dts: spacemit: enable eMMC on Milk-V Jupiter
From: Aurelien Jarno
Date: Tue May 19 2026 - 00:15:54 EST
The Milk-V Jupiter board has a connector for an eMMC module. Add an
entry for it in the device tree and alias it mmc0.
Mark the device as non-removable as eMMC modules have no CD pin and are
not supposed to be inserted or removed while the system is running. On
systems without an eMMC module installed, the kernel emits the following
informational message during boot:
mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
mmc0: Failed to initialize a non-removable card
Signed-off-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
---
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
v2: Mark the eMMC as non-removable
diff --git a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
index 450d28e438293..eb53198b95061 100644
--- a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
@@ -17,6 +17,7 @@ aliases {
ethernet1 = ð1;
i2c2 = &i2c2;
i2c8 = &i2c8;
+ mmc0 = &emmc;
serial0 = &uart0;
};
@@ -138,6 +139,16 @@ &cpu_7 {
cpu-supply = <&buck1_3v45>;
};
+&emmc {
+ bus-width = <8>;
+ mmc-hs400-1_8v;
+ mmc-hs400-enhanced-strobe;
+ non-removable;
+ no-sd;
+ no-sdio;
+ status = "okay";
+};
+
ð0 {
phy-handle = <&rgmii0>;
phy-mode = "rgmii-id";
--
2.53.0