Skip to content

Commit fc4f385

Browse files
bjarki-andreasendkalowsk
authored andcommitted
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: Bjarki Arge Andreasen <[email protected]>
1 parent 1dc1d5b commit fc4f385

File tree

4 files changed

+32
-14
lines changed

4 files changed

+32
-14
lines changed

boards/shields/nrf7002ek/Kconfig.shield

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ config SHIELD_NRF7002EK_NRF7001
99

1010
config SHIELD_NRF7002EK_NRF7000
1111
def_bool $(shields_list_contains,nrf7002ek_nrf7000)
12+
13+
config SHIELD_NRF7002EK_COEX
14+
def_bool $(shields_list_contains,nrf7002ek_coex)

boards/shields/nrf7002ek/doc/index.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,25 @@ SR Co-existence
4747
###############
4848

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

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

54-
- :kconfig:option:`CONFIG_NRF70_SR_COEX`: Enables SR co-existence.
55+
- :kconfig:option:`CONFIG_NRF70_SR_COEX`: Enables SR co-existence driver.
5556
- :kconfig:option:`CONFIG_NRF70_SR_COEX_RF_SWITCH`: Control SR side RF switch.
5657

5758
Shield Variants
5859
###############
5960

60-
The nRF7002 EK is available in three variants:
61+
The nRF7002 EK is available in four variants:
6162

6263
- ``nrf7002ek``: The default variant.
6364
- ``nrf7002ek_nrf7001``: Variant for the nRF7001 SoC or nRF7002 SoC emulating nRF7001
64-
that supports only 2.4GHz Wi-Fi.
65+
that supports only 2.4GHz Wi-Fi.
6566
- ``nrf7002ek_nrf7000``: Variant for the nRF7000 SoC or nRF7002 SoC emulating nRF7000
66-
that supports only 2.4GHz Wi-Fi.
67-
67+
that supports only 2.4GHz Wi-Fi.
68+
- ``nrf7002ek_coex``: Variant for the SR co-existence interface
6869

6970
References
7071
**********
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
nrf70: coex {
9+
compatible = "nordic,nrf7002-coex";
10+
status = "okay";
11+
12+
/* D2 */
13+
status0-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>;
14+
/* D3 */
15+
req-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
16+
/* D4 */
17+
grant-gpios = <&arduino_header 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
18+
/* D6 */
19+
swctrl1-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
20+
};
21+
};

boards/shields/nrf7002ek/nrf7002ek_common.dtsi

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,8 @@ iovdd-ctrl-gpios = <&arduino_header 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
1212
bucken-gpios = <&arduino_header 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
1313
/* D7 */
1414
host-irq-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>;
15+
1516
/* Short-range (SR) co-existence */
16-
/* D2 */
17-
status0-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>;
18-
/* D3 */
19-
req-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
20-
/* D4 */
21-
grant-gpios = <&arduino_header 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
22-
/* D6 */
23-
swctrl1-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
2417
/* D8 */
2518
srrf-switch-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>;
2619

0 commit comments

Comments
 (0)