1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
|
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2014 - 2017 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _MAINBOARD_GPIO_H
#define _MAINBOARD_GPIO_H
#include <soc/gpio_dnv.h>
#ifndef __ACPI__
const struct dnv_pad_config harcuvar_gpio_table[] = {
// GBE0_SDP0 (GPIO_14)
{NORTH_ALL_GBE0_SDP0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE1_SDP0 (GPIO_15)
{NORTH_ALL_GBE1_SDP0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE2_I2C_CLK (GPIO_16)
{NORTH_ALL_GBE0_SDP1,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE2_I2C_DATA (GPIO_17)
{NORTH_ALL_GBE1_SDP1,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE2_SDP0 (GPIO_18)
{NORTH_ALL_GBE0_SDP2,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE3_SDP0 (GPIO_19)
{NORTH_ALL_GBE1_SDP2,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE3_I2C_CLK (GPIO_20)
{NORTH_ALL_GBE0_SDP3,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE3_I2C_DATA (GPIO_21)
{NORTH_ALL_GBE1_SDP3,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE2_LED0 (GPIO_22)
{NORTH_ALL_GBE2_LED0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE2_LED1 (GPIO_23)
{NORTH_ALL_GBE2_LED1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE0_I2C_CLK (GPIO_24)
{NORTH_ALL_GBE0_I2C_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE0_I2C_DATA (GPIO_25)
{NORTH_ALL_GBE0_I2C_DATA,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE1_I2C_CLK (GPIO_26)
{NORTH_ALL_GBE1_I2C_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE1_I2C_DATA (GPIO_27)
{NORTH_ALL_GBE1_I2C_DATA,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// NCSI_RXD0 (GPIO_28)
{NORTH_ALL_NCSI_RXD0,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// NCSI_CLK_IN (GPIO_29)
{NORTH_ALL_NCSI_CLK_IN,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// NCSI_RXD1 (GPIO_30)
{NORTH_ALL_NCSI_RXD1,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// NCSI_CRS_DV (GPIO_31)
{NORTH_ALL_NCSI_CRS_DV,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// NCSI_ARB_IN (GPIO_32)
{NORTH_ALL_NCSI_ARB_IN,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// NCSI_TX_EN (GPIO_33)
{NORTH_ALL_NCSI_TX_EN,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// NCSI_TXD0 (GPIO_34)
{NORTH_ALL_NCSI_TXD0,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// NCSI_TXD1 (GPIO_35)
{NORTH_ALL_NCSI_TXD1,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// NCSI_ARB_OUT (GPIO_36)
{NORTH_ALL_NCSI_ARB_OUT,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// GBE0_LED0 (GPIO_37)
{NORTH_ALL_GBE0_LED0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// GBE0_LED1 (GPIO_38)
{NORTH_ALL_GBE0_LED1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// GBE1_LED0 (GPIO_39)
{NORTH_ALL_GBE1_LED0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// GBE1_LED1 (GPIO_40)
{NORTH_ALL_GBE1_LED1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// ADR-COMPLETE (GPIO_0)
{NORTH_ALL_GPIO_0,
{GpioPadModeNative3, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PCIE_CLKREQ0_N (GPIO_41)
{NORTH_ALL_PCIE_CLKREQ0_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PCIE_CLKREQ1_N (GPIO_42)
{NORTH_ALL_PCIE_CLKREQ1_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PCIE_CLKREQ2_N (GPIO_43)
{NORTH_ALL_PCIE_CLKREQ2_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PCIE_CLKREQ3_N (GPIO_44)
{NORTH_ALL_PCIE_CLKREQ3_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// FORCE_POWER (GPIO_45)
{NORTH_ALL_PCIE_CLKREQ4_N,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE_MDC (GPIO_1)
{NORTH_ALL_GPIO_1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE_MDIO (GPIO_2)
{NORTH_ALL_GPIO_2,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SVID_ALERT_N (GPIO_47)
{NORTH_ALL_SVID_ALERT_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SVID_DATA (GPIO_48)
{NORTH_ALL_SVID_DATA,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SVID_CLK (GPIO_49)
{NORTH_ALL_SVID_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// THERMTRIP_N (GPIO_50)
{NORTH_ALL_THERMTRIP_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PROCHOT_N (GPIO_51)
{NORTH_ALL_PROCHOT_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// MEMHOT_N (GPIO_52)
{NORTH_ALL_MEMHOT_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT_CLK0 (GPIO_53)
{SOUTH_DFX_DFX_PORT_CLK0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT_CLK1 (GPIO_54)
{SOUTH_DFX_DFX_PORT_CLK1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT0 (GPIO_55)
{SOUTH_DFX_DFX_PORT0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT1 (GPIO_56)
{SOUTH_DFX_DFX_PORT1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT2 (GPIO_57)
{SOUTH_DFX_DFX_PORT2,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT3 (GPIO_58)
{SOUTH_DFX_DFX_PORT3,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT4 (GPIO_59)
{SOUTH_DFX_DFX_PORT4,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT5 (GPIO_60)
{SOUTH_DFX_DFX_PORT5,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT6 (GPIO_61)
{SOUTH_DFX_DFX_PORT6,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT7 (GPIO_62)
{SOUTH_DFX_DFX_PORT7,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT8 (GPIO_63)
{SOUTH_DFX_DFX_PORT8,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT9 (GPIO_134)
{SOUTH_DFX_DFX_PORT9,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT10 (GPIO_135)
{SOUTH_DFX_DFX_PORT10,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT11 (GPIO_136)
{SOUTH_DFX_DFX_PORT11,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT12 (GPIO_137)
{SOUTH_DFX_DFX_PORT12,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT13 (GPIO_138)
{SOUTH_DFX_DFX_PORT13,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT14 (GPIO_139)
{SOUTH_DFX_DFX_PORT14,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// DFX_PORT15 (GPIO_140)
{SOUTH_DFX_DFX_PORT15,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SPI_TPM_CS_N (GPIO_12)
{SOUTH_GROUP0_GPIO_12,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB5_GBE_ALRT_N (GPIO_13)
{SOUTH_GROUP0_SMB5_GBE_ALRT_N,
{GpioPadModeNative3, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// SMI (GPIO_98)
{SOUTH_GROUP0_PCIE_CLKREQ5_N,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntSmi, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// NMI (GPIO_99)
{SOUTH_GROUP0_PCIE_CLKREQ6_N,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntNmi, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE3_LED0 (GPIO_100)
{SOUTH_GROUP0_PCIE_CLKREQ7_N,
{GpioPadModeNative3, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// UART0_RXD (GPIO_101)
{SOUTH_GROUP0_UART0_RXD,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// UART0_TXD (GPIO_102)
{SOUTH_GROUP0_UART0_TXD,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB5_GBE_CLK (GPIO_103)
{SOUTH_GROUP0_SMB5_GBE_CLK,
{GpioPadModeNative3, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// SMB_GBE_DATA (GPIO_104)
{SOUTH_GROUP0_SMB5_GBE_DATA,
{GpioPadModeNative3, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetPwrGood, GpioTermDefault, GpioLockDefault} },
// ERROR2_N (GPIO_105)
{SOUTH_GROUP0_ERROR2_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// ERROR1_N (GPIO_106)
{SOUTH_GROUP0_ERROR1_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// ERROR0_N (GPIO_107)
{SOUTH_GROUP0_ERROR0_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// IERR_N (CATERR_N) (GPIO_108)
{SOUTH_GROUP0_IERR_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// MCERR_N (GPIO_109)
{SOUTH_GROUP0_MCERR_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB0_LEG_CLK (GPIO_110)
{SOUTH_GROUP0_SMB0_LEG_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB0_LEG_DATA (GPIO_111)
{SOUTH_GROUP0_SMB0_LEG_DATA,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB0_LEG_ALRT_N (GPIO_112)
{SOUTH_GROUP0_SMB0_LEG_ALRT_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB1_HOST_DATA (GPIO_113)
{SOUTH_GROUP0_SMB1_HOST_DATA,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB1_HOST_CLK (GPIO_114)
{SOUTH_GROUP0_SMB1_HOST_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB2_PECI_DATA (GPIO_115)
{SOUTH_GROUP0_SMB2_PECI_DATA,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB2_PECI_CLK (GPIO_116)
{SOUTH_GROUP0_SMB2_PECI_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB4_CSME0_DATA (GPIO_117)
{SOUTH_GROUP0_SMB4_CSME0_DATA,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB4_CSME0_CLK (GPIO_118)
{SOUTH_GROUP0_SMB4_CSME0_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB4_CSME0_ALRT_N (GPIO_119)
{SOUTH_GROUP0_SMB4_CSME0_ALRT_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// USB_OC0_N (GPIO_120)
{SOUTH_GROUP0_USB_OC0_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// FLEX_CLK_SE0 (GPIO_121)
{SOUTH_GROUP0_FLEX_CLK_SE0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// FLEX_CLK_SE1 (GPIO_122)
{SOUTH_GROUP0_FLEX_CLK_SE1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// GBE3_LED1 (GPIO_4)
{SOUTH_GROUP0_GPIO_4,
{GpioPadModeNative3, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB3_IE0_CLK (GPIO_5)
{SOUTH_GROUP0_GPIO_5,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB3_IE0_DATA (GPIO_6)
{SOUTH_GROUP0_GPIO_6,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB3_IE0_ALERT_N (GPIO_7)
{SOUTH_GROUP0_GPIO_7,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SATA0_LED (GPIO_90)
{SOUTH_GROUP0_SATA0_LED_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SATA1_LED (GPIO_91)
{SOUTH_GROUP0_SATA1_LED_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SATA_PDETECT0 (GPIO_92)
{SOUTH_GROUP0_SATA_PDETECT0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SATA_PDETECT1 (GPIO_93)
{SOUTH_GROUP0_SATA_PDETECT1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// UART1_RTS (GPIO_94)
{SOUTH_GROUP0_SATA0_SDOUT,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// UART1_CTS (GPIO_95)
{SOUTH_GROUP0_SATA1_SDOUT,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// UART1_RXD (GPIO_96)
{SOUTH_GROUP0_UART1_RXD,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// UART1_TXD (GPIO_97)
{SOUTH_GROUP0_UART1_TXD,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB6_CSME1_DATA (GPIO_8)
{SOUTH_GROUP0_GPIO_8,
{GpioPadModeNative3, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB6_CSME1_CLK (GPIO_9)
{SOUTH_GROUP0_GPIO_9,
{GpioPadModeNative3, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// TCK (GPIO_141)
{SOUTH_GROUP0_TCK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// TRST_N (GPIO_142)
{SOUTH_GROUP0_TRST_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// TMS (GPIO_143)
{SOUTH_GROUP0_TMS,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// TDI (GPIO_144)
{SOUTH_GROUP0_TDI,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// TDO (GPIO_145)
{SOUTH_GROUP0_TDO,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// CX_PRDY_N (GPIO_146)
{SOUTH_GROUP0_CX_PRDY_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// CX-PREQ_N (GPIO_147)
{SOUTH_GROUP0_CX_PREQ_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// ME_RECVR_HDR (GPIO_148)
{SOUTH_GROUP0_CTBTRIGINOUT,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// ADV_DBG_DFX_HDR (GPIO_149)
{SOUTH_GROUP0_CTBTRIGOUT,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LAD2_SPI_IRQ_N (GPIO_150)
{SOUTH_GROUP0_DFX_SPARE2,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB_PECI_ALRT_N (GPIO_151)
{SOUTH_GROUP0_DFX_SPARE3,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SMB_CSME1_ALRT_N (GPIO_152)
{SOUTH_GROUP0_DFX_SPARE4,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SUSPWRDNACK (GPIO_79)
{SOUTH_GROUP1_SUSPWRDNACK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PMU_SUSCLK (GPIO_80)
{SOUTH_GROUP1_PMU_SUSCLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// ADR_TRIGGER_N (GPIO_81)
{SOUTH_GROUP1_ADR_TRIGGER,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PMU_SLP_S45_N (GPIO_82)
{SOUTH_GROUP1_PMU_SLP_S45_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PMU_SLP_S3_N (GPIO_83)
{SOUTH_GROUP1_PMU_SLP_S3_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PMU_WAKE_N (GPIO_84)
{SOUTH_GROUP1_PMU_WAKE_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PMU_PWRBTN_N (GPIO_85)
{SOUTH_GROUP1_PMU_PWRBTN_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PMU_RESETBUTTON_N (GPIO_86)
{SOUTH_GROUP1_PMU_RESETBUTTON_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PMU_PLTRST_N (GPIO_87)
{SOUTH_GROUP1_PMU_PLTRST_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// PMU_SUS_STAT_N (GPIO_88)
{SOUTH_GROUP1_SUS_STAT_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// TDB_CIO_PLUG_EVENT (GPIO_89)
{SOUTH_GROUP1_SLP_S0IX_N,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SPI_CS0_N (GPIO_72)
{SOUTH_GROUP1_SPI_CS0_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SPI_CS1_N (GPIO_73)
{SOUTH_GROUP1_SPI_CS1_N,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SPI_MOSI_IO0 (GPIO_74)
{SOUTH_GROUP1_SPI_MOSI_IO0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SPI_MISO_IO1 (GPIO_75)
{SOUTH_GROUP1_SPI_MISO_IO1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SPI_IO2 (GPIO_76)
{SOUTH_GROUP1_SPI_IO2,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SPI_IO3 (GPIO_77)
{SOUTH_GROUP1_SPI_IO3,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// SPI_CLK (GPIO_78)
{SOUTH_GROUP1_SPI_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_AD0 (GPIO_64)
{SOUTH_GROUP1_ESPI_IO0,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_AD1 (GPIO_65)
{SOUTH_GROUP1_ESPI_IO1,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_AD2 (GPIO_66)
{SOUTH_GROUP1_ESPI_IO2,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_AD3 (GPIO_67)
{SOUTH_GROUP1_ESPI_IO3,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_FRAME_N (GPIO_68)
{SOUTH_GROUP1_ESPI_CS0_N,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_CLKOUT0 (GPIO_69)
{SOUTH_GROUP1_ESPI_CLK,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_CLKOUT1 (GPIO_70)
{SOUTH_GROUP1_ESPI_RST_N,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_CLKRUN_N (GPIO_71)
{SOUTH_GROUP1_ESPI_ALRT0_N,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// MFG_MODE_HDR (GPIO_10)
{SOUTH_GROUP1_GPIO_10,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirIn, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// LPC_SERIRQ (GPIO_11)
{SOUTH_GROUP1_GPIO_11,
{GpioPadModeNative2, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// EMMC-CMD (GPIO_123)
{SOUTH_GROUP1_EMMC_CMD,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// EMMC-CSTROBE (GPIO_124)
{SOUTH_GROUP1_EMMC_STROBE,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
// EMMC-CLK (GPIO_125)
{SOUTH_GROUP1_EMMC_CLK,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpd20K, GpioLockDefault} },
// EMMC-D0 (GPIO_126)
{SOUTH_GROUP1_EMMC_D0,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// EMMC-D1 (GPIO_127)
{SOUTH_GROUP1_EMMC_D1,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// EMMC-D2 (GPIO_128)
{SOUTH_GROUP1_EMMC_D2,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// EMMC-D3 (GPIO_129)
{SOUTH_GROUP1_EMMC_D3,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// EMMC-D4 (GPIO_130)
{SOUTH_GROUP1_EMMC_D4,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// EMMC-D5 (GPIO_131)
{SOUTH_GROUP1_EMMC_D5,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// EMMC-D6 (GPIO_132)
{SOUTH_GROUP1_EMMC_D6,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// EMMC-D7 (GPIO_133)
{SOUTH_GROUP1_EMMC_D7,
{GpioPadModeNative1, GpioHostOwnGpio, GpioDirInOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermWpu20K, GpioLockDefault} },
// IE_ROM GPIO (GPIO_3)
{SOUTH_GROUP1_GPIO_3,
{GpioPadModeGpio, GpioHostOwnGpio, GpioDirOut, GpioOutDefault,
GpioIntDefault, GpioResetDefault, GpioTermDefault, GpioLockDefault} },
};
#endif
#endif /* _MAINBOARD_GPIO_H */
|