Skip to content

Commit de5a397

Browse files
authored
Merge branch 'nrfconnect:main' into twt-responder-initialization
2 parents 23b0885 + 7c3bd68 commit de5a397

File tree

49 files changed

+339
-50
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+339
-50
lines changed

boards/native/nrf_bsim/doc/nrf5340bsim.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ These boards include models of some of the nRF5340 SOC peripherals:
3434
* DPPI (Distributed Programmable Peripheral Interconnect)
3535
* EGU (Event Generator Unit)
3636
* FICR (Factory Information Configuration Registers)
37+
* GPIO & GPIOTE
3738
* IPC (Interprocessor communication)
3839
* MUTEX (Mutual exclusive peripheral)
3940
* NVMC (Non-Volatile Memory Controller / Flash)
@@ -42,6 +43,7 @@ These boards include models of some of the nRF5340 SOC peripherals:
4243
* RTC (Real Time Counter)
4344
* TEMP (Temperature sensor)
4445
* TIMER
46+
* UARTE (UART with Easy DMA)
4547
* UICR (User Information Configuration Registers)
4648

4749
and will use the same drivers as the nrf5340dk targets for these.

boards/native/nrf_bsim/doc/nrf54l15bsim.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ This boards include models of some of the nRF54L15 SOC peripherals:
4242
* ECB (AES electronic codebook mode encryption)
4343
* EGU (Event Generator Unit)
4444
* FICR (Factory Information Configuration Registers)
45+
* GPIO & GPIOTE
4546
* GRTC (Global Real-time Counter)
4647
* PPIB (PPI Bridge)
4748
* RADIO
4849
* RRAMC (Resistive RAM Controller)
4950
* RTC (Real Time Counter)
5051
* TEMP (Temperature sensor)
5152
* TIMER
53+
* UARTE (UART with Easy DMA)
5254
* UICR (User Information Configuration Registers)
5355

5456
and will use the same drivers as the nrf54l15dk targets for these.

boards/native/nrf_bsim/nrf5340bsim_nrf5340_cpuapp.dts

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <mem.h>
1010
#include <arm/nordic/nrf5340_cpuapp.dtsi>
11+
#include <../boards/nordic/nrf5340dk/nrf5340_cpuapp_common-pinctrl.dtsi>
1112

1213
/ {
1314
model = "Nordic NRF5340 BSIM NRF5340 Application";
@@ -35,9 +36,6 @@
3536
/delete-property/ i2s-0;
3637
/delete-property/ qdec-0;
3738
/delete-property/ qdec-1;
38-
/delete-property/ gpio-0;
39-
/delete-property/ gpio-1;
40-
/delete-property/ gpiote-0;
4139
};
4240

4341
chosen {
@@ -82,11 +80,8 @@
8280
/delete-node/ regulator@37000;
8381
/delete-node/ kmu@39000;
8482
/delete-node/ vmc@81000;
85-
/delete-node/ gpio@842500;
86-
/delete-node/ gpio@842800;
8783
};
8884
/delete-node/ spu@50003000;
89-
/delete-node/ gpiote@5000d000;
9085
/delete-node/ crypto@50844000;
9186
};
9287

@@ -112,6 +107,27 @@
112107
};
113108
};
114109

110+
111+
&gpiote {
112+
status = "okay";
113+
};
114+
115+
&gpio0 {
116+
status = "okay";
117+
};
118+
119+
&gpio1 {
120+
status = "okay";
121+
};
122+
123+
&uart0 {
124+
status = "okay";
125+
current-speed = <115200>;
126+
pinctrl-0 = <&uart0_default>;
127+
pinctrl-1 = <&uart0_sleep>;
128+
pinctrl-names = "default", "sleep";
129+
};
130+
115131
/* We re-use the IPC shared buffer definition from the real HW. But note the start address of the
116132
* buffer won't be used.
117133
*/

boards/native/nrf_bsim/nrf5340bsim_nrf5340_cpuapp.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ toolchain:
99
- zephyr
1010
testing:
1111
ignore_tags:
12-
- gpio
1312
- modem
14-
- uart
1513
- bsim_skip_CI
14+
supported:
15+
- gpio

boards/native/nrf_bsim/nrf5340bsim_nrf5340_cpunet.dts

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <mem.h>
1010
#include <arm/nordic/nrf5340_cpunet.dtsi>
11+
#include <../boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpunet-pinctrl.dtsi>
1112

1213
/ {
1314
model = "Nordic NRF5340 BSIM NRF5340 Network";
@@ -17,15 +18,13 @@
1718
aliases {
1819
/delete-property/ sram-0;
1920
/delete-property/ sram-1;
20-
/delete-property/ gpiote-0;
2121
/delete-property/ wdt-0;
2222
/delete-property/ i2c-0;
2323
/delete-property/ spi-0;
24-
/delete-property/ gpio-0;
25-
/delete-property/ gpio-1;
2624
};
2725

2826
chosen {
27+
zephyr,console = &uart0;
2928
zephyr,bt-hci-ipc = &ipc0;
3029
nordic,802154-spinel-ipc = &ipc0;
3130
zephyr,ieee802154 = &ieee802154;
@@ -36,14 +35,11 @@
3635
soc {
3736
/delete-node/ memory@20000000;
3837
/delete-node/ memory@21000000;
39-
/delete-node/ gpiote@4100a000;
4038
/delete-node/ watchdog@4100b000;
4139
/delete-node/ i2c@41013000;
4240
/delete-node/ spi@41013000;
4341
/delete-node/ acl@41080000;
4442
/delete-node/ vmc@41081000;
45-
/delete-node/ gpio@418c0500;
46-
/delete-node/ gpio@418c0800;
4743
};
4844

4945
/delete-node/ cpus;
@@ -73,6 +69,26 @@
7369
};
7470
};
7571

