ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620n_wrtnode_wrtnode.dts
index 8e608bba2e4c29f4a1906b54b9767e098092b87b..4e7298e8af1d5d6d9cd084393060d1038c498d5e 100644 (file)
@@ -17,7 +17,8 @@
                compatible = "gpio-leds";
 
                led_indicator: indicator {
-                       label = "blue:indicator";
+                       function = LED_FUNCTION_INDICATOR;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
        };
                groups = "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk";
                function = "gpio";
        };
+#include <dt-bindings/leds/common.h>
+
 };