summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-09-27 15:05:54 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-27 19:20:13 +0200
commit89a54b254b8050a918057a3463f15a0ac2e7701e (patch)
tree3b30c0c86b12cf2c26a2f09d5a1a1503a3e8c707
parentab3286f516fb6378b255b3d4c6fbfe33a2fd6219 (diff)
ARM: dts: imx7-colibri: disable HS400
Force HS200 by masking bit 63 of the SDHCI capability register. The i.MX ESDHC driver uses SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400. With that the stack checks bit 63 to descide whether HS400 is available. Using sdhci-caps-mask allows to mask bit 63. The stack then selects HS200 as operating mode. This prevents rare communication errors with minimal effect on performance: sdhci-esdhc-imx 30b60000.usdhc: warning! HS400 strobe DLL status REF not lock! Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--arch/arm/boot/dts/imx7-colibri.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi
index 9cbfde7bd843..c9e50f1149d4 100644
--- a/arch/arm/boot/dts/imx7-colibri.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri.dtsi
@@ -353,6 +353,7 @@
assigned-clock-rates = <400000000>;
bus-width = <8>;
non-removable;
+ sdhci-caps-mask = <0x80000000 0x0>;
};
&iomuxc {