summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2020-03-25 17:37:34 -0600
committerFurquan Shaikh <furquan@google.com>2020-04-10 19:31:18 +0000
commite9eb4d5df93d9a1b4ced302160b76d252c78ca6a (patch)
tree333fbfc1e948ed9535fb7060e14bc6e99cc5577e /src/mainboard/google
parentea9787a6b29821e95aa382e1df1ba397cf3da9e9 (diff)
downloadcoreboot-e9eb4d5df93d9a1b4ced302160b76d252c78ca6a.tar.xz
mb/google/dedede: Add weak pull-up for EC_AP_PWR_BTN_ODL gpio
According to the EDS, EC_AP_PWR_BTN_ODL has a default internal pull-up of 20K. Retain it during the GPIO pad configuration. BUG=b:150985246 TEST=Boot the mainboard. Change-Id: I042ba70f78fca1a5b9eda30029df97b3f8e65656 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39852 Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/dedede/variants/baseboard/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/baseboard/gpio.c b/src/mainboard/google/dedede/variants/baseboard/gpio.c
index a0127370c3..89683bd754 100644
--- a/src/mainboard/google/dedede/variants/baseboard/gpio.c
+++ b/src/mainboard/google/dedede/variants/baseboard/gpio.c
@@ -372,7 +372,7 @@ static const struct pad_config gpio_table[] = {
/* GPD2 : EC_AP_WAKE_ODL */
PAD_CFG_NF(GPD2, NONE, DEEP, NF1),
/* GPD3 : EC_AP_PWR_BTN_ODL */
- PAD_CFG_NF(GPD3, NONE, DEEP, NF1),
+ PAD_CFG_NF(GPD3, UP_20K, DEEP, NF1),
/* GPD4 : AP_SLP_S3_L */
PAD_CFG_NF(GPD4, NONE, DEEP, NF1),
/* GPD5 : AP_SLP_S4_L */