ramips: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / rt3052_asus_rt-n13u.dts
index d60dabb5ea6bbb28671ff5611f22dc6e2124362f..8c9cca940f31439aca12099b4d577ce362ccaf60 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,rt-n13u", "ralink,rt3052-soc";
@@ -69,7 +70,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };