brcm63xx: fix DTS LEDs and buttons
[openwrt.git] / target / linux / brcm63xx / dts / v2500v-bb.dts
index 3959ffb..5f06c63 100644 (file)
@@ -5,6 +5,45 @@
 / {
        model = "BT Voyager V2500V";
        compatible = "bt,v2500v-bb", "brcm,bcm6348";
+
+       gpio-keys-polled {
+               compatible = "gpio-keys-polled";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               poll-interval = <20>;
+               debounce-interval = <60>;
+
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 31 1>;
+                       linux,code = <0x198>;
+               };
+       };
+
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               power_green {
+                       label = "V2500V_BB:green:power";
+                       gpios = <&gpio0 0 1>;
+               };
+               power_red {
+                       label = "V2500V_BB:red:power";
+                       gpios = <&gpio0 1 1>;
+               };
+               adsl_green {
+                       label = "V2500V_BB:green:adsl";
+                       gpios = <&gpio0 2 1>;
+               };
+               ppp_green {
+                       label = "V2500V_BB:green:ppp";
+                       gpios = <&gpio0 3 1>;
+               };
+               wireless_green {
+                       label = "V2500V_BB:green:wireless";
+                       gpios = <&gpio0 6 1>;
+               };
+       };
 };
 
 &pflash {