Skip to contentSkip to conversation

arm64: dts: layerscaple: clean up some simple CHECK_WARNING

PATCH Superseded Frank Li 3 participants 22 messages Jun 26, 2024 – Jul 1, 2024

Subsystems (2)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

v2 cover arm64: dts: layerscaple: clean up some simple CHECK_WARNING

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(-)
Signature · 1 line
2.34.1
author maintainer
#1 lore raw

PATCH v2 1/13 arm64: dts: layerscape: rename node 'timer' as 'rtc'

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

---
 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(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +1 -1
index b6824d6bc9391..2e1cddc11bf47 100644
@@ -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>;
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +2 -2
index 744ed5feb8f0b..4188faa59368e 100644
@@ -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>;
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +1 -1
index 534b832440207..caf765593547b 100644
@@ -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>;
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +1 -1
index 30061c80f1cc1..f8c9489507e7a 100644
@@ -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>;
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +1 -1
index 01c2c2b474205..81b80b6b27d31 100644
@@ -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>;
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +1 -1
index 89a5f4d05a7b5..dac33a3eab841 100644
@@ -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>;
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +1 -1
index 58c3a3a9744d6..40159f58c6f94 100644
@@ -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>;
Signature · 1 line
2.34.1
author maintainer
#2 lore raw

v2 cover arm64: dts: layerscaple: clean up some simple CHECK_WARNING

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(-)
Signature · 1 line
2.34.1
Applied
#3 lore raw
Quoted 11 lines · Frank Li

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

Quoted 16 lines

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!

author maintainer
#4 lore raw

PATCH v2 2/13 arm64: dts: layerscape: add platform special compatible string for gpio

In reply to Frank Li

Add platform special compatible string for all gpio controller to fix below warning.

gpio@2300000: compatible: 'oneOf' conditional failed, one must be fixed:

        ['fsl,qoriq-gpio'] is too short
        'fsl,qoriq-gpio' is not one of ['fsl,mpc5121-gpio', 'fsl,mpc5125-gpio', 'fsl,mpc8349-gpio', 'fsl,mpc8572-gpio', 'fsl,mpc8610-gpio', 'fsl,pq3-gpio']
        'fsl,qoriq-gpio' is not one of ['fsl,ls1021a-gpio', 'fsl,ls1028a-gpio', 'fsl,ls1043a-gpio', 'fsl,ls1088a-gpio', 'fsl,ls2080a-gpio']
---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 4 ++--
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 8 ++++----
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +2 -2
index 2e1cddc11bf47..1b6ab9550cce9 100644
@@ -407,7 +407,7 @@ duart1: serial@21c0600 {
 		};
 
 		gpio0: gpio@2300000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2300000 0x0 0x10000>;
 			interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
@@ -417,7 +417,7 @@ gpio0: gpio@2300000 {
 		};
 
 		gpio1: gpio@2310000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2310000 0x0 0x10000>;
 			interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +4 -4
index f8c9489507e7a..524b44f424272 100644
@@ -589,7 +589,7 @@ duart3: serial@21d0600 {
 		};
 
 		gpio0: gpio@2300000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2300000 0x0 0x10000>;
 			interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
@@ -599,7 +599,7 @@ gpio0: gpio@2300000 {
 		};
 
 		gpio1: gpio@2310000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2310000 0x0 0x10000>;
 			interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
@@ -609,7 +609,7 @@ gpio1: gpio@2310000 {
 		};
 
 		gpio2: gpio@2320000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2320000 0x0 0x10000>;
 			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
@@ -619,7 +619,7 @@ gpio2: gpio@2320000 {
 		};
 
 		gpio3: gpio@2330000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2330000 0x0 0x10000>;
 			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +4 -4
index 40159f58c6f94..da49f274e9d5a 100644
@@ -1027,7 +1027,7 @@ QORIQ_CLK_PLL_DIV(8)>,
 		};
 
 		gpio0: gpio@2300000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2300000 0x0 0x10000>;
 			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
@@ -1038,7 +1038,7 @@ gpio0: gpio@2300000 {
 		};
 
 		gpio1: gpio@2310000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2310000 0x0 0x10000>;
 			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
