ramips: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / rt2880_asus_rt-n15.dts
index 0275a84bde0f447ecf7064b2f200278185eb3df2..6874bd39f220500b257937fd4feb40a9d7d6941f 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        #address-cells = <1>;
@@ -94,7 +95,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
        };