]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode
authorRyan Wanner <Ryan.Wanner@microchip.com>
Tue, 19 Aug 2025 17:05:24 +0000 (10:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 17:02:18 +0000 (19:02 +0200)
[ Upstream commit 217efb440933bf97a78ef328b211d8a39f4ff171 ]

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

Fixes: deaa14ab6b06 ("ARM: dts: microchip: add support for sama7d65_curiosity board")
Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20250819170528.126010-1-Ryan.Wanner@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts

index 53a657cf4efba305225836e196d448ff0ea98044..dfe1f0616a81000f1fbe9507e5d6664d6fdece99 100644 (file)
 
 &sdmmc1 {
        bus-width = <4>;
+       no-1-8-v;
+       sdhci-caps-mask = <0x0 0x00200000>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_sdmmc1_default>;
        status = "okay";