ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_mikrotik_routerboard-911g.dtsi
index 86b4bc358b4c8857d153f9683b54aa7f9050ec92..5f9d8e42fb8015545197d866cd1c4b8aeea8ace3 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        aliases {
@@ -85,7 +86,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio_latch 1 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };