ipq40xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4019-eap2200.dts
index 63fd66901d8cbc9a821af5505ecb07d3ea81e18b..000acd196cfd94de584876a1576d7401446cb08f 100644 (file)
@@ -3,6 +3,7 @@
 #include "qcom-ipq4019.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "EnGenius EAP2200";
@@ -29,7 +30,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "amber:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
                };