dts: bindings: rename nxp,kinetis-wdog32 compatible

Rename "nxp,kinetis-wdog32" compatible to "nxp,wdog32" to remove the
device family from its name.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
Manuel Argüelles 2024-11-24 14:27:24 +07:00 committed by Fabio Baltieri
commit dbd20bd039
9 changed files with 13 additions and 13 deletions

View file

@ -14,7 +14,7 @@ config WDT_MCUX_WDOG
config WDT_MCUX_WDOG32 config WDT_MCUX_WDOG32
bool "MCUX WDOG32 driver" bool "MCUX WDOG32 driver"
default y default y
depends on DT_HAS_NXP_KINETIS_WDOG32_ENABLED depends on DT_HAS_NXP_WDOG32_ENABLED
depends on CLOCK_CONTROL depends on CLOCK_CONTROL
help help
Enable the mcux wdog32 driver. Enable the mcux wdog32 driver.

View file

@ -7,7 +7,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#define DT_DRV_COMPAT nxp_kinetis_wdog32 #define DT_DRV_COMPAT nxp_wdog32
#include <zephyr/drivers/watchdog.h> #include <zephyr/drivers/watchdog.h>
#include <zephyr/drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>

View file

@ -295,7 +295,7 @@
}; };
wdog: watchdog@40052000 { wdog: watchdog@40052000 {
compatible = "nxp,kinetis-wdog32"; compatible = "nxp,wdog32";
reg = <0x40052000 0x1000>; reg = <0x40052000 0x1000>;
interrupts = <22 0>; interrupts = <22 0>;
clocks = <&lpo>; clocks = <&lpo>;

View file

@ -227,7 +227,7 @@
}; };
wdog: watchdog@40052000 { wdog: watchdog@40052000 {
compatible = "nxp,kinetis-wdog32"; compatible = "nxp,wdog32";
reg = <0x40052000 0x1000>; reg = <0x40052000 0x1000>;
interrupts = <28 0>; interrupts = <28 0>;
clocks = <&lpo>; clocks = <&lpo>;

View file

@ -264,7 +264,7 @@
}; };
wdog0: watchdog@1a000 { wdog0: watchdog@1a000 {
compatible = "nxp,kinetis-wdog32"; compatible = "nxp,wdog32";
reg = <0x1a000 16>; reg = <0x1a000 16>;
interrupts = <23 0>; interrupts = <23 0>;
clocks = <&scg SCG_K4_SYSOSC_CLK 0x68>; clocks = <&scg SCG_K4_SYSOSC_CLK 0x68>;
@ -274,7 +274,7 @@
}; };
wdog1: watchdog@1b000 { wdog1: watchdog@1b000 {
compatible = "nxp,kinetis-wdog32"; compatible = "nxp,wdog32";
reg = <0x1b000 16>; reg = <0x1b000 16>;
interrupts = <24 0>; interrupts = <24 0>;
clocks = <&scg SCG_K4_SYSOSC_CLK 0x6c>; clocks = <&scg SCG_K4_SYSOSC_CLK 0x6c>;

View file

@ -129,7 +129,7 @@
}; };
wdog: watchdog@40052000 { wdog: watchdog@40052000 {
compatible = "nxp,kinetis-wdog32"; compatible = "nxp,wdog32";
reg = <0x40052000 0x1000>; reg = <0x40052000 0x1000>;
interrupts = <22 0>; interrupts = <22 0>;
clocks = <&clock NXP_S32_LPO_128K_CLK>; clocks = <&clock NXP_S32_LPO_128K_CLK>;

View file

@ -1,9 +1,9 @@
# Copyright (c) 2019 Vestas Wind Systems A/S # Copyright (c) 2019 Vestas Wind Systems A/S
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
description: Kinetis watchdog (WDOG32) description: NXP watchdog (WDOG32)
compatible: "nxp,kinetis-wdog32" compatible: "nxp,wdog32"
include: base.yaml include: base.yaml

View file

@ -33,8 +33,8 @@
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(espressif_esp32_watchdog) #define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(espressif_esp32_watchdog)
#elif DT_HAS_COMPAT_STATUS_OKAY(silabs_gecko_wdog) #elif DT_HAS_COMPAT_STATUS_OKAY(silabs_gecko_wdog)
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(silabs_gecko_wdog) #define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(silabs_gecko_wdog)
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_kinetis_wdog32) #elif DT_HAS_COMPAT_STATUS_OKAY(nxp_wdog32)
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_kinetis_wdog32) #define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_wdog32)
#elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_watchdog) #elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_watchdog)
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(microchip_xec_watchdog) #define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(microchip_xec_watchdog)
#else #else

View file

@ -82,8 +82,8 @@
#define WDT_NODE DT_INST(0, espressif_esp32_watchdog) #define WDT_NODE DT_INST(0, espressif_esp32_watchdog)
#elif DT_HAS_COMPAT_STATUS_OKAY(silabs_gecko_wdog) #elif DT_HAS_COMPAT_STATUS_OKAY(silabs_gecko_wdog)
#define WDT_NODE DT_INST(0, silabs_gecko_wdog) #define WDT_NODE DT_INST(0, silabs_gecko_wdog)
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_kinetis_wdog32) #elif DT_HAS_COMPAT_STATUS_OKAY(nxp_wdog32)
#define WDT_NODE DT_INST(0, nxp_kinetis_wdog32) #define WDT_NODE DT_INST(0, nxp_wdog32)
#elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_watchdog) #elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_watchdog)
#define WDT_NODE DT_INST(0, microchip_xec_watchdog) #define WDT_NODE DT_INST(0, microchip_xec_watchdog)
#elif DT_HAS_COMPAT_STATUS_OKAY(nuvoton_npcx_watchdog) #elif DT_HAS_COMPAT_STATUS_OKAY(nuvoton_npcx_watchdog)