@@ -1049,7 +1049,7 @@ gpio1: gpio@2310000 {
 		};
 
 		gpio2: gpio@2320000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2320000 0x0 0x10000>;
 			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
@@ -1060,7 +1060,7 @@ gpio2: gpio@2320000 {
 		};
 
 		gpio3: gpio@2330000 {
-			compatible = "fsl,qoriq-gpio";
+			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
 			reg = <0x0 0x2330000 0x0 0x10000>;
 			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
Signature · 1 line
2.34.1
maintainer
#5 lore raw

Re: [PATCH v2 02/13] arm64: dts: layerscape: add platform special compatible string for gpio

Quoted 43 lines · Frank Li

Add platform special compatible string for all gpio controller to fix below warning.

gpio@2300000: compatible: 'oneOf' conditional failed, one must be fixed:

        ['fsl,qoriq-gpio'] is too short
        'fsl,qoriq-gpio' is not one of ['fsl,mpc5121-gpio', 'fsl,mpc5125-gpio', 'fsl,mpc8349-gpio', 'fsl,mpc8572-gpio', 'fsl,mpc8610-gpio', 'fsl,pq3-gpio']
        'fsl,qoriq-gpio' is not one of ['fsl,ls1021a-gpio', 'fsl,ls1028a-gpio', 'fsl,ls1043a-gpio', 'fsl,ls1088a-gpio', 'fsl,ls2080a-gpio']
---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 4 ++--
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 8 ++++----
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +2 -2
index 2e1cddc11bf47..1b6ab9550cce9 100644
@@ -407,7 +407,7 @@ duart1: serial@21c0600 {
                };
 
                gpio0: gpio@2300000 {
-                       compatible = "fsl,qoriq-gpio";
+                       compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
                        reg = <0x0 0x2300000 0x0 0x10000>;
                        interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
@@ -417,7 +417,7 @@ gpio0: gpio@2300000 {
                };
 
                gpio1: gpio@2310000 {
-                       compatible = "fsl,qoriq-gpio";
+                       compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
                        reg = <0x0 0x2310000 0x0 0x10000>;
                        interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +0 -0
index f8c9489507e7a..524b44f424272 100644

arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi duart3: serial@21d0600 { · line 592

Quoted 5 lines
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +1 -1
@@ -589,7 +589,7 @@ duart3: serial@21d0600 {
                };
 
                gpio0: gpio@2300000 {
-                       compatible = "fsl,qoriq-gpio";
+                       compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio";

ls1046a isn't documented.

Rob

author maintainer
#6 lore raw

Re: [PATCH v2 02/13] arm64: dts: layerscape: add platform special compatible string for gpio

Quoted 46 lines · Rob Herring
Quoted 45 lines · Frank Li

Add platform special compatible string for all gpio controller to fix below warning.

gpio@2300000: compatible: 'oneOf' conditional failed, one must be fixed:

        ['fsl,qoriq-gpio'] is too short
        'fsl,qoriq-gpio' is not one of ['fsl,mpc5121-gpio', 'fsl,mpc5125-gpio', 'fsl,mpc8349-gpio', 'fsl,mpc8572-gpio', 'fsl,mpc8610-gpio', 'fsl,pq3-gpio']
        'fsl,qoriq-gpio' is not one of ['fsl,ls1021a-gpio', 'fsl,ls1028a-gpio', 'fsl,ls1043a-gpio', 'fsl,ls1088a-gpio', 'fsl,ls2080a-gpio']
---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 4 ++--
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 8 ++++----
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +2 -2
index 2e1cddc11bf47..1b6ab9550cce9 100644
@@ -407,7 +407,7 @@ duart1: serial@21c0600 {
                };
 
                gpio0: gpio@2300000 {
-                       compatible = "fsl,qoriq-gpio";
+                       compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
                        reg = <0x0 0x2300000 0x0 0x10000>;
                        interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
@@ -417,7 +417,7 @@ gpio0: gpio@2300000 {
                };
 
                gpio1: gpio@2310000 {
-                       compatible = "fsl,qoriq-gpio";
+                       compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
                        reg = <0x0 0x2310000 0x0 0x10000>;
                        interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +0 -0
index f8c9489507e7a..524b44f424272 100644
@@ -589,7 +589,7 @@ duart3: serial@21d0600 {
                };
 
Quoted 5 lines

arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi duart3: serial@21d0600 { · line 592

Quoted 3 lines
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +1 -1
                gpio0: gpio@2300000 {
-                       compatible = "fsl,qoriq-gpio";
+                       compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio";

ls1046a isn't documented.

Sorry, there are local dt-binding update patch, which I forget sent out. So I have not found this problem when I sent out dts change.

Frank

Quoted 2 lines

Rob

author maintainer
#7 lore raw

PATCH v2 3/13 arm64: dts: fsl-lx2160a: fix #address-cells for pinctrl-single

In reply to Frank Li

Change #addres-cells to 1 and #size-cells to 0 to align binding doc requiremement.

Fix below warning:
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dtb: pinmux@70010012c: #address-cells:0:0: 1 was expected
from schema $id: http://devicetree.org/schemas/pinctrl/pinctrl-single.yaml#

---
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +2 -2
index da49f274e9d5a..12b6ec4926456 100644
@@ -1703,8 +1703,8 @@ pcs18: ethernet-phy@0 {
 		pinmux_i2crv: pinmux@70010012c {
 			compatible = "pinctrl-single";
 			reg = <0x00000007 0x0010012c 0x0 0xc>;
-			#address-cells = <2>;
-			#size-cells = <2>;
+			#address-cells = <1>;
+			#size-cells = <0>;
 			pinctrl-single,bit-per-mux;
 			pinctrl-single,register-width = <32>;
 			pinctrl-single,function-mask = <0x7>;
Signature · 1 line
2.34.1
author maintainer
#8 lore raw

PATCH v2 4/13 arm64: dts: fsl-ls1012a: remove property 'snps,host-vbus-glitches'

In reply to Frank Li

Workaround already applied unconditional at
commit a6ba1e453174 ("usb: dwc3: apply snps,host-vbus-glitches workaround unconditionally")

Remove it to fix CHECK_DTBS warning:
usb@2f00000: Unevaluated properties are not allowed ('snps,host-vbus-glitches' was unexpected)

---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +0 -1
index 1b6ab9550cce9..64e14154d5969 100644
@@ -501,7 +501,6 @@ usb0: usb@2f00000 {
 			snps,quirk-frame-length-adjustment = <0x20>;
 			snps,dis_rxdet_inp3_quirk;
 			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
-			snps,host-vbus-glitches;
 		};
 
 		sata: sata@3200000 {
Signature · 1 line
2.34.1
author maintainer
#9 lore raw

PATCH v2 5/13 arm64: dts: layerscape: replace node name 'nor' with 'flash'

In reply to Frank Li

Replace node name 'nor' with 'flash' to fix below CHECK_DTBS warning. nor@0,0: $nodename:0: 'nor@0,0' does not match '^(flash|.*sram|nand)(@.*)?$'

---
 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts  | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts  | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts  | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts  | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +1 -1
index dda27ed7aaf2b..11b1356e95d5b 100644
@@ -64,7 +64,7 @@ &ifc {
 		  0x2 0x0 0x0 0x7fb00000 0x00000100>;
 	status = "okay";
 
-	nor@0,0 {
+	flash@0,0 {
 		compatible = "cfi-flash";
 		reg = <0x0 0x0 0x8000000>;
 		big-endian;
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +1 -1
index 26f8540cb101b..5f6e57cf91981 100644
@@ -71,7 +71,7 @@ &ifc {
 		  0x1 0x0 0x0 0x7e800000 0x00010000
 		  0x2 0x0 0x0 0x7fb00000 0x00000100>;
 
-		nor@0,0 {
+		flash@0,0 {
 			compatible = "cfi-flash";
 			#address-cells = <1>;
 			#size-cells = <1>;
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts +1 -1
index 3b0ed9305f2bd..e5296e51f656f 100644
@@ -151,7 +151,7 @@ &ifc {
 		  0x2 0x0 0x0 0x7fb00000 0x00000100>;
 	status = "okay";
 
-	nor@0,0 {
+	flash@0,0 {
 		compatible = "cfi-flash";
 		reg = <0x0 0x0 0x8000000>;
 		big-endian;
arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts +1 -1
index aa52ff73ff9e0..d238a8440a814 100644
@@ -113,7 +113,7 @@ &ifc {
 		  3 0 0x5 0x20000000 0x00010000>;
 	status = "okay";
 
-	nor@0,0 {
+	flash@0,0 {
 		compatible = "cfi-flash";
 		reg = <0x0 0x0 0x8000000>;
 		bank-width = <2>;
arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi +1 -1
index e2c94da6d6e82..9178cd61c7869 100644
@@ -43,7 +43,7 @@ &ifc {
 		  0x2 0x0 0x5 0x30000000 0x00010000
 		  0x3 0x0 0x5 0x20000000 0x00010000>;
 
-	nor@0,0 {
+	flash@0,0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "cfi-flash";
arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi +1 -1
index 537cecb13dd08..69cd05a30b853 100644
@@ -21,7 +21,7 @@ &ifc {
 		  0x2 0x0 0x5 0x30000000 0x00010000
 		  0x3 0x0 0x5 0x20000000 0x00010000>;
 
-	nor@0,0 {
+	flash@0,0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "cfi-flash";
Signature · 1 line
2.34.1
author maintainer
#10 lore raw

PATCH v2 6/13 arm64: dts: layerscape: remove compatible string 'fsl,fman-xmdio' for fman3

In reply to Frank Li

Fman3 should use 'fsl,fman-memac-mdio'. 'fsl,fman-xmdio' is for fman2.
Fix below CHECK_DTBS warning.
fman@1a00000: mdio@eb000:compatible: ['fsl,fman-memac-mdio', 'fsl,fman-xmdio'] is too long

---
 arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi       | 4 ++--
 9 files changed, 10 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi +1 -1
index dbd2fc3ba790e..65f7b5a50eb51 100644
@@ -32,7 +32,7 @@ ethernet@f0000 {
 	mdio@f1000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xf1000 0x1000>;
 
 		pcsphy6: ethernet-phy@0 {
arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi +1 -1
index 6fc5d25600571..3f70482c98c30 100644
@@ -32,7 +32,7 @@ ethernet@f2000 {
 	mdio@f3000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xf3000 0x1000>;
 
 		pcsphy7: ethernet-phy@0 {
arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi +1 -1
index 4e02276fcf993..78841c1f32527 100644
@@ -31,7 +31,7 @@ ethernet@e0000 {
 	mdio@e1000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xe1000 0x1000>;
 
 		pcsphy0: ethernet-phy@0 {
arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi +1 -1
index 0312fa43fa777..1f43fa6662221 100644
@@ -31,7 +31,7 @@ ethernet@e2000 {
 	mdio@e3000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xe3000 0x1000>;
 
 		pcsphy1: ethernet-phy@0 {
arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi +1 -1
index af2df07971dd9..de0aa017701dd 100644
@@ -31,7 +31,7 @@ ethernet@e4000 {
 	mdio@e5000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xe5000 0x1000>;
 
 		pcsphy2: ethernet-phy@0 {
arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi +1 -1
index 4ac98dc8b2279..6904aa5d8e547 100644
@@ -31,7 +31,7 @@ ethernet@e6000 {
 	mdio@e7000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xe7000 0x1000>;
 
 		pcsphy3: ethernet-phy@0 {
arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi +1 -1
index bd932d8b0160b..a3d29d470297e 100644
@@ -31,7 +31,7 @@ ethernet@e8000 {
 	mdio@e9000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xe9000 0x1000>;
 
 		pcsphy4: ethernet-phy@0 {
arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi +1 -1
index 7de1c5203f3e2..01b78c0463a74 100644
@@ -31,7 +31,7 @@ ethernet@ea000 {
 	mdio@eb000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xeb000 0x1000>;
 
 		pcsphy5: ethernet-phy@0 {
arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi +2 -2
index ae1c2abaaf362..b0390b711fef4 100644
@@ -67,14 +67,14 @@ fman0_oh_0x7: port@87000 {
 	mdio0: mdio@fc000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xfc000 0x1000>;
 	};
 
 	xmdio0: mdio@fd000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+		compatible = "fsl,fman-memac-mdio";
 		reg = <0xfd000 0x1000>;
 	};
 };
Signature · 1 line
2.34.1
author maintainer
#11 lore raw

PATCH v2 7/13 arm64: dts: layerscaple: add #dma-cells for qdma

In reply to Frank Li

Add #dma-cells for qdma to fix below warning.
dma-controller@8380000: '#dma-cells' is a required property

---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
 3 files changed, 3 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +1 -0
index 4188faa59368e..de92af774771d 100644
@@ -828,6 +828,7 @@ qdma: dma-controller@8380000 {
 				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "qdma-error", "qdma-queue0",
 				"qdma-queue1", "qdma-queue2", "qdma-queue3";
+			#dma-cells = <1>;
 			dma-channels = <8>;
 			block-number = <1>;
 			block-offset = <0x10000>;
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +1 -0
index caf765593547b..acf3eab61b626 100644
@@ -974,6 +974,7 @@ qdma: dma-controller@8380000 {
 				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "qdma-error", "qdma-queue0",
 				"qdma-queue1", "qdma-queue2", "qdma-queue3";
+			#dma-cells = <1>;
 			dma-channels = <8>;
 			block-number = <1>;
 			block-offset = <0x10000>;
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +1 -0
index 524b44f424272..801c5b77d608f 100644
@@ -925,6 +925,7 @@ qdma: dma-controller@8380000 {
 				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "qdma-error", "qdma-queue0",
 				"qdma-queue1", "qdma-queue2", "qdma-queue3";
+			#dma-cells = <1>;
 			dma-channels = <8>;
 			block-number = <1>;
 			block-offset = <0x10000>;
Signature · 1 line
2.34.1
maintainer Reviewed-by on v2 7/13
#12 lore raw

Re: [PATCH v2 07/13] arm64: dts: layerscaple: add #dma-cells for qdma

Quoted 10 lines · Frank Li

Add #dma-cells for qdma to fix below warning.
dma-controller@8380000: '#dma-cells' is a required property

---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
 3 files changed, 3 insertions(+)
maintainer
#13 lore raw

Re: [PATCH v2 07/13] arm64: dts: layerscaple: add #dma-cells for qdma

Quoted 6 lines · Rob Herring
Quoted 4 lines · Frank Li

Add #dma-cells for qdma to fix below warning.
dma-controller@8380000: '#dma-cells' is a required property

Quoted 8 lines
Quoted 6 lines
---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
 3 files changed, 3 insertions(+)

Except for the typo in the subject...

Frank, while I appreciate the great number of reductions in DT warnings on FSL platforms you and others have been working on, your work is sloppy with issues you should find yourself.

Rob

author maintainer
#14 lore raw

Re: [PATCH v2 07/13] arm64: dts: layerscaple: add #dma-cells for qdma

Quoted 14 lines · Rob Herring
Quoted 13 lines · Rob Herring
Quoted 10 lines · Frank Li

Add #dma-cells for qdma to fix below warning.
dma-controller@8380000: '#dma-cells' is a required property

---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
 3 files changed, 3 insertions(+)
Quoted 7 lines
Quoted 1 line

Except for the typo in the subject...

Frank, while I appreciate the great number of reductions in DT warnings on FSL platforms you and others have been working on, your work is sloppy with issues you should find yourself.

I found the typo after I sent yesterday. I planned fix it after collect some comments. It was already in shawn's tree. I hope shawn can help fix it.

Frank

Quoted 2 lines

Rob

#15 lore raw

Re: [PATCH v2 07/13] arm64: dts: layerscaple: add #dma-cells for qdma

Quoted 19 lines · Frank Li
Quoted 18 lines · Rob Herring
Quoted 6 lines · Rob Herring
Quoted 4 lines · Frank Li

Add #dma-cells for qdma to fix below warning.
dma-controller@8380000: '#dma-cells' is a required property

Quoted 8 lines
Quoted 6 lines
---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
 3 files changed, 3 insertions(+)

Except for the typo in the subject...

Quoted 7 lines
Quoted 3 lines

Frank, while I appreciate the great number of reductions in DT warnings on FSL platforms you and others have been working on, your work is sloppy with issues you should find yourself.

I found the typo after I sent yesterday. I planned fix it after collect some comments. It was already in shawn's tree. I hope shawn can help fix it.

s/layerscaple/layerscape

Fixed it up. Thanks for spotting it, Rob!

Shawn

author maintainer
#16 lore raw

PATCH v2 8/13 arm64: dts: layerscape: rename node name "wdt" to "watchdog"

In reply to Frank Li

Rename node name "wdt" to "watchdog" to fix below warning:

arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dtb:
wdt@c000000: $nodename:0: 'wdt@c000000' does not match '^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$

---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 16 ++++++++--------
 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +8 -8
index 81b80b6b27d31..83236428e4cfd 100644
@@ -880,7 +880,7 @@ pcs7_3: ethernet-phy@3 {
 			};
 		};
 
-		cluster1_core0_watchdog: wdt@c000000 {
+		cluster1_core0_watchdog: watchdog@c000000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc000000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -890,7 +890,7 @@ QORIQ_CLK_PLL_DIV(16)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster1_core1_watchdog: wdt@c010000 {
+		cluster1_core1_watchdog: watchdog@c010000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc010000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -900,7 +900,7 @@ QORIQ_CLK_PLL_DIV(16)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster1_core2_watchdog: wdt@c020000 {
+		cluster1_core2_watchdog: watchdog@c020000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc020000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -910,7 +910,7 @@ QORIQ_CLK_PLL_DIV(16)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster1_core3_watchdog: wdt@c030000 {
+		cluster1_core3_watchdog: watchdog@c030000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc030000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -920,7 +920,7 @@ QORIQ_CLK_PLL_DIV(16)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster2_core0_watchdog: wdt@c100000 {
+		cluster2_core0_watchdog: watchdog@c100000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc100000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -930,7 +930,7 @@ QORIQ_CLK_PLL_DIV(16)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster2_core1_watchdog: wdt@c110000 {
+		cluster2_core1_watchdog: watchdog@c110000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc110000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -940,7 +940,7 @@ QORIQ_CLK_PLL_DIV(16)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster2_core2_watchdog: wdt@c120000 {
+		cluster2_core2_watchdog: watchdog@c120000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc120000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -950,7 +950,7 @@ QORIQ_CLK_PLL_DIV(16)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster2_core3_watchdog: wdt@c130000 {
+		cluster2_core3_watchdog: watchdog@c130000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc130000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +8 -8
index dac33a3eab841..fe4755c54af2e 100644
@@ -389,7 +389,7 @@ serial3: serial@21d0600 {
 			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
-		cluster1_core0_watchdog: wdt@c000000 {
+		cluster1_core0_watchdog: watchdog@c000000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc000000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -399,7 +399,7 @@ QORIQ_CLK_PLL_DIV(4)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster1_core1_watchdog: wdt@c010000 {
+		cluster1_core1_watchdog: watchdog@c010000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc010000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -409,7 +409,7 @@ QORIQ_CLK_PLL_DIV(4)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster2_core0_watchdog: wdt@c100000 {
+		cluster2_core0_watchdog: watchdog@c100000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc100000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -419,7 +419,7 @@ QORIQ_CLK_PLL_DIV(4)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster2_core1_watchdog: wdt@c110000 {
+		cluster2_core1_watchdog: watchdog@c110000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc110000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -429,7 +429,7 @@ QORIQ_CLK_PLL_DIV(4)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster3_core0_watchdog: wdt@c200000 {
+		cluster3_core0_watchdog: watchdog@c200000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc200000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -439,7 +439,7 @@ QORIQ_CLK_PLL_DIV(4)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster3_core1_watchdog: wdt@c210000 {
+		cluster3_core1_watchdog: watchdog@c210000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc210000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -449,7 +449,7 @@ QORIQ_CLK_PLL_DIV(4)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster4_core0_watchdog: wdt@c300000 {
+		cluster4_core0_watchdog: watchdog@c300000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc300000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
@@ -459,7 +459,7 @@ QORIQ_CLK_PLL_DIV(4)>,
 			clock-names = "wdog_clk", "apb_pclk";
 		};
 
-		cluster4_core1_watchdog: wdt@c310000 {
+		cluster4_core1_watchdog: watchdog@c310000 {
 			compatible = "arm,sp805", "arm,primecell";
 			reg = <0x0 0xc310000 0x0 0x1000>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
Signature · 1 line
2.34.1
author maintainer
#17 lore raw

PATCH v2 9/13 arm64: dts: layerscape: change pcie interrupt order

In reply to Frank Li

Change pcie interrupt order to fix below warning.

arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: pcie@3400000: interrupt-names:0: 'pme' was expected
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb: pcie@3400000: interrupt-names:1: 'aer' was expected
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#

---
 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi |  6 +++---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 18 +++++++++---------
 2 files changed, 12 insertions(+), 12 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +3 -3
index 64e14154d5969..daded853457bc 100644
@@ -535,9 +535,9 @@ pcie1: pcie@3400000 {
 			reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
 			      <0x40 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
-			interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
-				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
-			interrupt-names = "aer", "pme";
+			interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
+				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
+			interrupt-names = "pme", "aer";
 			#address-cells = <3>;
 			#size-cells = <2>;
 			device_type = "pci";
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +9 -9
index 801c5b77d608f..8ce73a076e77a 100644
@@ -801,9 +801,9 @@ pcie1: pcie@3400000 {
 			reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
 			      <0x40 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
-			interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
-				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
-			interrupt-names = "aer", "pme";
+			interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
+				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
+			interrupt-names = "pme", "aer";
 			#address-cells = <3>;
 			#size-cells = <2>;
 			device_type = "pci";
@@ -840,9 +840,9 @@ pcie2: pcie@3500000 {
 			reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
 			      <0x48 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
-			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
-				     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
-			interrupt-names = "aer", "pme";
+			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
+				     <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
+			interrupt-names = "pme", "aer";
 			#address-cells = <3>;
 			#size-cells = <2>;
 			device_type = "pci";
@@ -879,9 +879,9 @@ pcie3: pcie@3600000 {
 			reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
 			      <0x50 0x00000000 0x0 0x00002000>; /* configuration space */
 			reg-names = "regs", "config";
-			interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
-				     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
-			interrupt-names = "aer", "pme";
+			interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
+				     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
+			interrupt-names = "pme", "aer";
 			#address-cells = <3>;
 			#size-cells = <2>;
 			device_type = "pci";
Signature · 1 line
2.34.1
author maintainer
#18 lore raw

PATCH v2 10/13 arm64: dts: layerscape: rename aux_bus to aux-bus

In reply to Frank Li

Rename aux_bus to aux-bus to fix below CHECK_DTBS warning. arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb:
aux_bus: $nodename:0: 'aux_bus' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yam

---
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +1 -1
index acf3eab61b626..364eeeab089bb 100644
@@ -805,7 +805,7 @@ QORIQ_CLK_PLL_DIV(1)>,
 					    QORIQ_CLK_PLL_DIV(1)>;
 		};
 
-		aux_bus: aux_bus {
+		aux_bus: aux-bus {
 			#address-cells = <2>;
 			#size-cells = <2>;
 			compatible = "simple-bus";
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +1 -1
index 8ce73a076e77a..f2fd8f984dc38 100644
@@ -715,7 +715,7 @@ QORIQ_CLK_PLL_DIV(2)>,
 					    QORIQ_CLK_PLL_DIV(2)>;
 		};
 
-		aux_bus: aux_bus {
+		aux_bus: aux-bus {
 			#address-cells = <2>;
 			#size-cells = <2>;
 			compatible = "simple-bus";
Signature · 1 line
2.34.1
author maintainer
#19 lore raw

PATCH v2 11/13 arm64: dts: fsl-ls1043a: remove unused clk-name at watchdog node

In reply to Frank Li

clk-name is undocument property and never used in watchdog driver. Remove it and fix below CHECK_DTB warning.

arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: watchdog@2ad0000: Unevaluated properties are not allowed ('big-endian', 'clock-names' were unexpected)

---
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +0 -1
index 364eeeab089bb..bfb5841456d76 100644
@@ -783,7 +783,6 @@ wdog0: watchdog@2ad0000 {
 			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(1)>;
-			clock-names = "wdog";
 			big-endian;
 		};
 
Signature · 1 line
2.34.1
author maintainer
#20 lore raw

PATCH v2 12/13 arm64: dts: fsl-ls1046a: rename thermal node name

In reply to Frank Li

Add thermal subfix for thermal node to fix below CHECK_DTB warnings.

	thermal-zones: '...' do not match any of the regexes:
	'^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$'
---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +5 -5
index f2fd8f984dc38..060b74d3ca58d 100644
@@ -122,7 +122,7 @@ reboot {
 	};
 
 	thermal-zones {
-		ddr-controller {
+		ddr-thermal {
 			polling-delay-passive = <1000>;
 			polling-delay = <5000>;
 			thermal-sensors = <&tmu 0>;
@@ -142,7 +142,7 @@ ddr-ctrler-crit {
 			};
 		};
 
-		serdes {
+		serdes-thermal {
 			polling-delay-passive = <1000>;
 			polling-delay = <5000>;
 			thermal-sensors = <&tmu 1>;
@@ -162,7 +162,7 @@ serdes-crit {
 			};
 		};
 
-		fman {
+		fman-thermal {
 			polling-delay-passive = <1000>;
 			polling-delay = <5000>;
 			thermal-sensors = <&tmu 2>;
@@ -182,7 +182,7 @@ fman-crit {
 			};
 		};
 
-		core-cluster {
+		core-cluster-thermal {
 			polling-delay-passive = <1000>;
 			polling-delay = <5000>;
 			thermal-sensors = <&tmu 3>;
@@ -213,7 +213,7 @@ map0 {
 			};
 		};
 
-		sec {
+		sec-thermal {
 			polling-delay-passive = <1000>;
 			polling-delay = <5000>;
 			thermal-sensors = <&tmu 4>;
Signature · 1 line
2.34.1
author maintainer
#21 lore raw

PATCH v2 13/13 arm64: dts: layerscape: rename b(q)man-portals to b(q)man-portals-bus

In reply to Frank Li

Rename b(q)man-portals to b(q)man-portals-bus to fix below CHECK_DTB warnings.

arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dtb:
bman-portals@508000000: $nodename:0: 'bman-portals@508000000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'

---
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 4 ++--
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +2 -2
index bfb5841456d76..8f8cfc96790cc 100644
@@ -505,11 +505,11 @@ bman: bman@1890000 {
 			memory-region = <&bman_fbpr>;
 		};
 
-		bportals: bman-portals@508000000 {
+		bportals: bman-portals-bus@508000000 {
 			ranges = <0x0 0x5 0x08000000 0x8000000>;
 		};
 
-		qportals: qman-portals@500000000 {
+		qportals: qman-portals-bus@500000000 {
 			ranges = <0x0 0x5 0x00000000 0x8000000>;
 		};
 
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +2 -2
index 060b74d3ca58d..200e52622f998 100644
@@ -409,11 +409,11 @@ bman: bman@1890000 {
 
 		};
 
-		qportals: qman-portals@500000000 {
+		qportals: qman-portals-bus@500000000 {
 			ranges = <0x0 0x5 0x00000000 0x8000000>;
 		};
 
-		bportals: bman-portals@508000000 {
+		bportals: bman-portals-bus@508000000 {
 			ranges = <0x0 0x5 0x08000000 0x8000000>;
 		};
 
Signature · 1 line
2.34.1