From: Michael Walle <michael@walle.cc>
Date: Wed, 13 Oct 2021 16:14:13 +0000 (+0200)
Subject: arm: dts: ls1028a: move the watchdog node into /soc
X-Git-Tag: v2025.01-rc5-pxa1908~1642^2~30
X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=575205c9cc91e5914aa8b2ec884c78dc7d359b7c;p=u-boot.git

arm: dts: ls1028a: move the watchdog node into /soc

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

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
---

diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index d0f90941b9..c289009ca1 100644
--- a/arch/arm/dts/fsl-ls1028a.dtsi
+++ b/arch/arm/dts/fsl-ls1028a.dtsi
@@ -142,11 +142,6 @@
 		};
 	};
 
-	cluster1_core0_watchdog: wdt@c000000 {
-		compatible = "arm,sp805-wdt";
-		reg = <0x0 0xc000000 0x0 0x1000>;
-	};
-
 	soc: soc {
 		compatible = "simple-bus";
 		#address-cells = <2>;
@@ -484,5 +479,10 @@
 			ranges = <0x81000000 0x0 0x00000000 0x88 0x00020000 0x0 0x00010000   /* downstream I/O */
 				  0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
 		};
+
+		cluster1_core0_watchdog: wdt@c000000 {
+			compatible = "arm,sp805-wdt";
+			reg = <0x0 0xc000000 0x0 0x1000>;
+		};
 	};
 };