ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt5350_poray_m3.dts
index 505fba650e60c0e628e3ba66e23326f4c2197ee0..b6c8a8c0d14760bec0fd136d6a18da20b1eb2ebf 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 = "poray,m3", "ralink,rt5350-soc";
@@ -18,7 +19,8 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };