ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_wrtnode_wrtnode2p.dts
index 88ec3f0c306446987b32c816b50049cf71882133..b82b740dcd68c69118945d0251dcfecced2a5fc1 100644 (file)
@@ -15,7 +15,8 @@
                compatible = "gpio-leds";
 
                led_indicator: indicator {
-                       label = "blue:indicator";
+                       function = LED_FUNCTION_INDICATOR;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
        };
@@ -26,4 +27,6 @@
                groups = "i2c", "gpio";
                function = "gpio";
        };
+#include <dt-bindings/leds/common.h>
+
 };