1common:
2  tags:
3    - drivers
4    - uart
5  depends_on: gpio
6  harness: ztest
7  harness_config:
8    fixture: gpio_loopback
9tests:
10  drivers.uart.uart_elementary:
11    filter: CONFIG_SERIAL_SUPPORT_INTERRUPT
12    platform_allow:
13      - nrf54h20dk/nrf54h20/cpuapp
14      - nrf54l15dk/nrf54l15/cpuapp
15      - nrf54l20pdk/nrf54l20/cpuapp
16      - nrf54l15dk/nrf54l15/cpuflpr
17      - nrf5340dk/nrf5340/cpuapp
18      - esp32_devkitc_wrover/esp32/procpu
19      - esp8684_devkitm
20      - esp32c3_devkitm
21      - esp32c6_devkitc
22      - esp32s2_saola
23      - esp32s3_devkitm/esp32s3/procpu
24    integration_platforms:
25      - nrf54h20dk/nrf54h20/cpuapp
26  drivers.uart.uart_elementary_dual_nrf54h:
27    filter: CONFIG_SERIAL_SUPPORT_INTERRUPT
28    platform_allow:
29      - nrf54h20dk/nrf54h20/cpuapp
30    extra_args: DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_dual_uart.overlay"
31    extra_configs:
32      - CONFIG_DUAL_UART_TEST=y
33  drivers.uart.uart_elementary_dual_nrf54h.pm:
34    filter: CONFIG_SERIAL_SUPPORT_INTERRUPT
35    platform_allow:
36      - nrf54h20dk/nrf54h20/cpuapp
37    extra_args: DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_dual_uart.overlay"
38    extra_configs:
39      - CONFIG_DUAL_UART_TEST=y
40      - CONFIG_PM_DEVICE=y
41      - CONFIG_PM_DEVICE_RUNTIME=y
42  drivers.uart.uart_elementary_dual_setup_mismatch_nrf54h:
43    filter: CONFIG_SERIAL_SUPPORT_INTERRUPT
44    platform_allow:
45      - nrf54h20dk/nrf54h20/cpuapp
46    extra_args: DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_dual_uart.overlay"
47    extra_configs:
48      - CONFIG_DUAL_UART_TEST=y
49      - CONFIG_SETUP_MISMATCH_TEST=y
50  drivers.uart.uart_elementary_dual_nrf54l:
51    filter: CONFIG_SERIAL_SUPPORT_INTERRUPT
52    platform_allow:
53      - nrf54l15dk/nrf54l15/cpuapp
54      - nrf54l20pdk/nrf54l20/cpuapp
55    extra_args: DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_dual_uart.overlay"
56    extra_configs:
57      - CONFIG_DUAL_UART_TEST=y
58  drivers.uart.uart_elementary_dual_setup_mismatch_nrf54l:
59    filter: CONFIG_SERIAL_SUPPORT_INTERRUPT
60    platform_allow:
61      - nrf54l15dk/nrf54l15/cpuapp
62      - nrf54l20pdk/nrf54l20/cpuapp
63    extra_args: DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_dual_uart.overlay"
64    extra_configs:
65      - CONFIG_DUAL_UART_TEST=y
66      - CONFIG_SETUP_MISMATCH_TEST=y
67  drivers.uart.uart_elementary_dual_nrf54l_cpuflpr:
68    filter: CONFIG_SERIAL_SUPPORT_INTERRUPT
69    platform_allow:
70      - nrf54l15dk/nrf54l15/cpuflpr
71    extra_args: DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuflpr_dual_uart.overlay"
72    extra_configs:
73      - CONFIG_DUAL_UART_TEST=y
74  drivers.uart.uart_elementary_dual_setup_mismatch_nrf54l_cpuflpr:
75    filter: CONFIG_SERIAL_SUPPORT_INTERRUPT
76    platform_allow:
77      - nrf54l15dk/nrf54l15/cpuflpr
78    extra_args: DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuflpr_dual_uart.overlay"
79    extra_configs:
80      - CONFIG_DUAL_UART_TEST=y
81      - CONFIG_SETUP_MISMATCH_TEST=y
82