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
[] = {
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
);