summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2023-08-14 15:28:43 +0200
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2023-08-16 09:15:27 +0200
commite4e724099f04072053cf411456e3e9aae48c4af1 (patch)
tree586b849d333edadedfc2fd6a95d2bb917943887b
parentba287d1a0137702a224b1f48673d529257b3c4bf (diff)
downloadlinux-stable-e4e724099f04072053cf411456e3e9aae48c4af1.tar.gz
linux-stable-e4e724099f04072053cf411456e3e9aae48c4af1.tar.bz2
linux-stable-e4e724099f04072053cf411456e3e9aae48c4af1.zip
ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f746-disco
In the schematics of document UM1907, 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> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
-rw-r--r--arch/arm/boot/dts/st/stm32f746-disco.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/st/stm32f746-disco.dts b/arch/arm/boot/dts/st/stm32f746-disco.dts
index a53da9c3a507..960aed12aa9e 100644
--- a/arch/arm/boot/dts/st/stm32f746-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f746-disco.dts
@@ -80,9 +80,9 @@
regulator-always-on;
};
- 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>;
};
@@ -118,7 +118,7 @@
&sdio1 {
status = "okay";
- vmmc-supply = <&mmc_vcard>;
+ vmmc-supply = <&vcc_3v3>;
cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
pinctrl-names = "default", "opendrain";
pinctrl-0 = <&sdio_pins_a>;