From f93e63cfafa479a0055658d85159ea57053ee4f5 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 16 Apr 2018 10:42:55 -0600 Subject: mainboard/google/kahlee: Update EC pins from GPIOs to GPEs The EC pin definitions are GPEs, not the GPIO numbers. BUG=b:74022675 TEST=Power status updates immediately when power is inserted. Change-Id: Icc8330a606f7a85e72b65094462a684927986829 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/25689 Reviewed-by: Aaron Durbin Reviewed-by: Daniel Kurtz Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- .../google/kahlee/variants/baseboard/include/baseboard/gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h index 1e349b7c2e..858e33eaf8 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h +++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h @@ -39,8 +39,8 @@ #endif /* _ACPI__ */ -#define EC_SCI_GPI 22 - -#define EC_SMI_GPI 6 +/* These define the GPE, not the GPIO. */ +#define EC_SCI_GPI 3 /* AGPIO 22 -> GPE 3 */ +#define EC_SMI_GPI 10 /* AGPIO 6 -> GPE 10 */ #endif /* __BASEBOARD_GPIO_H__ */ -- cgit v1.2.3