brcm63xx: move buttons and leds to dts files
[openwrt/staging/wigyori.git] / target / linux / brcm63xx / dts / bcm96358VW2.dts
index bcf3c8101a576104f7cac529e30bfdfe0157f5fc..730426f9062040ab48e75418404526d31b887ee7 100644 (file)
@@ -5,4 +5,26 @@
 / {
        model = "Broadcom BCM96358VW2 reference board";
        compatible = "brcm,bcm96358vw2", "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>;
+               };
+       };
 };