From bf81314568d0432c3a3d584c3ef03a7fb025e4dd Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 31 Oct 2022 23:17:14 +0100 Subject: arm64: dts: imx8mp-verdin: fix sdio wifi instability Fix SDIO Wi-Fi instability by adding fsl,sdio-async-interrupt-enabled device tree property to the usdhc1 instance connected to the on-module AW-CM276NF Wi-Fi. From Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml: Recommend for SDIO cards that enables SDIO async interrupt for SDR104 and SDR50 operating modes. SDIO async interrupt uses DAT[1] to signal the card's interrupt. uSDHC tuning mechanism must use DAT[0] and CMD signals to avoid a possible conflict and incorrect delay line calculated by the uSDHC auto tuning mechanism. Enabling this device tree property is only recommended for layouts that are matching the SD interface length. Signed-off-by: Marcel Ziswiler Upstream-status: Inappropriate [NXP downstream SDIO stack] --- arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi index 36289c175e6e..d27f1c91e56d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi @@ -70,6 +70,7 @@ /* On-module Wi-Fi */ &usdhc1 { bus-width = <4>; + fsl,sdio-async-interrupt-enabled; keep-power-in-suspend; max-frequency = <100000000>; non-removable; -- cgit v1.2.3