diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/intel/amenia/acpi/mainboard.asl | 2 | ||||
-rw-r--r-- | src/mainboard/intel/amenia/ec.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/intel/amenia/acpi/mainboard.asl b/src/mainboard/intel/amenia/acpi/mainboard.asl index a679471cd4..80f8f26fca 100644 --- a/src/mainboard/intel/amenia/acpi/mainboard.asl +++ b/src/mainboard/intel/amenia/acpi/mainboard.asl @@ -15,6 +15,7 @@ * GNU General Public License for more details. */ #include <on_board.h> +#include "../ec.h" Scope (\_SB) { @@ -25,6 +26,7 @@ Scope (\_SB) { Return (\_SB.PCI0.LPCB.EC0.LIDS) } + Name (_PRW, Package () { GPE_EC_WAKE, 0x3 }) } Device (PWRB) diff --git a/src/mainboard/intel/amenia/ec.h b/src/mainboard/intel/amenia/ec.h index ba3962af95..d23ed07ae4 100644 --- a/src/mainboard/intel/amenia/ec.h +++ b/src/mainboard/intel/amenia/ec.h @@ -26,6 +26,9 @@ */ #define EC_SCI_GPI GPE0_DW1_11 +/* GPIO_22 is the EC_SOC_WAKE and is used to wake up from S3 on LID open */ +#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) |\ |