Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  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
/* $NetBSD: igpioreg.h,v 1.8 2023/01/07 11:15:00 msaitoh Exp $ */

/*
 * Copyright (c) 2021 Emmanuel Dreyfus
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef _IGPIOREG_H
#define _IGPIOREG_H

#define IGPIO_REVID	0x0000
#define IGPIO_CAPLIST	0x0004
#define IGPIO_PADBAR	0x000c

#define IGPIO_PADCFG0	0x0000

#define IGPIO_PADCFG0_RXEVCFG_SHIFT           25
#define IGPIO_PADCFG0_RXEVCFG_MASK            __BITS(26, 25)
#define IGPIO_PADCFG0_RXEVCFG_LEVEL           0
#define IGPIO_PADCFG0_RXEVCFG_EDGE            1
#define IGPIO_PADCFG0_RXEVCFG_DISABLED        2
#define IGPIO_PADCFG0_RXEVCFG_EDGE_BOTH       3
#define IGPIO_PADCFG0_PREGFRXSEL              __BIT(24)
#define IGPIO_PADCFG0_RXINV                   __BIT(23)
#define IGPIO_PADCFG0_GPIROUTIOXAPIC          __BIT(20)
#define IGPIO_PADCFG0_GPIROUTSCI              __BIT(19)
#define IGPIO_PADCFG0_GPIROUTSMI              __BIT(18)
#define IGPIO_PADCFG0_GPIROUTNMI              __BIT(17)
#define IGPIO_PADCFG0_PMODE_SHIFT             10
#define IGPIO_PADCFG0_PMODE_MASK              __BITS(13, 10)
#define IGPIO_PADCFG0_PMODE_GPIO              0
#define IGPIO_PADCFG0_GPIORXDIS               __BIT(9)
#define IGPIO_PADCFG0_GPIOTXDIS               __BIT(8)
#define IGPIO_PADCFG0_GPIORXSTATE             __BIT(1)
#define IGPIO_PADCFG0_GPIOTXSTATE             __BIT(0)

#define IGPIO_PADCFG1	0x0004
#define IGPIO_PADCFG1_TERM_UP                 __BIT(13)
#define IGPIO_PADCFG1_TERM_SHIFT              10
#define IGPIO_PADCFG1_TERM_MASK               __BITS(12, 10)
#define IGPIO_PADCFG1_TERM_20K                __BIT(2)
#define IGPIO_PADCFG1_TERM_5K                 __BIT(1)
#define IGPIO_PADCFG1_TERM_1K                 __BIT(0)
#define IGPIO_PADCFG1_TERM_833                (__BIT(1) | BIT(0))

#define IGPIO_CAPLIST_ID_GPIO_HW_INFO	1
#define IGPIO_CAPLIST_ID_PWM		2
#define IGPIO_CAPLIST_ID_BLINK		3
#define IGPIO_CAPLIST_ID_EXP		4


#define IGPIO_PINCTRL_FEATURE_DEBOUNCE		0x001
#define IGPIO_PINCTRL_FEATURE_1K_PD		0x002
#define IGPIO_PINCTRL_FEATURE_GPIO_HW_INFO	0x004
#define IGPIO_PINCTRL_FEATURE_PWM		0x010
#define IGPIO_PINCTRL_FEATURE_BLINK		0x020
#define IGPIO_PINCTRL_FEATURE_EXP		0x040

struct igpio_bank_setup {
	const char *ibs_acpi_hid;
	int ibs_barno;
	int ibs_first_pin;
	int ibs_last_pin;
	int ibs_gpi_is;		/* Interrupt Status */
	int ibs_gpi_ie;		/* Interrupt Enable */
};

struct igpio_pin_group {
	const char *ipg_acpi_hid;
	int ipg_groupno;
	int ipg_first_pin;
	const char *ipg_name;
};

struct igpio_bank_setup igpio_bank_setup[] = {
	/* Sunrisepoint-LP */
	{ "INT344B",    0,   0,  47, 0x100, 0x120 },
	{ "INT344B",    1,  48, 119, 0x100, 0x120 },
	{ "INT344B",    2, 120, 151, 0x100, 0x120 },

