ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_iodata_wn-dx1200gr.dts
index 9680aadfbbf970af6b38f0e9c77073a3e580e774..9de7297405d9e695377fe8b7a19d8aa2e85c1a79 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 = "iodata,wn-dx1200gr", "mediatek,mt7621-soc";
                compatible = "gpio-leds";
 
                wps {
-                       label = "blue:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
        };
@@ -80,7 +83,7 @@
                        read-only;
                };
 
-               factory: partition@200000 {
+               partition@200000 {
                        label = "factory";
                        reg = <0x200000 0x200000>;