dts: arm: nxp: nxp_mcxn94x: Added watchdog node

Added the dts node for the
wdt watchdog and updated the
clock frequency.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
Emilio Benavente 2024-03-26 12:49:52 -05:00 committed by Johan Hedberg
parent 554ed2235c
commit dbd1da973b
2 changed files with 11 additions and 1 deletions

View file

@ -82,7 +82,8 @@ static int mcux_wwdt_install_timeout(const struct device *dev,
return -ENOMEM; return -ENOMEM;
} }
#if defined(CONFIG_SOC_MIMXRT685S_CM33) || defined(CONFIG_SOC_MIMXRT595S_CM33) #if defined(CONFIG_SOC_MIMXRT685S_CM33) || defined(CONFIG_SOC_MIMXRT595S_CM33) \
|| defined(CONFIG_SOC_SERIES_MCXNX4X)
clock_freq = CLOCK_GetWdtClkFreq(0); clock_freq = CLOCK_GetWdtClkFreq(0);
#elif defined(CONFIG_SOC_SERIES_RW6XX) #elif defined(CONFIG_SOC_SERIES_RW6XX)
clock_freq = CLOCK_GetWdtClkFreq(); clock_freq = CLOCK_GetWdtClkFreq();

View file

@ -609,6 +609,15 @@
status = "disabled"; status = "disabled";
}; };
}; };
wwdt0: watchdog@16000 {
compatible = "nxp,lpc-wwdt";
reg = <0x16000 0x1000>;
interrupts = <152 0>;
status = "disabled";
clk-divider = <1>;
};
}; };
&systick { &systick {