[PATCH 2/3] arm64: dts: ten64: reduce maximum SD card speed

Mathew McBride posted 3 patches 3 weeks, 5 days ago
[PATCH 2/3] arm64: dts: ten64: reduce maximum SD card speed
Posted by Mathew McBride 3 weeks, 5 days ago
There have been user reports of timeouts when using certain SD cards.

To improve stability, reduce the maximum SD card frequency to 25MHz.
Reducing the maximum frequency will disable most high speed modes like
UHS-1.

If this issue is resolved in the future (by PCB change or software tuning),
we will apply fixups in the bootloader to set the correct parameters.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
index 35470c0a928f..0a460eebd636 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
@@ -261,6 +261,7 @@ mdio1_phy4: ethernet-phy@1f {
 
 &esdhc {
 	status = "okay";
+	max-frequency = <25000000>;
 };
 
 &i2c0 {

-- 
2.51.2