ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_iptime_a8004t.dts
index 7be11315c540e95132b0d6c1cc9c89b7b1ab29b9..f75b26233a1676793bfb036b572458a2afc9b97f 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "iptime,a8004t", "mediatek,mt7621-soc";
@@ -20,7 +21,8 @@
                compatible = "gpio-leds";
 
                led_cpu: cpu {
-                       label = "orange:cpu";
+                       function = LED_FUNCTION_CPU;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                };