Skip to content

Commit

Permalink
[nrf fromtree] boards nrfbsim: Enable UART(E) peripherals for nrf54l1…
Browse files Browse the repository at this point in the history
…5bsim

The HW models now support this peripheral for this target.
Let's enable it.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
(cherry picked from commit ca46c7c)
  • Loading branch information
aescolar authored and nordicjm committed Dec 18, 2024
1 parent 0b60cd7 commit ce84896
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 @@ -88,6 +85,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 ce84896

Please sign in to comment.