[PATCH 3/3] arm64: dts: st: enable eMMC on stm32mp257f-dk
From: Mateusz Nowicki
Date: Sat Sep 12 2026 - 16:46:14 EST
Enable the 8-Gbyte eMMC v5.1 connected to SDMMC2 with an 8-bit bus.
Faster 1.8V modes are not enabled as they could not be tested yet.
Signed-off-by: Mateusz Nowicki <mateusz.nowicki@xxxxxxxxxx>
---
arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
index 8daf3dfd5133..8c6aabac367e 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
@@ -21,6 +21,8 @@ / {
aliases {
ethernet0 = ðernet1;
serial0 = &usart2;
+ mmc0 = &sdmmc1;
+ mmc1 = &sdmmc2;
};
chosen {
@@ -231,6 +233,10 @@ scmi_vddio1: regulator@0 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
+ scmi_vddio2: regulator@1 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ };
scmi_vddcore: regulator@11 {
reg = <VOLTD_SCMI_STPMIC2_BUCK2>;
regulator-name = "vddcore";
@@ -279,6 +285,21 @@ &sdmmc1 {
status = "okay";
};
+&sdmmc2 {
+ pinctrl-names = "default", "opendrain", "sleep";
+ pinctrl-0 = <&sdmmc2_b8_pins_a>;
+ pinctrl-1 = <&sdmmc2_b8_od_pins_a>;
+ pinctrl-2 = <&sdmmc2_b8_sleep_pins_a>;
+ non-removable;
+ no-sd;
+ no-sdio;
+ st,neg-edge;
+ bus-width = <8>;
+ status = "okay";
+ vmmc-supply = <&scmi_vdd_emmc>;
+ vqmmc-supply = <&scmi_vddio2>;
+};
+
&usart2 {
pinctrl-names = "default", "idle", "sleep";
pinctrl-0 = <&usart2_pins_a>;
--
2.55.0