ipq806x: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8064-wxr-2533dhp.dts
index d484ba9c6036d0c505db7293b7953a9faa034d6a..58074258306f3f13b253b3eaecc8fe81a0c1553f 100644 (file)
@@ -2,6 +2,7 @@
 #include "qcom-ipq8064-v2.0-smb208.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Buffalo WXR-2533DHP";
@@ -30,7 +31,8 @@
                pinctrl-names = "default";
 
                usb {
-                       label = "green:usb";
+                       function = LED_FUNCTION_USB;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "usbport";
                        trigger-sources = <&hub_port0 &hub_port1>;
@@ -77,7 +79,8 @@
                };
 
                power: power {
-                       label = "white:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
                };
        };