Skip to content

Commit

Permalink
boards nrfbsim: Enable UART(E) peripherals for nrf54l15bsim
Browse files Browse the repository at this point in the history
The HW models now support this peripheral for this target.
Let's enable it.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
  • Loading branch information
aescolar committed Nov 22, 2024
1 parent c280261 commit ca46c7c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
21 changes: 16 additions & 5 deletions boards/native/nrf_bsim/nrf54l15bsim_nrf54l15_cpuapp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@

#include <mem.h>
#include <arm/nordic/nrf54l15_cpuapp.dtsi>
#include <../boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l_05_10_15-pinctrl.dtsi>

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

chosen {
zephyr,entropy = &rng;
zephyr,bt-c2h-uart = &uart20;
zephyr,flash-controller = &rram_controller;
zephyr,flash = &cpuapp_rram;
};
Expand All @@ -28,19 +30,15 @@
/delete-node/ memory@2002f000;
peripheral@50000000 {
/delete-node/ spi@4a000;
/delete-node/ uart@4a000;
/delete-node/ vpr@4c000;
/delete-node/ mailbox@0;
/delete-node/ interrupt-controller@f0000000;
/delete-node/ i2c@c6000;
/delete-node/ spi@c6000;
/delete-node/ uart@c6000;
/delete-node/ i2c@c7000;
/delete-node/ spi@c7000;
/delete-node/ uart@c7000;
/delete-node/ i2c@c8000;
/delete-node/ spi@c8000;
/delete-node/ uart@c8000;
/delete-node/ pwm@d2000;
/delete-node/ pwm@d3000;
/delete-node/ pwm@d4000;
Expand All @@ -51,7 +49,6 @@
/delete-node/ qdec@e1000;
/delete-node/ i2c@104000;
/delete-node/ spi@104000;
/delete-node/ uart@104000;
/delete-node/ watchdog@108000;
/delete-node/ watchdog@109000;
};
Expand Down Expand Up @@ -86,6 +83,20 @@
};
};

&uart20 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uart20_default>;
pinctrl-1 = <&uart20_sleep>;
pinctrl-names = "default", "sleep";
};

&uart30 {
current-speed = <115200>;
pinctrl-0 = <&uart30_default>;
pinctrl-1 = <&uart30_sleep>;
pinctrl-names = "default", "sleep";
};

&gpio0 {
status = "okay";
Expand Down
1 change: 0 additions & 1 deletion boards/native/nrf_bsim/nrf54l15bsim_nrf54l15_cpuapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ supported:
testing:
ignore_tags:
- modem
- uart
- bsim_skip_CI

0 comments on commit ca46c7c

Please sign in to comment.