Angel Pons | 182dbde | 2020-04-02 23:49:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Kyösti Mälkki | e8b4da2 | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 2 | |
| 3 | #ifndef AMD_PCI_INT_TYPES_H |
| 4 | #define AMD_PCI_INT_TYPES_H |
| 5 | |
Elyes HAOUAS | 251279c | 2018-07-08 12:41:56 +0200 | [diff] [blame] | 6 | const char *intr_types[] = { |
Dave Frodin | 9cfa742 | 2015-01-27 07:19:48 -0700 | [diff] [blame] | 7 | [0x00] = "INTA#\t", "INTB#\t", "INTC#\t", "INTD#\t", "INTE#\t", "INTF#\t", "INTG#\t", "INTH#\t", |
| 8 | [0x08] = "Misc\t", "Misc0\t", "Misc1\t", "Misc2\t", "Ser IRQ INTA", "Ser IRQ INTB", "Ser IRQ INTC", "Ser IRQ INTD", |
Dave Frodin | 4675c598a | 2015-02-06 07:25:11 -0700 | [diff] [blame] | 9 | [0x10] = "SCI\t", "SMBUS0\t", "ASF\t", "HDA\t", "FC\t\t", "GEC\t", "PerMon\t", "SD\t\t", |
Dave Frodin | 9cfa742 | 2015-01-27 07:19:48 -0700 | [diff] [blame] | 10 | [0x20] = "IMC INT0\t", "IMC INT1\t", "IMC INT2\t", "IMC INT3\t", "IMC INT4\t", "IMC INT5\t", |
| 11 | [0x30] = "Dev18.0 INTA", "Dev18.2 INTB", "Dev19.0 INTA", "Dev19.2 INTB", "Dev22.0 INTA", "Dev22.2 INTB", "Dev20.5 INTC", |
Dave Frodin | 4675c598a | 2015-02-06 07:25:11 -0700 | [diff] [blame] | 12 | [0x7F] = "RSVD\t", |
Julius Werner | cd49cce | 2019-03-05 16:53:33 -0800 | [diff] [blame] | 13 | #if CONFIG(SOUTHBRIDGE_AMD_PI_AVALON) |
Kyösti Mälkki | e8b4da2 | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 14 | [0x40] = "RSVD\t", "SATA\t", |
| 15 | [0x60] = "RSVD\t", "RSVD\t", "GPIO\t", |
Julius Werner | cd49cce | 2019-03-05 16:53:33 -0800 | [diff] [blame] | 16 | #elif CONFIG(SOUTHBRIDGE_AMD_PI_KERN) |
WANG Siyuan | f2dfef0 | 2015-05-20 14:41:01 +0800 | [diff] [blame] | 17 | [0x40] = "IDE\t", "SATA\t", |
| 18 | [0x50] = "GPPInt0\t", "GPPInt1\t", "GPPInt2\t", "GPPInt3\t", |
WANG Siyuan | 839d68f | 2015-08-18 06:22:22 +0800 | [diff] [blame] | 19 | [0x62] = "GPIO\t", |
| 20 | [0x70] = "I2C0\t", "I2C1\t", "I2C2\t","I2C3\t", "UART0\t", "UART1\t", |
Dave Frodin | 9cfa742 | 2015-01-27 07:19:48 -0700 | [diff] [blame] | 21 | #endif |
Dave Frodin | 4675c598a | 2015-02-06 07:25:11 -0700 | [diff] [blame] | 22 | }; |
Kyösti Mälkki | e8b4da2 | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 23 | |
| 24 | #endif /* AMD_PCI_INT_TYPES_H */ |