kernel: mtdsplit_uimage: replace "openwrt, okli" parser
[openwrt/staging/jow.git] / target / linux / ath79 / dts / ar7242_engenius_ecb350-v1.dts
index e73082267c882e2fd69f4eee13b200921263463e..0e06ee0128fb1b2ff7e53bb481de788616d5fd61 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
 
 / {
        compatible = "engenius,ecb350-v1", "qca,ar7242";
@@ -59,7 +60,8 @@
                        #size-cells = <1>;
 
                        partition@0 {
-                               compatible = "openwrt,okli";
+                               compatible = "openwrt,uimage", "denx,uimage";
+                               openwrt,ih-magic = <IH_MAGIC_OKLI>;
                                label = "firmware";
                                reg = <0x0 0x0>;
                        };