ramips: fix dts error in LED color/function conversion
[openwrt/staging/robimarko.git] / target / linux / ramips / dts / mt7628an_wrtnode_wrtnode2r.dts
index a111a6756028d57854522d4bfef8ffec02563ef9..2c479a3840bc2f5d1189c0d7167706d9c1a59707 100644 (file)
@@ -1,4 +1,4 @@
-/dts-v1/;
+#include <dt-bindings/leds/common.h>
 
 #include "mt7628an_wrtnode_wrtnode2.dtsi"
 
@@ -20,7 +20,8 @@
                pinctrl-0 = <&led_pins>;
 
                led_indicator: indicator {
-                       label = "wrtnode:blue:indicator";
+                       function = LED_FUNCTION_INDICATOR;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };