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:
parent
ef2fde857e
commit
dbd20bd039
9 changed files with 13 additions and 13 deletions
|
@ -14,7 +14,7 @@ config WDT_MCUX_WDOG
|
|||
config WDT_MCUX_WDOG32
|
||||
bool "MCUX WDOG32 driver"
|
||||
default y
|
||||
depends on DT_HAS_NXP_KINETIS_WDOG32_ENABLED
|
||||
depends on DT_HAS_NXP_WDOG32_ENABLED
|
||||
depends on CLOCK_CONTROL
|
||||
help
|
||||
Enable the mcux wdog32 driver.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* 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/clock_control.h>
|
||||
|
|
|
@ -295,7 +295,7 @@
|
|||
};
|
||||
|
||||
wdog: watchdog@40052000 {
|
||||
compatible = "nxp,kinetis-wdog32";
|
||||
compatible = "nxp,wdog32";
|
||||
reg = <0x40052000 0x1000>;
|
||||
interrupts = <22 0>;
|
||||
clocks = <&lpo>;
|
||||
|
|
|
@ -227,7 +227,7 @@
|
|||
};
|
||||
|
||||
wdog: watchdog@40052000 {
|
||||
compatible = "nxp,kinetis-wdog32";
|
||||
compatible = "nxp,wdog32";
|
||||
reg = <0x40052000 0x1000>;
|
||||
interrupts = <28 0>;
|
||||
clocks = <&lpo>;
|
||||
|
|
|
@ -264,7 +264,7 @@
|
|||
};
|
||||
|
||||
wdog0: watchdog@1a000 {
|
||||
compatible = "nxp,kinetis-wdog32";
|
||||
compatible = "nxp,wdog32";
|
||||
reg = <0x1a000 16>;
|
||||
interrupts = <23 0>;
|
||||
clocks = <&scg SCG_K4_SYSOSC_CLK 0x68>;
|
||||
|
@ -274,7 +274,7 @@
|
|||
};
|
||||
|
||||
wdog1: watchdog@1b000 {
|
||||
compatible = "nxp,kinetis-wdog32";
|
||||
compatible = "nxp,wdog32";
|
||||
reg = <0x1b000 16>;
|
||||
interrupts = <24 0>;
|
||||
clocks = <&scg SCG_K4_SYSOSC_CLK 0x6c>;
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
};
|
||||
|
||||
wdog: watchdog@40052000 {
|
||||
compatible = "nxp,kinetis-wdog32";
|
||||
compatible = "nxp,wdog32";
|
||||
reg = <0x40052000 0x1000>;
|
||||
interrupts = <22 0>;
|
||||
clocks = <&clock NXP_S32_LPO_128K_CLK>;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright (c) 2019 Vestas Wind Systems A/S
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Kinetis watchdog (WDOG32)
|
||||
description: NXP watchdog (WDOG32)
|
||||
|
||||
compatible: "nxp,kinetis-wdog32"
|
||||
compatible: "nxp,wdog32"
|
||||
|
||||
include: base.yaml
|
||||
|
|
@ -33,8 +33,8 @@
|
|||
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(espressif_esp32_watchdog)
|
||||
#elif DT_HAS_COMPAT_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)
|
||||
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_kinetis_wdog32)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_wdog32)
|
||||
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_wdog32)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_watchdog)
|
||||
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(microchip_xec_watchdog)
|
||||
#else
|
||||
|
|
|
@ -82,8 +82,8 @@
|
|||
#define WDT_NODE DT_INST(0, espressif_esp32_watchdog)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(silabs_gecko_wdog)
|
||||
#define WDT_NODE DT_INST(0, silabs_gecko_wdog)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_kinetis_wdog32)
|
||||
#define WDT_NODE DT_INST(0, nxp_kinetis_wdog32)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_wdog32)
|
||||
#define WDT_NODE DT_INST(0, nxp_wdog32)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_watchdog)
|
||||
#define WDT_NODE DT_INST(0, microchip_xec_watchdog)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nuvoton_npcx_watchdog)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue