From: Eugen Hristev Date: Thu, 24 Nov 2022 15:46:10 +0000 (+0200) Subject: ARM: dts: at91: sama7g5ek: align power rails for sdmmc0/1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3cf2291777abefe94b453d1d886e8a11f024912c;p=linux.git 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 [claudiu.beznea: reshaped a bit the commit message] Signed-off-by: Claudiu Beznea Link: https://lore.kernel.org/r/20221124154610.246790-1-eugen.hristev@microchip.com --- diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts index 3b25c67795ddb..aa5cc0e98bbab 100644 --- a/arch/arm/boot/dts/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts @@ -764,8 +764,9 @@ &sdmmc0 { bus-width = <8>; non-removable; - no-1-8-v; sdhci-caps-mask = <0x0 0x00200000>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vldo1>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; status = "okay"; @@ -775,6 +776,8 @@ bus-width = <4>; no-1-8-v; sdhci-caps-mask = <0x0 0x00200000>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; status = "okay";