mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
drivers: wdt_mcux_wwdt: Support RW
Support RW soc series in wwdt driver Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
committed by
Fabio Baltieri
parent
3d1a4039ea
commit
e336c644be
@@ -84,6 +84,8 @@ static int mcux_wwdt_install_timeout(const struct device *dev,
|
||||
|
||||
#if defined(CONFIG_SOC_MIMXRT685S_CM33) || defined(CONFIG_SOC_MIMXRT595S_CM33)
|
||||
clock_freq = CLOCK_GetWdtClkFreq(0);
|
||||
#elif defined(CONFIG_SOC_SERIES_RW6XX)
|
||||
clock_freq = CLOCK_GetWdtClkFreq();
|
||||
#else
|
||||
const struct mcux_wwdt_config *config = dev->config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user