i.MX8M Mini can provide support for high speed grades in the
usdhc controllers.

On the imx8mm-beacon-kit, the sdhc2 hosts a microSD card, and
sdhc3 hosts an eMMC capable of HS400ES.

In order to toggle this mode in SPL, the reg_usdhc2_vmmc must
be available in SPL. Add all these flags to
imx8mm-beacon-kit-u-boot.dtsi

Suggested-by: Andrey Zhizhikin <andrey.zhizhi...@leica-geosystems.com>
Signed-off-by: Adam Ford <aford...@gmail.com>

diff --git a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi 
b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
index 6d80a529ae..d7da29c592 100644
--- a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
@@ -38,6 +38,7 @@
 };
 
 &reg_usdhc2_vmmc {
+       u-boot,dm-spl;
        u-boot,off-on-delay-us = <20000>;
 };
 
@@ -112,10 +113,14 @@
 
 &usdhc2 {
        u-boot,dm-spl;
+       sd-uhs-sdr104;
+       sd-uhs-ddr50;
 };
 
 &usdhc3 {
        u-boot,dm-spl;
+       mmc-hs400-1_8v;
+       mmc-hs400-enhanced-strobe;
 };
 
 &i2c1 {
-- 
2.25.1

Reply via email to