ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt5350_omnima_miniembplug.dts
index ca98ab3599f7973d13bbc5cb4a83786abba6bf8e..2c09c12d79f824a64dfbad6aa31500872e89827f 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "omnima,miniembplug", "ralink,rt5350-soc";
@@ -11,7 +12,8 @@
                compatible = "gpio-leds";
 
                wlan {
-                       label = "red:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
                };
 
@@ -85,7 +87,7 @@
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;