kernel: mtdsplit_uimage: replace "edimax, uimage" parser
[openwrt/staging/neocturne.git] / target / linux / ramips / dts / rt3662_edimax_br-6475nd.dts
index a1e7c837d1a6d6fb8bfe02513bfea5457093725f..56d9dc08948d930820de5a6f3421ceb4b057da39 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
 
 / {
        compatible = "edimax,br-6475nd", "ralink,rt3662-soc", "ralink,rt3883-soc";
@@ -86,7 +87,9 @@
                        };
 
                        partition@70000 {
-                               compatible = "edimax,uimage";
+                               compatible = "openwrt,uimage", "denx,uimage";
+                               openwrt,offset = <FW_EDIMAX_OFFSET>;
+                               openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
                                reg = <0x00070000 0x00790000>;
                                label = "firmware";
                        };