Commit fc4f385e authored by Bjarki Arge Andreasen's avatar Bjarki Arge Andreasen Committed by Dan Kalowsky
Browse files

boards: shields: nrf7002ek: align with nrf700x split interface



Add variant for the coex interface and move the coex interface out
if the wifi/control interface variants.

Signed-off-by: default avatarBjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
parent 1dc1d5be
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -9,3 +9,6 @@ config SHIELD_NRF7002EK_NRF7001

config SHIELD_NRF7002EK_NRF7000
	def_bool $(shields_list_contains,nrf7002ek_nrf7000)

config SHIELD_NRF7002EK_COEX
	def_bool $(shields_list_contains,nrf7002ek_coex)
+7 −6
Original line number Diff line number Diff line
@@ -47,24 +47,25 @@ SR Co-existence
###############

The nRF7002 EK supports SR co-existence provided the host board supports it. The SR co-existence
pins are connected to the host board's GPIO pins.
pins are connected to the host board's GPIO pins. The interface is selected by setting
``--shield nrf7002ek_coex`` when invoking ``west build``.

Two Kconfig options are available to enable SR co-existence:

- :kconfig:option:`CONFIG_NRF70_SR_COEX`: Enables SR co-existence.
- :kconfig:option:`CONFIG_NRF70_SR_COEX`: Enables SR co-existence driver.
- :kconfig:option:`CONFIG_NRF70_SR_COEX_RF_SWITCH`: Control SR side RF switch.

Shield Variants
###############

The nRF7002 EK is available in three variants:
The nRF7002 EK is available in four variants:

- ``nrf7002ek``: The default variant.
- ``nrf7002ek_nrf7001``: Variant for the nRF7001 SoC or nRF7002 SoC emulating nRF7001
  that supports only 2.4GHz Wi-Fi.
- ``nrf7002ek_nrf7000``: Variant for the nRF7000 SoC or nRF7002 SoC emulating nRF7000
  that supports only 2.4GHz Wi-Fi.

- ``nrf7002ek_coex``: Variant for the SR co-existence interface

References
**********
+21 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2024 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/ {
	nrf70: coex {
		compatible = "nordic,nrf7002-coex";
		status = "okay";

		/* D2 */
		status0-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>;
		/* D3 */
		req-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
		/* D4 */
		grant-gpios = <&arduino_header 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
		/* D6 */
		swctrl1-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
	};
};
+1 −8
Original line number Diff line number Diff line
@@ -12,15 +12,8 @@ iovdd-ctrl-gpios = <&arduino_header 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
bucken-gpios = <&arduino_header 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
/* D7 */
host-irq-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>;

/* Short-range (SR) co-existence */
/* D2 */
status0-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>;
/* D3 */
req-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
/* D4 */
grant-gpios = <&arduino_header 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
/* D6 */
swctrl1-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
/* D8 */
srrf-switch-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>;