ath79: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / ath79 / dts / ar9344_netgear_wndr_wan.dtsi
index da6020769f189b5604ff06356accc6f0054ce93c..f11314694ab7e39bdba28149dc41da58faede053 100644 (file)
@@ -1,13 +1,17 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 &leds {
        wan_green {
-               label = "green:wan";
+               function = LED_FUNCTION_WAN;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
        };
 
        wan_amber {
-               label = "amber:wan";
+               function = LED_FUNCTION_WAN;
+               color = <LED_COLOR_ID_AMBER>;
                gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
        };
 };