[PATCH 3/4] riscv: dts: spacemit: enable eMMC on Milk-V Jupiter
E Shattow
e at freeshell.de
Thu May 14 23:49:00 PDT 2026
On 5/14/26 08:56, Aurelien Jarno wrote:
> 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. As it is not
> populated by default, do no mark it as non-removable.
>
The meaning of "non-removable" here is whether it is expected to be
added and removed during use, requiring to be probed again; not whether
it is a user configurable module or soldered down part.
> Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
> ---
> arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
> index 450d28e438293..b9b8ddc8e7fb0 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,15 @@ &cpu_7 {
> cpu-supply = <&buck1_3v45>;
> };
>
> +&emmc {
> + bus-width = <8>;
> + mmc-hs400-1_8v;
> + mmc-hs400-enhanced-strobe;
> + no-sd;
> + no-sdio;
> + status = "okay";
> +};
> +
> ð0 {
> phy-handle = <&rgmii0>;
> phy-mode = "rgmii-id";
With that, LGTM
(no R-by tag, I would want to test this I do not have the hardware though)
-E
More information about the linux-riscv
mailing list