ramips: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7628an_wrtnode_wrtnode2r.dts
index 511354ae5e9562c039303999dda0c252723aefe2..37c2d1e9a4a0c750cb63cd321174cf2e742b39b8 100644 (file)
@@ -18,7 +18,8 @@
                pinctrl-0 = <&led_pins>;
 
                led_indicator: indicator {
-                       label = "blue:indicator";
+                       function = LED_FUNCTION_INDICATOR;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
@@ -48,4 +49,6 @@
                reg = <1>;
                spi-max-frequency = <10000000>;
        };
+#include <dt-bindings/leds/common.h>
+
 };