]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 27 Jan 2024 15:28:47 +0000 (16:28 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 29 Feb 2024 08:50:09 +0000 (09:50 +0100)
In the schematics of document UM2033, the power supply for the micro SD
card is the same 3v3 voltage that is used to power other devices on the
board. By generalizing the name of the voltage regulator, it can be
referenced by other nodes in the device tree without creating
misunderstandings.

This patch is preparatory for future developments.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32f769-disco.dts

index 5d12ae25b32746604e055d6e11f30bb42174a011..660f859841641a983ffb19ee3f77cf22e196e436 100644 (file)
@@ -92,9 +92,9 @@
                clock-names = "main_clk";
        };
 
-       mmc_vcard: mmc_vcard {
+       vcc_3v3: vcc-3v3 {
                compatible = "regulator-fixed";
-               regulator-name = "mmc_vcard";
+               regulator-name = "vcc_3v3";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
        };
 
 &sdio2 {
        status = "okay";
-       vmmc-supply = <&mmc_vcard>;
+       vmmc-supply = <&vcc_3v3>;
        cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
        broken-cd;
        pinctrl-names = "default", "opendrain", "sleep";