dts: bindings: rename nxp,kinetis-rtc compatible

Rename "nxp,kinetis-rtc" compatible to "nxp,rtc" 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:38:36 +07:00 committed by Benjamin Cabé
parent e0f0256538
commit bf7837b8ac
11 changed files with 14 additions and 14 deletions

View file

@ -6,6 +6,6 @@
config COUNTER_MCUX_RTC
bool "MCUX RTC driver"
default y
depends on DT_HAS_NXP_KINETIS_RTC_ENABLED
depends on DT_HAS_NXP_RTC_ENABLED
help
Enable support for mcux rtc driver.
Enable support for MCU RTC driver.

View file

@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_DRV_COMPAT nxp_kinetis_rtc
#define DT_DRV_COMPAT nxp_rtc
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>

View file

@ -101,7 +101,7 @@
};
rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
compatible = "nxp,rtc";
reg = <0x4003d000 0x1000>;
interrupts = <46 0>, <47 0>;
interrupt-names = "alarm", "seconds";

View file

@ -326,7 +326,7 @@
};
rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
compatible = "nxp,rtc";
reg = <0x4003d000 0x1000>;
interrupts = <46 0>, <47 0>;
interrupt-names = "alarm", "seconds";

View file

@ -265,7 +265,7 @@
};
rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
compatible = "nxp,rtc";
reg = <0x4003d000 0x1000>;
interrupts = <46 0>, <47 0>;
interrupt-names = "alarm", "seconds";

View file

@ -405,7 +405,7 @@
};
rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
compatible = "nxp,rtc";
reg = <0x4003d000 0x1000>;
interrupts = <20 0>;
clock-frequency = <32768>;

View file

@ -55,7 +55,7 @@
};
rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
compatible = "nxp,rtc";
reg = <0x4003d000 0x20>;
interrupts = <20 0>;
clock-frequency = <32768>;

View file

@ -290,7 +290,7 @@
};
rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
compatible = "nxp,rtc";
reg = <0x4003d000 0x1000>;
interrupts = <20 0>, <21 0>;
interrupt-names = "alarm", "seconds";

View file

@ -319,7 +319,7 @@
};
rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
compatible = "nxp,rtc";
reg = <0x4003d000 0x1000>;
interrupts = <46 0>, <47 0>;
interrupt-names = "alarm", "seconds";

View file

@ -2,9 +2,9 @@
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
description: Kinetis RTC
description: NXP Real Time Clock (RTC)
compatible: "nxp,kinetis-rtc"
compatible: "nxp,rtc"
include: rtc.yaml

View file

@ -73,7 +73,7 @@ static const struct device *const devices[] = {
DEVS_FOR_DT_COMPAT(nxp_lpc_ctimer)
#endif
#ifdef CONFIG_COUNTER_MCUX_RTC
DEVS_FOR_DT_COMPAT(nxp_kinetis_rtc)
DEVS_FOR_DT_COMPAT(nxp_rtc)
#endif
#ifdef CONFIG_COUNTER_MCUX_QTMR
DEVS_FOR_DT_COMPAT(nxp_imx_tmr)
@ -130,7 +130,7 @@ static const struct device *const devices[] = {
static const struct device *const period_devs[] = {
#ifdef CONFIG_COUNTER_MCUX_RTC
DEVS_FOR_DT_COMPAT(nxp_kinetis_rtc)
DEVS_FOR_DT_COMPAT(nxp_rtc)
#endif
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC
DEVS_FOR_DT_COMPAT(nxp_lpc_rtc)