summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKenneth Chan <kenneth.chan@quanta.corp-partner.google.com>2024-08-26 11:14:56 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-08-29 12:31:10 +0000
commit00610d57fa853c4f5f1c7e50fca6ad3ecbbc08e9 (patch)
treea9efded4a142e2bad2692d41c8e027ff3113f176 /src/mainboard/google
parent40867e7b47077511f4d24585fd4f5d4a8d8de5d7 (diff)
mb/google/brya/var/nova: Configure scaler I2C GPIOs
According to schematics, add GPP_H4/H5 configuration for scaler I2C pins (PCH_I2C_SCALER_SDA/SDL). BUG=b:358439747 TEST=emerge-constitution coreboot chromeos-bootimage. Build successfully and boot to verify I2C. Change-Id: Id831f594d6a57ed10867ae5ba05ae98c90ac7d9b Signed-off-by: Kenneth Chan <kenneth.chan@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84091 Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Dinesh Gehlot <digehlot@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/variants/nova/gpio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/nova/gpio.c b/src/mainboard/google/brya/variants/nova/gpio.c
index e895244dd5..ce4d11d329 100644
--- a/src/mainboard/google/brya/variants/nova/gpio.c
+++ b/src/mainboard/google/brya/variants/nova/gpio.c
@@ -91,6 +91,10 @@ static const struct pad_config override_gpio_table[] = {
/* F16 : GSXCLK ==> MEM_STRAP_0 */
PAD_CFG_GPI_LOCK(GPP_F16, NONE, LOCK_CONFIG),
+ /* H4 : I2C0_SDA ==> PCH_I2C_SCALER_SDA */
+ PAD_CFG_NF_LOCK(GPP_H4, NONE, NF1, LOCK_CONFIG),
+ /* H5 : I2C0_SCL ==> PCH_I2C_SCALER_SCL */
+ PAD_CFG_NF_LOCK(GPP_H5, NONE, NF1, LOCK_CONFIG),
/* H12 : I2C7_SDA ==> NC */
PAD_NC_LOCK(GPP_H12, NONE, LOCK_CONFIG),
/* H13 : I2C7_SCL ==> NC */