ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_hilink_hlk-7688a.dts
index 121a24b5025052ad2e48bc410520bf1713556af4..4e8704b36b74a58921a1ff33696fe06be1159d6e 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "hilink,hlk-7688a", "mediatek,mt7628an-soc";
@@ -29,7 +30,8 @@
                compatible = "gpio-leds";
 
                led_wlan: wlan {
-                       label = "green:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };