From 95a846af9f82dc6ea60064d9d12d5d2378e23941 Mon Sep 17 00:00:00 2001
From: Breno Lima <breno.lima@nxp.com>
Date: Mon, 12 Jul 2021 15:38:17 -0400
Subject: [PATCH] LF-4086-3 arm64: dts: imx8m: Enable
 fsl,sdio-interrupt-enabled property for boards enabling SDIO interrupt

All NXP Wi-Fi SOCs are enabling the SDIO interrupt mechanism as soon as the
firmware starts up, for performance reasons this feature can't be disabled
on the Wi-Fi side.

Enable fsl,sdio-interrupt-enabled property for all i.MX boards using NXP
Wi-Fi on SDIO interface.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mm-evk.dts           | 1 +
 arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi          | 1 +
 arch/arm64/boot/dts/freescale/imx8mq-evk-usdhc2-m2.dts | 1 +
 3 files changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts
index c11f822a467b97..8b1bc229b13aeb 100755
--- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts
@@ -70,6 +70,7 @@
 	non-removable;
 	wakeup-source;
 	mmc-pwrseq = <&usdhc1_pwrseq>;
+	fsl,sdio-interrupt-enabled;
 	status = "okay";
 
 	wifi_wake_host {
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
index edea216cb757d4..2bb6eef6e2bdc2 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
@@ -472,6 +472,7 @@
 	wakeup-source;
 	/delete-property/ vmmc-supply;
 	mmc-pwrseq = <&usdhc1_pwrseq>;
+	fsl,sdio-interrupt-enabled;
 	status = "okay";
 
 	wifi_wake_host {
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk-usdhc2-m2.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk-usdhc2-m2.dts
index 0c43f0d8e4d322..41862790e067a6 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-evk-usdhc2-m2.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-evk-usdhc2-m2.dts
@@ -74,6 +74,7 @@
 	non-removable;
 	wakeup-source;
 	mmc-pwrseq = <&usdhc2_pwrseq>;
+	fsl,sdio-interrupt-enabled;
 
 	wifi_wake_host {
 		compatible = "nxp,wifi-wake-host";
-- 
GitLab