ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3052_jcg_jhr-n825r.dts
index 6fb85b237400ebc7ccae998ceadeaefa2c985ee3..acd040a68e01eda54d6caf413c39811279daac3b 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 = "jcg,jhr-n825r", "ralink,rt3052-soc";
@@ -68,7 +69,8 @@
        leds {
                compatible = "gpio-leds";
                led_system: system {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };