ramips: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_linksys_re6500.dts
index 3a6822452685516561369f2e6e0e30649674bca2..c1231b8629407111ec503cce3114d61f238b384d 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 = "linksys,re6500", "mediatek,mt7621-soc";
@@ -23,7 +24,8 @@
                };
 
                led_power: power {
-                       label = "white:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
        };