lantiq: VGV7519 - fix brn partition layout
authorMathias Kresin <dev@kresin.me>
Thu, 26 May 2016 21:08:24 +0000 (23:08 +0200)
committerJohn Crispin <john@phrozen.org>
Fri, 27 May 2016 13:50:17 +0000 (15:50 +0200)
Use the brnboot partition layout as it is listed in the OpenWrt wiki
article for this board.

Configure the brnboot root selector for this device as well.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/dts/VGV7519BRN.dts

index cc365ecfe1009d528f0d87c982948829033eb608..b225acf57df17ab330f66c21b3ac97008241247b 100644 (file)
@@ -8,14 +8,60 @@
                localbus@0 {
                        nor-boot@0 {
                                partitions {
+                                       partition@0 {
+                                               label = "Boot";
+                                               reg = <0x00000 0x40000>;
+                                               read-only;
+                                       };
+
+                                       partition@50000 {
+                                               label = "Certificate";
+                                               reg = <0x50000 0x10000>;
+                                               read-only;
+                                       };
+                                       partition@60000 {
+                                               label = "Special_Area";
+                                               reg = <0x60000 0x10000>;
+                                               read-only;
+                                       };
+
+                                       partition@70000 {
+                                               label = " Reserve_0";
+                                               reg = <0x70000 0x10000>;
+                                               read-only;
+                                       };
+
                                        partition@80000 {
-                                               label = "firmware";
+                                               label = "Code_Image_0";
                                                reg = <0x80000 0x780000>;
+                                               brnboot,root-id = <0x00>;
                                                read-only;
                                        };
-                                       partition@880000 {
-                                               label = "rootfs_data";
-                                               reg = <0x880000 0x780000>;
+
+                                       partition@4000000 {
+                                               compatible = "brnboot,root-selector";
+                                               label = "Primary_Setting";
+                                               reg = <0x4000000 0x10000>;
+                                               read-only;
+                                       };
+
+                                       partition@4010000 {
+                                               label = "Configuration";
+                                               reg = <0x4010000 0x60000>;
+                                               read-only;
+                                       };
+
+                                       partition@4070000 {
+                                               label = " Reserve_1";
+                                               reg = <0x4070000 0x10000>;
+                                               read-only;
+                                       };
+
+                                       partition@4080000 {
+                                               label = "Code_Image_1";
+                                               reg = <0x4080000 0x780000>;
+                                               brnboot,root-id = <0x01>;
+                                               read-only;
                                        };
                                };
                        };