diff --git a/tests/drivers/gpio/gpio_basic_api/boards/mr_canhubk3_wkpu.overlay b/tests/drivers/gpio/gpio_basic_api/boards/mr_canhubk3_wkpu.overlay new file mode 100644 index 000000000000000..e9ca00dbabf7b7c --- /dev/null +++ b/tests/drivers/gpio/gpio_basic_api/boards/mr_canhubk3_wkpu.overlay @@ -0,0 +1,20 @@ +/* + * Copyright 2023 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + resources { + compatible = "test-gpio-basic-api"; + /* Use LPSPI1 MISO/MOSI pins which are also used for spi_loopback test */ + out-gpios = <&gpioa_h 13 0>; + in-gpios = <&gpioa_h 14 NXP_S32_GPIO_INT_WKPU>; + }; +}; + +&wkpu { + status = "okay"; +}; diff --git a/tests/drivers/gpio/gpio_basic_api/testcase.yaml b/tests/drivers/gpio/gpio_basic_api/testcase.yaml index 9fb9d7fb29291f3..cc572e82ef06d08 100644 --- a/tests/drivers/gpio/gpio_basic_api/testcase.yaml +++ b/tests/drivers/gpio/gpio_basic_api/testcase.yaml @@ -16,3 +16,7 @@ tests: platform_allow: nrf52840dk_nrf52840 nrf52_bsim extra_args: "DTC_OVERLAY_FILE=boards/nrf52840dk_nrf52840.overlay;\ boards/nrf52840dk_nrf52840_sense_edge.overlay" + + drivers.gpio.mr_canhubk3_wkpu: + platform_allow: mr_canhubk3 + extra_args: "DTC_OVERLAY_FILE=boards/mr_canhubk3_wkpu.overlay"