1common:
2  tags:
3    - drivers
4    - gpio
5  depends_on: gpio
6  harness: ztest
7  harness_config:
8    fixture: gpio_loopback
9
10tests:
11  drivers.gpio.2pin:
12    min_flash: 34
13    filter: dt_compat_enabled("test-gpio-basic-api") and not dt_compat_enabled("arduino-header-r3")
14
15  drivers.gpio.nrf_sense_edge:
16    platform_allow:
17      - nrf52840dk/nrf52840
18      - nrf52_bsim
19      - nrf5340bsim/nrf5340/cpuapp
20      - nrf5340bsim/nrf5340/cpunet
21      - nrf54l15bsim/nrf54l15/cpuapp
22    integration_platforms:
23      - nrf52840dk/nrf52840
24    extra_args: "DTC_OVERLAY_FILE=boards/nrf52840dk_nrf52840.overlay;\
25                 boards/nrf52840dk_nrf52840_sense_edge.overlay"
26
27  drivers.gpio.mr_canhubk3_wkpu:
28    platform_allow: mr_canhubk3
29    extra_args: "DTC_OVERLAY_FILE=boards/mr_canhubk3_wkpu.overlay"
30
31  drivers.gpio.2pin_ke17z_fgpio:
32    min_flash: 34
33    filter: dt_compat_enabled("test-gpio-basic-api")
34    platform_allow:
35      - frdm_ke17z
36      - frdm_ke17z512
37    extra_args: "DTC_OVERLAY_FILE=boards/frdm_ke17z_fgpio.overlay"
38    harness_config:
39      fixture: fgpio_loopback
40
41  drivers.gpio.2pin_arduino:
42    min_flash: 34
43    depends_on:
44      - gpio
45      - arduino_gpio
46    filter: >
47      dt_compat_enabled("test-gpio-basic-api") and dt_compat_enabled("arduino-header-r3")
48      and not CONFIG_SOC_FAMILY_STM32
49    extra_args: "DTC_OVERLAY_FILE=arduino_D2D3.overlay"
50    extra_configs:
51      - CONFIG_SKIP_PULL_TEST=y
52    integration_platforms:
53      - frdm_k64f
54    platform_exclude:
55      # below boards are customized
56      - mimxrt595_evk/mimxrt595s/cm33
57      - mimxrt1020_evk
58      - mimxrt1040_evk
59      - mimxrt1060_evk/mimxrt1062/qspi
60      - mimxrt1060_evk@B/mimxrt1062/qspi
61      - lpcxpresso55s69/lpc55s69/cpu0
62      - lpcxpresso55s36
63  drivers.gpio.2pin_arduino_customized:
64    min_flash: 34
65    depends_on:
66      - gpio
67      - arduino_gpio
68    filter: dt_compat_enabled("test-gpio-basic-api") and dt_compat_enabled("arduino-header-r3")
69    platform_allow:
70      - mimxrt595_evk/mimxrt595s/cm33
71      - mimxrt1020_evk
72      - mimxrt1040_evk
73      - mimxrt1060_evk/mimxrt1062/qspi
74      - mimxrt1060_evk@B/mimxrt1062/qspi
75      - lpcxpresso55s69/lpc55s69/cpu0
76      - lpcxpresso55s36
77      - nucleo_wb09ke
78      - nucleo_wb05kz
79      - nucleo_wba55cg
80    integration_platforms:
81      - mimxrt595_evk/mimxrt595s/cm33
82  drivers.gpio.st_2pin_arduino:
83    min_flash: 34
84    depends_on:
85      - gpio
86      - arduino_gpio
87    filter: >
88      dt_compat_enabled("test-gpio-basic-api") and dt_compat_enabled("arduino-header-r3")
89      and CONFIG_SOC_FAMILY_STM32
90    extra_args: "DTC_OVERLAY_FILE=arduino_D9D10.overlay"
91    integration_platforms:
92      - disco_l475_iot1
93    platform_exclude:
94      # below boards need customized
95      - nucleo_wb05kz
96      - nucleo_wb09ke
97      - nucleo_wba55cg
98  drivers.gpio.2pin_aw9523b:
99    depends_on:
100      - gpio
101      - arduino_gpio
102      - i2c
103      - arduino_i2c
104    harness_config:
105      fixture: aw9523b_on_arduino_header
106    filter: dt_compat_enabled("test-gpio-basic-api") and dt_compat_enabled("arduino-header-r3") and
107            dt_nodelabel_enabled("arduino_i2c")
108    extra_dtc_overlay_files:
109      - boards/aw9523b_on_arduino_header.overlay
110