2024-02-13 14:58:20

by Mihai Sain

[permalink] [raw]
Subject: [PATCH v4 2/8] ARM: dts: microchip: sam9x60ek: Add power-supply properties for sdmmc nodes

In order to use the sd high-speed mode, keep vqmmc at 3V3.
Add vmmc-supply and vqmmc-supply properties to sdmmc nodes.

Signed-off-by: Mihai Sain <[email protected]>
---
arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
index f3cbb675cea4..b19a0956dc97 100644
--- a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
+++ b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
@@ -560,6 +560,8 @@ &sdmmc0 {
status = "okay";
cd-gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
disable-wp;
+ vmmc-supply = <&vdd1_3v3>;
+ vqmmc-supply = <&vdd1_3v3>;
};

&sdmmc1 {
@@ -568,6 +570,8 @@ &sdmmc1 {
pinctrl-0 = <&pinctrl_sdmmc1_default>;
no-1-8-v;
non-removable;
+ vmmc-supply = <&vdd1_3v3>;
+ vqmmc-supply = <&vdd1_3v3>;
status = "disabled"; /* Conflict with flx4. */
};

--
2.43.0