lantiq: fix image validation errors
[openwrt/staging/yousong.git] / target / linux / lantiq / dts / VGV7519BRN.dts
index c90b680490395b86a42b9ceaa7d0abbdd3e71c09..3d51aaa43a85bb86de7df4b5a5feffaa95e89d10 100644 (file)
@@ -1,31 +1,70 @@
 /dts-v1/;
 
 
-/include/ "VGV7519.dtsi"
+#include "VGV7519.dtsi"
 
 / {
+       model = "VGV7519BRN - KPN Experiabox V8";
+
        fpi@10000000 {
                localbus@0 {
-                       nor-flash@0 {
-                               compatible = "lantiq,nor", "cfi-flash";
-                               bank-width = <2>;
-                               reg = <0 0x0 0x800000>, <1 0x800000 0x800000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
-
-                               partition@40000 {
-                                       label = "board_config";
-                                       reg = <0x40000 0x10000>;
-                                       read-only;
-                               };
-                               partition@80000 {
-                                       label = "firmware";
-                                       reg = <0x80000 0x780000>;
-                                       read-only;
-                               };
-                               partition@880000 {
-                                       label = "rootfs_data";
-                                       reg = <0x880000 0x780000>;
+                       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 = "Code_Image_0";
+                                               reg = <0x80000 0x780000>;
+                                               brnboot,root-id = <0x00>;
+                                               read-only;
+                                       };
+
+                                       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;
+                                       };
                                };
                        };
                };