From 8c913e7fcde7d819702d6b2ad0c6c681f8f234d2 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Fri, 7 Nov 2025 22:02:13 +0530 Subject: [PATCH 1/3] samples: wifi: coex: Limit IPC radio to 53/54H Series Only these two have a separate NET/RAD core needing IPC. Signed-off-by: Chaitanya Tata --- samples/wifi/ble_coex/Kconfig.sysbuild | 1 + samples/wifi/thread_coex/Kconfig.sysbuild | 1 + 2 files changed, 2 insertions(+) diff --git a/samples/wifi/ble_coex/Kconfig.sysbuild b/samples/wifi/ble_coex/Kconfig.sysbuild index ace7ea20d252..db7100420884 100644 --- a/samples/wifi/ble_coex/Kconfig.sysbuild +++ b/samples/wifi/ble_coex/Kconfig.sysbuild @@ -7,4 +7,5 @@ source "share/sysbuild/Kconfig" config NRF_DEFAULT_IPC_RADIO + depends on SOC_SERIES_NRF53X || SOC_SERIES_NRF54HX default y diff --git a/samples/wifi/thread_coex/Kconfig.sysbuild b/samples/wifi/thread_coex/Kconfig.sysbuild index ace7ea20d252..db7100420884 100644 --- a/samples/wifi/thread_coex/Kconfig.sysbuild +++ b/samples/wifi/thread_coex/Kconfig.sysbuild @@ -7,4 +7,5 @@ source "share/sysbuild/Kconfig" config NRF_DEFAULT_IPC_RADIO + depends on SOC_SERIES_NRF53X || SOC_SERIES_NRF54HX default y From 7385d0ba6daaceb871b37ac25bde07f29eff2134 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Fri, 7 Nov 2025 22:15:55 +0530 Subject: [PATCH 2/3] samples: wifi: coex: Remove not applicable ipc radio ipc_radio is not applicable for 54L, so, drop the prefixes as its a single image. Signed-off-by: Chaitanya Tata --- samples/wifi/ble_coex/sample.yaml | 3 +-- samples/wifi/thread_coex/sample.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/samples/wifi/ble_coex/sample.yaml b/samples/wifi/ble_coex/sample.yaml index f1322fd692a1..2e4e8dbcb50c 100644 --- a/samples/wifi/ble_coex/sample.yaml +++ b/samples/wifi/ble_coex/sample.yaml @@ -96,9 +96,8 @@ tests: sysbuild: true build_only: true extra_args: - - ble_coex_SHIELD="nrf7002eb2" + - SHIELD="nrf7002eb2;nrf7002eb2_coex" - CONFIG_MPSL_CX=y - - ipc_radio_CONFIG_MPSL_CX=y - CONFIG_COEX_SEP_ANTENNAS=y integration_platforms: - nrf54lm20dk/nrf54lm20a/cpuapp diff --git a/samples/wifi/thread_coex/sample.yaml b/samples/wifi/thread_coex/sample.yaml index 5ba542d59bd5..23d59607507e 100644 --- a/samples/wifi/thread_coex/sample.yaml +++ b/samples/wifi/thread_coex/sample.yaml @@ -87,9 +87,8 @@ tests: sysbuild: true build_only: true extra_args: - - thread_coex_SHIELD="nrf7002eb2" + - SHIELD="nrf7002eb2;nrf7002eb2_coex" - CONFIG_MPSL_CX=y - - ipc_radio_CONFIG_MPSL_CX=y - CONFIG_COEX_SEP_ANTENNAS=y - EXTRA_CONF_FILE="overlay-wifi-udp-client-thread-udp-client.conf" integration_platforms: From 86c41e1033f700f110fce3023ad6aedfcdb5dfa4 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Fri, 7 Nov 2025 22:14:15 +0530 Subject: [PATCH 3/3] boards: shields: nrf7002eb2: Fix co-existence overlay The board overrides the main overlay, so, coex was ending as disabled even when coex shield variant is used. Move the coex definition to the coex overlay directly. Signed-off-by: Chaitanya Tata --- boards/shields/nrf7002eb2/nrf7002eb2_coex.overlay | 10 ++++++++-- boards/shields/nrf7002eb2/nrf7002eb2_gpio_pins_2.dtsi | 10 ---------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/boards/shields/nrf7002eb2/nrf7002eb2_coex.overlay b/boards/shields/nrf7002eb2/nrf7002eb2_coex.overlay index 725933eff89f..0e13d49eb681 100644 --- a/boards/shields/nrf7002eb2/nrf7002eb2_coex.overlay +++ b/boards/shields/nrf7002eb2/nrf7002eb2_coex.overlay @@ -4,6 +4,12 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -&nrf_radio_coex{ - status = "okay"; +/ { + nrf_radio_coex: coex { + compatible = "nordic,nrf7002-coex"; + status = "okay"; + status0-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; + req-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; + grant-gpios = <&gpio1 7 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>; + }; }; diff --git a/boards/shields/nrf7002eb2/nrf7002eb2_gpio_pins_2.dtsi b/boards/shields/nrf7002eb2/nrf7002eb2_gpio_pins_2.dtsi index 3886a309ca19..c5235b13af9d 100644 --- a/boards/shields/nrf7002eb2/nrf7002eb2_gpio_pins_2.dtsi +++ b/boards/shields/nrf7002eb2/nrf7002eb2_gpio_pins_2.dtsi @@ -4,16 +4,6 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -/ { - nrf_radio_coex: coex { - compatible = "nordic,nrf7002-coex"; - status = "disabled"; - status0-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; - req-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; - grant-gpios = <&gpio1 7 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>; - }; -}; - &nrf70 { iovdd-ctrl-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; bucken-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;