riscv: dts: spacemit: enable eMMC on Milk-V Jupiter

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@aurel32.net>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Link: https://patch.msgid.link/20260519041458.3287843-4-aurelien@aurel32.net
Signed-off-by: Yixun Lan <dlan@kernel.org>
This commit is contained in:
Aurelien Jarno 2026-05-19 06:12:37 +02:00 committed by Yixun Lan
parent 9cdeba29d6
commit 4bc9f44d58

View File

@ -16,6 +16,7 @@ aliases {
ethernet1 = &eth1;
i2c2 = &i2c2;
i2c8 = &i2c8;
mmc0 = &emmc;
serial0 = &uart0;
};
@ -105,6 +106,16 @@ &combo_phy {
status = "okay";
};
&emmc {
bus-width = <8>;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
non-removable;
no-sd;
no-sdio;
status = "okay";
};
&eth0 {
phy-handle = <&rgmii0>;
phy-mode = "rgmii-id";