ramips: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3883_belkin_f9k1109v1.dts
index 78c9bb4b6d54713180964200b24fcd15024ab7eb..38667a5fdacba71ac6ae24e24f23c71d5826efa0 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "rt3883_belkin_f9k110x.dtsi"
 
 / {
                };
 
                wps_amber {
-                       label = "amber:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                wps_blue {
-                       label = "blue:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
        };