mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5fa4b29c71
commit
90c6e608e7
|
@ -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 @@ chosen {
|
|||
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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue