dts: add google key configuration for cypfr

Adding google key configurations for product
cypfr.

Change-Id: I6b429275c778815704de814c9dc713737aef4263
Reviewed-on: https://gerrit.mot.com/2067354
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
weiweij 2021-09-16 13:36:23 +08:00 • committed by panyq6
commit c20bb702d3

View file

@ -50,6 +50,19 @@
};
};
google_key_default: google_key_default {
mux {
pins = "gpio11";
function = "gpio";
};
config {
pins = "gpio11";
drive-strength = <2>;
bias-pull-up;
};
};
nfc {
nfc_int_active: nfc_int_active {
/* active state */
@ -310,7 +323,7 @@
label = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&key_vol_up_default>;
pinctrl-0 = <&key_vol_up_default &google_key_default>;
vol_up {
label = "volume_up";
@ -321,6 +334,16 @@
debounce-interval = <15>;
linux,can-disable;
};
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;
};
};
};