Skip to contentSkip to conversation

ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed partitions syntax

PATCH New Rafał Miłecki 2 participants 2 messages Apr 4, 2018 – Apr 16, 2018 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed partitions syntax

From: Rafa? Mi?ecki <[email protected]>

This new syntax is slightly better designed & uses "compatible" string. For details see Documentation/devicetree/bindings/mtd/partition.txt .

---
 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +9 -3
index 50d65d8fbd9a..5efb6f31164d 100644
@@ -26,9 +26,15 @@
 
 	nand: nand at 18028000 {
 		nandcs at 0 {
-			partition at 0 {
-				label = "ubi";
-				reg = <0x00000000 0x08000000>;
+			partitions {
+				compatible = "fixed-partitions";
+				#address-cells = <1>;
+				#size-cells = <1>;
+
+				partition at 0 {
+					label = "ubi";
+					reg = <0x00000000 0x08000000>;
+				};
 			};
 		};
 	};
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed partitions syntax

Quoted 7 lines · Rafa? Mi?ecki

From: Rafa? Mi?ecki <[email protected]>

This new syntax is slightly better designed & uses "compatible" string. For details see Documentation/devicetree/bindings/mtd/partition.txt .

---

Applied to devicetree/next, thanks!
--
Florian