ath79: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1750c.dts
index ee6d35685eff81a686495c2bdcd507a6528b6ef9..8d4bbe3ef2da202182fe34198195b66fbd0cbc9b 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qca9558_devolo_dvl1xxx.dtsi"
 
 / {
                compatible = "gpio-leds";
 
                led_status_blue: status_blue {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                led_status_red: status_red {
-                       label = "red:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
        };