summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-11-30 20:28:29 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2014-12-04 22:57:58 +0300
commitf6f8234439737171e571a41264280e844a429699 (patch)
treebf01760d890398fbaa9640d0e1f02ffceed6afac /arch/arm/boot/dts/bcm4708-netgear-r6250.dts
parentdec378827c4aaab6c46ecdd5fc2c3b3155d68743 (diff)
downloadlinux-f6f8234439737171e571a41264280e844a429699.tar.xz
ARM: BCM5301X: Add buttons for Netgear R6250
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'arch/arm/boot/dts/bcm4708-netgear-r6250.dts')
-rw-r--r--arch/arm/boot/dts/bcm4708-netgear-r6250.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
index 58d999d79124..4ed7de1058b7 100644
--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
@@ -66,4 +66,29 @@
linux,default-trigger = "default-off";
};
};
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <200>;
+
+ wps {
+ label = "WPS";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
+ };
+
+ rfkill {
+ label = "WiFi";
+ linux,code = <KEY_RFKILL>;
+ gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
+ };
+
+ restart {
+ label = "Reset";
+ linux,code = <KEY_RESTART>;
+ gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
+ };
+ };
};