提交 90c6e608 编写于 作者: R Ray Jui 提交者: Florian Fainelli

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: NRay Jui <rjui@broadcom.com>
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
上级 5fa4b29c
......@@ -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>;
};
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册