ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / ar9344_qxwlan_e750a-v4-16m.dts
index 33e2990284e22696e3913ea408c8a788c802c8b9..6762264d35828eaf4b1efc95a28574460f6b175c 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "ar9344_qxwlan_e750x.dtsi"
 
 / {
 
 &leds {
        lan {
-               label = "green:lan";
+               function = LED_FUNCTION_LAN;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
        };
 
        wan {
-               label = "green:wan";
+               function = LED_FUNCTION_WAN;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
        };
 };