blob: c35b81eea45000b2731becce0f6c3495ec6f96ff [file] [log] [blame]
Duncan Laurie5290f712013-05-22 16:31:09 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2012 Google Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Duncan Laurie5290f712013-05-22 16:31:09 -070014 */
15
16#ifndef FALCO_GPIO_H
17#define FALCO_GPIO_H
18
19struct pch_lp_gpio_map;
20
21const struct pch_lp_gpio_map mainboard_gpio_map[] = {
22 LP_GPIO_UNUSED, /* 0: UNUSED */
23 LP_GPIO_UNUSED, /* 1: UNUSED */
24 LP_GPIO_UNUSED, /* 2: UNUSED */
25 LP_GPIO_UNUSED, /* 3: UNUSED */
26 LP_GPIO_NATIVE, /* 4: NATIVE: I2C0_SDA_GPIO4 */
27 LP_GPIO_NATIVE, /* 5: NATIVE: I2C0_SCL_GPIO5 */
28 LP_GPIO_NATIVE, /* 6: NATIVE: I2C1_SDA_GPIO6 */
29 LP_GPIO_NATIVE, /* 7: NATIVE: I2C1_SCL_GPIO7 */
30 LP_GPIO_ACPI_SCI, /* 8: LTE_WAKE_L_Q */
31 LP_GPIO_INPUT, /* 9: RAM_ID1 */
32 LP_GPIO_ACPI_SCI, /* 10: WLAN_WAKE_L_Q */
33 LP_GPIO_UNUSED, /* 11: UNUSED */
Duncan Laurie994611a2013-05-29 07:48:47 -070034 LP_GPIO_INPUT_INVERT, /* 12: TRACKPAD_INT_L (WAKE) */
Duncan Laurie5290f712013-05-22 16:31:09 -070035 LP_GPIO_INPUT, /* 13: RAM_ID0 */
36 LP_GPIO_INPUT, /* 14: EC_IN_RW */
37 LP_GPIO_UNUSED, /* 15: UNUSED (STRAP) */
38 LP_GPIO_UNUSED, /* 16: UNUSED */
39 LP_GPIO_UNUSED, /* 17: UNUSED */
40 LP_GPIO_NATIVE, /* 18: PCIE_CLKREQ_WLAN# */
41 LP_GPIO_UNUSED, /* 19: UNUSED */
42 LP_GPIO_UNUSED, /* 20: UNUSED */
43 LP_GPIO_UNUSED, /* 21: UNUSED */
44 LP_GPIO_UNUSED, /* 22: UNUSED */
45 LP_GPIO_UNUSED, /* 23: UNUSED */
46 LP_GPIO_UNUSED, /* 24: UNUSED */
Duncan Laurie994611a2013-05-29 07:48:47 -070047 LP_GPIO_INPUT_INVERT, /* 25: TOUCH_INT_L (WAKE) */
Duncan Laurie5290f712013-05-22 16:31:09 -070048 LP_GPIO_UNUSED, /* 26: UNUSED */
49 LP_GPIO_UNUSED, /* 27: UNUSED */
50 LP_GPIO_UNUSED, /* 28: UNUSED */
51 LP_GPIO_UNUSED, /* 29: UNUSED */
52 LP_GPIO_NATIVE, /* 30: NATIVE: PCH_SUSWARN_L */
53 LP_GPIO_NATIVE, /* 31: NATIVE: ACPRESENT */
54 LP_GPIO_NATIVE, /* 32: NATIVE: LPC_CLKRUN_L */
55 LP_GPIO_NATIVE, /* 33: NATIVE: DEVSLP0 */
56 LP_GPIO_ACPI_SMI, /* 34: EC_SMI_L */
57 LP_GPIO_ACPI_SMI, /* 35: PCH_NMI_DBG_L (route in NMI_EN) */
58 LP_GPIO_ACPI_SCI, /* 36: EC_SCI_L */
59 LP_GPIO_UNUSED, /* 37: UNUSED */
60 LP_GPIO_UNUSED, /* 38: UNUSED */
61 LP_GPIO_UNUSED, /* 39: UNUSED */
62 LP_GPIO_NATIVE, /* 40: NATIVE: USB_OC0# */
63 LP_GPIO_UNUSED, /* 41: UNUSED */
64 LP_GPIO_UNUSED, /* 42: UNUSED */
65 LP_GPIO_NATIVE, /* 43: NATIVE: USB_OC3# */
66 LP_GPIO_UNUSED, /* 44: UNUSED */
67 LP_GPIO_UNUSED, /* 45: UNUSED */
68 LP_GPIO_OUT_HIGH, /* 46: WLAN_DISABLE_L */
69 LP_GPIO_INPUT, /* 47: RAM_ID2 */
70 LP_GPIO_UNUSED, /* 48: UNUSED */
71 LP_GPIO_UNUSED, /* 49: UNUSED */
72 LP_GPIO_UNUSED, /* 50: UNUSED */
Duncan Laurie22419e02013-05-24 12:37:02 -070073 LP_GPIO_INPUT, /* 51: ALS_INT_L */
74 LP_GPIO_INPUT, /* 52: SIM_DET */
75 LP_GPIO_PIRQ, /* 53: TRACKPAD_INT_DX (PIRQV) */
76 LP_GPIO_PIRQ, /* 54: TOUCH_INT_L_DX (PIRQW) */
Duncan Laurie5290f712013-05-22 16:31:09 -070077 LP_GPIO_UNUSED, /* 55: UNUSED */
78 LP_GPIO_UNUSED, /* 56: UNUSED */
79 LP_GPIO_UNUSED, /* 57: UNUSED */
80 LP_GPIO_INPUT, /* 58: PCH_SPI_WP_D */
81 LP_GPIO_OUT_HIGH, /* 59: LTE_DISABLE_L */
82 LP_GPIO_NATIVE, /* 60: NATIVE: SML0ALERT */
83 LP_GPIO_UNUSED, /* 61: UNUSED */
84 LP_GPIO_UNUSED, /* 62: UNUSED */
85 LP_GPIO_NATIVE, /* 63: NATIVE: PCH_SLP_S5_L */
86 LP_GPIO_UNUSED, /* 64: UNUSED */
87 LP_GPIO_UNUSED, /* 65: UNUSED */
88 LP_GPIO_UNUSED, /* 66: UNUSED (STRAP) */
89 LP_GPIO_UNUSED, /* 67: UNUSED */
90 LP_GPIO_UNUSED, /* 68: UNUSED */
91 LP_GPIO_UNUSED, /* 69: UNUSED */
92 LP_GPIO_UNUSED, /* 70: UNUSED */
93 LP_GPIO_NATIVE, /* 71: NATIVE: MODPHY_EN */
94 LP_GPIO_UNUSED, /* 72: UNUSED */
95 LP_GPIO_UNUSED, /* 73: UNUSED */
96 LP_GPIO_NATIVE, /* 74: NATIVE: SMB_ME1_DAT */
97 LP_GPIO_NATIVE, /* 75: NATIVE: SMB_ME1_CLK */
98 LP_GPIO_UNUSED, /* 76: UNUSED */
99 LP_GPIO_UNUSED, /* 77: UNUSED */
100 LP_GPIO_UNUSED, /* 78: UNUSED */
101 LP_GPIO_UNUSED, /* 79: UNUSED */
102 LP_GPIO_UNUSED, /* 80: UNUSED */
103 LP_GPIO_NATIVE, /* 81: NATIVE: SPKR */
104 LP_GPIO_NATIVE, /* 82: NATIVE: EC_RCIN_L */
105 LP_GPIO_UNUSED, /* 83: UNUSED */
106 LP_GPIO_UNUSED, /* 84: UNUSED */
107 LP_GPIO_UNUSED, /* 85: UNUSED */
108 LP_GPIO_UNUSED, /* 86: UNUSED (STRAP) */
109 LP_GPIO_UNUSED, /* 87: UNUSED */
110 LP_GPIO_UNUSED, /* 88: UNUSED */
111 LP_GPIO_UNUSED, /* 89: UNUSED */
112 LP_GPIO_UNUSED, /* 90: UNUSED */
113 LP_GPIO_UNUSED, /* 91: UNUSED */
114 LP_GPIO_UNUSED, /* 92: UNUSED */
115 LP_GPIO_UNUSED, /* 93: UNUSED */
116 LP_GPIO_UNUSED, /* 94: UNUSED */
117 LP_GPIO_END
118};
119
120#endif