Skip to content

Commit 8db84cf

Browse files
Dat-NguyenDuycfriedt
authored andcommitted
tests: drivers: gpio_api_1pin: support GPIO interrupt tests for NXP S32Z27
add support GPIO input interrupt tests for NXP S32Z27 Signed-off-by: Dat Nguyen Duy <[email protected]>
1 parent 1db8419 commit 8db84cf

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

tests/drivers/gpio/gpio_api_1pin/boards/s32z270dc2_rtu0_r52.overlay

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@
2020
};
2121
};
2222

23+
&pinctrl {
24+
eirq0_default: eirq0_default {
25+
group1 {
26+
pinmux = <PA3_EIRQ_0>;
27+
input-enable;
28+
};
29+
};
30+
};
31+
32+
&eirq0 {
33+
pinctrl-0 = <&eirq0_default>;
34+
pinctrl-names = "default";
35+
status = "okay";
36+
};
37+
2338
&gpioa {
2439
status = "okay";
2540
};

tests/drivers/gpio/gpio_api_1pin/boards/s32z270dc2_rtu1_r52.overlay

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@
2020
};
2121
};
2222

23+
&pinctrl {
24+
eirq0_default: eirq0_default {
25+
group1 {
26+
pinmux = <PA3_EIRQ_0>;
27+
input-enable;
28+
};
29+
};
30+
};
31+
32+
&eirq0 {
33+
pinctrl-0 = <&eirq0_default>;
34+
pinctrl-names = "default";
35+
status = "okay";
36+
};
37+
2338
&gpioa {
2439
status = "okay";
2540
};

0 commit comments

Comments
 (0)