mb/starlabs/labtop: Reconfigure GPIOs

Reconfigure the GPIO's so that they are configured correctly.
The original configuration was based on the AMI firmware, and
whilst it worked, it wasn't optimal.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I27ecf066685f2a81ac884a9f276c518544449443
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60759
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
Sean Rhodes 2022-01-04 11:11:25 +00:00 committed by Martin Roth - Personal
parent 70a1ef0716
commit 16a55f7a56
1 changed files with 13 additions and 13 deletions

View File

@ -26,29 +26,29 @@ const struct pad_config gpio_table[] = {
/* REFERENCE: EP PER SCHEMATIC */
/* GPD0: PCH_BATLOW# */
PAD_CFG_NF(GPD0, UP_20K, PWROK, NF1),
PAD_CFG_NF(GPD0, NONE, DEEP, NF1),
/* GPD1: AC_PRESENT */
PAD_CFG_NF(GPD1, NATIVE, PWROK, NF1),
PAD_CFG_NF(GPD1, NONE, DEEP, NF1),
/* GPD2: LAN_WAKE# */
PAD_NC(GPD2, NONE),
/* GPD3: SIO_PWRBTN# */
PAD_CFG_NF(GPD3, UP_20K, PWROK, NF1),
PAD_CFG_NF(GPD3, UP_20K, DEEP, NF1),
/* GPD4: SIO_SLP_S3# */
PAD_CFG_NF(GPD4, NONE, PWROK, NF1),
PAD_CFG_NF(GPD4, NONE, DEEP, NF1),
/* GPD5: SIO_SLP_S4# */
PAD_CFG_NF(GPD5, NONE, PWROK, NF1),
PAD_CFG_NF(GPD5, NONE, DEEP, NF1),
/* GPD6: SIO_SLP_A# */
PAD_CFG_NF(GPD6, NONE, PWROK, NF1),
PAD_CFG_NF(GPD6, NONE, DEEP, NF1),
/* GPD7: PCH_TBT_PERST# */
PAD_CFG_GPO(GPD7, 0, PWROK),
PAD_CFG_GPO(GPD7, 0, PLTRST),
/* GPD8: SUSCLK */
PAD_CFG_NF(GPD8, NONE, PWROK, NF1),
PAD_CFG_NF(GPD8, NONE, DEEP, NF1),
/* GPD9: SIO_SLP_WLAN# */
PAD_CFG_NF(GPD9, NONE, PWROK, NF1),
PAD_CFG_NF(GPD9, NONE, DEEP, NF1),
/* GPD10: SIO_SLP_S5# */
PAD_CFG_NF(GPD10, NONE, PWROK, NF1),
PAD_CFG_NF(GPD10, NONE, DEEP, NF1),
/* GPD11: PM_LANPHY_EN */
PAD_CFG_GPO(GPD11, 0, PWROK),
PAD_CFG_NF(GPD11, NONE, DEEP, NF1),
/* A0: ESPI_IO_0 */
/* A1: ESPI_IO_1 */
@ -62,7 +62,7 @@ const struct pad_config gpio_table[] = {
/* A8: WLAN_PCM_RST */
PAD_CFG_NF(GPP_A8, NONE, DEEP, NF2),
/* A9: WLAN_PCM_CLKREQ0 */
PAD_CFG_NF(GPP_A9, NONE, DEEP, NF3),
PAD_CFG_NF(GPP_A9, NONE, DEEP, NF2),
/* A10: WLAN_PCM_IN */
PAD_NC(GPP_A10, NONE),
/* A11: M2_CPU_SSD_RST_N */
@ -115,7 +115,7 @@ const struct pad_config gpio_table[] = {
/* B10: PWR_MON_I2C_SCL_R */
PAD_CFG_NF(GPP_B10, NONE, DEEP, NF1),
/* B11: I2C_PMC_PD_INT_N */
PAD_CFG_NF(GPP_B11, NONE, PWROK, NF1),
PAD_CFG_NF(GPP_B11, NONE, DEEP, NF1),
/* B12: PM_SLP_S0_N */
PAD_CFG_NF(GPP_B12, NONE, DEEP, NF1),
/* B13: PLT_RST_N */