-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf fromtree] tests: drivers: uart: Add nrf54l15/cpuflpr overlays to…
… test scope Adding a separate overlay for nrf54l15 flpr is required because running tests on console uart fails. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit ae0822d)
- Loading branch information
1 parent
cc326c0
commit 148569d
Showing
4 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
tests/drivers/uart/uart_async_api/boards/nrf54l15pdk_nrf54l15_cpuflpr.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pinctrl { | ||
uart21_default: uart21_default { | ||
group1 { | ||
psels = <NRF_PSEL(UART_TX, 1, 10)>, | ||
<NRF_PSEL(UART_RX, 1, 11)>; | ||
}; | ||
}; | ||
|
||
uart21_sleep: uart21_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(UART_TX, 1, 10)>, | ||
<NRF_PSEL(UART_RX, 1, 11)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; | ||
|
||
dut: &uart21 { | ||
status = "okay"; | ||
current-speed = <115200>; | ||
pinctrl-0 = <&uart21_default>; | ||
pinctrl-1 = <&uart21_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
}; |
31 changes: 31 additions & 0 deletions
31
tests/drivers/uart/uart_elementary/boards/nrf54l15pdk_nrf54l15_cpuflpr.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
&pinctrl { | ||
uart21_default: uart21_default { | ||
group1 { | ||
psels = <NRF_PSEL(UART_TX, 1, 10)>, | ||
<NRF_PSEL(UART_RX, 1, 11)>, | ||
<NRF_PSEL(UART_RTS, 1, 8)>, | ||
<NRF_PSEL(UART_CTS, 1, 9)>; | ||
}; | ||
}; | ||
|
||
uart21_sleep: uart21_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(UART_TX, 1, 10)>, | ||
<NRF_PSEL(UART_RX, 1, 11)>, | ||
<NRF_PSEL(UART_RTS, 1, 8)>, | ||
<NRF_PSEL(UART_CTS, 1, 9)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; | ||
|
||
dut: &uart21 { | ||
status = "okay"; | ||
current-speed = <115200>; | ||
pinctrl-0 = <&uart21_default>; | ||
pinctrl-1 = <&uart21_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
hw-flow-control; | ||
}; |
51 changes: 51 additions & 0 deletions
51
tests/drivers/uart/uart_elementary/boards/nrf54l15pdk_nrf54l15_cpuflpr_dual_uart.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
&pinctrl { | ||
uart21_default: uart21_default { | ||
group1 { | ||
psels = <NRF_PSEL(UART_TX, 1, 10)>, | ||
<NRF_PSEL(UART_RX, 1, 8)>; | ||
bias-pull-up; | ||
}; | ||
}; | ||
|
||
uart21_sleep: uart21_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(UART_TX, 1, 10)>, | ||
<NRF_PSEL(UART_RX, 1, 8)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
|
||
uart22_default: uart22_default { | ||
group1 { | ||
psels = <NRF_PSEL(UART_TX, 1, 9)>, | ||
<NRF_PSEL(UART_RX, 1, 11)>; | ||
bias-pull-up; | ||
}; | ||
}; | ||
|
||
uart22_sleep: uart22_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(UART_TX, 1, 9)>, | ||
<NRF_PSEL(UART_RX, 1, 11)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; | ||
|
||
dut: &uart21 { | ||
status = "okay"; | ||
current-speed = <115200>; | ||
pinctrl-0 = <&uart21_default>; | ||
pinctrl-1 = <&uart21_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
}; | ||
|
||
dut_aux: &uart22 { | ||
status = "okay"; | ||
current-speed = <115200>; | ||
pinctrl-0 = <&uart22_default>; | ||
pinctrl-1 = <&uart22_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters