summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-03-16 17:33:46 +0800
committerMartin Roth <martinroth@google.com>2021-03-22 03:40:53 +0000
commit16e1fd5ae99c4939f0778fe417e8575e249ccadb (patch)
tree657f460065dff4e0002762d616efc285dd6a6cb4 /src
parent4f87ae1d4a3a597f1260534001bd99160cc8ca99 (diff)
mb/amd/majolica: Set IOMUX to enable I2C2 & I2C3
Change-Id: I142c06c150214d58acc04b8c6b3b027fff0256db Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51516 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mathew King <mathewk@chromium.org> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/amd/majolica/early_gpio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/amd/majolica/early_gpio.c b/src/mainboard/amd/majolica/early_gpio.c
index 916d67976d..5bf71aadbc 100644
--- a/src/mainboard/amd/majolica/early_gpio.c
+++ b/src/mainboard/amd/majolica/early_gpio.c
@@ -6,6 +6,10 @@
/* GPIO pins used by coreboot should be initialized in bootblock */
static const struct soc_amd_gpio gpio_set_stage_reset[] = {
+ PAD_NF(GPIO_113, I2C2_SCL, PULL_NONE),
+ PAD_NF(GPIO_114, I2C2_SDA, PULL_NONE),
+ PAD_NF(GPIO_19, I2C3_SCL, PULL_NONE),
+ PAD_NF(GPIO_20, I2C3_SDA, PULL_NONE),
};
void mainboard_program_early_gpios(void)