ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt5350_hame_mpr-a2.dts
index 5a06ef46fb35a0c608496a1c2aea31692c08ea76..402071a8523a1f66b7d563619303c9a7ce1b7eae 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 = "hame,mpr-a2", "ralink,rt5350-soc";
@@ -23,7 +24,8 @@
                };
 
                power {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
        };