[PATCH v5 10/28] arm: dts: ls1028a: move the low-power UART nodes into /soc

Michael Walle michael at walle.cc
Wed Oct 13 18:14:09 CEST 2021


While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.

Signed-off-by: Michael Walle <michael at walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean at nxp.com>
---
 arch/arm/dts/fsl-ls1028a.dtsi | 120 +++++++++++++++++-----------------
 1 file changed, 60 insertions(+), 60 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index 07aeb380ef..349c4bf862 100644
--- a/arch/arm/dts/fsl-ls1028a.dtsi
+++ b/arch/arm/dts/fsl-ls1028a.dtsi
@@ -174,66 +174,6 @@
 		};
 	};
 
-	lpuart0: serial at 2260000 {
-		compatible = "fsl,ls1021a-lpuart";
-		reg = <0x0 0x2260000 0x0 0x1000>;
-		interrupts = <0 232 0x4>;
-		clocks = <&sysclk>;
-		clock-names = "ipg";
-		little-endian;
-		status = "disabled";
-	};
-
-	lpuart1: serial at 2270000 {
-		compatible = "fsl,ls1021a-lpuart";
-		reg = <0x0 0x2270000 0x0 0x1000>;
-		interrupts = <0 233 0x4>;
-		clocks = <&sysclk>;
-		clock-names = "ipg";
-		little-endian;
-		status = "disabled";
-	};
-
-	lpuart2: serial at 2280000 {
-		compatible = "fsl,ls1021a-lpuart";
-		reg = <0x0 0x2280000 0x0 0x1000>;
-		interrupts = <0 234 0x4>;
-		clocks = <&sysclk>;
-		clock-names = "ipg";
-		little-endian;
-		status = "disabled";
-	};
-
-	lpuart3: serial at 2290000 {
-		compatible = "fsl,ls1021a-lpuart";
-		reg = <0x0 0x2290000 0x0 0x1000>;
-		interrupts = <0 235 0x4>;
-		clocks = <&sysclk>;
-		clock-names = "ipg";
-		little-endian;
-		status = "disabled";
-	};
-
-	lpuart4: serial at 22a0000 {
-		compatible = "fsl,ls1021a-lpuart";
-		reg = <0x0 0x22a0000 0x0 0x1000>;
-		interrupts = <0 236 0x4>;
-		clocks = <&sysclk>;
-		clock-names = "ipg";
-		little-endian;
-		status = "disabled";
-	};
-
-	lpuart5: serial at 22b0000 {
-		compatible = "fsl,ls1021a-lpuart";
-		reg = <0x0 0x22b0000 0x0 0x1000>;
-		interrupts = <0 237 0x4>;
-		clocks = <&sysclk>;
-		clock-names = "ipg";
-		little-endian;
-		status = "disabled";
-	};
-
 	usb1: usb3 at 3100000 {
 		compatible = "fsl,layerscape-dwc3";
 		reg = <0x0 0x3100000 0x0 0x10000>;
@@ -484,5 +424,65 @@
 			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
 			status = "disabled";
 		};
+
+		lpuart0: serial at 2260000 {
+			compatible = "fsl,ls1021a-lpuart";
+			reg = <0x0 0x2260000 0x0 0x1000>;
+			interrupts = <0 232 0x4>;
+			clocks = <&sysclk>;
+			clock-names = "ipg";
+			little-endian;
+			status = "disabled";
+		};
+
+		lpuart1: serial at 2270000 {
+			compatible = "fsl,ls1021a-lpuart";
+			reg = <0x0 0x2270000 0x0 0x1000>;
+			interrupts = <0 233 0x4>;
+			clocks = <&sysclk>;
+			clock-names = "ipg";
+			little-endian;
+			status = "disabled";
+		};
+
+		lpuart2: serial at 2280000 {
+			compatible = "fsl,ls1021a-lpuart";
+			reg = <0x0 0x2280000 0x0 0x1000>;
+			interrupts = <0 234 0x4>;
+			clocks = <&sysclk>;
+			clock-names = "ipg";
+			little-endian;
+			status = "disabled";
+		};
+
+		lpuart3: serial at 2290000 {
+			compatible = "fsl,ls1021a-lpuart";
+			reg = <0x0 0x2290000 0x0 0x1000>;
+			interrupts = <0 235 0x4>;
+			clocks = <&sysclk>;
+			clock-names = "ipg";
+			little-endian;
+			status = "disabled";
+		};
+
+		lpuart4: serial at 22a0000 {
+			compatible = "fsl,ls1021a-lpuart";
+			reg = <0x0 0x22a0000 0x0 0x1000>;
+			interrupts = <0 236 0x4>;
+			clocks = <&sysclk>;
+			clock-names = "ipg";
+			little-endian;
+			status = "disabled";
+		};
+
+		lpuart5: serial at 22b0000 {
+			compatible = "fsl,ls1021a-lpuart";
+			reg = <0x0 0x22b0000 0x0 0x1000>;
+			interrupts = <0 237 0x4>;
+			clocks = <&sysclk>;
+			clock-names = "ipg";
+			little-endian;
+			status = "disabled";
+		};
 	};
 };
-- 
2.30.2



More information about the U-Boot mailing list