bcm63xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git] / target / linux / bcm63xx / dts / bcm6348-tp-link-td-w8900gb.dts
index 1a49e7ff33718594eef89ef63696d733601e0207..6e1f7155d95d56e083a82e361b8fa9da07dbf253 100644 (file)
@@ -1,6 +1,7 @@
 #include "bcm6348.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "TP-Link TD-W8900GB";
@@ -29,7 +30,8 @@
                compatible = "gpio-leds";
 
                power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&pinctrl 0 1>;
                        default-state = "on";
                };