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

ARM: dts: at91: sama7g5ek: align power rails for sdmmc0/1

On this board SDMMC0 has a 1.8 signaled eMMC device powered at
3.3V. Hence, correctly describe the connected rails from the PMIC.

SDMMC1 is connected to a voltage switch that can change from
3.3V to 1.8V by a hardware controlled pin.
However SDMMC1 at the moment works only in 3.3V mode (default speed,
no UHS-I modes), thus connect the signaling to the 3.3V rail.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[claudiu.beznea: reshaped a bit the commit message]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20221124154610.246790-1-eugen.hristev@microchip.com

authored by

Eugen Hristev and committed by
Claudiu Beznea
3cf22917 7a3c6267

+4 -1
+4 -1
arch/arm/boot/dts/at91-sama7g5ek.dts
··· 764 764 &sdmmc0 { 765 765 bus-width = <8>; 766 766 non-removable; 767 - no-1-8-v; 768 767 sdhci-caps-mask = <0x0 0x00200000>; 768 + vmmc-supply = <&vdd_3v3>; 769 + vqmmc-supply = <&vldo1>; 769 770 pinctrl-names = "default"; 770 771 pinctrl-0 = <&pinctrl_sdmmc0_default>; 771 772 status = "okay"; ··· 776 775 bus-width = <4>; 777 776 no-1-8-v; 778 777 sdhci-caps-mask = <0x0 0x00200000>; 778 + vmmc-supply = <&vdd_3v3>; 779 + vqmmc-supply = <&vdd_3v3>; 779 780 pinctrl-names = "default"; 780 781 pinctrl-0 = <&pinctrl_sdmmc1_default>; 781 782 status = "okay";