From 5d5a06a71f93f444aa4e923f671dc3bc766e59fc Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Wed, 26 Mar 2025 21:03:12 +0000 Subject: [PATCH] mb/starlabs/starbook/mtl: Add comments for Top Swap Override GPIO This GPIO is conected to the Top Swap Override strap, so add comments to that effect, and an explicit config to disable it. Change-Id: I183fc60c61ec82f0d27a0d3726f0d3c37ddee04a Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/87010 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/mainboard/starlabs/starbook/variants/mtl/gpio.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mainboard/starlabs/starbook/variants/mtl/gpio.c b/src/mainboard/starlabs/starbook/variants/mtl/gpio.c index 8bfad056a0..c71a23eafc 100644 --- a/src/mainboard/starlabs/starbook/variants/mtl/gpio.c +++ b/src/mainboard/starlabs/starbook/variants/mtl/gpio.c @@ -419,8 +419,11 @@ const struct pad_config gpio_table[] = { PAD_NC(GPP_B12, NONE), /* B13: PLT_RST_N */ PAD_CFG_NF(GPP_B13, NONE, DEEP, NF1), - /* B14: */ - PAD_NC(GPP_B14, NONE), + /* B14: Top Swap Override + * HIGH: EMABLED + * LOW: DISABLED + * WEAK INTERNAL PD 20K */ + PAD_CFG_GPO(GPP_B14, 0, PLTRST), /* B15: */ PAD_NC(GPP_B15, NONE), /* B16: DDIB_DP_HPD */