bcm63xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git] / target / linux / bcm63xx / dts / bcm6358-d-link-dsl-2650u.dts
index c2dad26b126b3c6ccb05c32724daeebbead17f8b..dbc4172f54d16c2cd9a216e600e74848336b1e5a 100644 (file)
@@ -1,8 +1,7 @@
-/dts-v1/;
-
 #include "bcm6358.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "D-Link DSL-2650U";
                compatible = "gpio-leds";
 
                stop_green {
-                       label = "96358VW2:green:stop";
+                       label = "green:stop";
                        gpios = <&pinctrl 4 1>;
                };
                power_green {
-                       label = "96358VW2:green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&pinctrl 5 1>;
                        default-state = "on";
                };
                adsl_green {
-                       label = "96358VW2:green:adsl";
+                       label = "green:adsl";
                        gpios = <&pinctrl 22 1>;
                };
                ppp_fail_green {
-                       label = "96358VW2:green:ppp-fail";
+                       label = "green:ppp-fail";
                        gpios = <&pinctrl 23 0>;
                };
        };
 };
 
 &pflash {
-       status = "ok";
+       status = "okay";
 
        partitions {
                compatible = "fixed-partitions";
@@ -64,5 +64,5 @@
 };
 
 &uart0 {
-       status = "ok";
+       status = "okay";
 };