ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_hilink_hlk-7628n.dts
index 69e22f6dd7d6730fe70fa489eece8e0ffd40a507..c84e820b809c57cd59aa2768df52fe040a9baced 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "hilink,hlk-7628n", "mediatek,mt7628an-soc";
@@ -23,7 +24,8 @@
                compatible = "gpio-leds";
 
                wlan {
-                       label = "green:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
@@ -66,7 +68,7 @@
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;