Varshit Pandya | 5397b4d | 2023-10-16 22:56:52 +0530 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | /* PCI IRQ mapping registers, C00h-C01h. */ |
| 4 | OperationRegion(PRQM, SystemIO, 0x00000c00, 0x00000002) |
| 5 | Field(PRQM, ByteAcc, NoLock, Preserve) { |
| 6 | PRQI, 0x00000008, |
| 7 | PRQD, 0x00000008, /* Offset: 1h */ |
| 8 | } |
| 9 | |
| 10 | /* |
| 11 | * All PIC indexes are prefixed with P. |
| 12 | * All IO-APIC indexes are prefixed with I. |
| 13 | */ |
| 14 | IndexField(PRQI, PRQD, ByteAcc, NoLock, Preserve) { |
| 15 | PIRA, 0x00000008, /* Index 0: INTA */ |
| 16 | PIRB, 0x00000008, /* Index 1: INTB */ |
| 17 | PIRC, 0x00000008, /* Index 2: INTC */ |
| 18 | PIRD, 0x00000008, /* Index 3: INTD */ |
| 19 | PIRE, 0x00000008, /* Index 4: INTE */ |
| 20 | PIRF, 0x00000008, /* Index 5: INTF */ |
| 21 | PIRG, 0x00000008, /* Index 6: INTG */ |
| 22 | PIRH, 0x00000008, /* Index 7: INTH */ |
| 23 | |
| 24 | Offset (0x10), |
| 25 | PSCI, 0x00000008, /* Index 0x10: SCI */ |
| 26 | PSB0, 0x00000008, /* Index 0x11: SMBUS0 */ |
| 27 | PASF, 0x00000008, /* Index 0x12: ASF */ |
| 28 | |
| 29 | Offset (0x16), |
| 30 | PPMN, 0x00000008, /* Index 0x16: PerMon */ |
| 31 | |
| 32 | Offset (0x1a), |
| 33 | PSIO, 0x00000008, /* Index 0x1A: SDIO */ |
| 34 | |
| 35 | Offset (0x50), |
| 36 | PGP0, 0x00000008, /* Index 0x50: GPP0 */ |
| 37 | PGP1, 0x00000008, /* Index 0x51: GPP1 */ |
| 38 | PGP2, 0x00000008, /* Index 0x52: GPP2 */ |
| 39 | PGP3, 0x00000008, /* Index 0x53: GPP3 */ |
| 40 | |
| 41 | Offset (0x62), |
| 42 | PGPI, 0x00000008, /* Index 0x62: GPIO */ |
| 43 | |
| 44 | Offset (0x70), |
| 45 | PI20, 0x00000008, /* Index 0x70: I2C0/I3C0 */ |
| 46 | PI21, 0x00000008, /* Index 0x71: I2C1/I3C1 */ |
| 47 | PI22, 0x00000008, /* Index 0x72: I2C2/I3C2 */ |
| 48 | PI23, 0x00000008, /* Index 0x73: I2C3/I3C3 */ |
| 49 | PUA0, 0x00000008, /* Index 0x74: UART0 */ |
| 50 | PUA1, 0x00000008, /* Index 0x75: UART1 */ |
| 51 | PI24, 0x00000008, /* Index 0x76: I2C4 */ |
| 52 | PI25, 0x00000008, /* Index 0x77: I2C5 */ |
| 53 | PUA2, 0x00000008, /* Index 0x78: UART2 */ |
| 54 | PUA3, 0x00000008, /* Index 0x79: UART3 */ |
| 55 | |
| 56 | /* IO-APIC IRQs */ |
| 57 | Offset (0x80), |
| 58 | IORA, 0x00000008, /* Index 0x80: INTA */ |
| 59 | IORB, 0x00000008, /* Index 0x81: INTB */ |
| 60 | IORC, 0x00000008, /* Index 0x82: INTC */ |
| 61 | IORD, 0x00000008, /* Index 0x83: INTD */ |
| 62 | IORE, 0x00000008, /* Index 0x84: INTE */ |
| 63 | IORF, 0x00000008, /* Index 0x85: INTF */ |
| 64 | IORG, 0x00000008, /* Index 0x86: INTG */ |
| 65 | IORH, 0x00000008, /* Index 0x87: INTH */ |
| 66 | |
| 67 | Offset (0x90), |
| 68 | ISCI, 0x00000008, /* Index 0x90: SCI */ |
| 69 | ISB0, 0x00000008, /* Index 0x91: SMBUS0 */ |
| 70 | IASF, 0x00000008, /* Index 0x92: ASF */ |
| 71 | |
| 72 | Offset (0x96), |
| 73 | IPMN, 0x00000008, /* Index 0x96: PerMon */ |
| 74 | |
| 75 | Offset (0x9a), |
| 76 | ISIO, 0x00000008, /* Index 0x9A: SDIO */ |
| 77 | |
| 78 | Offset (0xD0), |
| 79 | IGP0, 0x00000008, /* Index 0xD0: GPP0 */ |
| 80 | IGP1, 0x00000008, /* Index 0xD1: GPP1 */ |
| 81 | IGP2, 0x00000008, /* Index 0xD2: GPP2 */ |
| 82 | IGP3, 0x00000008, /* Index 0xD3: GPP3 */ |
| 83 | |
| 84 | Offset (0xE2), |
| 85 | IGPI, 0x00000008, /* Index 0xE2: GPIO */ |
| 86 | |
| 87 | Offset (0xF0), |
| 88 | II20, 0x00000008, /* Index 0xF0: I2C0/I3C0 */ |
| 89 | II21, 0x00000008, /* Index 0xF1: I2C1/I3C1 */ |
| 90 | II22, 0x00000008, /* Index 0xF2: I2C2/I3C2 */ |
| 91 | II23, 0x00000008, /* Index 0xF3: I2C3/I3C3 */ |
| 92 | IUA0, 0x00000008, /* Index 0xF4: UART0 */ |
| 93 | IUA1, 0x00000008, /* Index 0xF5: UART1 */ |
| 94 | II24, 0x00000008, /* Index 0xF6: I2C4 */ |
| 95 | II25, 0x00000008, /* Index 0xF7: I2C5 */ |
| 96 | IUA2, 0x00000008, /* Index 0xF8: UART2 */ |
| 97 | IUA3, 0x00000008, /* Index 0xF9: UART3 */ |
| 98 | } |