brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / dts / gw6000.dts
index f0b5c54..a9f8028 100644 (file)
@@ -5,4 +5,18 @@
 / {
        model = "TECOM GW6000";
        compatible = "tecom,gw6000", "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 = <&gpio1 4 1>;
+                       linux,code = <0x198>;
+               };
+       };
 };