lantiq: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_avm_fritz3490.dtsi
index 4d96abd1c3f37ac07cc188b771f1c0bf4c577e82..fabc56a5aca4c1f755d8aeeb5c46d40b90f07194 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "vr9_avm_fritzxx90.dtsi"
 
 / {
 
 &leds {
        led_lan: lan {
-               label = "green:lan";
+               function = LED_FUNCTION_LAN;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
        };
 
        led_wifi: wifi {
-               label = "green:wlan";
+               function = LED_FUNCTION_WLAN;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
        };