Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: linux-amarula@amarulasolutions.com, francesco.utel@engicam.com,
	michael@amarulasolutions.com, domenico.acri@engicam.com,
	Dario Binacchi <dario.binacchi@amarulasolutions.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Rob Herring <robh@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-stm32@st-md-mailman.stormreply.com
Subject: [PATCH v6 04/16] arm64: dts: st: add SDMMC2 support on stm32mp25
Date: Tue, 30 Jun 2026 11:24:33 +0200	[thread overview]
Message-ID: <20260630092628.1695560-5-dario.binacchi@amarulasolutions.com> (raw)
In-Reply-To: <20260630092628.1695560-1-dario.binacchi@amarulasolutions.com>

The SDMMC2 controller supports SD cards, eMMC memories and SDIO devices.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

---

(no changes since v3)

Changes in v3:
- Add power-domains property. Suggested by Sashiko.

 arch/arm64/boot/dts/st/stm32mp251.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index ae36d703532c..44938c036e30 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -1668,6 +1668,22 @@ sdmmc1: mmc@48220000 {
 				status = "disabled";
 			};
 
+			sdmmc2: mmc@48230000 {
+				compatible = "st,stm32mp25-sdmmc2", "arm,pl18x", "arm,primecell";
+				arm,primecell-periphid = <0x00353180>;
+				reg = <0x48230000 0x400>, <0x44230800 0x8>;
+				interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&rcc CK_KER_SDMMC2>;
+				clock-names = "apb_pclk";
+				resets = <&rcc SDMMC2_R>;
+				cap-sd-highspeed;
+				cap-mmc-highspeed;
+				max-frequency = <120000000>;
+				access-controllers = <&rifsc 77>;
+				power-domains = <&CLUSTER_PD>;
+				status = "disabled";
+			};
+
 			ethernet1: ethernet@482c0000 {
 				compatible = "st,stm32mp25-dwmac", "snps,dwmac-5.20";
 				reg = <0x482c0000 0x4000>;
-- 
2.43.0



  parent reply	other threads:[~2026-06-30  9:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30  9:24 [PATCH v6 00/16] arm64: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 01/16] dt-bindings: arm: stm32: " Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 02/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp231 Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 03/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp251 Dario Binacchi
2026-06-30  9:24 ` Dario Binacchi [this message]
2026-06-30  9:24 ` [PATCH v6 05/16] arm64: dts: st: add CAN1 support on stm32mp25 Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 06/16] arm64: dts: st: add i2c1 pins for stm32mp25 Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 07/16] arm64: dts: st: add ltdc " Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 08/16] arm64: dts: st: add can1 " Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 09/16] arm64: dts: st: add pwm2/pwm4 " Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 10/16] arm64: dts: st: add sai1 " Dario Binacchi
2026-06-30 16:09   ` [Linux-stm32] " Olivier MOYSAN
2026-06-30  9:24 ` [PATCH v6 11/16] arm64: dts: st: add sdmmc2 " Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 12/16] arm64: dts: st: add spi1 " Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 13/16] arm64: dts: st: add usart1 " Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 14/16] arm64: dts: st: support Engicam MicroGEA-STM32MP257 SoM Dario Binacchi
2026-06-30  9:24 ` [PATCH v6 15/16] arm64: dts: st: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi

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=20260630092628.1695560-5-dario.binacchi@amarulasolutions.com \
    --to=dario.binacchi@amarulasolutions.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=domenico.acri@engicam.com \
    --cc=francesco.utel@engicam.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-amarula@amarulasolutions.com \
    --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=michael@amarulasolutions.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