coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
4 
5 const struct pch_lp_gpio_map mainboard_lp_gpio_map[] = {
6  LP_GPIO_UNUSED, /* 0: UNUSED */
7  LP_GPIO_UNUSED, /* 1: UNUSED */
8  LP_GPIO_UNUSED, /* 2: UNUSED */
9  LP_GPIO_UNUSED, /* 3: UNUSED */
10  LP_GPIO_NATIVE, /* 4: NATIVE: I2C0_SDA_GPIO4 */
11  LP_GPIO_NATIVE, /* 5: NATIVE: I2C0_SCL_GPIO5 */
12  LP_GPIO_NATIVE, /* 6: NATIVE: I2C1_SDA_GPIO6 */
13  LP_GPIO_NATIVE, /* 7: NATIVE: I2C1_SCL_GPIO7 */
14  LP_GPIO_ACPI_SCI, /* 8: LAN_WAKE_L_Q */
15  LP_GPIO_OUT_HIGH, /* 9: PP3300_WLAN_EN */
16  LP_GPIO_ACPI_SCI, /* 10: WLAN_WAKE_L_Q */
17  LP_GPIO_UNUSED, /* 11: SMBALERT */
18  LP_GPIO_INPUT_INVERT, /* 12: RECOVERY_L */
19  LP_GPIO_OUT_HIGH, /* 13: BT_DISABLE_L */
20  LP_GPIO_INPUT, /* 14: EC_IN_RW */
21  LP_GPIO_UNUSED, /* 15: UNUSED (STRAP) */
22  LP_GPIO_UNUSED, /* 16: UNUSED */
23  LP_GPIO_OUT_HIGH, /* 17: PP3300_VP8_EN */
24  LP_GPIO_UNUSED, /* 18: UNUSED */
25  LP_GPIO_UNUSED, /* 19: UNUSED */
26  LP_GPIO_NATIVE, /* 20: NATIVE: CLK_PCIE_REQ2# */
27  LP_GPIO_NATIVE, /* 21: NATIVE: CLK_PCIE_REQ3# */
28  LP_GPIO_NATIVE, /* 22: NATIVE: CLK_PCIE_REQ4# */
29  LP_GPIO_UNUSED, /* 23: UNUSED */
30  LP_GPIO_OUT_HIGH, /* 24: WLAN_OFF_L */
31  LP_GPIO_INPUT_INVERT, /* 25: TOUCH_INT_L (WAKE) */
32  LP_GPIO_OUT_HIGH, /* 26: USB_CTL_1 */
33  LP_GPIO_UNUSED, /* 27: UNUSED */
34  LP_GPIO_OUT_LOW, /* 28: USB_ILIM_SEL */
35  LP_GPIO_UNUSED, /* 29: UNUSED */
36  LP_GPIO_NATIVE, /* 30: NATIVE: PCH_SUSPWRACK_L */
37  LP_GPIO_NATIVE, /* 31: NATIVE: PCH_ACPRESENT */
38  LP_GPIO_NATIVE, /* 32: NATIVE: CLKRUN# */
39  LP_GPIO_NATIVE, /* 33: NATIVE: DEVSLP0 */
40  LP_GPIO_ACPI_SMI, /* 34: EC_SMI_L */
41  LP_GPIO_ACPI_SMI, /* 35: PCH_NMI_DBG_L (route in NMI_EN) */
42  LP_GPIO_ACPI_SCI, /* 36: EC_SCI_L */
43  LP_GPIO_UNUSED, /* 37: UNUSED */
44  LP_GPIO_UNUSED, /* 38: UNUSED */
45  LP_GPIO_UNUSED, /* 39: UNUSED */
46  LP_GPIO_NATIVE, /* 40: NATIVE: USB_OC0# */
47  LP_GPIO_NATIVE, /* 41: NATIVE: USB_OC1# */
48  LP_GPIO_NATIVE, /* 42: NATIVE: USB_OC2# */
49  LP_GPIO_UNUSED, /* 43: UNUSED */
50  LP_GPIO_UNUSED, /* 44: UNUSED */
51  LP_GPIO_OUT_HIGH, /* 45: PP3300_CODEC_EN */
52  LP_GPIO_UNUSED, /* 46: UNUSED */
53  LP_GPIO_UNUSED, /* 47: UNUSED */
54  LP_GPIO_UNUSED, /* 48: UNUSED */
55  LP_GPIO_UNUSED, /* 49: UNUSED */
56  LP_GPIO_OUT_HIGH, /* 50: VP8_DISABLE_L */
57  LP_GPIO_UNUSED, /* 51: UNUSED */
58  LP_GPIO_UNUSED, /* 52: UNUSED */
59  LP_GPIO_PIRQ_INVERT, /* 53: CODEC_INT */
60  LP_GPIO_PIRQ, /* 54: TOUCH_INT_L_DX */
61  LP_GPIO_UNUSED, /* 55: UNUSED */
62  LP_GPIO_OUT_HIGH, /* 56: USB_CHARGE_EN */
63  LP_GPIO_UNUSED, /* 57: UNUSED */
64  LP_GPIO_INPUT, /* 58: PCH_SPI_WP_D */
65  LP_GPIO_OUT_HIGH, /* 59: PP3300_LAN_EN */
66  LP_GPIO_NATIVE, /* 60: NATIVE: SMB0ALERT# */
67  LP_GPIO_NATIVE, /* 61: SUS_STAT# */
68  LP_GPIO_UNUSED, /* 62: UNUSED */
69  LP_GPIO_NATIVE, /* 63: NATIVE: PCH_SLP_S5_L */
70  LP_GPIO_UNUSED, /* 64: UNUSED */
71  LP_GPIO_UNUSED, /* 65: UNUSED */
72  LP_GPIO_UNUSED, /* 66: UNUSED (STRAP) */
73  LP_GPIO_UNUSED, /* 67: UNUSED */
74  LP_GPIO_UNUSED, /* 68: UNUSED */
75  LP_GPIO_UNUSED, /* 69: UNUSED */
76  LP_GPIO_UNUSED, /* 70: UNUSED */
77  LP_GPIO_NATIVE, /* 71: NATIVE: MODPHY_EN */
78  LP_GPIO_UNUSED, /* 72: UNUSED */
79  LP_GPIO_UNUSED, /* 73: UNUSED */
80  LP_GPIO_NATIVE, /* 74: NATIVE: SMB_ME1_DAT */
81  LP_GPIO_NATIVE, /* 75: NATIVE: SMB_ME1_CLK */
82  LP_GPIO_UNUSED, /* 76: UNUSED */
83  LP_GPIO_UNUSED, /* 77: UNUSED */
84  LP_GPIO_UNUSED, /* 78: UNUSED */
85  LP_GPIO_UNUSED, /* 79: UNUSED */
86  LP_GPIO_UNUSED, /* 80: UNUSED */
87  LP_GPIO_NATIVE, /* 81: NATIVE: SPKR */
88  LP_GPIO_NATIVE, /* 82: NATIVE: EC_RCIN_L */
89  LP_GPIO_UNUSED, /* 83: UNUSED */
90  LP_GPIO_UNUSED, /* 84: UNUSED */
91  LP_GPIO_UNUSED, /* 85: UNUSED */
92  LP_GPIO_UNUSED, /* 86: UNUSED (STRAP) */
93  LP_GPIO_UNUSED, /* 87: UNUSED */
94  LP_GPIO_UNUSED, /* 88: UNUSED */
95  LP_GPIO_UNUSED, /* 89: UNUSED */
96  LP_GPIO_UNUSED, /* 90: UNUSED */
97  LP_GPIO_UNUSED, /* 91: UNUSED */
98  LP_GPIO_UNUSED, /* 92: UNUSED */
99  LP_GPIO_UNUSED, /* 93: UNUSED */
100  LP_GPIO_UNUSED, /* 94: UNUSED */
102 };
#define LP_GPIO_PIRQ
Definition: lp_gpio.h:125
#define LP_GPIO_OUT_HIGH
Definition: lp_gpio.h:135
#define LP_GPIO_END
Definition: lp_gpio.h:86
#define LP_GPIO_NATIVE
Definition: lp_gpio.h:89
#define LP_GPIO_PIRQ_INVERT
Definition: lp_gpio.h:130
#define LP_GPIO_OUT_LOW
Definition: lp_gpio.h:140
#define LP_GPIO_INPUT_INVERT
Definition: lp_gpio.h:111
#define LP_GPIO_UNUSED
Definition: lp_gpio.h:92
#define LP_GPIO_INPUT
Definition: lp_gpio.h:107
#define LP_GPIO_ACPI_SMI
Definition: lp_gpio.h:102
#define LP_GPIO_ACPI_SCI
Definition: lp_gpio.h:97
const struct pch_lp_gpio_map mainboard_lp_gpio_map[]
Definition: gpio.c:5