ARM: dts: msm: Enable home key for qrd sdm660
GPIO11 is used for home key on QRD sdm660 device. Configure it to input/pull-up mode and add it to gpio-keys device for key detection. CRs-Fixed: 1115040 Change-Id: I7144a784c8cae4fbb026c4822b757ea76502bf7d Signed-off-by: cyizhao <cyizhao@codeaurora.org>
This commit is contained in:
parent
4f1f60e00d
commit
cafa17dfc7
1 changed files with 22 additions and 0 deletions
|
@ -108,6 +108,18 @@
|
|||
&soc {
|
||||
};
|
||||
|
||||
&pm660_gpios {
|
||||
/* GPIO 11 for home key */
|
||||
gpio@ca00 {
|
||||
status = "ok";
|
||||
qcom,mode = <0>;
|
||||
qcom,pull = <0>;
|
||||
qcom,vin-sel = <0>;
|
||||
qcom,src-sel = <0>;
|
||||
qcom,out-strength = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&pm660l_gpios {
|
||||
/* GPIO 7 for VOL_UP */
|
||||
gpio@c600 {
|
||||
|
@ -166,6 +178,16 @@
|
|||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
home {
|
||||
label = "home";
|
||||
gpios = <&pm660_gpios 11 0x1>;
|
||||
linux,input-type = <1>;
|
||||
linux,code = <102>;
|
||||
gpio-key,wakeup;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
hbtp {
|
||||
|
|
Loading…
Add table
Reference in a new issue