mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / dedede / variants / sasukette / gpio.c
blob78d72c750d4b08bb3c80b22d2a0700bc67718775
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 : PCIE_CLKREQ2_N ==> WWAN_SAR_DETECT_ODL*/
12 PAD_CFG_GPI_IRQ_WAKE(GPP_B7, NONE, DEEP, LEVEL, INVERT),
14 /* D15 : EN_PP3300_CAMERA */
15 PAD_CFG_GPO(GPP_D15, 1, PLTRST),
17 /* H17 : WWAN_RST_L */
18 PAD_CFG_GPO(GPP_H17, 0, PLTRST),
21 const struct pad_config *variant_override_gpio_table(size_t *num)
23 *num = ARRAY_SIZE(gpio_table);
24 return gpio_table;