	/* Coffee Lake-S (Same as Sunrisepoint-H(INT345D)) */
	{ "INT3451",    0,   0,  47, 0x100, 0x120 },
	{ "INT3451",    1,  48, 180, 0x100, 0x120 },
	{ "INT3451",    2, 181, 191, 0x100, 0x120 },

	/* Sunrisepoint-H */
	{ "INT345D",    0,   0,  47, 0x100, 0x120 },
	{ "INT345D",    1,  48, 180, 0x100, 0x120 },
	{ "INT345D",    2, 181, 191, 0x100, 0x120 },

	/* Baytrail XXX GPI_IS and GPI_IE */
	{ "INT33B2",    0,   0, 101, 0x000, 0x000 },
	{ "INT33FC",    0,   0, 101, 0x000, 0x000 },

	/* Lynxpoint XXX GPI_IS and GPI_IE */
	{ "INT33C7",    0,   0,  94, 0x000, 0x000 },
	{ "INT3437",    0,   0,  94, 0x000, 0x000 },

	/* Cannon Lake-H */
	{ "INT3450",    0,   0,  50, 0x100, 0x120 },
	{ "INT3450",    1,  51, 154, 0x100, 0x120 },
	{ "INT3450",    2, 155, 248, 0x100, 0x120 },
	{ "INT3450",    3, 249, 298, 0x100, 0x120 },

	/* Cannon Lake-LP */
	{ "INT34BB",    0,   0,  67, 0x100, 0x120 },
	{ "INT34BB",    1,  68, 180, 0x100, 0x120 },
	{ "INT34BB",    2, 181, 243, 0x100, 0x120 },

	/* Ice Lake-LP */
	{ "INT3455",    0,   0,  58, 0x100, 0x110 },
	{ "INT3455",    1,  59, 152, 0x100, 0x110 },
	{ "INT3455",    2, 153, 215, 0x100, 0x110 },
	{ "INT3455",    3, 216, 240, 0x100, 0x110 },

	/* Ice Lake-N */
	{ "INT34C3",    0,   0,  71, 0x100, 0x120 },
	{ "INT34C3",    1,  72, 174, 0x100, 0x120 },
	{ "INT34C3",    2, 175, 204, 0x100, 0x120 },
	{ "INT34C3",    3, 205, 212, 0x100, 0x120 },

	/* Lakefield */
	{ "INT34C4",    0,   0,  59, 0x100, 0x110 },
	{ "INT34C4",    1,  60, 148, 0x100, 0x110 },
	{ "INT34C4",    2, 149, 237, 0x100, 0x110 },
	{ "INT34C4",    3, 238, 266, 0x100, 0x110 },

	/* Tiger Lake-LP */
	{ "INT34C5",    0,   0,  66, 0x100, 0x120 },
	{ "INT34C5",    1,  67, 170, 0x100, 0x120 },
	{ "INT34C5",    2, 171, 259, 0x100, 0x120 },
	{ "INT34C5",    3, 260, 276, 0x100, 0x120 },

	/* Alder Lake-P (Same as Tiger Lake-LP(INT34C5)) */
	{ "INTC1055",   0,   0,  66, 0x100, 0x120 },
	{ "INTC1055",   1,  67, 170, 0x100, 0x120 },
	{ "INTC1055",   2, 171, 259, 0x100, 0x120 },
	{ "INTC1055",   3, 260, 276, 0x100, 0x120 },

	/* Tiger Lake-H */
	{ "INT34C6",    0,   0,  78, 0x100, 0x120 },
	{ "INT34C6",    1,  79, 180, 0x100, 0x120 },
	{ "INT34C6",    2, 181, 217, 0x100, 0x120 },
	{ "INT34C6",    3, 218, 266, 0x100, 0x120 },
	{ "INT34C6",    4, 267, 290, 0x100, 0x120 },

