[PATCH 04/18] arm: dts: fsl-ls1088a: move memory node into U-Boot specific file

Mathew McBride matt at traverse.com.au
Wed Apr 12 09:38:16 CEST 2023


The top-level "memory" node does not exist in the Linux
version of the fsl-ls1088a.dtsi file. Move it to the U-Boot
"tweak" file, so we can have an identical copy of
fsl-ls1088a.dtsi between the projects in the end.

Signed-off-by: Mathew McBride <matt at traverse.com.au>
---
 arch/arm/dts/fsl-ls1088a-u-boot.dtsi | 8 ++++++++
 arch/arm/dts/fsl-ls1088a.dtsi        | 6 ------
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1088a-u-boot.dtsi b/arch/arm/dts/fsl-ls1088a-u-boot.dtsi
index f59d8b184c..3eb45d47cd 100644
--- a/arch/arm/dts/fsl-ls1088a-u-boot.dtsi
+++ b/arch/arm/dts/fsl-ls1088a-u-boot.dtsi
@@ -1,6 +1,14 @@
 // SPDX-License-Identifier: GPL-2.0+
 #include <config.h>
 
+/{
+	memory at 80000000 {
+		device_type = "memory";
+		reg = <0x00000000 0x80000000 0 0x80000000>;
+		      /* DRAM space - 1, size : 2 GB DRAM */
+	};
+};
+
 &duart0 {
 	bootph-all;
 };
diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi
index b094bcf67c..3afd847baf 100644
--- a/arch/arm/dts/fsl-ls1088a.dtsi
+++ b/arch/arm/dts/fsl-ls1088a.dtsi
@@ -13,12 +13,6 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 
-	memory at 80000000 {
-		device_type = "memory";
-		reg = <0x00000000 0x80000000 0 0x80000000>;
-		      /* DRAM space - 1, size : 2 GB DRAM */
-	};
-
 	gic: interrupt-controller at 6000000 {
 		compatible = "arm,gic-v3";
 		reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
-- 
2.30.1



More information about the U-Boot mailing list