ath79: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_openmesh_om5p-ac-v2.dts
index 0d9053e43f2a0587a576ea81eeddb4582a94f786..b9eb0e91a9b6ad2cc1e0cb446ae28e955f8fc96c 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "openmesh,om5p-ac-v2", "qca,qca9558";
@@ -32,7 +33,8 @@
                };
 
                led_power_blue: power_blue {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };