diff mbox series

[v2,01/13] arm64: dts: layerscape: rename node 'timer' as 'rtc'

Message ID 20240626202533.2182846-2-Frank.Li@nxp.com (mailing list archive)
State New, archived
Headers show
Series [v2,01/13] arm64: dts: layerscape: rename node 'timer' as 'rtc' | expand

Commit Message

Frank Li June 26, 2024, 8:25 p.m. UTC
ftm_alarm is rtc. Correct the name as 'rtc' to fix DTB_CHECK warning.

timer@29d0000: $nodename:0: 'timer@29d0000' does not match '^rtc(@.*|-([0-9]|[1-9][0-9]+))?$'
        from schema $id: http://devicetree.org/schemas/rtc/fsl,ls-ftm-alarm.yaml

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 4 ++--
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

Comments

Frank Li June 26, 2024, 8:28 p.m. UTC | #1
Change from v1 to v2
- Combine some similar warning to one patch for difference ls chipes.
- Remove arm64: dts: layerscape: add '#power-control-cells' for rcpm
rcpm actually not power-controller, it is wakeup controller, need
better method to fix warning
- Add aux-bus fix
- Add pcie irq order fix
- Add rename to rtc fix
- Add thermal-node name fix
- Add q(b)man-portals node name fix

Frank Li (13):
  arm64: dts: layerscape: rename node 'timer' as 'rtc'
  arm64: dts: layerscape: add platform special compatible string for
    gpio
  arm64: dts: fsl-lx2160a: fix #address-cells for pinctrl-single
  arm64: dts: fsl-ls1012a: remove property 'snps,host-vbus-glitches'
  arm64: dts: layerscape: replace node name 'nor' with 'flash'
  arm64: dts: layerscape: remove compatible string 'fsl,fman-xmdio' for
    fman3
  arm64: dts: layerscaple: add #dma-cells for qdma
  arm64: dts: layerscape: rename node name "wdt" to "watchdog"
  arm64: dts: layerscape: change pcie interrupt order
  arm64: dts: layerscape: rename aux_bus to aux-bus
  arm64: dts: fsl-ls1043a: remove unused clk-name at watchdog node
  arm64: dts: fsl-ls1046a: rename thermal node name
  arm64: dts: layerscape: rename b(q)man-portals to b(q)man-portals-bus

 .../arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 13 +++---
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi |  5 ++-
 .../boot/dts/freescale/fsl-ls1043a-qds.dts    |  2 +-
 .../boot/dts/freescale/fsl-ls1043a-rdb.dts    |  2 +-
 .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 10 ++---
 .../boot/dts/freescale/fsl-ls1046a-qds.dts    |  2 +-
 .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 45 ++++++++++---------
 .../boot/dts/freescale/fsl-ls1088a-qds.dts    |  2 +-
 .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 18 ++++----
 .../boot/dts/freescale/fsl-ls208xa-qds.dtsi   |  2 +-
 .../boot/dts/freescale/fsl-ls208xa-rdb.dtsi   |  2 +-
 .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 18 ++++----
 .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 14 +++---
 .../dts/freescale/qoriq-fman3-0-10g-0.dtsi    |  2 +-
 .../dts/freescale/qoriq-fman3-0-10g-1.dtsi    |  2 +-
 .../dts/freescale/qoriq-fman3-0-1g-0.dtsi     |  2 +-
 .../dts/freescale/qoriq-fman3-0-1g-1.dtsi     |  2 +-
 .../dts/freescale/qoriq-fman3-0-1g-2.dtsi     |  2 +-
 .../dts/freescale/qoriq-fman3-0-1g-3.dtsi     |  2 +-
 .../dts/freescale/qoriq-fman3-0-1g-4.dtsi     |  2 +-
 .../dts/freescale/qoriq-fman3-0-1g-5.dtsi     |  2 +-
 .../boot/dts/freescale/qoriq-fman3-0.dtsi     |  4 +-
 22 files changed, 78 insertions(+), 77 deletions(-)
