ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_hiwifi_hc5962.dts
index a21a6a455b3ad56b84c6e5b434f54a4a96348ed9..70366c5dc88855dc3ee70c0fc1b17c3ccbbb0739 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "hiwifi,hc5962", "mediatek,mt7621-soc";
@@ -22,7 +23,8 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "white:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };