ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_qihoo_c301.dts
index 8241c21dd07fda3396775e3a8590e1abeaa171ac..1d9c6ca9a431349a0634297df1bfb23f5186a0c7 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Qihoo 360 C301";
                pinctrl-0 = <&jtag_disable_pins>;
 
                led_wlan_g: wlan_g {
-                       label = "green:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan_o: wlan_o {
-                       label = "orange:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };