tests: gpio_basic_api: add WKPU interrupts test for mr_canhubk3
Use the same pins as when testing with SIUL2 EIRQ interrupt controller, but instead test routing the external interrupts to WKPU controller. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
8a4ec8e024
commit
402e1da58d
2 changed files with 24 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright 2023 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/dt-bindings/gpio/nxp-s32-gpio.h>
|
||||
|
||||
/ {
|
||||
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";
|
||||
};
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue