coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lewisburg_pch_gpio_defs.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef LEWISBURG_GPIO_DEFS_H
4
#define LEWISBURG_GPIO_DEFS_H
5
6
#ifndef __ACPI__
7
#include <
stddef.h
>
8
#endif
9
10
/* GPIO Community 0 */
11
#define COMM_0 0
12
#define GPP_A 0x0
13
#define GPP_B 0x1
14
#define GPP_F 0x2
15
/* GPIO Community 1 */
16
#define COMM_1 1
17
#define GPP_C 0x3
18
#define GPP_D 0x4
19
#define GPP_E 0x5
20
/* GPIO Community 3 */
21
#define COMM_3 2
22
#define GPP_I 0x6
23
/* GPIO Community 4 */
24
#define COMM_4 3
25
#define GPP_J 0x7
26
#define GPP_K 0x8
27
/* GPIO Community 5 */
28
#define COMM_5 4
29
#define GPP_G 0x9
30
#define GPP_H 0xA
31
#define GPP_L 0xB
32
/* GPIO Community 2 */
33
#define COMM_2 5
34
#define GPD 0xC
35
36
#define GPIO_MAX_NUM_PER_GROUP 24
37
38
/* Group A */
39
#define GPP_A0 0
40
#define GPP_A1 1
41
#define GPP_A2 2
42
#define GPP_A3 3
43
#define GPP_A4 4
44
#define GPP_A5 5
45
#define GPP_A6 6
46
#define GPP_A7 7
47
#define GPP_A8 8
48
#define GPP_A9 9
49
#define GPP_A10 10
50
#define GPP_A11 11
51
#define GPP_A12 12
52
#define GPP_A13 13
53
#define GPP_A14 14
54
#define GPP_A15 15
55
#define GPP_A16 16
56
#define GPP_A17 17
57
#define GPP_A18 18
58
#define GPP_A19 19
59
#define GPP_A20 20
60
#define GPP_A21 21
61
#define GPP_A22 22
62
#define GPP_A23 23
63
64
/* Group B */
65
#define GPP_B0 24
66
#define GPP_B1 25
67
#define GPP_B2 26
68
#define GPP_B3 27
69
#define GPP_B4 28
70
#define GPP_B5 29
71
#define GPP_B6 30
72
#define GPP_B7 31
73
#define GPP_B8 32
74
#define GPP_B9 33
75
#define GPP_B10 34
76
#define GPP_B11 35
77
#define GPP_B12 36
78
#define GPP_B13 37
79
#define GPP_B14 38
80
#define GPP_B15 39
81
#define GPP_B16 40
82
#define GPP_B17 41
83
#define GPP_B18 42
84
#define GPP_B19 43
85
#define GPP_B20 44
86
#define GPP_B21 45
87
#define GPP_B22 46
88
#define GPP_B23 47
89
90
/* Group F */
91
#define GPP_F0 48
92
#define GPP_F1 49
93
#define GPP_F2 50
94
#define GPP_F3 51
95
#define GPP_F4 52
96
#define GPP_F5 53
97
#define GPP_F6 54
98
#define GPP_F7 55
99
#define GPP_F8 56
100
#define GPP_F9 57
101
#define GPP_F10 58
102
#define GPP_F11 59
103
#define GPP_F12 60
104
#define GPP_F13 61
105
#define GPP_F14 62
106
#define GPP_F15 63
107
#define GPP_F16 64
108
#define GPP_F17 65
109
#define GPP_F18 66
110
#define GPP_F19 67
111
#define GPP_F20 68
112
#define GPP_F21 69
113
#define GPP_F22 70
114
#define GPP_F23 71
115
116
#define NUM_GPIO_COM0_PADS (GPP_F23 - GPP_A0 + 1)
117
118
/* Community 1 */
119
/* Group C */
120
#define GPP_C0 72
121
#define GPP_C1 73
122
#define GPP_C2 74
123
#define GPP_C3 75
124
#define GPP_C4 76
125
#define GPP_C5 77
126
#define GPP_C6 78
127
#define GPP_C7 79
128
#define GPP_C8 80
129
#define GPP_C9 81
130
#define GPP_C10 82
131
#define GPP_C11 83
132
#define GPP_C12 84
133
#define GPP_C13 85
134
#define GPP_C14 86
135
#define GPP_C15 87
136
#define GPP_C16 88
137
#define GPP_C17 89
138
#define GPP_C18 90
139
#define GPP_C19 91
140
#define GPP_C20 92
141
#define GPP_C21 93
142
#define GPP_C22 94
143
#define GPP_C23 95
144
145
/* Group D */
146
#define GPP_D0 96
147
#define GPP_D1 97
148
#define GPP_D2 98
149
#define GPP_D3 99
150
#define GPP_D4 100
151
#define GPP_D5 101
152
#define GPP_D6 102
153
#define GPP_D7 103
154
#define GPP_D8 104
155
#define GPP_D9 105
156
#define GPP_D10 106
157
#define GPP_D11 107
158
#define GPP_D12 108
159
#define GPP_D13 109
160
#define GPP_D14 110
161
#define GPP_D15 111
162
#define GPP_D16 112
163
#define GPP_D17 113
164
#define GPP_D18 114
165
#define GPP_D19 115
166
#define GPP_D20 116
167
#define GPP_D21 117
168
#define GPP_D22 118
169
#define GPP_D23 119
170
171
/* Group E */
172
#define GPP_E0 120
173
#define GPP_E1 121
174
#define GPP_E2 122
175
#define GPP_E3 123
176
#define GPP_E4 124
177
#define GPP_E5 125
178
#define GPP_E6 126
179
#define GPP_E7 127
180
#define GPP_E8 128
181
#define GPP_E9 129
182
#define GPP_E10 130
183
#define GPP_E11 131
184
#define GPP_E12 132
185
186
#define NUM_GPIO_COM1_PADS (GPP_E12 - GPP_C0 + 1)
187
188
/* Community 3 */
189
/* Group I */
190
#define GPP_I0 133
191
#define GPP_I1 134
192
#define GPP_I2 135
193
#define GPP_I3 136
194
#define GPP_I4 137
195
#define GPP_I5 138
196
#define GPP_I6 139
197
#define GPP_I7 140
198
#define GPP_I8 141
199
#define GPP_I9 142
200
#define GPP_I10 143
201
202
#define NUM_GPIO_COM3_PADS (GPP_I10 - GPP_I0 + 1)
203
204
/* Community 4 */
205
/* Group J */
206
#define GPP_J0 144
207
#define GPP_J1 145
208
#define GPP_J2 146
209
#define GPP_J3 147
210
#define GPP_J4 148
211
#define GPP_J5 149
212
#define GPP_J6 150
213
#define GPP_J7 151
214
#define GPP_J8 152
215
#define GPP_J9 153
216
#define GPP_J10 154
217
#define GPP_J11 155
218
#define GPP_J12 156
219
#define GPP_J13 157
220
#define GPP_J14 158
221
#define GPP_J15 159
222
#define GPP_J16 160
223
#define GPP_J17 161
224
#define GPP_J18 162
225
#define GPP_J19 163
226
#define GPP_J20 164
227
#define GPP_J21 165
228
#define GPP_J22 166
229
#define GPP_J23 167
230
231
/* Group K */
232
#define GPP_K0 168
233
#define GPP_K1 169
234
#define GPP_K2 170
235
#define GPP_K3 171
236
#define GPP_K4 172
237
#define GPP_K5 173
238
#define GPP_K6 174
239
#define GPP_K7 175
240
#define GPP_K8 176
241
#define GPP_K9 177
242
#define GPP_K10 178
243
244
#define NUM_GPIO_COM4_PADS (GPP_K10 - GPP_J0 + 1)
245
246
/* Community 5 */
247
/* Group G */
248
#define GPP_G0 179
249
#define GPP_G1 180
250
#define GPP_G2 181
251
#define GPP_G3 182
252
#define GPP_G4 183
253
#define GPP_G5 184
254
#define GPP_G6 185
255
#define GPP_G7 186
256
#define GPP_G8 187
257
#define GPP_G9 188
258
#define GPP_G10 189
259
#define GPP_G11 190
260
#define GPP_G12 191
261
#define GPP_G13 192
262
#define GPP_G14 193
263
#define GPP_G15 194
264
#define GPP_G16 195
265
#define GPP_G17 196
266
#define GPP_G18 197
267
#define GPP_G19 198
268
#define GPP_G20 199
269
#define GPP_G21 200
270
#define GPP_G22 201
271
#define GPP_G23 202
272
273
/* Group H */
274
#define GPP_H0 203
275
#define GPP_H1 204
276
#define GPP_H2 205
277
#define GPP_H3 206
278
#define GPP_H4 207
279
#define GPP_H5 208
280
#define GPP_H6 209
281
#define GPP_H7 210
282
#define GPP_H8 211
283
#define GPP_H9 212
284
#define GPP_H10 213
285
#define GPP_H11 214
286
#define GPP_H12 215
287
#define GPP_H13 216
288
#define GPP_H14 217
289
#define GPP_H15 218
290
#define GPP_H16 219
291
#define GPP_H17 220
292
#define GPP_H18 221
293
#define GPP_H19 222
294
#define GPP_H20 223
295
#define GPP_H21 224
296
#define GPP_H22 225
297
#define GPP_H23 226
298
299
/* Group L */
300
#define GPP_L0 227
301
#define GPP_L1 228
302
#define GPP_L2 229
303
#define GPP_L3 230
304
#define GPP_L4 231
305
#define GPP_L5 232
306
#define GPP_L6 233
307
#define GPP_L7 234
308
#define GPP_L8 235
309
#define GPP_L9 236
310
#define GPP_L10 237
311
#define GPP_L11 238
312
#define GPP_L12 239
313
#define GPP_L13 240
314
#define GPP_L14 241
315
#define GPP_L15 242
316
#define GPP_L16 243
317
#define GPP_L17 244
318
#define GPP_L18 245
319
#define GPP_L19 246
320
321
#define NUM_GPIO_COM5_PADS (GPP_L19 - GPP_G0 + 1)
322
323
/* Community 2 */
324
/* Group GPD */
325
#define GPD0 247
326
#define GPD1 248
327
#define GPD2 249
328
#define GPD3 250
329
#define GPD4 251
330
#define GPD5 252
331
#define GPD6 253
332
#define GPD7 254
333
#define GPD8 255
334
#define GPD9 256
335
#define GPD10 257
336
#define GPD11 258
337
338
#define NUM_GPIO_COM2_PADS (GPD11 - GPD0 + 1)
339
340
#define GPIO_NUM_PAD_CFG_REGS 2
/* DW0, DW1 */
341
342
#define NUM_GPIO_COMx_GPI_REGS(n) \
343
(ALIGN_UP((n), GPIO_MAX_NUM_PER_GROUP) / GPIO_MAX_NUM_PER_GROUP)
344
345
#define NUM_GPIO_COM0_GPI_REGS NUM_GPIO_COMx_GPI_REGS(NUM_GPIO_COM0_PADS)
346
#define NUM_GPIO_COM1_GPI_REGS NUM_GPIO_COMx_GPI_REGS(NUM_GPIO_COM1_PADS)
347
#define NUM_GPIO_COM2_GPI_REGS NUM_GPIO_COMx_GPI_REGS(NUM_GPIO_COM2_PADS)
348
#define NUM_GPIO_COM3_GPI_REGS NUM_GPIO_COMx_GPI_REGS(NUM_GPIO_COM3_PADS)
349
#define NUM_GPIO_COM4_GPI_REGS NUM_GPIO_COMx_GPI_REGS(NUM_GPIO_COM4_PADS)
350
#define NUM_GPIO_COM5_GPI_REGS NUM_GPIO_COMx_GPI_REGS(NUM_GPIO_COM5_PADS)
351
352
#define NUM_GPI_STATUS_REGS \
353
((NUM_GPIO_COM0_GPI_REGS) + \
354
(NUM_GPIO_COM1_GPI_REGS) + \
355
(NUM_GPIO_COM3_GPI_REGS) + \
356
(NUM_GPIO_COM4_GPI_REGS) + \
357
(NUM_GPIO_COM5_GPI_REGS) + \
358
(NUM_GPIO_COM2_GPI_REGS))
359
360
/*
361
* IOxAPIC IRQs for the GPIOs (This was taken from an intelltool dump)
362
*/
363
364
/* Community 0 */
365
/* Group A */
366
#define GPP_A0_IRQ 0x18
367
#define GPP_A1_IRQ 0x19
368
#define GPP_A2_IRQ 0x1a
369
#define GPP_A3_IRQ 0x1b
370
#define GPP_A4_IRQ 0x1c
371
#define GPP_A5_IRQ 0x1d
372
#define GPP_A6_IRQ 0x1e
373
#define GPP_A7_IRQ 0x1f
374
#define GPP_A8_IRQ 0x20
375
#define GPP_A9_IRQ 0x21
376
#define GPP_A10_IRQ 0x22
377
#define GPP_A11_IRQ 0x23
378
#define GPP_A12_IRQ 0x24
379
#define GPP_A13_IRQ 0x25
380
#define GPP_A14_IRQ 0x26
381
#define GPP_A15_IRQ 0x27
382
#define GPP_A16_IRQ 0x28
383
#define GPP_A17_IRQ 0x29
384
#define GPP_A18_IRQ 0x2a
385
#define GPP_A19_IRQ 0x2b
386
#define GPP_A20_IRQ 0x2c
387
#define GPP_A21_IRQ 0x2d
388
#define GPP_A22_IRQ 0x2e
389
#define GPP_A23_IRQ 0x2f
390
391
/* Group B */
392
#define GPP_B0_IRQ 0x30
393
#define GPP_B1_IRQ 0x31
394
#define GPP_B2_IRQ 0x32
395
#define GPP_B3_IRQ 0x33
396
#define GPP_B4_IRQ 0x34
397
#define GPP_B5_IRQ 0x35
398
#define GPP_B6_IRQ 0x36
399
#define GPP_B7_IRQ 0x37
400
#define GPP_B8_IRQ 0x38
401
#define GPP_B9_IRQ 0x39
402
#define GPP_B10_IRQ 0x3a
403
#define GPP_B11_IRQ 0x3b
404
#define GPP_B12_IRQ 0x3c
405
#define GPP_B13_IRQ 0x3d
406
#define GPP_B14_IRQ 0x3e
407
#define GPP_B15_IRQ 0x3f
408
#define GPP_B16_IRQ 0x40
409
#define GPP_B17_IRQ 0x41
410
#define GPP_B18_IRQ 0x42
411
#define GPP_B19_IRQ 0x43
412
#define GPP_B20_IRQ 0x44
413
#define GPP_B21_IRQ 0x45
414
#define GPP_B22_IRQ 0x46
415
#define GPP_B23_IRQ 0x47
416
417
/* Group F */
418
#define GPP_F0_IRQ 0x55
419
#define GPP_F1_IRQ 0x56
420
#define GPP_F2_IRQ 0x57
421
#define GPP_F3_IRQ 0x58
422
#define GPP_F4_IRQ 0x59
423
#define GPP_F5_IRQ 0x5a
424
#define GPP_F6_IRQ 0x5b
425
#define GPP_F7_IRQ 0x5c
426
#define GPP_F8_IRQ 0x5d
427
#define GPP_F9_IRQ 0x5e
428
#define GPP_F10_IRQ 0x5f
429
#define GPP_F11_IRQ 0x60
430
#define GPP_F12_IRQ 0x61
431
#define GPP_F13_IRQ 0x62
432
#define GPP_F14_IRQ 0x63
433
#define GPP_F15_IRQ 0x64
434
#define GPP_F16_IRQ 0x65
435
#define GPP_F17_IRQ 0x66
436
#define GPP_F18_IRQ 0x67
437
#define GPP_F19_IRQ 0x68
438
#define GPP_F20_IRQ 0x69
439
#define GPP_F21_IRQ 0x6a
440
#define GPP_F22_IRQ 0x6b
441
#define GPP_F23_IRQ 0x6c
442
443
/* Community 1 */
444
/* Group C */
445
#define GPP_C0_IRQ 0x18
446
#define GPP_C1_IRQ 0x19
447
#define GPP_C2_IRQ 0x1a
448
#define GPP_C3_IRQ 0x1b
449
#define GPP_C4_IRQ 0x1c
450
#define GPP_C5_IRQ 0x1d
451
#define GPP_C6_IRQ 0x1e
452
#define GPP_C7_IRQ 0x1f
453
#define GPP_C8_IRQ 0x20
454
#define GPP_C9_IRQ 0x21
455
#define GPP_C10_IRQ 0x22
456
#define GPP_C11_IRQ 0x23
457
#define GPP_C12_IRQ 0x24
458
#define GPP_C13_IRQ 0x25
459
#define GPP_C14_IRQ 0x26
460
#define GPP_C15_IRQ 0x27
461
#define GPP_C16_IRQ 0x28
462
#define GPP_C17_IRQ 0x29
463
#define GPP_C18_IRQ 0x2a
464
#define GPP_C19_IRQ 0x2b
465
#define GPP_C20_IRQ 0x2c
466
#define GPP_C21_IRQ 0x2d
467
#define GPP_C22_IRQ 0x2e
468
#define GPP_C23_IRQ 0x2f
469
470
/* Group D */
471
#define GPP_D0_IRQ 0x30
472
#define GPP_D1_IRQ 0x31
473
#define GPP_D2_IRQ 0x32
474
#define GPP_D3_IRQ 0x33
475
#define GPP_D4_IRQ 0x34
476
#define GPP_D5_IRQ 0x35
477
#define GPP_D6_IRQ 0x36
478
#define GPP_D7_IRQ 0x37
479
#define GPP_D8_IRQ 0x38
480
#define GPP_D9_IRQ 0x39
481
#define GPP_D10_IRQ 0x3a
482
#define GPP_D11_IRQ 0x3b
483
#define GPP_D12_IRQ 0x3c
484
#define GPP_D13_IRQ 0x3d
485
#define GPP_D14_IRQ 0x3e
486
#define GPP_D15_IRQ 0x3f
487
#define GPP_D16_IRQ 0x40
488
#define GPP_D17_IRQ 0x41
489
#define GPP_D18_IRQ 0x42
490
#define GPP_D19_IRQ 0x43
491
#define GPP_D20_IRQ 0x44
492
#define GPP_D21_IRQ 0x45
493
#define GPP_D22_IRQ 0x46
494
#define GPP_D23_IRQ 0x47
495
496
/* Group E */
497
#define GPP_E0_IRQ 0x48
498
#define GPP_E1_IRQ 0x49
499
#define GPP_E2_IRQ 0x4a
500
#define GPP_E3_IRQ 0x4b
501
#define GPP_E4_IRQ 0x4c
502
#define GPP_E5_IRQ 0x4d
503
#define GPP_E6_IRQ 0x4e
504
#define GPP_E7_IRQ 0x4f
505
#define GPP_E8_IRQ 0x50
506
#define GPP_E9_IRQ 0x51
507
#define GPP_E10_IRQ 0x52
508
#define GPP_E11_IRQ 0x53
509
#define GPP_E12_IRQ 0x54
510
511
/* Community 3 */
512
/* Group I */
513
#define GPP_I0_IRQ 0x18
514
#define GPP_I1_IRQ 0x19
515
#define GPP_I2_IRQ 0x1a
516
#define GPP_I3_IRQ 0x1b
517
#define GPP_I4_IRQ 0x1c
518
#define GPP_I5_IRQ 0x1d
519
#define GPP_I6_IRQ 0x1e
520
#define GPP_I7_IRQ 0x1f
521
#define GPP_I8_IRQ 0x20
522
#define GPP_I9_IRQ 0x21
523
#define GPP_I10_IRQ 0x22
524
525
/* Community 4 */
526
/* Group J */
527
#define GPP_J0_IRQ 0x18
528
#define GPP_J1_IRQ 0x19
529
#define GPP_J2_IRQ 0x1a
530
#define GPP_J3_IRQ 0x1b
531
#define GPP_J4_IRQ 0x1c
532
#define GPP_J5_IRQ 0x1d
533
#define GPP_J6_IRQ 0x1e
534
#define GPP_J7_IRQ 0x1f
535
#define GPP_J8_IRQ 0x20
536
#define GPP_J9_IRQ 0x21
537
#define GPP_J10_IRQ 0x22
538
#define GPP_J11_IRQ 0x23
539
#define GPP_J12_IRQ 0x24
540
#define GPP_J13_IRQ 0x25
541
#define GPP_J14_IRQ 0x26
542
#define GPP_J15_IRQ 0x27
543
#define GPP_J16_IRQ 0x28
544
#define GPP_J17_IRQ 0x29
545
#define GPP_J18_IRQ 0x2a
546
#define GPP_J19_IRQ 0x2b
547
#define GPP_J20_IRQ 0x2c
548
#define GPP_J21_IRQ 0x2d
549
#define GPP_J22_IRQ 0x2e
550
#define GPP_J23_IRQ 0x2f
551
552
/* Group K */
553
#define GPP_K0_IRQ 0x30
554
#define GPP_K1_IRQ 0x31
555
#define GPP_K2_IRQ 0x32
556
#define GPP_K3_IRQ 0x33
557
#define GPP_K4_IRQ 0x34
558
#define GPP_K5_IRQ 0x35
559
#define GPP_K6_IRQ 0x36
560
#define GPP_K7_IRQ 0x37
561
#define GPP_K8_IRQ 0x38
562
#define GPP_K9_IRQ 0x39
563
#define GPP_K10_IRQ 0x3a
564
565
/* Community 5 */
566
/* Group G */
567
#define GPP_G0_IRQ 0x6d
568
#define GPP_G1_IRQ 0x6e
569
#define GPP_G2_IRQ 0x6f
570
#define GPP_G3_IRQ 0x70
571
#define GPP_G4_IRQ 0x71
572
#define GPP_G5_IRQ 0x72
573
#define GPP_G6_IRQ 0x73
574
#define GPP_G7_IRQ 0x74
575
#define GPP_G8_IRQ 0x75
576
#define GPP_G9_IRQ 0x76
577
#define GPP_G10_IRQ 0x77
578
#define GPP_G11_IRQ 0x2c
579
#define GPP_G12_IRQ 0x2d
580
#define GPP_G13_IRQ 0x2e
581
#define GPP_G14_IRQ 0x2f
582
#define GPP_G15_IRQ 0x30
583
#define GPP_G16_IRQ 0x31
584
#define GPP_G17_IRQ 0x32
585
#define GPP_G18_IRQ 0x33
586
#define GPP_G19_IRQ 0x34
587
#define GPP_G20_IRQ 0x35
588
#define GPP_G21_IRQ 0x36
589
#define GPP_G22_IRQ 0x37
590
#define GPP_G23_IRQ 0x38
591
592
/* Group H */
593
#define GPP_H0_IRQ 0x39
594
#define GPP_H1_IRQ 0x3a
595
#define GPP_H2_IRQ 0x3b
596
#define GPP_H3_IRQ 0x3c
597
#define GPP_H4_IRQ 0x3d
598
#define GPP_H5_IRQ 0x3e
599
#define GPP_H6_IRQ 0x3f
600
#define GPP_H7_IRQ 0x40
601
#define GPP_H8_IRQ 0x41
602
#define GPP_H9_IRQ 0x42
603
#define GPP_H10_IRQ 0x43
604
#define GPP_H11_IRQ 0x44
605
#define GPP_H12_IRQ 0x45
606
#define GPP_H13_IRQ 0x46
607
#define GPP_H14_IRQ 0x47
608
#define GPP_H15_IRQ 0x48
609
#define GPP_H16_IRQ 0x49
610
#define GPP_H17_IRQ 0x4a
611
#define GPP_H18_IRQ 0x4b
612
#define GPP_H19_IRQ 0x4c
613
#define GPP_H20_IRQ 0x4d
614
#define GPP_H21_IRQ 0x4e
615
#define GPP_H22_IRQ 0x4f
616
#define GPP_H23_IRQ 0x50
617
618
/* Group L */
619
#define GPP_L2_IRQ 0x18
620
#define GPP_L3_IRQ 0x19
621
#define GPP_L4_IRQ 0x1a
622
#define GPP_L5_IRQ 0x1b
623
#define GPP_L6_IRQ 0x1c
624
#define GPP_L7_IRQ 0x1d
625
#define GPP_L8_IRQ 0x1e
626
#define GPP_L9_IRQ 0x1f
627
#define GPP_L10_IRQ 0x20
628
#define GPP_L11_IRQ 0x21
629
#define GPP_L12_IRQ 0x22
630
#define GPP_L13_IRQ 0x23
631
#define GPP_L14_IRQ 0x24
632
#define GPP_L15_IRQ 0x25
633
#define GPP_L16_IRQ 0x26
634
#define GPP_L17_IRQ 0x27
635
#define GPP_L18_IRQ 0x28
636
#define GPP_L19_IRQ 0x29
637
638
/* Community 2 */
639
/* Group GPD */
640
#define GPD0_IRQ 0x18
641
#define GPD1_IRQ 0x19
642
#define GPD2_IRQ 0x1a
643
#define GPD3_IRQ 0x1b
644
#define GPD4_IRQ 0x1c
645
#define GPD5_IRQ 0x1d
646
#define GPD6_IRQ 0x1e
647
#define GPD7_IRQ 0x1f
648
#define GPD8_IRQ 0x20
649
#define GPD9_IRQ 0x21
650
#define GPD10_IRQ 0x22
651
#define GPD11_IRQ 0x23
652
653
/* Register defines */
654
#define GPIO_MISCCFG 0x10
655
#define GPIO_DRIVER_IRQ_ROUTE_MASK 8
656
#define GPIO_DRIVER_IRQ_ROUTE_IRQ14 0
657
#define GPIO_DRIVER_IRQ_ROUTE_IRQ15 8
658
659
#define HOSTSW_OWN_REG_0 0x80
660
#define PAD_CFG_BASE 0x400
661
#define GPI_INT_STS_0 0x100
662
#define GPI_INT_EN_0 0x110
663
#define GPI_SMI_STS_0 0x140
664
#define GPI_SMI_EN_0 0x150
665
#define GPI_NMI_STS_0 0x160
666
#define GPI_NMI_EN_0 0x170
667
668
#endif
/* LEWISBURG_GPIO_DEFS_H */
stddef.h
src
soc
intel
xeon_sp
include
soc
lewisburg_pch_gpio_defs.h
Generated by
1.9.1