ipq806x: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8068-mr52.dts
index 522fa12fd977aa95c69fe9a720d8308384ddbe80..7512bfb74f1c2de77556c2e95003e6d57f2d67cb 100644 (file)
@@ -3,6 +3,7 @@
 #include "qcom-ipq8068-cryptid-common.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Meraki MR52";
@@ -40,7 +41,8 @@
                pinctrl-names = "default";
 
                led_power: power {
-                       label = "orange:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&qcom_pinmux 19 GPIO_ACTIVE_HIGH>;
                };