aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/ec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/reef/ec.h')
-rw-r--r--src/mainboard/google/reef/ec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/ec.h b/src/mainboard/google/reef/ec.h
index 3619c04229..f76c5a8876 100644
--- a/src/mainboard/google/reef/ec.h
+++ b/src/mainboard/google/reef/ec.h
@@ -24,6 +24,14 @@
*/
#define EC_SCI_GPI GPE0_DW1_11
+/*
+ * On lidopen/lidclose GPIO_22 from North Community gets toggled and
+ * is used in _PRW to wake up device from sleep. GPIO_22 maps to
+ * group GPIO_GPE_N_31_0 and the pad is configured as SCI with
+ * EDGE_SINGLE and INVERT.
+ */
+#define GPE_EC_WAKE GPE0_DW1_22
+
#define MAINBOARD_EC_SCI_EVENTS \
(EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED) |\
EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\