1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* TODO: Update for Phoenix */
5 /* PCI IRQ mapping registers, C00h-C01h. */
6 OperationRegion(PRQM, SystemIO, 0x00000c00, 0x00000002)
7 Field(PRQM, ByteAcc, NoLock, Preserve) {
9 PRQD, 0x00000008, /* Offset: 1h */
12 * All PIC indexes are prefixed with P.
13 * All IO-APIC indexes are prefixed with I.
15 IndexField(PRQI, PRQD, ByteAcc, NoLock, Preserve) {
16 PIRA, 0x00000008, /* Index 0: INTA */
17 PIRB, 0x00000008, /* Index 1: INTB */
18 PIRC, 0x00000008, /* Index 2: INTC */
19 PIRD, 0x00000008, /* Index 3: INTD */
20 PIRE, 0x00000008, /* Index 4: INTE */
21 PIRF, 0x00000008, /* Index 5: INTF */
22 PIRG, 0x00000008, /* Index 6: INTG */
23 PIRH, 0x00000008, /* Index 7: INTH */
26 PGSC, 0x00000008, /* Index 0x60: GEventSci */
27 PGSM, 0x00000008, /* Index 0x61: GEventSmi */
28 PGPI, 0x00000008, /* Index 0x62: GPIO */
31 PI20, 0x00000008, /* Index 0x70: I2C0 */
32 PI21, 0x00000008, /* Index 0x71: I2C1 */
33 PI22, 0x00000008, /* Index 0x72: I2C2 */
34 PI23, 0x00000008, /* Index 0x73: I2C3 */
35 PUA0, 0x00000008, /* Index 0x74: UART0 */
36 PUA1, 0x00000008, /* Index 0x75: UART1 */
39 PUA4, 0x00000008, /* Index 0x77: UART4 */
40 PUA2, 0x00000008, /* Index 0x78: UART2 */
41 PUA3, 0x00000008, /* Index 0x79: UART3 */
45 IORA, 0x00000008, /* Index 0x80: INTA */
46 IORB, 0x00000008, /* Index 0x81: INTB */
47 IORC, 0x00000008, /* Index 0x82: INTC */
48 IORD, 0x00000008, /* Index 0x83: INTD */
49 IORE, 0x00000008, /* Index 0x84: INTE */
50 IORF, 0x00000008, /* Index 0x85: INTF */
51 IORG, 0x00000008, /* Index 0x86: INTG */
52 IORH, 0x00000008, /* Index 0x87: INTH */
55 IGSC, 0x00000008, /* Index 0xE0: GEventSci */
56 IGSM, 0x00000008, /* Index 0xE1: GEventSmi */
57 IGPI, 0x00000008, /* Index 0xE2: GPIO */
60 II20, 0x00000008, /* Index 0xF0: I2C0 */
61 II21, 0x00000008, /* Index 0xF1: I2C1 */
62 II22, 0x00000008, /* Index 0xF2: I2C2 */
63 II23, 0x00000008, /* Index 0xF3: I2C3 */
64 IUA0, 0x00000008, /* Index 0xF4: UART0 */
65 IUA1, 0x00000008, /* Index 0xF5: UART1 */
68 IUA4, 0x00000008, /* Index 0xF7: UART4 */
69 IUA2, 0x00000008, /* Index 0xF8: UART2 */
70 IUA3, 0x00000008, /* Index 0xF9: UART3 */