ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9561_tplink_eap225-wall-v2.dts
index cf5f3a3a4e045d2a7d5f6cfd83cdcb88e53a8799..0e5c1fdc43c6685cdddaaf1b24cd854843d8891c 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "tplink,eap225-wall-v2", "qca,qca9561";
@@ -39,7 +40,8 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "white:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };