tests: drivers: uart: uart_mix_fifo_poll: Add nrf54h20dk overlays
Add overlays for nrf54h20dk (cpuapp and cpurad). Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
adeb19b30c
commit
90b654ee86
4 changed files with 77 additions and 0 deletions
|
@ -0,0 +1,36 @@
|
|||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
&pinctrl {
|
||||
uart137_default_alt: uart137_default_alt {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(UART_TX, 0, 6)>,
|
||||
<NRF_PSEL(UART_RX, 0, 7)>,
|
||||
<NRF_PSEL(UART_RTS, 0, 8)>,
|
||||
<NRF_PSEL(UART_CTS, 0, 9)>;
|
||||
};
|
||||
};
|
||||
|
||||
uart137_sleep_alt: uart137_sleep_alt {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(UART_TX, 0, 6)>,
|
||||
<NRF_PSEL(UART_RX, 0, 7)>,
|
||||
<NRF_PSEL(UART_RTS, 0, 8)>,
|
||||
<NRF_PSEL(UART_CTS, 0, 9)>;
|
||||
low-power-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dut: &uart137 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&uart137_default_alt>;
|
||||
pinctrl-1 = <&uart137_sleep_alt>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
current-speed = <115200>;
|
||||
hw-flow-control;
|
||||
};
|
||||
|
||||
/* Use timer137 as only this one can generate interrupts on cpusys. */
|
||||
counter_dev: &timer137 {
|
||||
status = "okay";
|
||||
};
|
|
@ -0,0 +1,11 @@
|
|||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
#include "nrf54h20dk_nrf54h20_common.dtsi"
|
||||
|
||||
&dut {
|
||||
memory-regions = <&cpuapp_dma_region>;
|
||||
};
|
||||
|
||||
&grtc {
|
||||
interrupts = <109 2>;
|
||||
};
|
|
@ -0,0 +1,16 @@
|
|||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
#include "nrf54h20dk_nrf54h20_common.dtsi"
|
||||
|
||||
&cpurad_dma_region {
|
||||
/* Default space is not enough. */
|
||||
reg = <0x1e80 0x100>;
|
||||
};
|
||||
|
||||
&dut {
|
||||
memory-regions = <&cpurad_dma_region>;
|
||||
};
|
||||
|
||||
&grtc {
|
||||
interrupts = <109 2>;
|
||||
};
|
|
@ -9,6 +9,8 @@ common:
|
|||
- nrf9160dk/nrf9160
|
||||
- nrf5340dk/nrf5340/cpuapp
|
||||
- nrf54l15pdk/nrf54l15/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpurad
|
||||
- nrf52_bsim
|
||||
integration_platforms:
|
||||
- nrf52840dk/nrf52840
|
||||
|
@ -79,6 +81,10 @@ tests:
|
|||
- CONFIG_UART_ASYNC_API=n
|
||||
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
|
||||
- CONFIG_UART_NRFX_UARTE_LEGACY_SHIM=y
|
||||
platform_exclude:
|
||||
- nrf54l15pdk/nrf54l15/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpurad
|
||||
|
||||
drivers.uart.legacy.uart_mix_poll_fifo:
|
||||
extra_configs:
|
||||
|
@ -86,6 +92,10 @@ tests:
|
|||
- CONFIG_UART_0_INTERRUPT_DRIVEN=y
|
||||
- CONFIG_UART_0_ENHANCED_POLL_OUT=n
|
||||
- CONFIG_UART_NRFX_UARTE_LEGACY_SHIM=y
|
||||
platform_exclude:
|
||||
- nrf54l15pdk/nrf54l15/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpurad
|
||||
|
||||
drivers.uart.legacy.uart_mix_poll_async_api:
|
||||
extra_configs:
|
||||
|
@ -97,3 +107,7 @@ tests:
|
|||
- CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2
|
||||
- CONFIG_NRFX_TIMER2=y
|
||||
- CONFIG_UART_NRFX_UARTE_LEGACY_SHIM=y
|
||||
platform_exclude:
|
||||
- nrf54l15pdk/nrf54l15/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpurad
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue