[PATCH v2 3/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: Enable SD card support
Troy Mitchell
troy.mitchell at linux.spacemit.com
Wed Oct 21 20:18:38 PDT 2026
On Tue Oct 20, 2026 at 4:20 PM +08, Sandie Cao wrote:
> Add the device tree node SDHCI-0 controller for Micro SD card slot.
>
> Signed-off-by: Sandie Cao <sandie.cao at deepcomputing.io>
> ---
> .../dts/spacemit/k3-deepcomputing-fml13v05.dts | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts b/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> index 84f66dd8f962..09e3d46a2ea3 100644
> --- a/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> +++ b/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> @@ -2,6 +2,7 @@
> /*
> * Copyright (C) 2026 DeepComputing (HK) Limited
> */
> +#include <dt-bindings/gpio/gpio.h>
This header is no longer needed now that cd-gpios has been removed.
>
> #include "k3.dtsi"
> #include "k3-pinctrl.dtsi"
> @@ -184,6 +185,23 @@ &combophy {
> status = "okay";
> };
>
> +&sdhci0 {
> + pinctrl-names = "default","uhs";
> + pinctrl-0 = <&mmc1_cfg>;
> + pinctrl-1 = <&mmc1_uhs_cfg>;
> + bus-width = <4>;
> + non-removable;
Could we add a comment explaining why the SD card is marked as
non-removable?
--
Troy Mitchell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20261022/e56f2891/attachment.sig>
More information about the linux-riscv
mailing list