boards: mimxrt1160: Enable watchdog timer on RT1160
Enable watchdog timer on RT1160 evk. This was tested using the watchdog timer api test (tests/drivers/watchdog/wdt_basic_api) Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
a477b25060
commit
7cd8c06bb3
5 changed files with 11 additions and 0 deletions
|
@ -105,6 +105,8 @@ features:
|
|||
+-----------+------------+-------------------------------------+
|
||||
| CAN | on-chip | flexcan |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| WATCHDOG | on-chip | watchdog |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
The default configuration can be found in the defconfig file:
|
||||
``boards/arm/mimxrt1160_evk/mimxrt1160_evk_cm7_defconfig``
|
||||
|
|
|
@ -58,3 +58,7 @@
|
|||
&lpadc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wdog1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -19,3 +19,4 @@ supported:
|
|||
- counter
|
||||
- can
|
||||
- spi
|
||||
- watchdog
|
||||
|
|
|
@ -43,6 +43,8 @@
|
|||
#define WDT_NODE DT_INST(0, microchip_xec_watchdog)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(ti_cc32xx_watchdog)
|
||||
#define WDT_NODE DT_INST(0, ti_cc32xx_watchdog)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_imx_wdog)
|
||||
#define WDT_NODE DT_INST(0, nxp_imx_wdog)
|
||||
#endif
|
||||
|
||||
#ifndef WDT_ALLOW_CALLBACK
|
||||
|
|
|
@ -91,6 +91,8 @@
|
|||
#define WDT_NODE DT_INST(0, nuvoton_npcx_watchdog)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(ti_cc32xx_watchdog)
|
||||
#define WDT_NODE DT_INST(0, ti_cc32xx_watchdog)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_imx_wdog)
|
||||
#define WDT_NODE DT_INST(0, nxp_imx_wdog)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(zephyr_counter_watchdog)
|
||||
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(zephyr_counter_watchdog)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue