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 /* C18 : AP_I2C_EMR_SDA */
10 /* C19 : AP_I2C_EMR_SCL */
11 PAD_NC(GPP_C19
, NONE
),
13 /* D12 : WCAM_RST_L */
14 PAD_NC(GPP_D12
, NONE
),
15 /* D13 : EN_PP2800_CAMERA */
16 PAD_NC(GPP_D13
, NONE
),
17 /* D14 : EN_PP1200_CAMERA */
18 PAD_NC(GPP_D14
, NONE
),
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
),
26 /* E2 : CLK_24M_WCAM */
46 /* H1 : EN_PP3300_SD_U */
48 /* H6 : AP_I2C_CAM_SDA */
50 /* H7 : AP_I2C_CAM_SCL */
59 const struct pad_config
*variant_override_gpio_table(size_t *num
)
61 *num
= ARRAY_SIZE(gpio_table
);