mb/starlabs/lite/glkr: Don't configure GPIO's 147 through 156

These are configured by the TXE, so they do not need to be configured.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I13957992d637a53203b4328e39c0e6607e017891
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64653
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Sean Rhodes 2022-05-24 22:14:18 +01:00 committed by Felix Held
parent d18fa49a0f
commit 664f0c51e7
1 changed files with 11 additions and 23 deletions

View File

@ -322,31 +322,19 @@ const struct pad_config gpio_table[] = {
PAD_NC(GPIO_145, DN_20K), PAD_NC(GPIO_145, DN_20K),
/* GPIO_146: Not Connected */ /* GPIO_146: Not Connected */
PAD_NC(GPIO_146, DN_20K), PAD_NC(GPIO_146, DN_20K),
_PAD_CFG_STRUCT(GPIO_147, PAD_FUNC(NF1) | PAD_RESET(DEEP) | PAD_TRIG(OFF) | /* GPIO 147 through 156 are configured by the TXE */
PAD_BUF(TX_RX_DISABLE) | (1 << 1), PAD_PULL(UP_20K) | PAD_IOSTERM(ENPU)), /* GPIO_147: LPC_SERIRQ */
_PAD_CFG_STRUCT(GPIO_148, PAD_FUNC(NF1) | PAD_RESET(DEEP) | PAD_TRIG(OFF) | /* GPIO_148: LPC_CLK0 */
PAD_BUF(TX_RX_DISABLE), PAD_IOSSTATE(HIZCRx1)), /* GPIO_149: LPC_CLK_DBG_CPU */
_PAD_CFG_STRUCT(GPIO_149, PAD_FUNC(NF1) | PAD_RESET(DEEP) | PAD_TRIG(OFF) | /* GPIO_150: LPC_AD0 */
PAD_BUF(TX_RX_DISABLE), PAD_IOSSTATE(HIZCRx1)), /* GPIO_151: LPC_AD1 */
_PAD_CFG_STRUCT(GPIO_150, PAD_FUNC(NF1) | PAD_RESET(DEEP) | PAD_TRIG(OFF) | /* GPIO_152: LPC_AD2 */
PAD_BUF(TX_RX_DISABLE) | (1 << 1), PAD_PULL(UP_20K) | PAD_IOSSTATE(HIZCRx1) | /* GPIO_153: LPC_AD3 */
PAD_IOSTERM(ENPU)), /* GPIO_154: LPC_CLKRUN# */
_PAD_CFG_STRUCT(GPIO_151, PAD_FUNC(NF1) | PAD_RESET(DEEP) | PAD_TRIG(OFF) | /* GPIO_155: LPC_FRAME# */
PAD_BUF(TX_RX_DISABLE) | (1 << 1), PAD_PULL(UP_20K) | PAD_IOSSTATE(HIZCRx1) |
PAD_IOSTERM(ENPU)),
_PAD_CFG_STRUCT(GPIO_152, PAD_FUNC(NF1) | PAD_RESET(DEEP) | PAD_TRIG(OFF) |
PAD_BUF(TX_RX_DISABLE) | (1 << 1), PAD_PULL(UP_20K) | PAD_IOSSTATE(HIZCRx1) |
PAD_IOSTERM(ENPU)), _PAD_CFG_STRUCT(GPIO_153, PAD_FUNC(NF1) | PAD_RESET(DEEP) |
PAD_TRIG(OFF) |
PAD_BUF(TX_RX_DISABLE) | (1 << 1), PAD_PULL(UP_20K) | PAD_IOSSTATE(HIZCRx1) |
PAD_IOSTERM(ENPU)), _PAD_CFG_STRUCT(GPIO_154, PAD_FUNC(NF1) | PAD_RESET(DEEP) |
PAD_TRIG(OFF) |
PAD_BUF(TX_RX_DISABLE), PAD_PULL(UP_20K)),
_PAD_CFG_STRUCT(GPIO_155, PAD_FUNC(NF1) | PAD_RESET(DEEP) | PAD_TRIG(OFF) |
PAD_BUF(TX_RX_DISABLE), PAD_PULL(UP_20K) | PAD_IOSSTATE(HIZCRx1) |
PAD_IOSTERM(ENPU)),
/* ----- GPIO Group Audio ----- */ /* ----- GPIO Group Audio ----- */
/* GPIO_156: FP_INT# */
/* GPIO_157: Not Connected */ /* GPIO_157: Not Connected */
PAD_NC(GPIO_157, DN_20K), PAD_NC(GPIO_157, DN_20K),
/* GPIO_158: Not Connected */ /* GPIO_158: Not Connected */