summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Schnyder <franz.schnyder@toradex.com>2026-03-23 11:11:11 +0100
committerFranz Schnyder <franz.schnyder@toradex.com>2026-03-26 16:16:22 +0100
commit38dbd4f54c141ca8475d96be67be651c544f2589 (patch)
tree39eb95fca542c12a1c5882f1fad0fed5f0aa3168
parent2c306d4831e75163b11d01ef71d9f6421afa653c (diff)
arm64: dts: freescale: imx95-toradex-smarc: Use gpio-hog for WIFI_UART_ENtoradex_6.6-2.2.x-imx
On the Toradex SMARC iMX95, the WiFi UART signals are shared with the JTAG. The WIFI_UART_EN signal is used to select between these two functions. A GPIO hog is used to select the UART function by default. The hog is safe as it is already configured in the same way by the boot firmware before Linux driver probing begins. Configure WIFI_UART_EN as a gpio-hog driven high. Upstream-Status: Submitted [https://lore.kernel.org/all/20260326143711.143462-1-fra.schnyder@gmail.com/] Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
-rw-r--r--arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi b/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
index 09f41ed9f87e..e96cdb524e30 100644
--- a/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
@@ -492,6 +492,13 @@
"",
"",
"SMARC_SDIO_WP";
+
+ wifi-uart-en-hog {
+ gpio-hog;
+ gpios = <12 GPIO_ACTIVE_HIGH>;
+ line-name = "WIFI_UART_EN";
+ output-high;
+ };
};
embedded-controller@28 {