Skip to contentSkip to conversation

ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode

PATCH In review [email protected] 2 participants 2 messages Aug 19, 2025 – Aug 22, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode

From: Ryan Wanner <[email protected]>

The SDMMC in this IP currently only supports legacy mode due to a hardware quirk, setting the flags to reflect the limitation.

---
 arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts +2 -0
index 7eaf6ca233ec..d086437f5e6f 100644
@@ -387,6 +387,8 @@ &rtt {
 
 &sdmmc1 {
 	bus-width = <4>;
+	no-1-8-v;
+	sdhci-caps-mask = <0x0 0x00200000>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_sdmmc1_default>;
 	status = "okay";
Signature · 1 line
2.43.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · On 19/08/2025 at 19:05, [email protected] wrote:

From: Ryan Wanner <[email protected]>

The SDMMC in this IP currently only supports legacy mode

... but we're working on it ;-)

Quoted 3 lines

due to a hardware quirk, setting the flags to reflect the limitation.

That's fair enough for the time being:

Regards,
Nicolas

Quoted 17 lines
---
  arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts | 2 ++
  1 file changed, 2 insertions(+)
arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts +2 -0
index 7eaf6ca233ec..d086437f5e6f 100644
@@ -387,6 +387,8 @@ &rtt {
 
  &sdmmc1 {
  	bus-width = <4>;
+	no-1-8-v;
+	sdhci-caps-mask = <0x0 0x00200000>;
  	pinctrl-names = "default";
  	pinctrl-0 = <&pinctrl_sdmmc1_default>;
  	status = "okay";