ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt5350_poray_m4.dtsi
index fd358ff8efd57cd47c8665c363bf6c9f481fdb0e..fc411265918f25bcd4d3ecacea6d8a6b3cbded02 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,m4", "ralink,rt5350-soc";
@@ -17,7 +18,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>;
                };
        };