bcm63xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6358-d-link-dsl-2650u.dts
index 6d26261a34d484fb3409ad436ae07806dc5481c3..dbc4172f54d16c2cd9a216e600e74848336b1e5a 100644 (file)
@@ -1,6 +1,7 @@
 #include "bcm6358.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "D-Link DSL-2650U";
@@ -19,7 +20,8 @@
                        gpios = <&pinctrl 4 1>;
                };
                power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&pinctrl 5 1>;
                        default-state = "on";
                };