From b6ac3a299769ad458dbc28c6348f186342d4d556 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Thu, 5 Oct 2017 21:57:33 -0600 Subject: kahlee: Set Kahlee GPEs Add GPE configuration table. Remove GPE3 from the power button ASL and set the EC to GPE3(AGPIO22). Set the EC and PCIE/WLAN SCI GPIO signals. Set GPE ASL methods for: PCIE/WLAN 8h EHCI 18h XHCI 1fh Note EC GPE3 methods are in the EC ASL. BUG=b:63268311 BRANCH=none TEST=Test lidswitch powers the device on and off at the login screen. Change-Id: I27c880ee84b6797d999d4d5951602b654ede948e Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/22096 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/google/kahlee/ec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/kahlee/ec.h') diff --git a/src/mainboard/google/kahlee/ec.h b/src/mainboard/google/kahlee/ec.h index deb2cb164d..495ad692e4 100644 --- a/src/mainboard/google/kahlee/ec.h +++ b/src/mainboard/google/kahlee/ec.h @@ -19,8 +19,8 @@ #include #include -/* GPIO_S0_000 is EC_SCI#, but it is bit 24 in GPE_STS */ -#define EC_SCI_GPI 24 +/* AGPIO22 -> GPE3 */ +#define EC_SCI_GPI 3 /* GPIO_S5_07 is EC_SMI#, but it is bit 23 in GPE_STS and ALT_GPIO_SMI. */ #define EC_SMI_GPI 23 -- cgit v1.2.3