Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions boards/native/nrf_bsim/nrf54l15bsim_nrf54l15_cpuapp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
/delete-node/ memory@20000000;
/delete-node/ memory@2002f000;
peripheral@50000000 {
/delete-node/ spi@4a000;
/delete-node/ vpr@4c000;
/delete-node/ mailbox@0;
/delete-node/ interrupt-controller@f0000000;
Expand Down Expand Up @@ -84,8 +83,8 @@
};
};

&uart00 {
/delete-property/ clocks;
&spi00 {
status = "disabled";
};

&uart20 {
Expand Down
2 changes: 1 addition & 1 deletion tests/bsim/ci.uart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-log
echo " nRF54L15:"
${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \
-p nrf54l15bsim/nrf54l15/cpuapp --fixture gpio_loopback \
-- -uart2_loopback
-- -uart0_loopback -uart2_loopback

echo "UART: Multi device tests"
WORK_DIR=${ZEPHYR_BASE}/bsim_uart nice tests/bsim/drivers/uart/compile.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0 */

&spi00 {
status = "disabled";
};

&pinctrl {
uart21_default_alt: uart21_default_alt {
group1 {
Expand All @@ -15,6 +19,21 @@
low-power-enable;
};
};

uart00_default_alt: uart00_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 2, 8)>,
<NRF_PSEL(UART_RX, 2, 7)>;
};
};

uart00_sleep_alt: uart00_sleep_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 2, 8)>,
<NRF_PSEL(UART_RX, 2, 7)>;
low-power-enable;
};
};
};

dut: &uart21 {
Expand All @@ -24,3 +43,11 @@ dut: &uart21 {
pinctrl-names = "default", "sleep";
current-speed = <115200>;
};

dut2: &uart00 {
status = "okay";
pinctrl-0 = <&uart00_default_alt>;
pinctrl-1 = <&uart00_sleep_alt>;
pinctrl-names = "default", "sleep";
current-speed = <4000000>;
};