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

Frank Li posted 15 patches 1 month, 2 weeks ago
There is a newer version of this series
[PATCH 02/15] ARM: dts: ls1021a: correct node name "timer0" to 'rtc' and remove reg-names
Posted by Frank Li 1 month, 2 weeks ago
Rename 'time0' to 'rtc' to fix below DTB_CHECK warning:
  timer0@29d0000: $nodename:0: 'timer0@29d0000' does not match '^rtc(@.*|-([0-9]|[1-9][0-9]+))?$

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

Signed-off-by: Frank Li <Frank.Li@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@1ee2140 {
 			#power-domain-cells = <0>;
 		};
 
-		ftm_alarm0: timer0@29d0000 {
+		ftm_alarm0: rtc@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