mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / ocp / tiogapass / include / tp_pch_gpio.h
blobac4422a387e7e32352d138edea1c95b4f1b465f2
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef CFG_PCH_GPIO_H
4 #define CFG_PCH_GPIO_H
6 #include <soc/gpio.h>
8 /* Pad configuration table for C621 Lewisburg PCH */
9 static const struct pad_config gpio_table[] = {
10 /* ------- GPIO Community 0 ------- */
11 /* ------- GPIO Group GPP_A ------- */
12 /* GPP_A0 - GPIO */
13 PAD_CFG_GPI_TRIG_OWN(GPP_A0, NONE, DEEP, OFF, DRIVER),
14 /* GPP_A1 - LAD0 */
15 PAD_CFG_NF(GPP_A1, NONE, DEEP, NF1),
16 /* GPP_A2 - LAD1 */
17 PAD_CFG_NF(GPP_A2, NONE, DEEP, NF1),
18 /* GPP_A3 - LAD2 */
19 PAD_CFG_NF(GPP_A3, NONE, DEEP, NF1),
20 /* GPP_A4 - LAD3 */
21 PAD_CFG_NF(GPP_A4, NONE, DEEP, NF1),
22 /* GPP_A5 - LFRAME# */
23 PAD_CFG_NF(GPP_A5, NONE, DEEP, NF1),
24 /* GPP_A6 - SERIRQ */
25 PAD_CFG_NF(GPP_A6, NONE, DEEP, NF1),
26 /* GPP_A7 - PIRQA# */
27 PAD_CFG_NF(GPP_A7, NONE, DEEP, NF1),
28 /* GPP_A8 - CLKRUN# */
29 PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1),
30 /* GPP_A9 - CLKOUT_LPC0 */
31 PAD_CFG_NF(GPP_A9, NONE, DEEP, NF1),
32 /* GPP_A10 - GPIO */
33 PAD_CFG_GPI_TRIG_OWN(GPP_A10, NONE, DEEP, OFF, DRIVER),
34 /* GPP_A11 - GPIO */
35 PAD_CFG_GPI_TRIG_OWN(GPP_A11, NONE, DEEP, OFF, DRIVER),
36 /* GPP_A12 - GPIO */
37 PAD_CFG_GPI_TRIG_OWN(GPP_A12, NONE, PLTRST, OFF, DRIVER),
38 /* GPP_A13 - GPIO */
39 PAD_CFG_GPI_TRIG_OWN(GPP_A13, NONE, DEEP, OFF, DRIVER),
40 /* GPP_A14 - GPIO */
41 PAD_CFG_GPI_TRIG_OWN(GPP_A14, NONE, DEEP, OFF, DRIVER),
42 /* GPP_A15 - GPIO */
43 PAD_CFG_GPI_TRIG_OWN(GPP_A15, NONE, DEEP, OFF, DRIVER),
44 /* GPP_A16 - GPIO */
45 PAD_CFG_GPI_TRIG_OWN(GPP_A16, NONE, DEEP, OFF, DRIVER),
46 /* GPP_A17 - GPIO */
47 PAD_CFG_GPI_TRIG_OWN(GPP_A17, NONE, DEEP, OFF, DRIVER),
48 /* GPP_A18 - GPIO */
49 PAD_CFG_GPI_TRIG_OWN(GPP_A18, NONE, DEEP, OFF, DRIVER),
50 /* GPP_A19 - RESERVED */
51 /* GPP_A20 - GPIO */
52 PAD_CFG_GPI_TRIG_OWN(GPP_A20, NONE, DEEP, OFF, DRIVER),
53 /* GPP_A21 - GPIO */
54 PAD_CFG_GPO(GPP_A21, 1, DEEP),
55 /* GPP_A22 - GPIO */
56 PAD_CFG_GPI_TRIG_OWN(GPP_A22, NONE, DEEP, OFF, DRIVER),
57 /* GPP_A23 - GPIO */
58 PAD_CFG_GPI_TRIG_OWN(GPP_A23, NONE, DEEP, OFF, DRIVER),
60 /* ------- GPIO Group GPP_B ------- */
61 /* GPP_B0 - CORE_VID0 */
62 PAD_CFG_NF(GPP_B0, NONE, DEEP, NF1),
63 /* GPP_B1 - CORE_VID1 */
64 PAD_CFG_NF(GPP_B1, NONE, DEEP, NF1),
65 /* GPP_B2 - GPIO */
66 PAD_CFG_GPI_TRIG_OWN(GPP_B2, NONE, DEEP, OFF, DRIVER),
67 /* GPP_B3 - GPIO */
68 PAD_CFG_GPI_TRIG_OWN(GPP_B3, NONE, DEEP, OFF, DRIVER),
69 /* GPP_B4 - GPIO */
70 PAD_CFG_GPI_TRIG_OWN(GPP_B4, NONE, DEEP, OFF, DRIVER),
71 /* GPP_B5 - GPIO */
72 PAD_CFG_GPI_TRIG_OWN(GPP_B5, NONE, DEEP, OFF, DRIVER),
73 /* GPP_B6 - GPIO */
74 PAD_CFG_GPI_TRIG_OWN(GPP_B6, NONE, PLTRST, OFF, DRIVER),
75 /* GPP_B7 - GPIO */
76 PAD_CFG_GPI_TRIG_OWN(GPP_B7, NONE, PLTRST, OFF, DRIVER),
77 /* GPP_B8 - GPIO */
78 PAD_CFG_GPI_TRIG_OWN(GPP_B8, NONE, DEEP, OFF, DRIVER),
79 /* GPP_B9 - GPIO */
80 PAD_CFG_GPI_TRIG_OWN(GPP_B9, NONE, DEEP, OFF, DRIVER),
81 /* GPP_B10 - GPIO */
82 PAD_CFG_GPI_TRIG_OWN(GPP_B10, NONE, DEEP, OFF, DRIVER),
83 /* GPP_B11 - GPIO */
84 PAD_CFG_GPO(GPP_B11, 1, DEEP),
85 /* GPP_B12 - GLB_RST_WARN_N# */
86 PAD_CFG_NF(GPP_B12, NONE, DEEP, NF1),
87 /* GPP_B13 - PLTRST# */
88 PAD_CFG_NF(GPP_B13, NONE, DEEP, NF1),
89 /* GPP_B14 - SPKR */
90 PAD_CFG_NF(GPP_B14, NONE, DEEP, NF1),
91 /* GPP_B15 - GPIO */
92 PAD_CFG_GPI_TRIG_OWN(GPP_B15, NONE, DEEP, OFF, DRIVER),
93 /* GPP_B16 - GPIO */
94 PAD_CFG_GPI_TRIG_OWN(GPP_B16, NONE, DEEP, OFF, DRIVER),
95 /* GPP_B17 - GPIO */
96 PAD_CFG_GPI_TRIG_OWN(GPP_B17, NONE, DEEP, OFF, DRIVER),
97 /* GPP_B18 - GPIO */
98 PAD_CFG_GPI_TRIG_OWN(GPP_B18, NONE, DEEP, OFF, DRIVER),
99 /* GPP_B19 - GPIO */
100 PAD_CFG_GPO(GPP_B19, 1, DEEP),
101 /* GPP_B20 - GPIO */
102 PAD_CFG_GPO(GPP_B20, 1, DEEP),
103 /* GPP_B21 - GPIO */
104 PAD_CFG_GPI_TRIG_OWN(GPP_B21, NONE, DEEP, OFF, DRIVER),
105 /* GPP_B22 - GPIO */
106 PAD_CFG_GPO(GPP_B22, 0, DEEP),
107 /* GPP_B23 - PCHHOT# */
108 PAD_CFG_NF(GPP_B23, NONE, RSMRST, NF2),
110 /* ------- GPIO Group GPP_F ------- */
111 /* GPP_F0 - GPIO */
112 PAD_CFG_GPI_TRIG_OWN(GPP_F0, NONE, DEEP, OFF, DRIVER),
113 /* GPP_F1 - GPIO */
114 PAD_CFG_GPI_TRIG_OWN(GPP_F1, NONE, DEEP, OFF, DRIVER),
115 /* GPP_F2 - GPIO */
116 PAD_CFG_GPI_TRIG_OWN(GPP_F2, NONE, DEEP, OFF, DRIVER),
117 /* GPP_F3 - GPIO */
118 PAD_CFG_GPI_TRIG_OWN(GPP_F3, NONE, DEEP, OFF, DRIVER),
119 /* GPP_F4 - GPIO */
120 PAD_CFG_GPI_TRIG_OWN(GPP_F4, NONE, DEEP, OFF, DRIVER),
121 /* GPP_F5 - GPIO */
122 PAD_CFG_GPI_TRIG_OWN(GPP_F5, NONE, DEEP, OFF, DRIVER),
123 /* GPP_F6 - GPIO */
124 PAD_CFG_GPO(GPP_F6, 0, PLTRST),
125 /* GPP_F7 - GPIO */
126 PAD_CFG_GPO(GPP_F7, 0, PLTRST),
127 /* GPP_F8 - GPIO */
128 PAD_CFG_GPO(GPP_F8, 0, PLTRST),
129 /* GPP_F9 - GPIO */
130 PAD_CFG_GPI_TRIG_OWN(GPP_F9, NONE, PLTRST, OFF, DRIVER),
131 /* GPP_F10 - SATA_SCLOCK */
132 PAD_CFG_NF(GPP_F10, NONE, DEEP, NF1),
133 /* GPP_F11 - SATA_SLOAD */
134 PAD_CFG_NF(GPP_F11, NONE, DEEP, NF1),
135 /* GPP_F12 - GPIO */
136 PAD_CFG_GPI_TRIG_OWN(GPP_F12, NONE, DEEP, OFF, DRIVER),
137 /* GPP_F13 - SATA_SDATAOUT2 */
138 PAD_CFG_NF(GPP_F13, NONE, DEEP, NF1),
139 /* GPP_F14 - SSATA_LED# */
140 PAD_CFG_NF(GPP_F14, NONE, DEEP, NF3),
141 /* GPP_F15 - GPIO */
142 PAD_CFG_GPI_TRIG_OWN(GPP_F15, NONE, DEEP, OFF, DRIVER),
143 /* GPP_F16 - GPIO */
144 PAD_CFG_GPI_TRIG_OWN(GPP_F16, NONE, DEEP, OFF, DRIVER),
145 /* GPP_F17 - GPIO */
146 PAD_CFG_GPI_TRIG_OWN(GPP_F17, NONE, DEEP, OFF, DRIVER),
147 /* GPP_F18 - GPIO */
148 PAD_CFG_GPI_TRIG_OWN(GPP_F18, NONE, DEEP, OFF, DRIVER),
149 /* GPP_F19 - LAN_SMBCLK */
150 PAD_CFG_NF(GPP_F19, NONE, DEEP, NF1),
151 /* GPP_F20 - LAN_SMBDATA */
152 PAD_CFG_NF(GPP_F20, NONE, DEEP, NF1),
153 /* GPP_F21 - LAN_SMBALRT# */
154 PAD_CFG_NF(GPP_F21, NONE, DEEP, NF1),
155 /* GPP_F22 - SSATA_SCLOCK */
156 PAD_CFG_NF(GPP_F22, NONE, DEEP, NF3),
157 /* GPP_F23 - SSATA_SLOAD */
158 PAD_CFG_NF(GPP_F23, NONE, DEEP, NF3),
160 /* ------- GPIO Community 1 ------- */
161 /* ------- GPIO Group GPP_C ------- */
162 /* GPP_C0 - RESERVED */
163 /* GPP_C1 - RESERVED */
164 /* GPP_C2 - SMBALERT# */
165 PAD_CFG_NF(GPP_C2, NONE, DEEP, NF1),
166 /* GPP_C3 - RESERVED */
167 /* GPP_C4 - RESERVED */
168 /* GPP_C5 - GPIO */
169 PAD_CFG_GPO(GPP_C5, 0, DEEP),
170 /* GPP_C6 - RESERVED */
171 /* GPP_C7 - RESERVED */
172 /* GPP_C8 - GPIO */
173 PAD_CFG_GPI_TRIG_OWN(GPP_C8, NONE, DEEP, OFF, DRIVER),
174 /* GPP_C9 - GPIO */
175 PAD_CFG_GPO(GPP_C9, 1, DEEP),
176 /* GPP_C10 - GPIO */
177 PAD_CFG_GPI_TRIG_OWN(GPP_C8, NONE, PLTRST, EDGE_BOTH, ACPI),
178 /* GPP_C11 - GPIO */
179 PAD_CFG_GPI_TRIG_OWN(GPP_C11, NONE, DEEP, OFF, DRIVER),
180 /* GPP_C12 - GPIO */
181 PAD_CFG_GPI_TRIG_OWN(GPP_C12, NONE, DEEP, OFF, DRIVER),
182 /* GPP_C13 - GPIO */
183 PAD_CFG_GPI_TRIG_OWN(GPP_C13, NONE, DEEP, OFF, DRIVER),
184 /* GPP_C14 - GPIO */
185 PAD_CFG_GPI_SCI(GPP_C14, NONE, PLTRST, LEVEL, NONE),
186 /* GPP_C15 - GPIO */
187 PAD_CFG_GPI_TRIG_OWN(GPP_C15, NONE, DEEP, OFF, DRIVER),
188 /* GPP_C16 - GPIO */
189 PAD_CFG_GPI_TRIG_OWN(GPP_C16, NONE, DEEP, OFF, DRIVER),
190 /* GPP_C17 - GPIO */
191 PAD_CFG_GPI_TRIG_OWN(GPP_C17, NONE, DEEP, OFF, DRIVER),
192 /* GPP_C18 - GPIO */
193 PAD_CFG_GPI_TRIG_OWN(GPP_C18, NONE, DEEP, OFF, DRIVER),
194 /* GPP_C19 - GPIO */
195 PAD_CFG_GPI_TRIG_OWN(GPP_C19, NONE, DEEP, OFF, DRIVER),
196 /* GPP_C20 - RESERVED */
197 /* GPP_C21 - GPIO */
198 PAD_CFG_GPI_TRIG_OWN(GPP_C21, NONE, DEEP, OFF, DRIVER),
199 /* GPP_C22 - GPIO */
200 PAD_CFG_GPI(GPP_C22, NONE, PLTRST),
201 /* GPP_C23 - GPIO */
202 PAD_CFG_GPI(GPP_C23, NONE, DEEP),
204 /* ------- GPIO Group GPP_D ------- */
205 /* GPP_D0 - GPIO */
206 PAD_CFG_GPI(GPP_D0, NONE, PLTRST),
207 /* GPP_D1 - GPIO */
208 PAD_CFG_GPO(GPP_D1, 0, DEEP),
209 /* GPP_D2 - GPIO */
210 PAD_CFG_GPI_TRIG_OWN(GPP_D2, NONE, PLTRST, OFF, DRIVER),
211 /* GPP_D3 - GPIO */
212 PAD_CFG_GPI_TRIG_OWN(GPP_D3, NONE, PLTRST, OFF, DRIVER),
213 /* GPP_D4 - GPIO */
214 PAD_CFG_GPO(GPP_D4, 1, DEEP),
215 /* GPP_D5 - GPIO */
216 PAD_CFG_GPI_TRIG_OWN(GPP_D5, NONE, DEEP, OFF, DRIVER),
217 /* GPP_D6 - GPIO */
218 PAD_CFG_GPI_TRIG_OWN(GPP_D6, NONE, DEEP, OFF, DRIVER),
219 /* GPP_D7 - GPIO */
220 PAD_CFG_GPI_TRIG_OWN(GPP_D7, NONE, DEEP, OFF, DRIVER),
221 /* GPP_D8 - GPIO */
222 PAD_CFG_GPI_TRIG_OWN(GPP_D8, NONE, DEEP, OFF, DRIVER),
223 /* GPP_D9 - GPIO */
224 PAD_CFG_GPI_TRIG_OWN(GPP_D9, NONE, DEEP, OFF, DRIVER),
225 /* GPP_D10 - GPIO */
226 PAD_CFG_GPI_TRIG_OWN(GPP_D10, NONE, DEEP, OFF, DRIVER),
227 /* GPP_D11 - GPIO */
228 PAD_CFG_GPI_TRIG_OWN(GPP_D11, NONE, DEEP, OFF, DRIVER),
229 /* GPP_D12 - GPIO */
230 PAD_CFG_GPI_TRIG_OWN(GPP_D12, NONE, DEEP, OFF, DRIVER),
231 /* GPP_D13 - GPIO */
232 PAD_CFG_GPI_TRIG_OWN(GPP_D13, NONE, DEEP, OFF, DRIVER),
233 /* GPP_D14 - GPIO */
234 PAD_CFG_GPI_TRIG_OWN(GPP_D14, NONE, DEEP, OFF, DRIVER),
235 /* GPP_D15 - SSATA_SDATAOUT0 */
236 PAD_CFG_NF(GPP_D15, NONE, DEEP, NF3),
237 /* GPP_D16 - GPIO */
238 PAD_CFG_GPI_TRIG_OWN(GPP_D16, NONE, DEEP, OFF, DRIVER),
239 /* GPP_D17 - GPIO */
240 PAD_CFG_GPI_TRIG_OWN(GPP_D17, NONE, DEEP, OFF, DRIVER),
241 /* GPP_D18 - GPIO */
242 PAD_CFG_GPI_TRIG_OWN(GPP_D18, NONE, DEEP, OFF, DRIVER),
243 /* GPP_D19 - GPIO */
244 PAD_CFG_GPO(GPP_D19, 1, DEEP),
245 /* GPP_D20 - GPIO */
246 PAD_CFG_GPI_TRIG_OWN(GPP_D20, NONE, DEEP, OFF, DRIVER),
247 /* GPP_D21 - GPIO */
248 PAD_CFG_GPI_TRIG_OWN(GPP_D21, NONE, DEEP, OFF, DRIVER),
249 /* GPP_D22 - GPIO */
250 PAD_CFG_GPI_TRIG_OWN(GPP_D22, NONE, DEEP, OFF, DRIVER),
251 /* GPP_D23 - GPIO */
252 PAD_CFG_GPI_TRIG_OWN(GPP_D23, NONE, DEEP, OFF, DRIVER),
254 /* ------- GPIO Group GPP_E ------- */
255 /* GPP_E0 - GPIO */
256 PAD_CFG_GPI(GPP_E0, NONE, DEEP),
257 /* GPP_E1 - GPIO */
258 PAD_CFG_GPI(GPP_E1, NONE, DEEP),
259 /* GPP_E2 - GPIO */
260 PAD_CFG_GPI_TRIG_OWN(GPP_E2, NONE, DEEP, OFF, DRIVER),
261 /* GPP_E3 - CPU_GP0 */
262 PAD_CFG_NF(GPP_E3, NONE, DEEP, NF1),
263 /* GPP_E4 - GPIO */
264 PAD_CFG_GPI_TRIG_OWN(GPP_E4, NONE, DEEP, OFF, DRIVER),
265 /* GPP_E5 - GPIO */
266 PAD_CFG_GPI_TRIG_OWN(GPP_E5, NONE, DEEP, OFF, DRIVER),
267 /* GPP_E6 - GPIO */
268 PAD_CFG_GPI_TRIG_OWN(GPP_E6, NONE, DEEP, OFF, DRIVER),
269 /* GPP_E7 - GPIO */
270 PAD_CFG_GPI_TRIG_OWN(GPP_E7, NONE, DEEP, OFF, DRIVER),
271 /* GPP_E8 - SATA_LED# */
272 PAD_CFG_NF(GPP_E8, NONE, DEEP, NF1),
273 /* GPP_E9 - USB_OC0# */
274 PAD_CFG_NF(GPP_E9, NONE, DEEP, NF1),
275 /* GPP_E10 - GPIO */
276 PAD_CFG_GPI_TRIG_OWN(GPP_E10, NONE, DEEP, OFF, DRIVER),
277 /* GPP_E11 - GPIO */
278 PAD_CFG_GPI_TRIG_OWN(GPP_E11, NONE, DEEP, OFF, DRIVER),
279 /* GPP_E12 - GPIO */
280 PAD_CFG_GPI_TRIG_OWN(GPP_E12, NONE, DEEP, OFF, DRIVER),
282 /* ------- GPIO Community 2 ------- */
283 /* -------- GPIO Group GPD -------- */
284 /* GPD0 - RESERVED */
285 /* GPD1 - GPIO */
286 PAD_CFG_GPI_TRIG_OWN(GPD1, NONE, RSMRST, OFF, ACPI),
287 /* GPD2 - GPIO */
288 PAD_CFG_GPI_TRIG_OWN(GPD2, NONE, RSMRST, OFF, ACPI),
289 /* GPD3 - PWRBTN# */
290 PAD_CFG_NF(GPD3, NONE, RSMRST, NF1),
291 /* GPD4 - SLP_S3# */
292 PAD_CFG_NF(GPD4, NONE, RSMRST, NF1),
293 /* GPD5 - SLP_S4# */
294 PAD_CFG_NF(GPD5, NONE, RSMRST, NF1),
295 /* GPD6 - GPIO */
296 PAD_CFG_GPI_TRIG_OWN(GPD6, NONE, RSMRST, OFF, ACPI),
297 /* GPD7 - GPIO */
298 PAD_CFG_GPI_TRIG_OWN(GPD7, NONE, RSMRST, OFF, ACPI),
299 /* GPD8 - GPIO */
300 PAD_CFG_GPI_TRIG_OWN(GPD8, NONE, RSMRST, OFF, ACPI),
301 /* GPD9 - GPIO */
302 PAD_CFG_GPI_TRIG_OWN(GPD9, NONE, RSMRST, OFF, ACPI),
303 /* GPD10 - GPIO */
304 PAD_CFG_GPI_TRIG_OWN(GPD10, NONE, RSMRST, OFF, ACPI),
305 /* GPD11 - GBEPHY */
306 PAD_CFG_NF(GPD11, NONE, RSMRST, NF1),
308 /* ------- GPIO Community 3 ------- */
309 /* ------- GPIO Group GPP_I ------- */
310 /* GPP_I0 - LAN_TDO */
311 PAD_CFG_NF(GPP_I0, NONE, DEEP, NF2),
312 /* GPP_I1 - LAN_TCK */
313 PAD_CFG_NF(GPP_I1, NONE, DEEP, NF2),
314 /* GPP_I2 - LAN_TMS */
315 PAD_CFG_NF(GPP_I2, NONE, DEEP, NF2),
316 /* GPP_I3 - LAN_TDI */
317 PAD_CFG_NF(GPP_I3, NONE, DEEP, NF2),
318 /* GPP_I4 - GPIO */
319 PAD_CFG_GPI_TRIG_OWN(GPP_I4, NONE, DEEP, OFF, DRIVER),
320 /* GPP_I5 - GPIO */
321 PAD_CFG_GPI_TRIG_OWN(GPP_I5, NONE, DEEP, OFF, DRIVER),
322 /* GPP_I6 - GPIO */
323 PAD_CFG_GPI_TRIG_OWN(GPP_I6, NONE, DEEP, OFF, DRIVER),
324 /* GPP_I7 - LAN_TRST_IN */
325 PAD_CFG_NF(GPP_I7, NONE, DEEP, NF2),
326 /* GPP_I8 - GPIO */
327 PAD_CFG_GPI_TRIG_OWN(GPP_I8, NONE, DEEP, OFF, DRIVER),
328 /* GPP_I9 - GPIO */
329 PAD_CFG_GPI_TRIG_OWN(GPP_I9, NONE, DEEP, OFF, DRIVER),
330 /* GPP_I10 - GPIO */
331 PAD_CFG_GPI_TRIG_OWN(GPP_I10, NONE, DEEP, OFF, DRIVER),
333 /* ------- GPIO Community 4 ------- */
334 /* ------- GPIO Group GPP_J ------- */
335 /* GPP_J0 - LAN_LED_P0_0 */
336 PAD_CFG_NF(GPP_J0, NONE, DEEP, NF1),
337 /* GPP_J1 - LAN_LED_P0_1 */
338 PAD_CFG_NF(GPP_J1, NONE, DEEP, NF1),
339 /* GPP_J2 - LAN_LED_P1_0 */
340 PAD_CFG_NF(GPP_J2, NONE, DEEP, NF1),
341 /* GPP_J3 - LAN_LED_P1_1 */
342 PAD_CFG_NF(GPP_J3, NONE, DEEP, NF1),
343 /* GPP_J4 - LAN_LED_P2_0 */
344 PAD_CFG_NF(GPP_J4, NONE, DEEP, NF1),
345 /* GPP_J5 - LAN_LED_P2_1 */
346 PAD_CFG_NF(GPP_J5, NONE, DEEP, NF1),
347 /* GPP_J6 - LAN_LED_P3_0 */
348 PAD_CFG_NF(GPP_J6, NONE, DEEP, NF1),
349 /* GPP_J7 - LAN_LED_P3_1 */
350 PAD_CFG_NF(GPP_J7, NONE, DEEP, NF1),
351 /* GPP_J8 - LAN_I2C_SCL_MDC_P0 */
352 PAD_CFG_NF(GPP_J8, NONE, DEEP, NF1),
353 /* GPP_J9 - LAN_I2C_SDA_MDIO_P0 */
354 PAD_CFG_NF(GPP_J9, NONE, DEEP, NF1),
355 /* GPP_J10 - LAN_I2C_SCL_MDC_P1 */
356 PAD_CFG_NF(GPP_J10, NONE, DEEP, NF1),
357 /* GPP_J11 - LAN_I2C_SDA_MDIO_P1 */
358 PAD_CFG_NF(GPP_J11, NONE, DEEP, NF1),
359 /* GPP_J12 - LAN_I2C_SCL_MDC_P2 */
360 PAD_CFG_NF(GPP_J12, NONE, DEEP, NF1),
361 /* GPP_J13 - LAN_I2C_SDA_MDIO_P2 */
362 PAD_CFG_NF(GPP_J13, NONE, DEEP, NF1),
363 /* GPP_J14 - LAN_I2C_SCL_MDC_P3 */
364 PAD_CFG_NF(GPP_J14, NONE, DEEP, NF1),
365 /* GPP_J15 - LAN_I2C_SDA_MDIO_P3 */
366 PAD_CFG_NF(GPP_J15, NONE, DEEP, NF1),
367 /* GPP_J16 - LAN_SDP_P0_0 */
368 PAD_CFG_NF(GPP_J16, NONE, DEEP, NF1),
369 /* GPP_J17 - GPIO */
370 PAD_CFG_GPI_TRIG_OWN(GPP_J17, NONE, DEEP, OFF, DRIVER),
371 /* GPP_J18 - LAN_SDP_P1_0 */
372 PAD_CFG_NF(GPP_J18, NONE, DEEP, NF1),
373 /* GPP_J19 - GPIO */
374 PAD_CFG_GPI_TRIG_OWN(GPP_J19, NONE, DEEP, OFF, DRIVER),
375 /* GPP_J20 - LAN_SDP_P2_0 */
376 PAD_CFG_NF(GPP_J20, NONE, DEEP, NF1),
377 /* GPP_J21 - GPIO */
378 PAD_CFG_GPI_TRIG_OWN(GPP_J21, NONE, DEEP, OFF, DRIVER),
379 /* GPP_J22 - LAN_SDP_P3_0 */
380 PAD_CFG_NF(GPP_J22, NONE, DEEP, NF1),
381 /* GPP_J23 - GPIO */
382 PAD_CFG_GPI_TRIG_OWN(GPP_J23, NONE, DEEP, OFF, DRIVER),
384 /* ------- GPIO Group GPP_K ------- */
385 /* GPP_K0 - GPIO */
386 PAD_CFG_GPI_TRIG_OWN(GPP_K0, NONE, DEEP, OFF, DRIVER),
387 /* GPP_K1 - GPIO */
388 PAD_CFG_GPI_TRIG_OWN(GPP_K1, NONE, DEEP, OFF, DRIVER),
389 /* GPP_K2 - GPIO */
390 PAD_CFG_GPI_TRIG_OWN(GPP_K2, NONE, DEEP, OFF, DRIVER),
391 /* GPP_K3 - GPIO */
392 PAD_CFG_GPI_TRIG_OWN(GPP_K3, NONE, DEEP, OFF, DRIVER),
393 /* GPP_K4 - GPIO */
394 PAD_CFG_GPI_TRIG_OWN(GPP_K4, NONE, DEEP, OFF, DRIVER),
395 /* GPP_K5 - GPIO */
396 PAD_CFG_GPI_TRIG_OWN(GPP_K5, NONE, DEEP, OFF, DRIVER),
397 /* GPP_K6 - GPIO */
398 PAD_CFG_GPI_TRIG_OWN(GPP_K6, NONE, DEEP, OFF, DRIVER),
399 /* GPP_K7 - RESERVED */
400 PAD_CFG_NF(GPP_K7, NONE, DEEP, NF1),
401 /* GPP_K8 - LAN_NCSI_ARB_IN */
402 PAD_CFG_NF(GPP_K8, NONE, DEEP, NF1),
403 /* GPP_K9 - LAN_NCSI_ARB_OUT */
404 PAD_CFG_NF(GPP_K9, NONE, DEEP, NF1),
405 /* GPP_K10 - PE_RST# */
406 PAD_CFG_NF(GPP_K10, NONE, DEEP, NF1),
408 /* ------- GPIO Community 5 ------- */
409 /* ------- GPIO Group GPP_G ------- */
410 /* GPP_G0 - GPIO */
411 PAD_CFG_GPI_TRIG_OWN(GPP_G0, NONE, DEEP, OFF, DRIVER),
412 /* GPP_G1 - GPIO */
413 PAD_CFG_GPI_TRIG_OWN(GPP_G1, NONE, DEEP, OFF, DRIVER),
414 /* GPP_G2 - GPIO */
415 PAD_CFG_GPI_TRIG_OWN(GPP_G2, NONE, DEEP, OFF, DRIVER),
416 /* GPP_G3 - GPIO */
417 PAD_CFG_GPI_TRIG_OWN(GPP_G3, NONE, DEEP, OFF, DRIVER),
418 /* GPP_G4 - GPIO */
419 PAD_CFG_GPI_TRIG_OWN(GPP_G4, NONE, DEEP, OFF, DRIVER),
420 /* GPP_G5 - GPIO */
421 PAD_CFG_GPI_TRIG_OWN(GPP_G5, NONE, DEEP, OFF, DRIVER),
422 /* GPP_G6 - GPIO */
423 PAD_CFG_GPI_TRIG_OWN(GPP_G6, NONE, DEEP, OFF, DRIVER),
424 /* GPP_G7 - GPIO */
425 PAD_CFG_GPI_TRIG_OWN(GPP_G7, NONE, DEEP, OFF, DRIVER),
426 /* GPP_G8 - GPIO */
427 PAD_CFG_GPI_TRIG_OWN(GPP_G8, NONE, DEEP, OFF, DRIVER),
428 /* GPP_G9 - GPIO */
429 PAD_CFG_GPI_TRIG_OWN(GPP_G9, NONE, DEEP, OFF, DRIVER),
430 /* GPP_G10 - GPIO */
431 PAD_CFG_GPI_TRIG_OWN(GPP_G10, NONE, DEEP, OFF, DRIVER),
432 /* GPP_G11 - GPIO */
433 PAD_CFG_GPI_TRIG_OWN(GPP_G11, NONE, DEEP, OFF, DRIVER),
434 /* GPP_G12 - GPIO */
435 PAD_CFG_GPI_TRIG_OWN(GPP_G12, NONE, DEEP, OFF, DRIVER),
436 /* GPP_G13 - GPIO */
437 PAD_CFG_GPI_TRIG_OWN(GPP_G13, NONE, DEEP, OFF, DRIVER),
438 /* GPP_G14 - GPIO */
439 PAD_CFG_GPI_TRIG_OWN(GPP_G14, NONE, DEEP, OFF, DRIVER),
440 /* GPP_G15 - GPIO */
441 PAD_CFG_GPI_TRIG_OWN(GPP_G15, NONE, DEEP, OFF, DRIVER),
442 /* GPP_G16 - GPIO */
443 PAD_CFG_GPI_TRIG_OWN(GPP_G16, NONE, DEEP, OFF, DRIVER),
444 /* GPP_G17 - ADR_COMPLETE */
445 PAD_CFG_NF(GPP_G17, NONE, DEEP, NF1),
446 /* GPP_G18 - NMI# */
447 PAD_CFG_NF(GPP_G18, NONE, DEEP, NF1),
448 /* GPP_G19 - SMI# */
449 PAD_CFG_NF(GPP_G19, NONE, DEEP, NF1),
450 /* GPP_G20 - RESERVED */
451 /* GPP_G21 - GPIO */
452 PAD_CFG_GPI_TRIG_OWN(GPP_G21, NONE, DEEP, OFF, DRIVER),
453 /* GPP_G22 - GPIO */
454 PAD_CFG_GPO(GPP_G22, 1, DEEP),
455 /* GPP_G23 - GPIO */
456 PAD_CFG_GPI_TRIG_OWN(GPP_G23, NONE, DEEP, OFF, DRIVER),
458 /* ------- GPIO Group GPP_H ------- */
459 /* GPP_H0 - GPIO */
460 PAD_CFG_GPI_TRIG_OWN(GPP_H0, NONE, DEEP, OFF, DRIVER),
461 /* GPP_H1 - GPIO */
462 PAD_CFG_GPI_TRIG_OWN(GPP_H1, NONE, DEEP, OFF, DRIVER),
463 /* GPP_H2 - GPIO */
464 PAD_CFG_GPI_TRIG_OWN(GPP_H2, NONE, DEEP, OFF, DRIVER),
465 /* GPP_H3 - GPIO */
466 PAD_CFG_GPI_TRIG_OWN(GPP_H3, NONE, DEEP, OFF, DRIVER),
467 /* GPP_H4 - GPIO */
468 PAD_CFG_GPI_TRIG_OWN(GPP_H4, NONE, DEEP, OFF, DRIVER),
469 /* GPP_H5 - RESERVED */
470 /* GPP_H6 - GPIO */
471 PAD_CFG_GPI_TRIG_OWN(GPP_H6, NONE, DEEP, OFF, DRIVER),
472 /* GPP_H7 - GPIO */
473 PAD_CFG_GPI_TRIG_OWN(GPP_H7, NONE, DEEP, OFF, DRIVER),
474 /* GPP_H8 - GPIO */
475 PAD_CFG_GPI_TRIG_OWN(GPP_H8, NONE, DEEP, OFF, DRIVER),
476 /* GPP_H9 - GPIO */
477 PAD_CFG_GPI_TRIG_OWN(GPP_H9, NONE, DEEP, OFF, DRIVER),
478 /* GPP_H10 - RESERVED */
479 /* GPP_H11 - RESERVED */
480 /* GPP_H12 - GPIO */
481 PAD_CFG_GPI_TRIG_OWN(GPP_H12, NONE, DEEP, OFF, DRIVER),
482 /* GPP_H13 - RESERVED */
483 /* GPP_H14 - RESERVED */
484 /* GPP_H15 - GPIO */
485 PAD_CFG_GPI_TRIG_OWN(GPP_H15, NONE, PLTRST, OFF, DRIVER),
486 /* GPP_H16 - RESERVED */
487 /* GPP_H17 - RESERVED */
488 /* GPP_H18 - GPIO */
489 PAD_CFG_GPI_TRIG_OWN(GPP_H18, NONE, DEEP, OFF, DRIVER),
490 /* GPP_H19 - GPIO */
491 PAD_CFG_GPI_TRIG_OWN(GPP_H19, NONE, PLTRST, OFF, DRIVER),
492 /* GPP_H20 - GPIO */
493 PAD_CFG_GPI_TRIG_OWN(GPP_H20, NONE, DEEP, OFF, DRIVER),
494 /* GPP_H21 - GPIO */
495 PAD_CFG_GPI_TRIG_OWN(GPP_H21, NONE, DEEP, OFF, DRIVER),
496 /* GPP_H22 - GPIO */
497 PAD_CFG_GPI_TRIG_OWN(GPP_H22, NONE, DEEP, OFF, DRIVER),
498 /* GPP_H23 - GPIO */
499 PAD_CFG_GPI_TRIG_OWN(GPP_H23, NONE, DEEP, OFF, DRIVER),
501 /* ------- GPIO Group GPP_L ------- */
502 /* GPP_L0 - RESERVED */
503 /* GPP_L1 - CSME_INTR_OUT */
504 PAD_CFG_NF(GPP_L1, NONE, DEEP, NF1),
505 /* GPP_L2 - GPIO */
506 PAD_CFG_GPI_TRIG_OWN(GPP_L2, NONE, DEEP, OFF, DRIVER),
507 /* GPP_L3 - GPIO */
508 PAD_CFG_GPI_TRIG_OWN(GPP_L3, NONE, DEEP, OFF, DRIVER),
509 /* GPP_L4 - GPIO */
510 PAD_CFG_GPI_TRIG_OWN(GPP_L4, NONE, DEEP, OFF, DRIVER),
511 /* GPP_L5 - GPIO */
512 PAD_CFG_GPI_TRIG_OWN(GPP_L5, NONE, DEEP, OFF, DRIVER),
513 /* GPP_L6 - GPIO */
514 PAD_CFG_GPI_TRIG_OWN(GPP_L6, NONE, DEEP, OFF, DRIVER),
515 /* GPP_L7 - GPIO */
516 PAD_CFG_GPI_TRIG_OWN(GPP_L7, NONE, DEEP, OFF, DRIVER),
517 /* GPP_L8 - GPIO */
518 PAD_CFG_GPI_TRIG_OWN(GPP_L8, NONE, DEEP, OFF, DRIVER),
519 /* GPP_L9 - GPIO */
520 PAD_CFG_GPI_TRIG_OWN(GPP_L9, NONE, DEEP, OFF, DRIVER),
521 /* GPP_L10 - GPIO */
522 PAD_CFG_GPI_TRIG_OWN(GPP_L10, NONE, DEEP, OFF, DRIVER),
523 /* GPP_L11 - GPIO */
524 PAD_CFG_GPI_TRIG_OWN(GPP_L11, NONE, DEEP, OFF, DRIVER),
525 /* GPP_L12 - GPIO */
526 PAD_CFG_GPI_TRIG_OWN(GPP_L12, NONE, DEEP, OFF, DRIVER),
527 /* GPP_L13 - GPIO */
528 PAD_CFG_GPI_TRIG_OWN(GPP_L13, NONE, DEEP, OFF, DRIVER),
529 /* GPP_L14 - GPIO */
530 PAD_CFG_GPI_TRIG_OWN(GPP_L14, NONE, DEEP, OFF, DRIVER),
531 /* GPP_L15 - GPIO */
532 PAD_CFG_GPI_TRIG_OWN(GPP_L15, NONE, DEEP, OFF, DRIVER),
533 /* GPP_L16 - GPIO */
534 PAD_CFG_GPI_TRIG_OWN(GPP_L16, NONE, DEEP, OFF, DRIVER),
535 /* GPP_L17 - GPIO */
536 PAD_CFG_GPI_TRIG_OWN(GPP_L17, NONE, DEEP, OFF, DRIVER),
537 /* GPP_L18 - GPIO */
538 PAD_CFG_GPI_TRIG_OWN(GPP_L18, NONE, DEEP, OFF, DRIVER),
539 /* GPP_L19 - GPIO */
540 PAD_CFG_GPI_TRIG_OWN(GPP_L19, NONE, DEEP, OFF, DRIVER),
543 #endif /* CFG_PCH_GPIO_H */