cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / dedede / variants / metaknight / gpio.c
blob072ea7b1c6026dd6591b6d7c0c893fed59d8597c
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
5 #include <commonlib/helpers.h>
7 /* Pad configuration in ramstage */
8 static const struct pad_config gpio_table[] = {
9 /* A10 : WWAN_EN => LTE_PWR_OFF_ODL */
10 PAD_CFG_GPO(GPP_A10, 1, PWROK),
12 /* C12 : AP_PEN_DET_ODL */
13 PAD_CFG_GPI_GPIO_DRIVER(GPP_C12, NONE, DEEP),
15 /* H17 : WWAN_RST_L => LTE_RESET_R_ODL */
16 PAD_CFG_GPO(GPP_H17, 0, PLTRST),
19 const struct pad_config *variant_override_gpio_table(size_t *num)
21 *num = ARRAY_SIZE(gpio_table);
22 return gpio_table;