mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christophe KERELLO <christophe.kerello@foss.st.com>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>,
	<linux-kernel@vger.kernel.org>
Cc: Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
	<devicetree@vger.kernel.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	<michael@amarulasolutions.com>,
	<linux-amarula@amarulasolutions.com>,
	<linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [Linux-stm32] [PATCH 1/2] arm64: dts: st: enable eMMC on stm32mp257f-ev1
Date: Tue, 17 Nov 2026 17:58:02 +0100	[thread overview]
Message-ID: <c936336b-04b1-4860-9eba-4d1ab002adff@foss.st.com> (raw)
In-Reply-To: <20261115163432.2601947-1-dario.binacchi@amarulasolutions.com>

Hello Dario,

On 11/15/26 17:34, Dario Binacchi wrote:
> Enable the eMMC connected to SDMMC2 with an 8-bit bus on the
> STM32MP257F-EV1. VDDIO2 is tied to the 1.8 V rail on this board, so
> the DDR52 and HS200 modes are enabled. Tested in HS200 mode at 100 MHz.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>
>   arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 17 +++++++++++++++++
>   1 file changed, 17 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
> index 782b4bb843ee..9c38c4fe0c1f 100644
> --- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
> @@ -431,6 +431,23 @@ &sdmmc1 {
>   	status = "okay";
>   };
>   
> +&sdmmc2 {
> +	pinctrl-names = "default", "opendrain", "sleep";
> +	pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
> +	pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_a>;
> +	pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_a>;
> +	non-removable;
> +	no-sd;
> +	no-sdio;
> +	st,neg-edge;
> +	bus-width = <8>;
> +	mmc-ddr-1_8v;
> +	mmc-hs200-1_8v;
> +	vmmc-supply = <&scmi_vdd_emmc>;
> +	vqmmc-supply = <&scmi_vddio2>;
> +	status = "okay";
> +};

This source code appears to come from ST's downstream Linux tree. When 
upstreaming from that tree,
please preserve ST author and Signed-off-by tags.
https://github.com/STMicroelectronics/linux/commit/d00ddc95c630ebf948ebe9c22fcbca145d771afc

Regards,
Christophe Kerello.

> +
>   &spi3 {
>   	pinctrl-names = "default", "sleep";
>   	pinctrl-0 = <&spi3_pins_a>;
> ---
> base-commit: 23c62304dde29abe92013d85910d03a77dada35d
> branch: stm32mp257f-ev1-emmc-aliases
>


  parent reply	other threads:[~2026-11-17 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-15 16:34 Dario Binacchi
2026-11-15 16:34 ` [PATCH 2/2] arm64: dts: st: add mmc aliases " Dario Binacchi
2026-11-17 16:58 ` Christophe KERELLO [this message]
2026-11-17 17:21   ` [Linux-stm32] [PATCH 1/2] arm64: dts: st: enable eMMC " 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=c936336b-04b1-4860-9eba-4d1ab002adff@foss.st.com \
    --to=christophe.kerello@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=devicetree@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®