From e46d57b3af2dda00c1f15f608c7d1b86b91467a3 Mon Sep 17 00:00:00 2001
From: Jonas Gorski <jogo@openwrt.org>
Date: Thu, 21 Aug 2014 11:28:01 +0000
Subject: [PATCH] brcm63xx: use DT for partitions on SPW500V

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42236
---
 target/linux/brcm63xx/dts/spw500v.dts | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/target/linux/brcm63xx/dts/spw500v.dts b/target/linux/brcm63xx/dts/spw500v.dts
index 2b21bd069c..d9ac629932 100644
--- a/target/linux/brcm63xx/dts/spw500v.dts
+++ b/target/linux/brcm63xx/dts/spw500v.dts
@@ -6,3 +6,25 @@
 	model = "T-Com Speedport W500 V";
 	compatible = "t-com,spw500v", "brcm,bcm6348";
 };
+
+&pflash {
+	status = "ok";
+
+	linux,part-probe = "bcm63xxpart";
+
+	cfe@0 {
+		label = "CFE";
+		reg = <0x000000 0x010000>;
+		read-only;
+	};
+
+	linux@10000 {
+		label = "linux";
+		reg = <0x010000 0x3e0000>;
+	};
+
+	nvram@3f0000 {
+		label = "nvram";
+		reg = <0x3f0000 0x010000>;
+	};
+};
-- 
GitLab