Skip to contentSkip to conversation

ARM: dts: am335x-myirtech: Update to use upstream DT partition scheme

PATCH Applied Alexander Shiyan 2 participants 2 messages Jul 8, 2022 – Jul 11, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: am335x-myirtech: Update to use upstream DT partition scheme

---
 arch/arm/dts/am335x-myirtech-myd.dts | 35 +++++++---------------------
 1 file changed, 8 insertions(+), 27 deletions(-)
arch/arm/dts/am335x-myirtech-myd.dts +8 -27
index 1ea0f2a440..54050816fc 100644
@@ -22,33 +22,14 @@
 
 };
 
-&nand0 {
-	/delete-node/ partition@0;
-	/delete-node/ partition@20000;
-
-	nand_parts: partitions {
-		compatible = "fixed-partitions";
-		#address-cells = <1>;
-		#size-cells = <1>;
-
-		partition@0 {
-			label = "MLO";
-			reg = <0x00000 0x20000>;
-		};
-
-		partition@80000 {
-			label = "boot";
-			reg = <0x80000 0x100000>;
-		};
-
-		nand_environment: partition@180000 {
-			label = "env";
-			reg = <0x180000 0x40000>;
-		};
+&nand_parts {
+	nand_environment: partition@180000 {
+		label = "env";
+		reg = <0x180000 0x40000>;
+	};
 
-		partition@1c0000 {
-			label = "system";
-			reg = <0x1c0000 0>;
-		};
+	partition@1c0000 {
+		label = "system";
+		reg = <0x1c0000 0>;
 	};
 };
Signature · 1 line
2.32.0
Applied
#1 lore raw
Quoted 4 lines · Alexander Shiyan
---
 arch/arm/dts/am335x-myirtech-myd.dts | 35 +++++++---------------------
 1 file changed, 8 insertions(+), 27 deletions(-)

Applied, thanks

Sascha

Quoted 52 lines
arch/arm/dts/am335x-myirtech-myd.dts +8 -27
index 1ea0f2a440..54050816fc 100644
@@ -22,33 +22,14 @@
 
 };
 
-&nand0 {
-	/delete-node/ partition@0;
-	/delete-node/ partition@20000;
-
-	nand_parts: partitions {
-		compatible = "fixed-partitions";
-		#address-cells = <1>;
-		#size-cells = <1>;
-
-		partition@0 {
-			label = "MLO";
-			reg = <0x00000 0x20000>;
-		};
-
-		partition@80000 {
-			label = "boot";
-			reg = <0x80000 0x100000>;
-		};
-
-		nand_environment: partition@180000 {
-			label = "env";
-			reg = <0x180000 0x40000>;
-		};
+&nand_parts {
+	nand_environment: partition@180000 {
+		label = "env";
+		reg = <0x180000 0x40000>;
+	};
 
-		partition@1c0000 {
-			label = "system";
-			reg = <0x1c0000 0>;
-		};
+	partition@1c0000 {
+		label = "system";
+		reg = <0x1c0000 0>;
 	};
 };
Signature · 1 line
2.32.0
Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |