lantiq: fix dts error in LED color/function conversion
[openwrt/staging/jow.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / falcon_lantiq_easy98021.dts
index 2cc70e6e40e96c94de173e79bf0831afe1247463..11b86cd7e13b4e8e1af6ae6f1db155421f39a519 100644 (file)
@@ -1,3 +1,5 @@
+#include <dt-bindings/leds/common.h>
+
 #include "falcon.dtsi"
 #include "falcon_sflash-16m.dtsi"
 
@@ -60,7 +62,8 @@
                        default-state = "keep";
                };
                ETH {
-                       label = "green:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
                        default-state = "keep";
                };