lantiq: fix building AVM/EVA sysupgrade images on NOR devices
[oweals/openwrt.git] / target / linux / lantiq / dts / VGV7510KW22BRN.dts
index 1880c8c3b8b1c4c840420c04f82f09ba744f53f4..f93249bc8d132bffc9506f0d0f341e6d0e56e13c 100644 (file)
@@ -3,49 +3,60 @@
 /include/ "VGV7510KW22.dtsi"
 
 / {
+       sram@1F000000 {
+               cgu@103000 {
+                       lantiq,phy-clk-src = <0x2>;
+               };
+       };
+
        fpi@10000000 {
                localbus@0 {
                        nor-boot@0 {
-                               partition@0 {
-                                       label = "Boot";
-                                       reg = <0x00000 0x40000>;
-                                       read-only;
-                               };
+                               partitions {
+                                       partition@0 {
+                                               label = "Boot";
+                                               reg = <0x00000 0x40000>;
+                                               read-only;
+                                       };
 
-                               partition@40000 {
-                                       label = "Configuration";
-                                       reg = <0x40000 0x40000>;
-                                       read-only;
-                               };
+                                       partition@40000 {
+                                               label = "Configuration";
+                                               reg = <0x40000 0x40000>;
+                                               read-only;
+                                       };
 
-                               partition@80000 {
-                                       label = "Certificate";
-                                       reg = <0x80000 0x20000>;
-                                       read-only;
-                               };
+                                       partition@80000 {
+                                               label = "Certificate";
+                                               reg = <0x80000 0x20000>;
+                                               read-only;
+                                       };
 
-                               partition@a0000 {
-                                       label = "Special_Area";
-                                       reg = <0xa0000 0x20000>;
-                                       read-only;
-                               };
+                                       partition@a0000 {
+                                               label = "Special_Area";
+                                               reg = <0xa0000 0x20000>;
+                                               read-only;
+                                       };
 
-                               partition@c0000 {
-                                       label = "Primary_Setting";
-                                       reg = <0xc0000 0x20000>;
-                                       read-only;
-                               };
+                                       partition@c0000 {
+                                               compatible = "brnboot,root-selector";
+                                               label = "Primary_Setting";
+                                               reg = <0xc0000 0x20000>;
+                                               read-only;
+                                       };
 
-                               partition@e0000 {
-                                       label = "firmware"; /* "Code Image 0" in OFW */
-                                       reg = <0xe0000 0x780000>;
-                                       read-only;
-                               };
+                                       partition@e0000 {
+                                               label = "Code_Image_0";
+                                               reg = <0xe0000 0x780000>;
+                                               brnboot,root-id = <0x00>;
+                                               read-only;
+                                       };
 
-                               partition@860000 {
-                                       label = "Code_Image_1";
-                                       reg = <0x860000 0x780000>;
-                                       read-only;
+                                       partition@860000 {
+                                               label = "Code_Image_1";
+                                               reg = <0x860000 0x780000>;
+                                               brnboot,root-id = <0x01>;
+                                               read-only;
+                                       };
                                };
                        };
                };