ipq806x: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8064-vr2600v.dts
index ac62470df4824117a9bd6176424ffb303cdfeb4d..62530efeb1f2b00630b1bb4edb973f2c2230b738 100644 (file)
@@ -1,6 +1,7 @@
 #include "qcom-ipq8064-v2.0-smb208.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "TP-Link Archer VR2600v";
                };
 
                usb {
-                       label = "white:usb";
+                       function = LED_FUNCTION_USB;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
                };
 
                lan {
-                       label = "white:lan";
+                       function = LED_FUNCTION_LAN;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
                };
 
                };
 
                power: power {
-                       label = "white:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
                        default-state = "keep";
                };
                };
 
                wan {
-                       label = "white:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
                };