summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/variants
diff options
context:
space:
mode:
authorBernardo Perez Priego <bernardo.perez.priego@intel.com>2023-08-15 17:45:50 -0700
committerMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-08-17 19:43:33 +0000
commit5f15e37bcd6d3e8c848a2c55c78c1836d1e30383 (patch)
tree0dddfe1a0b327f55314c988034a43e6c969a89d4 /src/mainboard/google/rex/variants
parent99a8287f08424d00d0cf09886b967983789c2368 (diff)
mb/google/rex: Update ISH GPIO's configuration
Configures ISH related GPIO's based on FW_CONFIG obtained from CBI. BUG=b:280329972,b:283023296 TEST= Set bit 21 of FW_CONFIG with CBI Boot rex board Check that ISH is enabled, loaded, and functional Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com> Change-Id: I778251aadef4499427fc9855adfdd9cade3a3e70 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77235 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rex/variants')
-rw-r--r--src/mainboard/google/rex/variants/rex0/fw_config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/fw_config.c b/src/mainboard/google/rex/variants/rex0/fw_config.c
index b3958b0c20..417bc39f33 100644
--- a/src/mainboard/google/rex/variants/rex0/fw_config.c
+++ b/src/mainboard/google/rex/variants/rex0/fw_config.c
@@ -85,8 +85,14 @@ static const struct pad_config ish_enable_pads[] = {
PAD_CFG_NF(GPP_B08, NONE, DEEP, NF4),
/* GPP_E15 : ISH_GP5A, SOC_ISH_IMU_INT_L */
PAD_CFG_NF(GPP_E15, NONE, DEEP, NF8),
+ /* GPP_E16 : ISH_GP10, SOC_EC_ISH_NB_MODE */
+ PAD_CFG_NF(GPP_E16, NONE, DEEP, NF8),
/* GPP_F22 : ISH_GP8A, SOC_ISH_ALS_INT_L */
PAD_CFG_NF(GPP_F22, NONE, DEEP, NF8),
+ /* GPP_F23 : ISH_GP9A, LID_OPEN_1V8 */
+ PAD_CFG_NF(GPP_F23, NONE, DEEP, NF8),
+ /* GPP_H11 : ISH_GP11A, SOC_ISH_IMU_INT_L */
+ PAD_CFG_NF(GPP_H11, NONE, DEEP, NF8),
};
static const struct pad_config touchscreen_i2c_int_pads[] = {