ath79: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9531_joyit_jt-or750i.dts
index f599f5b77cddd6d726d2cafe83780fe1ae06ade9..d4e35c84b343b74e74f4f77811cf808187f82a22 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 = "joyit,jt-or750i", "qca,qca9531";
                pinctrl-0 = <&jtag_disable_pins &pinmux_led_eth_pins>;
 
                led_status_green: status_green {
-                       label = "green:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                led_status_red: status_red {
-                       label = "red:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
        };