ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620n_dlink_dwr-116-a1.dts
index d659262b0ec6c8fa405af1ab23e9a4e57c718abc..8ac68fcede20ebdb17d4ad77ccdeca4cc7faf970 100644 (file)
@@ -2,6 +2,8 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
 
 / {
        compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
@@ -34,7 +36,8 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "green:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                };
 
                        };
 
                        partition@10000 {
-                               compatible = "amit,jimage";
+                               compatible = "openwrt,uimage", "denx,uimage";
+                               openwrt,ih-magic = <IH_MAGIC_OKLI>;
+                               openwrt,offset = <0x10000>;
                                label = "firmware";
                                reg = <0x10000 0x7e0000>;
                        };
 
-                       config: partition@7f0000 {
+                       partition@7f0000 {
                                label = "config";
                                reg = <0x7f0000 0x10000>;
                                read-only;