[PATCH 02/15] ARM: dts: ls1021a: correct node name "timer0" to 'rtc' and remove reg-names

Frank Li Frank.Li at nxp.com
Mon Aug 18 13:48:13 PDT 2025


Rename 'time0' to 'rtc' to fix below DTB_CHECK warning:
  timer0 at 29d0000: $nodename:0: 'timer0 at 29d0000' does not match '^rtc(@.*|-([0-9]|[1-9][0-9]+))?$

Remove undocument and unused property 'reg-names' to fix below warning:
  rtc at 29d0000: Unevaluated properties are not allowed ('reg-names' was unexpected)

Signed-off-by: Frank Li <Frank.Li at nxp.com>
---
 arch/arm/boot/dts/nxp/ls/ls1021a.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a.dtsi b/arch/arm/boot/dts/nxp/ls/ls1021a.dtsi
index 315f7fb8dbf4c5e9a482c285a8f394a3a2f6bfff..fdb8f5952fcf7f55fda9b5d5a45de053697f3264 100644
--- a/arch/arm/boot/dts/nxp/ls/ls1021a.dtsi
+++ b/arch/arm/boot/dts/nxp/ls/ls1021a.dtsi
@@ -944,10 +944,9 @@ rcpm: power-controller at 1ee2140 {
 			#power-domain-cells = <0>;
 		};
 
-		ftm_alarm0: timer0 at 29d0000 {
+		ftm_alarm0: rtc at 29d0000 {
 			compatible = "fsl,ls1021a-ftm-alarm";
 			reg = <0x0 0x29d0000 0x0 0x10000>;
-			reg-names = "ftm";
 			fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>;
 			interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
 			big-endian;

-- 
2.34.1




More information about the linux-arm-kernel mailing list