From bb70c757006c7732510fc85468742af7b88f8ea9 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Wed, 26 Mar 2025 21:00:37 +0000 Subject: [PATCH] mb/starlabs/starbook/mtl: Configure eSPI GPIOs Meteor Lake doesn't seem to configure the eSPI GPIOs for S3 on reset, so add configuration from them so coreboot can configure them correctly. Change-Id: I4b74d320977faa60441e3d8b12980ef6ec41549d Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/87008 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/mainboard/starlabs/starbook/variants/mtl/gpio.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainboard/starlabs/starbook/variants/mtl/gpio.c b/src/mainboard/starlabs/starbook/variants/mtl/gpio.c index a12b1b0cbd..7255e9061f 100644 --- a/src/mainboard/starlabs/starbook/variants/mtl/gpio.c +++ b/src/mainboard/starlabs/starbook/variants/mtl/gpio.c @@ -140,12 +140,19 @@ const struct pad_config gpio_table[] = { * End: GPP_A23 */ /* A00: ESPI_IO0_EC_R */ + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_A00, UP_20K, DEEP, NF1), /* A01: ESPI_IO1_EC_R */ + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_A01, UP_20K, DEEP, NF1), /* A02: ESPI_IO2_EC_R */ + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_A02, UP_20K, DEEP, NF1), /* A03: ESPI_IO3_EC_R */ + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_A03, UP_20K, DEEP, NF1), /* A04: ESPI_CS0_N */ + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_A04, UP_20K, DEEP, NF1), /* A05: ESPI_CLK_EC_R */ + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_A05, UP_20K, DEEP, NF1), /* A06: ESPI_RESET_N */ + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_A06, NONE, DEEP, NF1), /* A07: */ PAD_NC(GPP_A07, NONE), /* A08: */