Skip to content

Commit 3303480

Browse files
bama-nordicnordicjm
authored andcommitted
boards: shields: wifi: Add nRF7002-EB II shields
Add board files to enable use of nRF7002-EB II shield with nRF54L15, nRF54LM20 DK boards Signed-off-by: Bansidhar Mangalwedhekar <[email protected]>
1 parent fe0a8f6 commit 3303480

File tree

5 files changed

+98
-58
lines changed

5 files changed

+98
-58
lines changed

boards/shields/nrf7002eb2/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 0 additions & 43 deletions
This file was deleted.

boards/shields/nrf7002eb2/boards/nrf54l15dk_nrf54l15_cpuapp.overlay

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,26 @@
2020
&pinctrl {
2121
spi22_default: spi22_default {
2222
group1 {
23-
psels = <NRF_PSEL(SPIM_SCK, 1, 4)>,
24-
<NRF_PSEL(SPIM_MISO, 1, 5)>,
23+
psels = <NRF_PSEL(SPIM_SCK, 1, 11)>,
24+
<NRF_PSEL(SPIM_MISO, 1, 7)>,
2525
<NRF_PSEL(SPIM_MOSI, 1, 6)>;
26+
bias-pull-down;
2627
};
2728
};
2829

2930
spi22_sleep: spi22_sleep {
3031
group1 {
31-
psels = <NRF_PSEL(SPIM_SCK, 1, 4)>,
32-
<NRF_PSEL(SPIM_MISO, 1, 5)>,
32+
psels = <NRF_PSEL(SPIM_SCK, 1, 11)>,
33+
<NRF_PSEL(SPIM_MISO, 1, 7)>,
3334
<NRF_PSEL(SPIM_MOSI, 1, 6)>;
35+
bias-pull-down;
3436
low-power-enable;
3537
};
3638
};
3739
};
3840

3941
&spi22 {
40-
cs-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
42+
cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
4143
pinctrl-0 = <&spi22_default>;
4244
pinctrl-1 = <&spi22_sleep>;
4345
pinctrl-names = "default", "sleep";
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "../nrf7002eb2_gpio_pins_2.dtsi"
8+
9+
/ {
10+
chosen {
11+
zephyr,wifi = &wlan0;
12+
zephyr,console = &uart30;
13+
zephyr,shell-uart = &uart30;
14+
zephyr,uart-mcumgr = &uart30;
15+
zephyr,bt-mon-uart = &uart30;
16+
zephyr,bt-c2h-uart = &uart30;
17+
};
18+
};
19+
20+
&gpio3 {
21+
status = "okay";
22+
};
23+
24+
&pinctrl {
25+
spi22_default: spi22_default {
26+
group1 {
27+
psels = <NRF_PSEL(SPIM_SCK, 3, 3)>,
28+
<NRF_PSEL(SPIM_MISO, 3, 1)>,
29+
<NRF_PSEL(SPIM_MOSI, 3, 0)>;
30+
bias-pull-down;
31+
};
32+
};
33+
34+
spi22_sleep: spi22_sleep {
35+
group1 {
36+
psels = <NRF_PSEL(SPIM_SCK, 3, 3)>,
37+
<NRF_PSEL(SPIM_MISO, 3, 1)>,
38+
<NRF_PSEL(SPIM_MOSI, 3, 0)>;
39+
bias-pull-down;
40+
low-power-enable;
41+
};
42+
};
43+
44+
uart30_default: uart30_default {
45+
group1 {
46+
psels = <NRF_PSEL(UART_TX, 0, 6)>;
47+
};
48+
49+
group2 {
50+
psels = <NRF_PSEL(UART_RX, 0, 7)>;
51+
bias-pull-up;
52+
};
53+
};
54+
55+
uart30_sleep: uart30_sleep {
56+
group1 {
57+
psels = <NRF_PSEL(UART_TX, 0, 6)>,
58+
<NRF_PSEL(UART_RX, 0, 7)>;
59+
low-power-enable;
60+
};
61+
};
62+
};
63+
64+
&spi22 {
65+
status = "okay";
66+
cs-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
67+
pinctrl-0 = <&spi22_default>;
68+
pinctrl-1 = <&spi22_sleep>;
69+
pinctrl-names = "default", "sleep";
70+
};
71+
72+
/* uart20 has pin conflicts with EB-II shield hence disabling that
73+
* and enabling uart30 as console port.
74+
*/
75+
&uart20 {
76+
status = "disabled";
77+
};
78+
79+
&uart30 {
80+
status = "okay";
81+
};

boards/shields/nrf7002eb2/nrf7002eb2_gpio_pins_1.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
status = "disabled";
1111
status0-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
1212
req-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
13-
grant-gpios = <&gpio1 13 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
13+
grant-gpios = <&gpio1 12 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
1414
};
1515
};
1616

1717
&nrf70 {
18-
iovdd-ctrl-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
19-
bucken-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
20-
host-irq-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
18+
iovdd-ctrl-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
19+
bucken-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
20+
host-irq-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
2121
};
2222

2323
&gpio1 {

boards/shields/nrf7002eb2/nrf7002eb2_gpio_pins_2.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
nrf_radio_coex: coex {
99
compatible = "nordic,nrf7002-coex";
1010
status = "disabled";
11-
status0-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
12-
req-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
13-
grant-gpios = <&gpio1 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
11+
status0-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
12+
req-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
13+
grant-gpios = <&gpio1 7 (GPIO_PULL_DOWN | GPIO_ACTIVE_LOW)>;
1414
};
1515
};
1616

1717
&nrf70 {
18-
iovdd-ctrl-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
19-
bucken-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
20-
host-irq-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
18+
iovdd-ctrl-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
19+
bucken-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
20+
host-irq-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
2121
};
2222

2323
&gpio1 {

0 commit comments

Comments
 (0)