mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / intel / leafhill / brd_gpio.h
blob7c6298f266a03b3ea3498ab4277a0bcf61c2d37c
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <soc/gpio.h>
5 static const struct pad_config gpio_table[] = {
6 PAD_CFG_NF(GPIO_134, NATIVE, DEEP, NF2), /* ISH_I2C0_SDA/IO-OD */
7 PAD_CFG_NF(GPIO_135, NATIVE, DEEP, NF2), /* ISH_I2C0_SCL/IO-OD */
8 PAD_CFG_NF(GPIO_136, NATIVE, DEEP, NF2), /* ISH_I2C1_SDA/IO-OD */
9 PAD_CFG_NF(GPIO_137, NATIVE, DEEP, NF2), /* ISH_I2C1_SCL/IO-OD */
11 PAD_CFG_NF(GPIO_0, NATIVE, DEEP, NF1),
12 PAD_CFG_NF(GPIO_1, NATIVE, DEEP, NF1),
13 PAD_CFG_NF(GPIO_2, NATIVE, DEEP, NF1),
14 PAD_CFG_NF(GPIO_3, NATIVE, DEEP, NF1),
15 PAD_CFG_NF(GPIO_4, NATIVE, DEEP, NF1),
16 PAD_CFG_NF(GPIO_5, NATIVE, DEEP, NF1),
17 PAD_CFG_NF(GPIO_6, NATIVE, DEEP, NF1),
18 PAD_CFG_NF(GPIO_7, NATIVE, DEEP, NF1),
19 PAD_CFG_NF(GPIO_8, NATIVE, DEEP, NF1),
21 /* EXP_I2C_SDA and I2C_PSS_SDA and I2C_2_SDA_IOEXP */
22 PAD_CFG_NF(GPIO_7, NATIVE, DEEP, NF1),
23 /* EXP_I2C_SCL and I2C_PSS_SCL and I2C_2_SCL_IOEXP */
24 PAD_CFG_NF(GPIO_8, NATIVE, DEEP, NF1),
26 PAD_CFG_GPO(GPIO_152, 0, DEEP), /* PERST# */
27 PAD_CFG_GPO(GPIO_19, 1, DEEP), /* PFET */
28 PAD_CFG_GPO(GPIO_13, 0, DEEP), /* PERST# */
29 PAD_CFG_GPO(GPIO_17, 1, DEEP), /* PFET */
30 PAD_CFG_GPO(GPIO_15, 0, DEEP), /* PERST# */
32 PAD_CFG_NF(GPIO_210, NATIVE, DEEP, NF1), /* CLKREQ# */
34 PAD_CFG_NF(SMB_CLK, NATIVE, DEEP, NF1),
35 PAD_CFG_NF(SMB_DATA, NATIVE, DEEP, NF1),