libpayload: configs: Add new config.featuretest to broaden CI
[coreboot2.git] / src / mainboard / google / dedede / variants / storo / gpio.c
blob73b3c2a0c47032a48bb836b30b50d879d9c20429
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
6 /* Pad configuration in ramstage */
7 static const struct pad_config gpio_table[] = {
8 /* A10 : WWAN_EN */
9 PAD_CFG_GPO(GPP_A10, 1, PWROK),
11 /* B7 : WWAN_SAR_DETECT_R_ODL */
12 PAD_CFG_GPO(GPP_B7, 1, DEEP),
14 /* C12 : AP_PEN_DET_ODL */
15 PAD_CFG_GPI_GPIO_DRIVER(GPP_C12, UP_20K, DEEP),
17 /* D15 : EN_PP3300_CAMERA */
18 PAD_CFG_GPO(GPP_D15, 1, PLTRST),
19 /* D19 : WWAN_WLAN_COEX1 */
20 PAD_NC(GPP_D19, NONE),
21 /* D20 : WWAN_WLAN_COEX2 */
22 PAD_NC(GPP_D20, NONE),
23 /* D21 : WWAN_WLAN_COEX3 */
24 PAD_NC(GPP_D21, NONE),
25 /* D22 : AP_I2C_SUB_SDA*/
26 PAD_CFG_NF(GPP_D22, NONE, DEEP, NF1),
27 /* D23 : AP_I2C_SUB_SCL */
28 PAD_CFG_NF(GPP_D23, NONE, DEEP, NF1),
30 /* E11 : AP_I2C_SUB_INT_ODL */
31 PAD_CFG_GPI_APIC(GPP_E11, NONE, PLTRST, LEVEL, NONE),
33 /* H17 : WWAN_RST_L */
34 PAD_CFG_GPO(GPP_H17, 0, PLTRST),
37 const struct pad_config *variant_override_gpio_table(size_t *num)
39 *num = ARRAY_SIZE(gpio_table);
40 return gpio_table;