ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9558_sitecom_wlr-8100.dts
index ba7feeab5a17af7b67dca2938e2d031d4267c862..2a57eeec775211c2bfbf3ac1fda28a21504a3a52 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Sitecom WLR-8100 (X8 AC1750)";
@@ -36,7 +37,8 @@
                compatible = "gpio-leds";
 
                led_status_amber: status_amber {
-                       label = "amber:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };