From 1c2feef8e15a3d2cb73047eb8a7b108d008e5975 Mon Sep 17 00:00:00 2001
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
Date: Wed, 2 Oct 2024 00:03:24 +0800
Subject: [PATCH] arch: arm: dts: imx8mm-cl-iot-gate.dts: add no-mmc-hs400 to
 mmc2

The eMMC device on imx8mm-cl-iot-gate seems not support hs400.
When booting 6.1.0 kernel we got the following error.

    mmc2: mmc_select_hs400es failed, error -110
    mmc2: error -110 whilst initialising MMC card

Add no-mmc-hs400 to mmc2 node solves the problem.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
---
 arch/arm/dts/imx8mm-cl-iot-gate.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/imx8mm-cl-iot-gate.dts b/arch/arm/dts/imx8mm-cl-iot-gate.dts
index 425701204a..aa6ca070bf 100644
--- a/arch/arm/dts/imx8mm-cl-iot-gate.dts
+++ b/arch/arm/dts/imx8mm-cl-iot-gate.dts
@@ -350,6 +350,7 @@
 	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
 	bus-width = <8>;
 	non-removable;
+	no-mmc-hs400;
 	status = "okay";
 };
 
-- 
2.39.5