diff --git a/oplus/erhai_overlay_common.dtsi b/oplus/erhai_overlay_common.dtsi index da2d2fa3..5be85604 100644 --- a/oplus/erhai_overlay_common.dtsi +++ b/oplus/erhai_overlay_common.dtsi @@ -100,6 +100,19 @@ }; &soc { + gpio_keys { + lid { + label = "lid"; + gpios = <&tlmm 97 1>; + interrupt-parent = <&tlmm>; + interrupts = <97 0x0>; + linux,input-type = ; + linux,code = <0>; + gpio-key,wakeup; + debounce-interval = <15>; + }; + }; + //#ifdef OPLUS_FEATURE_RF_CABLE_DETECT oplus_rf_cable { compatible = "oplus,rf_cable";