ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3883_sitecom_wlr-6000.dts
index 17f3c10bc90e40250580675d7399c7bcc7e589a6..5067a53457cfe63e948b0ab07241bc2e66faebc5 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 = "sitecom,wlr-6000", "ralink,rt3883-soc";
@@ -29,7 +30,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };