From 61f0cd13df89bc594b9186b1355f6089eb7c5bf1 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 31 Oct 2022 23:17:14 +0100 Subject: arm64: dts: imx8mm-verdin: fix sdio wifi instability Fix SDIO Wi-Fi instability by adding fsl,sdio-async-interrupt-enabled device tree property to the usdhc3 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/imx8mm-verdin-wifi.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi index 017db9eab256..51da18e8d221 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi @@ -83,6 +83,7 @@ /* On-module Wi-Fi */ &usdhc3 { bus-width = <4>; + fsl,sdio-async-interrupt-enabled; keep-power-in-suspend; non-removable; pinctrl-names = "default", "state_100mhz", "state_200mhz"; -- cgit v1.2.3