ath79: airtight c-75: use second flash chip
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / qca9550_airtight_c-75.dts
index 566aa6aef6eb1a7e57b1fa98781b96024b70be2c..1bdbc86156127b5fb5235bf3d2e297f0527caa57 100644 (file)
                        linux,default-trigger = "phy1tpt";
                };
        };
+
+       virtual_flash {
+               compatible = "mtd-concat";
+               devices = <&concat0 &concat1>;
+
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "firmware";
+                               reg = <0x0 0x1f90000>;
+                               compatible = "denx,uimage";
+                       };
+               };
+       };
 };
 
 &eth0 {
                                read-only;
                        };
 
-                       partition@60000 {
-                               label = "firmware";
+                       concat0: partition@60000 {
+                               label = "reserved1";
                                reg = <0x060000 0xf90000>;
-                               compatible = "denx,uimage";
                        };
 
                        art: partition@ff0000 {
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       partition@0 {
-                               label = "opt";
+                       concat1: partition@0 {
+                               label = "reserved2";
                                reg = <0x0 0x1000000>;
                        };
                };