cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / dedede / variants / driblee / gpio.c
blob3c91864f1336f72e95cf96b947f5b83b024cbe51
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 override_gpio_table[] = {
8 /* B4 : H1_PCH_INT_ODL ==> TPM_AP_INT_ODL */
9 /* C12 : AP_PEN_DET_ODL ==> NC */
10 PAD_NC(GPP_C12, UP_20K),
11 /* C18 : AP_I2C_EMR_SDA */
12 PAD_NC(GPP_C18, NONE),
13 /* C19 : AP_I2C_EMR_SCL */
14 PAD_NC(GPP_C19, NONE),
15 /* C22 : UART2_RTS_N ==> NC */
16 PAD_NC(GPP_C22, UP_20K),
17 /* D12 : WCAM_RST_L ==> NC */
18 PAD_NC(GPP_D12, NONE),
19 /* D14 : EN_PP1200_CAMERA ==> NC */
20 PAD_NC(GPP_D14, NONE),
21 /* D15 : UCAM_RST_L ==> NC */
22 PAD_NC(GPP_D15, NONE),
23 /* D18 : I2S_MCLK ==> NC */
24 PAD_NC(GPP_D18, NONE),
25 /* D19 : WWAN_WLAN_COEX1 ==> NC */
26 PAD_NC(GPP_D19, NONE),
27 /* D20 : WWAN_WLAN_COEX2 ==> NC */
28 PAD_NC(GPP_D20, NONE),
29 /* D21 : WWAN_WLAN_COEX3 ==> NC */
30 PAD_NC(GPP_D21, NONE),
31 /* E0 : CLK_24M_UCAM ==> NC */
32 PAD_NC(GPP_E0, NONE),
33 /* E2 : CLK_24M_WCAM ==> NC */
34 PAD_NC(GPP_E2, NONE),
35 /* E17 : HDMI_DDC_SCL ==> NC */
36 PAD_NC(GPP_E17, NONE),
37 /* H1 : EN_PP3300_SD_U ==> NC */
38 PAD_NC(GPP_H1, NONE),
39 /* H6 : AP_I2C_CAM_SDA ==> NC */
40 PAD_NC(GPP_H6, NONE),
41 /* H7 : AP_I2C_CAM_SCL ==> NC */
42 PAD_NC(GPP_H7, NONE),
43 /* H16 : AP_SUB_IO_L ==> HP_RST_ODL */
44 PAD_CFG_GPO(GPP_H16, 1, PWROK),
45 /* G0 : SD_CMD ==> NC */
46 PAD_NC(GPP_G0, NONE),
47 /* G1 : SD_DATA0 ==> NC */
48 PAD_NC(GPP_G1, NONE),
49 /* G2 : SD_DATA1 ==> NC */
50 PAD_NC(GPP_G2, NONE),
51 /* G3 : SD_DATA2 ==> NC */
52 PAD_NC(GPP_G3, NONE),
53 /* G4 : SD_DATA3 ==> NC */
54 PAD_NC(GPP_G4, NONE),
55 /* G5 : SD_CD_ODL ==> NC */
56 PAD_NC(GPP_G5, UP_20K),
57 /* G6 : SD_CLK ==> NC */
58 PAD_NC(GPP_G6, NONE),
59 /* G7 : SD_SDIO_WP ==> NC */
60 PAD_NC(GPP_G7, NONE),
61 /* S2 : DMIC1_CLK ==> NC */
62 PAD_NC(GPP_S2, NONE),
63 /* S3 : DMIC1_DATA ==> NC */
64 PAD_NC(GPP_S3, NONE),
67 const struct pad_config *variant_override_gpio_table(size_t *num)
69 *num = ARRAY_SIZE(override_gpio_table);
70 return override_gpio_table;