2020-08-28 13:04:48

by Holger Assmann

[permalink] [raw]
Subject: [PATCH] ARM: dts: stm32: lxa-mc1: enable DDR50 mode on eMMC

From: Ahmad Fatoum <[email protected]>

The "eMMC high-speed DDR mode (3.3V I/O)" at 50MHz is supported on
the eMMC-interface of the lxa-mc1. Set it in the device tree to
benefit from the speed improvement.

Signed-off-by: Ahmad Fatoum <[email protected]>
Signed-off-by: Holger Assmann <[email protected]>
---
arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
index b85025d00943..1e5333fd437f 100644
--- a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
@@ -212,6 +212,7 @@
pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_b>;
pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_b>;
bus-width = <8>;
+ mmc-ddr-3_3v;
no-1-8-v;
no-sd;
no-sdio;
--
2.20.1


2020-09-23 16:29:13

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: stm32: lxa-mc1: enable DDR50 mode on eMMC

Hi

On 8/28/20 3:00 PM, Holger Assmann wrote:
> From: Ahmad Fatoum <[email protected]>
>
> The "eMMC high-speed DDR mode (3.3V I/O)" at 50MHz is supported on
> the eMMC-interface of the lxa-mc1. Set it in the device tree to
> benefit from the speed improvement.
>
> Signed-off-by: Ahmad Fatoum <[email protected]>
> Signed-off-by: Holger Assmann <[email protected]>
> ---
> arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
> index b85025d00943..1e5333fd437f 100644
> --- a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
> @@ -212,6 +212,7 @@
> pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_b>;
> pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_b>;
> bus-width = <8>;
> + mmc-ddr-3_3v;
> no-1-8-v;
> no-sd;
> no-sdio;
>

Applied on stm32-next.

Thanks.
Alex