dts: add google key function at gpio11

For CPYFG's designation, google key is defined at gpio11.
So we wil add it as gpio-key.

Change-Id: I7b84423c6a4ab0b1611ad2e6adb2cbb2dd4d7007
Reviewed-on: https://gerrit.mot.com/1951662
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiaofeng Wang <wangxf14@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
weiweij 2021-05-18 09:52:58 +08:00 • committed by panyq6
commit caf13c9afa

View file

@ -25,6 +25,19 @@
};
&tlmm {
google_key_default: google_key_default {
mux {
pins = "gpio11";
function = "gpio";
};
config {
pins = "gpio11";
drive-strength = <2>;
bias-pull-up;
};
};
cam_pmic_en_default: cam_pmic_en_default {
mux {
pins = "gpio38";
@ -67,6 +80,20 @@
};
};
&gpio_keys {
pinctrl-0 = <&key_vol_up_default &google_key_default>;
google_key {
label = "google_key";
gpios = <&tlmm 11 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_SEARCH>;
gpio-key,wakeup;
debounce-interval = <15>;
linux,can-disable;
};
};
&qupv3_se10_i2c {
status = "ok"