	/* Jasper Lake */
	{ "INT34C8",    0,   0,  91, 0x100, 0x120 },
	{ "INT34C8",    1,  92, 194, 0x100, 0x120 },
	{ "INT34C8",    2, 195, 224, 0x100, 0x120 },
	{ "INT34C8",    3, 225, 232, 0x100, 0x120 },

	/* Alder Lake-S */
	{ "INTC1056",   0,   0,  94, 0x200, 0x220 },
	{ "INTC1056",   1,  95, 150, 0x200, 0x220 },
	{ "INTC1056",   2, 151, 199, 0x200, 0x220 },
	{ "INTC1056",   3, 200, 269, 0x200, 0x220 },
	{ "INTC1056",   4, 270, 303, 0x200, 0x220 },

	/* Alder Lake-N */
	{ "INTC1057",   0,   0,  66, 0x100, 0x120 },
	{ "INTC1057",   1,  67, 168, 0x100, 0x120 },
	{ "INTC1057",   2, 169, 248, 0x100, 0x120 },
	{ "INTC1057",   3, 249, 256, 0x100, 0x120 },

	/* Raptor Lake-S (Same as Alder Lake-S(INTC1056)) */
	{ "INTC1085",   0,   0,  94, 0x200, 0x220 },
	{ "INTC1085",   1,  95, 150, 0x200, 0x220 },
	{ "INTC1085",   2, 151, 199, 0x200, 0x220 },
	{ "INTC1085",   3, 200, 269, 0x200, 0x220 },
	{ "INTC1085",   4, 270, 303, 0x200, 0x220 },

	/* Lewisburg */
	{ "INT3536",    0,   0,  71, 0x100, 0x110 },
	{ "INT3536",    1,  72, 132, 0x100, 0x110 },
	{ "INT3536",    3, 133, 143, 0x100, 0x110 },
	{ "INT3536",    4, 144, 178, 0x100, 0x110 },
	{ "INT3536",    5, 179, 246, 0x100, 0x110 },

	/* Emmitsburg */
	{ "INTC1071",   0,   0,  65, 0x200, 0x210 },
	{ "INTC1071",   1,  66, 111, 0x200, 0x210 },
	{ "INTC1071",   2, 112, 145, 0x200, 0x210 },
	{ "INTC1071",   3, 146, 183, 0x200, 0x210 },
	{ "INTC1071",   4, 184, 261, 0x200, 0x210 },

	/* Denverton */
	{ "INTC3000",   0,   0,  40, 0x100, 0x120 },
	{ "INTC3000",   1,  41, 153, 0x100, 0x120 },

	/* Cedarfork */
	{ "INTC3001",   0,   0, 167, 0x200, 0x230 },
	{ "INTC3001",   1, 168, 236, 0x200, 0x230 },

	/* Gemini Lake */
	{ "INT3453",    0,   0,  34, 0x100, 0x110 },

#ifdef notyet
	/*
	 * BAR mappings not obvious, further studying required
	 */
	/* Broxton */
	{ "apollolake-pinctrl", 0,   0,   0, 0x100, 0x110 },
	{ "broxton-pinctrl",    0,   0,   0, 0x100, 0x110 },
	{ "INT34D1",    0,   0,   0, 0x100, 0x110 },
	{ "INT3452",    0,   0,   0, 0x100, 0x110 },

	/* Cherryview */
	{ "INT33FF",    0,   0,   0, 0x000, 0x000 },
#endif

	{      NULL,    0,   0,   0,  0x000, 0x000 },
};

struct igpio_pin_group igpio_pin_group[] = {
	/* Sunrisepoint-LP */
	{ "INT344B",   0,   0,  "GPP_A" },
	{ "INT344B",   1,  24,  "GPP_B" },
	{ "INT344B",   0,  48,  "GPP_C" },
	{ "INT344B",   1,  72,  "GPP_D" },
	{ "INT344B",   2,  96,  "GPP_E" },
	{ "INT344B",   0, 120,  "GPP_F" },

