summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2023-03-08 12:32:10 +0100
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2023-03-08 12:53:53 +0100
commit4e7c4714b6715d9b1f9a3531f6f3c9f03af8586f (patch)
treed8da4016edfb65bf682ecde7413060967ac08427
parent46e9f787db0921882f143a11018911128564206e (diff)
arm64: dts: ti: k3-am625-verdin: limit SD1 freq to 100MHz
Limit SD_1 frequency to 100MHz on Verdin Development board, going at 200MHz we have signal integrity issues with constant errors, a similar change is also present on both Verdin iMX8M Mini and Plus. ``` mmc1: Got data interrupt 0x00000002 even though no data operation was in progress. mmc1: sdhci: ============ SDHCI REGISTER DUMP =========== mmc1: sdhci: Sys addr: 0x00000200 | Version: 0x00001004 mmc1: sdhci: Blk size: 0x00007200 | Blk cnt: 0x0000019f mmc1: sdhci: Argument: 0x00000000 | Trn mode: 0x00000033 mmc1: sdhci: Present: 0x01ff0000 | Host ctl: 0x0000001f mmc1: sdhci: Power: 0x0000000f | Blk gap: 0x00000080 mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007 mmc1: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 mmc1: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 mmc1: sdhci: Caps: 0x3de8c801 | Caps_1: 0x18002407 mmc1: sdhci: Cmd: 0x00000c1a | Max curr: 0x00000000 mmc1: sdhci: Resp[0]: 0x00000b00 | Resp[1]: 0x003b5f7f mmc1: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00000900 mmc1: sdhci: Host ctl2: 0x0000000b mmc1: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000000000000 mmc1: sdhci: ============================================ ``` Dahlia carrier board was also tested running at 200MHz, there the situation is way better, but not perfect, a few errors are still happening during stress test. Upstream-Status: Pending Initial DTS to be used for bring-up an validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
-rw-r--r--arch/arm64/boot/dts/ti/k3-am625-verdin-dev.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am625-verdin-dev.dtsi b/arch/arm64/boot/dts/ti/k3-am625-verdin-dev.dtsi
index 65d2cffacdad..4c54bec634ad 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-verdin-dev.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am625-verdin-dev.dtsi
@@ -189,6 +189,8 @@
/* Verdin SD_1 */
&sdhci1 {
+ /* limit to 100MHz to prevent signal integrity issues */
+ max-frequency = <100000000>;
status = "okay";
};