Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: microchip: sama5d29_curiosity: Add no-1-8-v property to sdmmc0 node

Add no-1-8-v property to sdmmc0 node to keep VDDSDMMC power rail at 3.3V.
This property will stop the LDO regulator from switching to 1.8V when the
MMC core detects an UHS SD Card. VDDSDMMC power rail is used by all the
SDMMC interface pins in GPIO mode (PA0 - PA13).

On this board, PA6 is used as GPIO to enable the power switch controlling
USB Vbus for the USB Host. The change is needed to fix the PA6 voltage
level to 3.3V instead of 1.8V.

Fixes: d85c4229e925 ("ARM: dts: at91: sama5d29_curiosity: Add device tree for sama5d29_curiosity board")
Suggested-by: Mihai Sain <mihai.sain@microchip.com>
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
Tested-by: Andrei Simion <andrei.simion@microchip.com>
Link: https://lore.kernel.org/r/20241119160107.598411-2-cristian.birsan@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>

authored by

Cristian Birsan and committed by
Claudiu Beznea
c21c23a0 747800ee

+1
+1
arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
··· 514 514 515 515 &sdmmc0 { 516 516 bus-width = <4>; 517 + no-1-8-v; 517 518 pinctrl-names = "default"; 518 519 pinctrl-0 = <&pinctrl_sdmmc0_default>; 519 520 disable-wp;