	/* Coffee Lake-S (Same as Sunrisepoint-H(INT345D)) */
	{ "INT3451",   0,   0,  "GPP_A" },
	{ "INT3451",   1,  24,  "GPP_B" },
	{ "INT3451",   0,  48,  "GPP_C" },
	{ "INT3451",   1,  72,  "GPP_D" },
	{ "INT3451",   2,  96,  "GPP_E" },
	{ "INT3451",   3, 109,  "GPP_F" },
	{ "INT3451",   4, 133,  "GPP_G" },
	{ "INT3451",   5, 157,  "GPP_H" },
	{ "INT3451",   0, 181,  "GPP_I" },

	/* Sunrisepoint-H */
	{ "INT345D",   0,   0,  "GPP_A" },
	{ "INT345D",   1,  24,  "GPP_B" },
	{ "INT345D",   0,  48,  "GPP_C" },
	{ "INT345D",   1,  72,  "GPP_D" },
	{ "INT345D",   2,  96,  "GPP_E" },
	{ "INT345D",   3, 109,  "GPP_F" },
	{ "INT345D",   4, 133,  "GPP_G" },
	{ "INT345D",   5, 157,  "GPP_H" },
	{ "INT345D",   0, 181,  "GPP_I" },


	/* Baytrail */
	{ "INT33B2",   0, 101,  "A" },
	{ "INT33FC",   0, 101,  "A" },

	/* Lynxpoint */
	{ "INT33C7",   0,  94,  "A" },
	{ "INT3437",   0,  94,  "A" },

	/* Cannon Lake-H */
	{ "INT3450",   0,   0,  "GPP_A" },
	{ "INT3450",   1,  25,  "GPP_B" },
	{ "INT3450",   0,  51,  "GPP_C" },
	{ "INT3450",   1,  75,  "GPP_D" },
	{ "INT3450",   2,  99,  "GPP_G" },
	{ "INT3450",   3, 107,  "AZA" },
	{ "INT3450",   4, 115,  "vGPIO_0" },
	{ "INT3450",   5, 147,  "vGPIO_1" },
	{ "INT3450",   0, 155,  "GPP_K" },
	{ "INT3450",   1, 179,  "GPP_H" },
	{ "INT3450",   2, 203,  "GPP_E" },
	{ "INT3450",   3, 216,  "GPP_F" },
	{ "INT3450",   4, 240,  "SPI" },
	{ "INT3450",   0, 249,  "CPU" },
	{ "INT3450",   1, 260,  "JTAG" },
	{ "INT3450",   2, 269,  "GPP_I" },
	{ "INT3450",   3, 287,  "GPP_J" },

	/* Cannon Lake-LP */
	{ "INT34BB",   0,   0,  "GPP_A" },
	{ "INT34BB",   1,  25,  "GPP_B" },
	{ "INT34BB",   2,  51,  "GPP_G" },
	{ "INT34BB",   3,  59,  "SPI" },
	{ "INT34BB",   0,  68,  "GPP_D" },
	{ "INT34BB",   1,  93,  "GPP_F" },
	{ "INT34BB",   2, 117,  "GPP_H" },
	{ "INT34BB",   3, 141,  "vGPIO_0" },
	{ "INT34BB",   4, 173,  "vGPIO_1" },
	{ "INT34BB",   0, 181,  "GPP_C" },
	{ "INT34BB",   1, 205,  "GPP_E" },
	{ "INT34BB",   2, 229,  "JTAG" },
	{ "INT34BB",   3, 238,  "HVCMOS" },

	/* Ice Lake-LP */
	{ "INT3455",   0,   0,  "GPP_G" },
	{ "INT3455",   1,   8,  "GPP_B" },
	{ "INT3455",   2,  34,  "GPP_A" },
	{ "INT3455",   0,  59,  "GPP_H" },
	{ "INT3455",   1,  83,  "GPP_D" },
	{ "INT3455",   2, 104,  "GPP_F" },
	{ "INT3455",   3, 124,  "vGPIO" },
	{ "INT3455",   0, 153,  "GPP_C" },
	{ "INT3455",   1, 177,  "HVCMOS" },
	{ "INT3455",   2, 183,  "GPP_E" },
	{ "INT3455",   3, 207,  "JTAG" },
	{ "INT3455",   0, 216,  "GPP_R" },
	{ "INT3455",   1, 224,  "GPP_S" },
	{ "INT3455",   2, 232,  "SPI" },

