Skip to content

Commit 343d8b1

Browse files
decsnyhenrikbrixandersen
authored andcommitted
dts: nxp: mcxw71: Add WDOG nodes to DT
Add watchdog nodes to MCXW71 SOC DT, and enable wdog0 alias. Signed-off-by: Declan Snyder <[email protected]>
1 parent 60a70fd commit 343d8b1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

dts/arm/nxp/nxp_mcxw71.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#include <zephyr/dt-bindings/i2c/i2c.h>
1313

1414
/ {
15+
aliases {
16+
watchdog0 = &wdog0;
17+
};
18+
1519
cpus {
1620
#address-cells = <1>;
1721
#size-cells = <0>;
@@ -199,6 +203,26 @@
199203
status = "disabled";
200204
#pwm-cells = <3>;
201205
};
206+
207+
wdog0: watchdog@1a000 {
208+
compatible = "nxp,kinetis-wdog32";
209+
reg = <0x1a000 16>;
210+
interrupts = <23 0>;
211+
clocks = <&scg SCG_K4_SYSOSC_CLK 0x68>;
212+
clk-source = <1>;
213+
clk-divider = <256>;
214+
status = "okay";
215+
};
216+
217+
wdog1: watchdog@1b000 {
218+
compatible = "nxp,kinetis-wdog32";
219+
reg = <0x1b000 16>;
220+
interrupts = <24 0>;
221+
clocks = <&scg SCG_K4_SYSOSC_CLK 0x6c>;
222+
clk-source = <1>;
223+
clk-divider = <256>;
224+
status = "disabled";
225+
};
202226
};
203227

204228
&fast_peripheral0 {

0 commit comments

Comments
 (0)