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:
parent
554ed2235c
commit
dbd1da973b
|
@ -82,7 +82,8 @@ static int mcux_wwdt_install_timeout(const struct device *dev,
|
|||
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);
|
||||
#elif defined(CONFIG_SOC_SERIES_RW6XX)
|
||||
clock_freq = CLOCK_GetWdtClkFreq();
|
||||
|
|
|
@ -609,6 +609,15 @@
|
|||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
wwdt0: watchdog@16000 {
|
||||
compatible = "nxp,lpc-wwdt";
|
||||
reg = <0x16000 0x1000>;
|
||||
interrupts = <152 0>;
|
||||
status = "disabled";
|
||||
clk-divider = <1>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&systick {
|
||||
|
|
Loading…
Reference in a new issue