	/* Ice Lake-N */
	{ "INT34C3",   0,   0,  "SPI" },
	{ "INT34C3",   1,   9,  "GPP_B" },
	{ "INT34C3",   2,  35,  "GPP_A" },
	{ "INT34C3",   3,  56,  "GPP_S" },
	{ "INT34C3",   4,  64,  "GPP_R" },
	{ "INT34C3",   0,  72,  "GPP_H" },
	{ "INT34C3",   1,  96,  "GPP_D" },
	{ "INT34C3",   2, 122,  "vGPIO" },
	{ "INT34C3",   3, 151,  "GPP_C" },
	{ "INT34C3",   0, 175,  "HVCMOS" },
	{ "INT34C3",   1, 181,  "GPP_E" },
	{ "INT34C3",   0, 205,  "GPP_G" },

	/* Lakefield */
	{ "INT34C4",   0,   0,  "EAST_0" },
	{ "INT34C4",   1,  32,  "EAST_1" },
	{ "INT34C4",   0,  60,  "NORTHWEST_0" },
	{ "INT34C4",   1,  92,  "NORTHWEST_1" },
	{ "INT34C4",   2, 124,  "NORTHWEST_2" },
	{ "INT34C4",   0, 149,  "WEST_0" },
	{ "INT34C4",   1, 181,  "WEST_1" },
	{ "INT34C4",   2, 213,  "WEST_2" },
	{ "INT34C4",   0, 238,  "SOUTHEAST" },

	/* Tiger Lake-LP */
	{ "INT34C5",   0,   0,  "GPP_B" },
	{ "INT34C5",   1,  26,  "GPP_T" },
	{ "INT34C5",   2,  42,  "GPP_A" },
	{ "INT34C5",   0,  67,  "GPP_S" },
	{ "INT34C5",   1,  75,  "GPP_H" },
	{ "INT34C5",   2,  99,  "GPP_D" },
	{ "INT34C5",   3, 120,  "GPP_U" },
	{ "INT34C5",   4, 144,  "vGPIO" },
	{ "INT34C5",   0, 171,  "GPP_C" },
	{ "INT34C5",   1, 195,  "GPP_F" },
	{ "INT34C5",   2, 220,  "HVCMOS" },
	{ "INT34C5",   3, 226,  "GPP_E" },
	{ "INT34C5",   4, 251,  "JTAG" },
	{ "INT34C5",   0, 260,  "GPP_R" },
	{ "INT34C5",   1, 268,  "SPI" },

	/* Alder Lake-P (Same as Tiger Lake-LP(INT34C5)) */
	{ "INTC1055",  0,   0,  "GPP_B" },
	{ "INTC1055",  1,  26,  "GPP_T" },
	{ "INTC1055",  2,  42,  "GPP_A" },
	{ "INTC1055",  0,  67,  "GPP_S" },
	{ "INTC1055",  1,  75,  "GPP_H" },
	{ "INTC1055",  2,  99,  "GPP_D" },
	{ "INTC1055",  3, 120,  "GPP_U" },
	{ "INTC1055",  4, 144,  "vGPIO" },
	{ "INTC1055",  0, 171,  "GPP_C" },
	{ "INTC1055",  1, 195,  "GPP_F" },
	{ "INTC1055",  2, 220,  "HVCMOS" },
	{ "INTC1055",  3, 226,  "GPP_E" },
	{ "INTC1055",  4, 251,  "JTAG" },
	{ "INTC1055",  0, 260,  "GPP_R" },
	{ "INTC1055",  1, 268,  "SPI" },

