The sdmmc1 peripheral is connected on SD-card on STM32MP1-ED1 board.
Add the UHS features the controller is able to manage.
Those features require a level shifter on the board, and the support of
the voltage switch in driver, which is done in Linux v5.7.
Signed-off-by: Ludovic Barre <[email protected]>
Signed-off-by: Yann Gautier <[email protected]>
---
arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 9d2592db630c..1d7dfe97b160 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -320,6 +320,10 @@
bus-width = <4>;
vmmc-supply = <&vdd_sd>;
vqmmc-supply = <&sd_switch>;
+ sd-uhs-sdr12;
+ sd-uhs-sdr25;
+ sd-uhs-sdr50;
+ sd-uhs-ddr50;
status = "okay";
};
--
2.17.1
Hi Yann
On 4/30/20 12:16 PM, Yann Gautier wrote:
> The sdmmc1 peripheral is connected on SD-card on STM32MP1-ED1 board.
> Add the UHS features the controller is able to manage.
> Those features require a level shifter on the board, and the support of
> the voltage switch in driver, which is done in Linux v5.7.
>
> Signed-off-by: Ludovic Barre <[email protected]>
> Signed-off-by: Yann Gautier <[email protected]>
> ---
> arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
> index 9d2592db630c..1d7dfe97b160 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
> @@ -320,6 +320,10 @@
> bus-width = <4>;
> vmmc-supply = <&vdd_sd>;
> vqmmc-supply = <&sd_switch>;
> + sd-uhs-sdr12;
> + sd-uhs-sdr25;
> + sd-uhs-sdr50;
> + sd-uhs-ddr50;
> status = "okay";
> };
>
>
Applied on stm32-next.
Thanks.
Alex