ARM: dts: tacoma: Add phase corrections for eMMC
authorAndrew Jeffery <andrew@aj.id.au>
Fri, 25 Jun 2021 06:10:17 +0000 (15:40 +0930)
committerJoel Stanley <joel@jms.id.au>
Thu, 1 Jul 2021 04:04:42 +0000 (13:34 +0930)
The degree values were reversed out from the magic tap values of 7 (in)
and 15 + inversion (out) initially suggested by Aspeed.

With the patch tacoma survives several gigabytes of reads and writes
using dd while without it locks up randomly during the boot process.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20210625061017.1149942-1-andrew@aj.id.au
Fixes: 2fc88f92359d ("mmc: sdhci-of-aspeed: Expose clock phase controls")
Fixes: 961216c135a8 ("ARM: dts: aspeed: Add Rainier system")
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts

index 48038b2ef3df2997cb0d727f2d56cf671d0b19c8..e33153dcaea8685ae5f43e836733a88c410da29e 100644 (file)
 
 &emmc {
        status = "okay";
+       clk-phase-mmc-hs200 = <36>, <270>;
 };
 
 &fsim0 {