ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3050_asus_wl-330n.dts
index 938f5d440c874328355975ef68dbe8b6e5934d9b..d89fb0995e7e0aac9ef26b4e741b1d91cee7e256 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 = "asus,wl-330n", "ralink,rt3050-soc";
@@ -23,7 +24,8 @@
                };
 
                led_power: power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
        };