ipq806x: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8065-nbg6817.dts
index db5acd47d7499b2efe310b4c5b4996c7aba40d79..7d22b4f5415554468024b65173a1afa7ec071273 100644 (file)
@@ -1,6 +1,7 @@
 #include "qcom-ipq8065-smb208.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "ZyXEL NBG6817";
@@ -68,7 +69,8 @@
                };
 
                power: power {
-                       label = "white:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
                        default-state = "keep";
                };