summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm911360_entphn.dts
diff options
context:
space:
mode:
authorRay Jui <rjui@broadcom.com>2015-03-09 13:45:02 -0700
committerFlorian Fainelli <f.fainelli@gmail.com>2015-03-10 09:27:05 -0700
commit90c6e608e737e387e88aa789c7b4e1f6dfdc4822 (patch)
tree0d47ac348d18a2e7a74d51ea28046ce902499627 /arch/arm/boot/dts/bcm911360_entphn.dts
parent5fa4b29c71b204b7258a8130020d574e033f4015 (diff)
downloadop-kernel-dev-90c6e608e737e387e88aa789c7b4e1f6dfdc4822.zip
op-kernel-dev-90c6e608e737e387e88aa789c7b4e1f6dfdc4822.tar.gz
ARM: dts: cygnus: enable GPIO based hook detection
This enables GPIO based phone hook detection for Broadcom BCM911360 phone factor board (bcm911360_entphn) Signed-off-by: Ray Jui <rjui@broadcom.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm911360_entphn.dts')
-rw-r--r--arch/arm/boot/dts/bcm911360_entphn.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm911360_entphn.dts b/arch/arm/boot/dts/bcm911360_entphn.dts
index d2ee952..7db4843 100644
--- a/arch/arm/boot/dts/bcm911360_entphn.dts
+++ b/arch/arm/boot/dts/bcm911360_entphn.dts
@@ -33,6 +33,7 @@
/dts-v1/;
#include "bcm-cygnus.dtsi"
+#include "dt-bindings/input/input.h"
/ {
model = "Cygnus Enterprise Phone (BCM911360_ENTPHN)";
@@ -50,4 +51,16 @@
uart3: serial@18023000 {
status = "okay";
};
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ hook {
+ label = "HOOK";
+ linux,code = <KEY_O>;
+ gpios = <&gpio_asiu 48 0>;
+ };
+ };
};
OpenPOWER on IntegriCloud