	/* Tiger Lake-H */
	{ "INT34C6",   0,   0,  "GPP_A" },
	{ "INT34C6",   1,  25,  "GPP_R" },
	{ "INT34C6",   2,  45,  "GPP_B" },
	{ "INT34C6",   3,  71,  "vGPIO_0" },
	{ "INT34C6",   0,  79,  "GPP_D" },
	{ "INT34C6",   1, 105,  "GPP_C" },
	{ "INT34C6",   2, 129,  "GPP_S" },
	{ "INT34C6",   3, 137,  "GPP_G" },
	{ "INT34C6",   4, 154,  "vGPIO" },
	{ "INT34C6",   0, 181,  "GPP_E" },
	{ "INT34C6",   1, 194,  "GPP_F" },
	{ "INT34C6",   0, 218,  "GPP_H" },
	{ "INT34C6",   1, 242,  "GPP_J" },
	{ "INT34C6",   2, 252,  "GPP_K" },
	{ "INT34C6",   0, 267,  "GPP_I" },
	{ "INT34C6",   1, 282,  "JTAG" },

	/* Jasper Lake */
	{ "INT34C8",   0,   0,  "GPP_F" },
	{ "INT34C8",   1,  20,  "SPI" },
	{ "INT34C8",   2,  29,  "GPP_B" },
	{ "INT34C8",   3,  55,  "GPP_A" },
	{ "INT34C8",   4,  76,  "GPP_S" },
	{ "INT34C8",   5,  84,  "GPP_R" },
	{ "INT34C8",   0,  92,  "GPP_H" },
	{ "INT34C8",   1, 116,  "GPP_D" },
	{ "INT34C8",   2, 142,  "vGPIO" },
	{ "INT34C8",   3, 171,  "GPP_C" },
	{ "INT34C8",   0, 195,  "HVCMOS" },
	{ "INT34C8",   1, 201,  "GPP_E" },
	{ "INT34C8",   0, 225,  "GPP_G" },

	/* Alder Lake-S */
	{ "INTC1056",  0,   0,  "GPP_I" },
	{ "INTC1056",  1,  25,  "GPP_R" },
	{ "INTC1056",  2,  48,  "GPP_J" },
	{ "INTC1056",  3,  60,  "vGPIO" },
	{ "INTC1056",  4,  87,  "vGPIO_0" },
	{ "INTC1056",  0,  95,  "GPP_B" },
	{ "INTC1056",  1, 119,  "GPP_G" },
	{ "INTC1056",  2, 127,  "GPP_H" },
	{ "INTC1056",  0, 151,  "SPI0" },
	{ "INTC1056",  1, 160,  "GPP_A" },
	{ "INTC1056",  2, 176,  "GPP_C" },
	{ "INTC1056",  0, 200,  "GPP_S" },
	{ "INTC1056",  1, 208,  "GPP_E" },
	{ "INTC1056",  2, 231,  "GPP_K" },
	{ "INTC1056",  3, 246,  "GPP_F" },
	{ "INTC1056",  0, 270,  "GPP_D" },
	{ "INTC1056",  1, 295,  "JTAG" },

	/* Alder Lake-N */
	{ "INTC1057",  0,   0,  "GPP_B" },
	{ "INTC1057",  1,  26,  "GPP_T" },
	{ "INTC1057",  2,  42,  "GPP_A" },
	{ "INTC1057",  0,  67,  "GPP_S" },
	{ "INTC1057",  1,  75,  "GPP_I" },
	{ "INTC1057",  2,  95,  "GPP_H" },
	{ "INTC1057",  3, 119,  "GPP_D" },
	{ "INTC1057",  4, 140,  "vGPIO" },
	{ "INTC1057",  0, 169,  "GPP_C" },
	{ "INTC1057",  1, 193,  "GPP_F" },
	{ "INTC1057",  2, 218,  "HVCMOS" },
	{ "INTC1057",  3, 224,  "GPP_E" },
	{ "INTC1057",  0, 249,  "GPP_R" },

