ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3052_petatel_psr-680w.dts
index 5461ee2f95682115a0f0b0faaf2b35a66c627c33..1d5d334af2069ca203c41eb92f6f0f534203f735 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 = "petatel,psr-680w", "ralink,rt3052-soc";
@@ -73,7 +74,8 @@
                compatible = "gpio-leds";
 
                led_wan: wan {
-                       label = "red:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
        };