From: Mateusz Nowicki <mateusz.nowicki@posteo.net>
To: alexandre.torgue@foss.st.com, mcoquelin.stm32@gmail.com
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 3/3] arm64: dts: st: enable eMMC on stm32mp257f-dk
Date: Sat, 12 Sep 2026 20:45:06 +0000 [thread overview]
Message-ID: <20260912204454.219606-4-mateusz.nowicki@posteo.net> (raw)
In-Reply-To: <20260912204454.219606-1-mateusz.nowicki@posteo.net>
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@posteo.net>
---
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
prev parent reply other threads:[~2026-09-12 20:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-12 20:45 [PATCH 0/3] arm64: dts: st: add eMMC support on STM32MP257F-DK Mateusz Nowicki
2026-09-12 20:45 ` [PATCH 1/3] arm64: dts: st: add sdmmc2 node on stm32mp251 Mateusz Nowicki
2026-09-12 20:45 ` [PATCH 2/3] arm64: dts: st: add sdmmc2 pins on stm32mp25 Mateusz Nowicki
2026-09-12 20:45 ` Mateusz Nowicki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260912204454.219606-4-mateusz.nowicki@posteo.net \
--to=mateusz.nowicki@posteo.net \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox