File tree Expand file tree Collapse file tree 9 files changed +13
-13
lines changed
samples/subsys/task_wdt/src
tests/drivers/watchdog/wdt_basic_api/src Expand file tree Collapse file tree 9 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ config WDT_MCUX_WDOG
14
14
config WDT_MCUX_WDOG32
15
15
bool "MCUX WDOG32 driver"
16
16
default y
17
- depends on DT_HAS_NXP_KINETIS_WDOG32_ENABLED
17
+ depends on DT_HAS_NXP_WDOG32_ENABLED
18
18
depends on CLOCK_CONTROL
19
19
help
20
20
Enable the mcux wdog32 driver.
Original file line number Diff line number Diff line change 7
7
* SPDX-License-Identifier: Apache-2.0
8
8
*/
9
9
10
- #define DT_DRV_COMPAT nxp_kinetis_wdog32
10
+ #define DT_DRV_COMPAT nxp_wdog32
11
11
12
12
#include <zephyr/drivers/watchdog.h>
13
13
#include <zephyr/drivers/clock_control.h>
Original file line number Diff line number Diff line change 295
295
};
296
296
297
297
wdog: watchdog@40052000 {
298
- compatible = "nxp,kinetis- wdog32";
298
+ compatible = "nxp,wdog32";
299
299
reg = <0x40052000 0x1000>;
300
300
interrupts = <22 0>;
301
301
clocks = <&lpo>;
Original file line number Diff line number Diff line change 227
227
};
228
228
229
229
wdog: watchdog@40052000 {
230
- compatible = "nxp,kinetis- wdog32";
230
+ compatible = "nxp,wdog32";
231
231
reg = <0x40052000 0x1000>;
232
232
interrupts = <28 0>;
233
233
clocks = <&lpo>;
Original file line number Diff line number Diff line change 264
264
};
265
265
266
266
wdog0: watchdog@1a000 {
267
- compatible = "nxp,kinetis- wdog32";
267
+ compatible = "nxp,wdog32";
268
268
reg = <0x1a000 16>;
269
269
interrupts = <23 0>;
270
270
clocks = <&scg SCG_K4_SYSOSC_CLK 0x68>;
274
274
};
275
275
276
276
wdog1: watchdog@1b000 {
277
- compatible = "nxp,kinetis- wdog32";
277
+ compatible = "nxp,wdog32";
278
278
reg = <0x1b000 16>;
279
279
interrupts = <24 0>;
280
280
clocks = <&scg SCG_K4_SYSOSC_CLK 0x6c>;
Original file line number Diff line number Diff line change 129
129
};
130
130
131
131
wdog: watchdog@40052000 {
132
- compatible = "nxp,kinetis- wdog32";
132
+ compatible = "nxp,wdog32";
133
133
reg = <0x40052000 0x1000>;
134
134
interrupts = <22 0>;
135
135
clocks = <&clock NXP_S32_LPO_128K_CLK>;
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2019 Vestas Wind Systems A/S
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- description : Kinetis watchdog (WDOG32)
4
+ description : NXP watchdog (WDOG32)
5
5
6
- compatible : " nxp,kinetis- wdog32"
6
+ compatible : " nxp,wdog32"
7
7
8
8
include : base.yaml
9
9
Original file line number Diff line number Diff line change 33
33
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(espressif_esp32_watchdog)
34
34
#elif DT_HAS_COMPAT_STATUS_OKAY (silabs_gecko_wdog )
35
35
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(silabs_gecko_wdog)
36
- #elif DT_HAS_COMPAT_STATUS_OKAY (nxp_kinetis_wdog32 )
37
- #define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_kinetis_wdog32 )
36
+ #elif DT_HAS_COMPAT_STATUS_OKAY (nxp_wdog32 )
37
+ #define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_wdog32 )
38
38
#elif DT_HAS_COMPAT_STATUS_OKAY (microchip_xec_watchdog )
39
39
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(microchip_xec_watchdog)
40
40
#else
Original file line number Diff line number Diff line change 82
82
#define WDT_NODE DT_INST(0, espressif_esp32_watchdog)
83
83
#elif DT_HAS_COMPAT_STATUS_OKAY (silabs_gecko_wdog )
84
84
#define WDT_NODE DT_INST(0, silabs_gecko_wdog)
85
- #elif DT_HAS_COMPAT_STATUS_OKAY (nxp_kinetis_wdog32 )
86
- #define WDT_NODE DT_INST(0, nxp_kinetis_wdog32 )
85
+ #elif DT_HAS_COMPAT_STATUS_OKAY (nxp_wdog32 )
86
+ #define WDT_NODE DT_INST(0, nxp_wdog32 )
87
87
#elif DT_HAS_COMPAT_STATUS_OKAY (microchip_xec_watchdog )
88
88
#define WDT_NODE DT_INST(0, microchip_xec_watchdog)
89
89
#elif DT_HAS_COMPAT_STATUS_OKAY (nuvoton_npcx_watchdog )
You can’t perform that action at this time.
0 commit comments