	/* Raptor Lake-S (Same as Alder Lake-S(INTC1056)) */
	{ "INTC1085",  0,   0,  "GPP_I" },
	{ "INTC1085",  1,  25,  "GPP_R" },
	{ "INTC1085",  2,  48,  "GPP_J" },
	{ "INTC1085",  3,  60,  "vGPIO" },
	{ "INTC1085",  4,  87,  "vGPIO_0" },
	{ "INTC1085",  0,  95,  "GPP_B" },
	{ "INTC1085",  1, 119,  "GPP_G" },
	{ "INTC1085",  2, 127,  "GPP_H" },
	{ "INTC1085",  0, 151,  "SPI0" },
	{ "INTC1085",  1, 160,  "GPP_A" },
	{ "INTC1085",  2, 176,  "GPP_C" },
	{ "INTC1085",  0, 200,  "GPP_S" },
	{ "INTC1085",  1, 208,  "GPP_E" },
	{ "INTC1085",  2, 231,  "GPP_K" },
	{ "INTC1085",  3, 246,  "GPP_F" },
	{ "INTC1085",  0, 270,  "GPP_D" },
	{ "INTC1085",  1, 295,  "JTAG" },

	/* Lewisburg */
	{ "INT3536",   0,   0,  "" },

	/* Emmitsburg */
	{ "INTC1071",  0,   0,  "GPP_A" },
	{ "INTC1071",  1,  21,  "GPP_B" },
	{ "INTC1071",  2,  45,  "SPI" },
	{ "INTC1071",  0,  66,  "GPP_C" },
	{ "INTC1071",  1,  88,  "GPP_D" },
	{ "INTC1071",  0, 112,  "GPP_E" },
	{ "INTC1071",  1, 136,  "JTAG" },
	{ "INTC1071",  0, 146,  "GPP_H" },
	{ "INTC1071",  1, 166,  "GPP_J" },
	{ "INTC1071",  0, 184,  "GPP_I" },
	{ "INTC1071",  1, 208,  "GPP_L" },
	{ "INTC1071",  2, 226,  "GPP_M" },
	{ "INTC1071",  3, 244,  "GPP_N" },

	/* Denverton */
	{ "INTC3000",  0,   0,  "North_ALL_0" },
	{ "INTC3000",  1,  32,  "North_ALL_1" },
	{ "INTC3000",  0,  41,  "South_DFX" },
	{ "INTC3000",  1,  59,  "South_GPP0_0" },
	{ "INTC3000",  2,  91,  "South_GPP0_1" },
	{ "INTC3000",  3, 112,  "South_GPP1_0" },
	{ "INTC3000",  4, 144,  "South_GPP1_1" },

	/* Cedarfork */
	{ "INTC3001",  0,   0,  "WEST2" },
	{ "INTC3001",  1,  24,  "WEST3" },
	{ "INTC3001",  2,  48,  "WEST01" },
	{ "INTC3001",  3,  71,  "WEST5" },
	{ "INTC3001",  4,  91,  "WESTC" },
	{ "INTC3001",  5,  97,  "WESTC_DFX" },
	{ "INTC3001",  6, 102,  "WESTA" },
	{ "INTC3001",  7, 112,  "WESTB" },
	{ "INTC3001",  8, 124,  "WESTD" },
	{ "INTC3001",  9, 144,  "WESTD_PECI" },
	{ "INTC3001", 10, 145,  "WESTF" },
	{ "INTC3001",  0, 168,  "EAST2" },
	{ "INTC3001",  1, 192,  "EAST3" },
	{ "INTC3001",  2, 203,  "EAST0" },
	{ "INTC3001",  3, 226,  "EMMC" },

	/* Gemini Lake */
	{ "INT3453",   0,  34,  "" },

#ifdef notyet
	/*
	 * BAR mappings not obvious, further studying required
	 */
	/* Broxton */
	{ "apollolake-pinctrl", 0,   0,   "" },
	{ "broxton-pinctrl",    0,   0,   "" },
	{ "INT34D1",   0,   0,   "" },
	{ "INT3452",   0,   0,   "" },

	/* Cherryview */
	{ "INT33FF",   0,   0,   "" },
#endif

	{      NULL,   0,   0,   0 },
};

#endif /* _IGPIOREG_H */