ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3883_trendnet_tew-692gr.dts
index ee2ca91af7ff5d7b4d3a2e94aeb58a1202b5ea00..c6a817aafcacf96e5bdfbf06573d7ad12974f08f 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 = "trendnet,tew-692gr", "ralink,rt3883-soc";
@@ -36,7 +37,7 @@
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                reg = <0x00040000 0x00010000>;
                                label = "factory";
                                read-only;
                compatible = "gpio-leds";
 
                wps {
-                       label = "orange:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                led_wps_green: wps2 {
-                       label = "green:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
                };
        };