Shawn Guo June 27, 2024, 10:37 a.m. UTC | #2
On Wed, Jun 26, 2024 at 04:28:09PM -0400, Frank Li wrote:
> Change from v1 to v2
> - Combine some similar warning to one patch for difference ls chipes.
> - Remove arm64: dts: layerscape: add '#power-control-cells' for rcpm
> rcpm actually not power-controller, it is wakeup controller, need
> better method to fix warning
> - Add aux-bus fix
> - Add pcie irq order fix
> - Add rename to rtc fix
> - Add thermal-node name fix
> - Add q(b)man-portals node name fix
> 
> Frank Li (13):
>   arm64: dts: layerscape: rename node 'timer' as 'rtc'
>   arm64: dts: layerscape: add platform special compatible string for
>     gpio
>   arm64: dts: fsl-lx2160a: fix #address-cells for pinctrl-single
>   arm64: dts: fsl-ls1012a: remove property 'snps,host-vbus-glitches'
>   arm64: dts: layerscape: replace node name 'nor' with 'flash'
>   arm64: dts: layerscape: remove compatible string 'fsl,fman-xmdio' for
>     fman3
>   arm64: dts: layerscaple: add #dma-cells for qdma
>   arm64: dts: layerscape: rename node name "wdt" to "watchdog"
>   arm64: dts: layerscape: change pcie interrupt order
>   arm64: dts: layerscape: rename aux_bus to aux-bus
>   arm64: dts: fsl-ls1043a: remove unused clk-name at watchdog node
>   arm64: dts: fsl-ls1046a: rename thermal node name
>   arm64: dts: layerscape: rename b(q)man-portals to b(q)man-portals-bus

Applied all, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
index b6824d6bc9391..2e1cddc11bf47 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
@@ -564,7 +564,7 @@  rcpm: power-controller@1ee2140 {
 			#fsl,rcpm-wakeup-cells = <1>;
 		};
 
-		ftm_alarm0: timer@29d0000 {
+		ftm_alarm0: rtc@29d0000 {
 			compatible = "fsl,ls1012a-ftm-alarm";
 			reg = <0x0 0x29d0000 0x0 0x10000>;
 			fsl,rcpm-wakeup = <&rcpm 0x20000>;
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 744ed5feb8f0b..4188faa59368e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -1326,7 +1326,7 @@  rcpm: power-controller@1e34040 {
 			little-endian;
 		};
 
-		ftm_alarm0: timer@2800000 {
+		ftm_alarm0: rtc@2800000 {
 			compatible = "fsl,ls1028a-ftm-alarm";
 			reg = <0x0 0x2800000 0x0 0x10000>;
 			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>;
@@ -1334,7 +1334,7 @@  ftm_alarm0: timer@2800000 {
 			status = "disabled";
 		};
 
-		ftm_alarm1: timer@2810000 {
+		ftm_alarm1: rtc@2810000 {
 			compatible = "fsl,ls1028a-ftm-alarm";
 			reg = <0x0 0x2810000 0x0 0x10000>;
 			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>;
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
index 534b832440207..caf765593547b 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
@@ -990,7 +990,7 @@  rcpm: power-controller@1ee2140 {
 			#fsl,rcpm-wakeup-cells = <1>;
 		};
 
-		ftm_alarm0: timer@29d0000 {
+		ftm_alarm0: rtc@29d0000 {
 			compatible = "fsl,ls1043a-ftm-alarm";
 			reg = <0x0 0x29d0000 0x0 0x10000>;
 			fsl,rcpm-wakeup = <&rcpm 0x20000>;
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index 30061c80f1cc1..f8c9489507e7a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -940,7 +940,7 @@  rcpm: power-controller@1ee2140 {
 			#fsl,rcpm-wakeup-cells = <1>;
 		};
 
-		ftm_alarm0: timer@29d0000 {
+		ftm_alarm0: rtc@29d0000 {
 			compatible = "fsl,ls1046a-ftm-alarm";
 			reg = <0x0 0x29d0000 0x0 0x10000>;
 			fsl,rcpm-wakeup = <&rcpm 0x20000>;
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index 01c2c2b474205..81b80b6b27d31 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -1041,7 +1041,7 @@  rcpm: power-controller@1e34040 {
 			little-endian;
 		};
 
-		ftm_alarm0: timer@2800000 {
+		ftm_alarm0: rtc@2800000 {
 			compatible = "fsl,ls1088a-ftm-alarm";
 			reg = <0x0 0x2800000 0x0 0x10000>;
 			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
index 89a5f4d05a7b5..dac33a3eab841 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
@@ -1226,7 +1226,7 @@  rcpm: power-controller@1e34040 {
 			little-endian;
 		};
 
-		ftm_alarm0: timer@2800000 {
+		ftm_alarm0: rtc@2800000 {
 			compatible = "fsl,ls208xa-ftm-alarm";
 			reg = <0x0 0x2800000 0x0 0x10000>;
 			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;
diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
index 58c3a3a9744d6..40159f58c6f94 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
@@ -1086,7 +1086,7 @@  rcpm: power-controller@1e34040 {
 			little-endian;
 		};
 
-		ftm_alarm0: timer@2800000 {
+		ftm_alarm0: rtc@2800000 {
 			compatible = "fsl,lx2160a-ftm-alarm";
 			reg = <0x0 0x2800000 0x0 0x10000>;
 			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>;