ramips: mt7620: use OKLI loader with Jboot devices
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620n_dlink_dwr-922-e2.dts
index d3ca0dd53f181292a8b3a28dac85a889bff4a0a4..22bff2c948a94d7d918b793f4e7129a65c007c53 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 = "dlink,dwr-922-e2", "ralink,mt7620n-soc";
                        };
 
                        partition@10000 {
-                               compatible = "amit,jimage";
+                               compatible = "openwrt,uimage", "denx,uimage";
+                               openwrt,ih-magic = <IH_MAGIC_OKLI>;
+                               openwrt,offset = <0x10000>;
                                label = "firmware";
                                reg = <0x10000 0xfe0000>;
                        };