boards nrfbsim: Enable UART(E) peripherals for nrf5340bsim

The HW models now support this peripheral for these targets.
Let's enable them.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-11-07 12:51:13 +01:00 committed by Anas Nashif
commit a7abf80064
4 changed files with 19 additions and 2 deletions

View file

@ -8,6 +8,7 @@
#include <mem.h>
#include <arm/nordic/nrf5340_cpuapp.dtsi>
#include <../boards/nordic/nrf5340dk/nrf5340_cpuapp_common-pinctrl.dtsi>
/ {
model = "Nordic NRF5340 BSIM NRF5340 Application";
@ -119,6 +120,14 @@
status = "okay";
};
&uart0 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uart0_default>;
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
};
/* We re-use the IPC shared buffer definition from the real HW. But note the start address of the
* buffer won't be used.
*/

View file

@ -10,7 +10,6 @@ toolchain:
testing:
ignore_tags:
- modem
- uart
- bsim_skip_CI
supported:
- gpio

View file

@ -8,6 +8,7 @@
#include <mem.h>
#include <arm/nordic/nrf5340_cpunet.dtsi>
#include <../boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpunet-pinctrl.dtsi>
/ {
model = "Nordic NRF5340 BSIM NRF5340 Network";
@ -23,6 +24,7 @@
};
chosen {
zephyr,console = &uart0;
zephyr,bt-hci-ipc = &ipc0;
nordic,802154-spinel-ipc = &ipc0;
zephyr,ieee802154 = &ieee802154;
@ -79,6 +81,14 @@
status = "okay";
};
&uart0 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uart0_default>;
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
};
/* We re-use the IPC shared buffer definition from the real HW. But note the start address of the
* buffer won't be used.
*/

View file

@ -10,7 +10,6 @@ toolchain:
testing:
ignore_tags:
- modem
- uart
- bsim_skip_CI
supported:
- gpio