Skip to content

Commit 2ea83f4

Browse files
yvesllnashif
authored andcommitted
boards: nxp: frdm_mcxc444: Enable watchdog cop
Enable cop for zephyr watchdog. Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
1 parent 9d76a63 commit 2ea83f4

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

boards/nxp/frdm_mcxc444/frdm_mcxc444.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 NXP
2+
* Copyright 2024-2025 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -98,6 +98,10 @@
9898
er32k-select = <KINETIS_SIM_ER32KSEL_OSC32KCLK>;
9999
};
100100

101+
&cop {
102+
status = "okay";
103+
};
104+
101105
&cpu0 {
102106
clock-frequency = <DT_FREQ_M(48)>;
103107
};

boards/nxp/frdm_mcxc444/frdm_mcxc444.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2024 NXP
2+
# Copyright 2024-2025 NXP
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -23,6 +23,7 @@ supported:
2323
- pwm
2424
- usb_device
2525
- usbd
26+
- watchdog
2627
testing:
2728
ignore_tags:
2829
- net

dts/arm/nxp/nxp_mcxc_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
reg = <0x40047000 0x8>;
118118
status = "disabled";
119119
clk-source = <0>;
120-
timeout-cycles = <32>;
120+
timeout-cycles = <1024>;
121121
};
122122

123123
porta: pinmux@40049000 {

0 commit comments

Comments
 (0)