Skip to content

Commit a543a86

Browse files
yvesllhlord2000
authored andcommitted
tests: watchdog: Add nxp mcxn4x and ke1xz for ewm
Support frdm_mcxn947 and frdm_ke17z for watchdog reset_none_ewm Signed-off-by: Yves Wang <[email protected]>
1 parent e142ece commit a543a86

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright 2025 NXP
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
watchdog0 = &ewm0;
9+
};
10+
};
11+
12+
&ewm0 {
13+
status = "okay";
14+
clk-divider = <3>;
15+
};
16+
17+
&wdog {
18+
status = "disabled";
19+
};

tests/drivers/watchdog/wdt_basic_reset_none/testcase.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ tests:
1717
- frdm_mcxw72/mcxw727c/cpu0
1818
- mimxrt1180_evk/mimxrt1189/cm33
1919
- mimxrt1180_evk/mimxrt1189/cm7
20+
- frdm_mcxn947/mcxn947/cpu0
21+
- frdm_mcxn947/mcxn947/cpu1
2022
integration_platforms:
2123
- frdm_mcxw71
2224
- frdm_mcxw72/mcxw727c/cpu0
@@ -26,3 +28,13 @@ tests:
2628
extra_configs:
2729
- CONFIG_TEST_WDT_MAX_WINDOW_TIME=254
2830
- CONFIG_TEST_WDT_SLEEP_TIME=68
31+
drivers.watchdog.reset_none_ewm_ke1xz:
32+
filter: dt_compat_enabled("nxp,ewm")
33+
platform_allow:
34+
- frdm_ke17z
35+
integration_platforms:
36+
- frdm_ke17z
37+
extra_args: DTC_OVERLAY_FILE="boards/frdm_ke1xz.overlay"
38+
extra_configs:
39+
- CONFIG_TEST_WDT_MAX_WINDOW_TIME=254
40+
- CONFIG_TEST_WDT_SLEEP_TIME=68

0 commit comments

Comments
 (0)