brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / dts / dsl-2650u.dts
index 23b3301..7e88e01 100644 (file)
@@ -5,6 +5,28 @@
 / {
        model = "D-Link DSL-2650U";
        compatible = "d-link,dsl-2650u", "brcm,bcm6358";
+
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               stop_green {
+                       label = "96358VW2:green:stop";
+                       gpios = <&gpio0 4 1>;
+               };
+               power_green {
+                       label = "96358VW2:green:power";
+                       gpios = <&gpio0 5 1>;
+                       default-state = "on";
+               };
+               adsl_green {
+                       label = "96358VW2:green:adsl";
+                       gpios = <&gpio0 22 1>;
+               };
+               ppp_fail_green {
+                       label = "96358VW2:green:ppp-fail";
+                       gpios = <&gpio0 23 0>;
+               };
+       };
 };
 
 &pflash {