[PATCH] arm64: dts: ti: k3-am67a-kontron-sa67-base: fix QSPI flash timing

Michael Walle posted 1 patch 1 week, 4 days ago
arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64: dts: ti: k3-am67a-kontron-sa67-base: fix QSPI flash timing
Posted by Michael Walle 1 week, 4 days ago
The boot flash is connected to the QSPI bus, but that bus is also
connected to the edge connector. To prevent a stuck bus during boot. The
signals to the edge connected are guarded by a FET switch. This FET
switch needs a setup time of at least 80ns to disconnect the
passthrough otherwise the first few clock cycles are still visible on
the edge connector. Fix it by increasing the CS-to-clock timing to
120ns.

Fixes: 1c3c4df06f9d ("arm64: dts: ti: Add support for Kontron SMARC-sAM67")
Signed-off-by: Michael Walle <mwalle@kernel.org>
---
 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts b/arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts
index cdc9b5778041..9c0489514e04 100644
--- a/arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts
+++ b/arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts
@@ -957,7 +957,7 @@ flash@0 {
 		cdns,tshsl-ns = <60>;
 		cdns,tsd2d-ns = <60>;
 		cdns,tchsh-ns = <60>;
-		cdns,tslch-ns = <60>;
+		cdns,tslch-ns = <120>;
 		cdns,read-delay = <3>;
 		vcc-supply = <&vcc_1p8_s0>;
 		bootph-all;
-- 
2.47.3