72+
&gpiote {
73+
status = "okay";
74+
};
75+
76+
&gpio0 {
77+
status = "okay";
78+
};
79+
80+
&gpio1 {
81+
status = "okay";
82+
};
83+
84+
&uart0 {
85+
status = "okay";
86+
current-speed = <115200>;
87+
pinctrl-0 = <&uart0_default>;
88+
pinctrl-1 = <&uart0_sleep>;
89+
pinctrl-names = "default", "sleep";
90+
};
91+
7692
/* We re-use the IPC shared buffer definition from the real HW. But note the start address of the
7793
* buffer won't be used.
7894
*/

boards/native/nrf_bsim/nrf5340bsim_nrf5340_cpunet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ toolchain:
99
- zephyr
1010
testing:
1111
ignore_tags:
12-
- gpio
1312
- modem
14-
- uart
1513
- bsim_skip_CI
14+
supported:
15+
- gpio

boards/native/nrf_bsim/nrf54l15bsim_nrf54l15_cpuapp.dts

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,57 +8,48 @@
88

99
#include <mem.h>
1010
#include <arm/nordic/nrf54l15_cpuapp.dtsi>
11+
#include <../boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l_05_10_15-pinctrl.dtsi>
1112

1213
/ {
1314
model = "Nordic NRF54L15 BSIM NRF54L15 Application";
1415
compatible = "bsim,nrf54l15-bsim-nrf54l15-cpuapp", "bsim,nrf54";
1516

1617
chosen {
1718
zephyr,entropy = &rng;
19+
zephyr,bt-c2h-uart = &uart20;
1820
zephyr,flash-controller = &rram_controller;
1921
zephyr,flash = &cpuapp_rram;
2022
};
2123

2224
/delete-node/ cpus;
23-
/delete-node/ clocks;
2425
/delete-node/ sw-pwm;
2526

2627
soc {
2728
/delete-node/ memory@20000000;
2829
/delete-node/ memory@2002f000;
2930
peripheral@50000000 {
3031
/delete-node/ spi@4a000;
31-
/delete-node/ uart@4a000;
3232
/delete-node/ vpr@4c000;
3333
/delete-node/ mailbox@0;
3434
/delete-node/ interrupt-controller@f0000000;
35-
/delete-node/ gpio@50400;
3635
/delete-node/ i2c@c6000;
3736
/delete-node/ spi@c6000;
38-
/delete-node/ uart@c6000;
3937
/delete-node/ i2c@c7000;
4038
/delete-node/ spi@c7000;
41-
/delete-node/ uart@c7000;
4239
/delete-node/ i2c@c8000;
4340
/delete-node/ spi@c8000;
44-
/delete-node/ uart@c8000;
4541
/delete-node/ pwm@d2000;
4642
/delete-node/ pwm@d3000;
4743
/delete-node/ pwm@d4000;
4844
/delete-node/ adc@d5000;
4945
/delete-node/ nfct@d6000;
50-
/delete-node/ gpio@d8200;
51-
/delete-node/ gpiote@da000;
5246
/delete-node/ i2s@dd000;
5347
/delete-node/ qdec@e0000;
5448
/delete-node/ qdec@e1000;
5549
/delete-node/ i2c@104000;
5650
/delete-node/ spi@104000;
57-
/delete-node/ uart@104000;
5851
/delete-node/ watchdog@108000;
5952
/delete-node/ watchdog@109000;
60-
/delete-node/ gpio@10a000;
61-
/delete-node/ gpiote@10c000;
6253
};
6354
};
6455

@@ -93,6 +84,45 @@
9384
};
9485
};
9586

87+
&uart00 {
88+
/delete-property/ clocks;
89+
};
90+
91+
&uart20 {
92+
status = "okay";
93+
current-speed = <115200>;
94+
pinctrl-0 = <&uart20_default>;
95+
pinctrl-1 = <&uart20_sleep>;
96+
pinctrl-names = "default", "sleep";
97+
};
98+
99+
&uart30 {
100+
current-speed = <115200>;
101+
pinctrl-0 = <&uart30_default>;
102+
pinctrl-1 = <&uart30_sleep>;
103+
pinctrl-names = "default", "sleep";
104+
};
105+
106+
&gpio0 {
107+
status = "okay";
108+
};
109+
110+
&gpio1 {
111+
status = "okay";
112+
};
113+
114+
&gpio2 {
115+
status = "okay";
116+
};
117+
118+
&gpiote20 {
119+
status = "okay";
120+
};
121+
122+
&gpiote30 {
123+
status = "okay";
124+
};
125+
96126
&temp {
97127
status = "okay";
98128
};

boards/native/nrf_bsim/nrf54l15bsim_nrf54l15_cpuapp.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ toolchain:
99
- zephyr
1010
supported:
1111
- counter
12+
- gpio
1213
testing:
1314
ignore_tags:
14-
- gpio
1515
- modem
16-
- uart
1716
- bsim_skip_CI

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ ipc0: &cpuapp_cpurad_ipc {
269269

270270
mx25uw63: mx25uw6345g@0 {
271271
compatible = "jedec,mspi-nor";
272-
status = "okay";
272+
status = "disabled";
273273
reg = <0>;
274274
jedec-id = [c2 84 37];
275275
sfdp-bfp = [

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ ipc0: &cpuapp_cpurad_ipc {
260260

261261
mx25uw63: mx25uw6345g@0 {
262262
compatible = "jedec,mspi-nor";
263-
status = "okay";
263+
status = "disabled";
264264
reg = <0>;
265265
jedec-id = [c2 84 37];
266266
sfdp-bfp = [

0 commit comments

Comments
 (0)