bcm63xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6338-brcm-bcm96338gw.dts
index 885654ad41d4bfc4046a85fb91cac2a4622e5f4d..882e376d5bae490d0c48e32e43269d53d8654494 100644 (file)
@@ -1,6 +1,7 @@
 #include "bcm6338.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Broadcom BCM96338GW reference board";
@@ -15,7 +16,8 @@
                compatible = "gpio-leds";
 
                power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio0 0 1>;
                        default-state = "on";
                };