Skip to content

Commit 419ed75

Browse files
Pascal PailletAlexandre Torgue
authored andcommitted
arm64: dts: st: describe power supplies for stm32mp257f-ev1 board
Describe power supplies for stm32mp257f-ev1 board. Signed-off-by: Pascal Paillet <[email protected]> Signed-off-by: Alexandre Torgue <[email protected]>
1 parent 387abbb commit 419ed75

File tree

1 file changed

+34
-9
lines changed

1 file changed

+34
-9
lines changed

arch/arm64/boot/dts/st/stm32mp257f-ev1.dts

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/dts-v1/;
88

99
#include <dt-bindings/gpio/gpio.h>
10+
#include <dt-bindings/regulator/st,stm32mp25-regulator.h>
1011
#include "stm32mp257.dtsi"
1112
#include "stm32mp25xf.dtsi"
1213
#include "stm32mp25-pinctrl.dtsi"
@@ -42,14 +43,6 @@
4243
no-map;
4344
};
4445
};
45-
46-
vdd_sdcard: vdd-sdcard {
47-
compatible = "regulator-fixed";
48-
regulator-name = "vdd_sdcard";
49-
regulator-min-microvolt = <3300000>;
50-
regulator-max-microvolt = <3300000>;
51-
regulator-always-on;
52-
};
5346
};
5447

5548
&arm_wdt {
@@ -100,6 +93,37 @@
10093
status = "disabled";
10194
};
10295

96+
&scmi_regu {
97+
scmi_vddio1: regulator@0 {
98+
regulator-min-microvolt = <1800000>;
99+
regulator-max-microvolt = <3300000>;
100+
};
101+
scmi_vddcore: regulator@11 {
102+
reg = <VOLTD_SCMI_STPMIC2_BUCK2>;
103+
regulator-name = "vddcore";
104+
};
105+
scmi_v1v8: regulator@14 {
106+
reg = <VOLTD_SCMI_STPMIC2_BUCK5>;
107+
regulator-name = "v1v8";
108+
};
109+
scmi_v3v3: regulator@16 {
110+
reg = <VOLTD_SCMI_STPMIC2_BUCK7>;
111+
regulator-name = "v3v3";
112+
};
113+
scmi_vdd_emmc: regulator@18 {
114+
reg = <VOLTD_SCMI_STPMIC2_LDO2>;
115+
regulator-name = "vdd_emmc";
116+
};
117+
scmi_vdd3v3_usb: regulator@20 {
118+
reg = <VOLTD_SCMI_STPMIC2_LDO4>;
119+
regulator-name = "vdd3v3_usb";
120+
};
121+
scmi_vdd_sdcard: regulator@23 {
122+
reg = <VOLTD_SCMI_STPMIC2_LDO7>;
123+
regulator-name = "vdd_sdcard";
124+
};
125+
};
126+
103127
&sdmmc1 {
104128
pinctrl-names = "default", "opendrain", "sleep";
105129
pinctrl-0 = <&sdmmc1_b4_pins_a>;
@@ -109,7 +133,8 @@
109133
disable-wp;
110134
st,neg-edge;
111135
bus-width = <4>;
112-
vmmc-supply = <&vdd_sdcard>;
136+
vmmc-supply = <&scmi_vdd_sdcard>;
137+
vqmmc-supply = <&scmi_vddio1>;
113138
status = "okay";
114139
};
115140

0 commit comments

Comments
 (0)