Angel Pons | ae59387 | 2020-04-04 18:50:57 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Martin Roth | 5c354b9 | 2019-04-22 14:55:16 -0600 | [diff] [blame] | 2 | |
| 3 | /* Note: Only need HID on Primary Bus */ |
| 4 | External (TOM1) |
| 5 | External (TOM2) |
| 6 | Name(_HID, EISAID("PNP0A08")) /* PCI Express Root Bridge */ |
| 7 | Name(_CID, EISAID("PNP0A03")) /* PCI Root Bridge */ |
Martin Roth | 5c354b9 | 2019-04-22 14:55:16 -0600 | [diff] [blame] | 8 | |
| 9 | /* Describe the Northbridge devices */ |
| 10 | |
| 11 | Method(_BBN, 0, NotSerialized) /* Bus number = 0 */ |
| 12 | { |
| 13 | Return(Zero) |
| 14 | } |
| 15 | |
| 16 | Method(_STA, 0, NotSerialized) |
| 17 | { |
| 18 | Return(0x0B) /* Status is visible */ |
| 19 | } |
| 20 | |
Raul E Rangel | 28d4275 | 2020-03-09 13:50:31 -0600 | [diff] [blame^] | 21 | /* PCI Routing Table */ |
| 22 | Name(PR0, Package(){ |
| 23 | /* Bus 0, Dev 0x00 - F2: IOMMU */ |
| 24 | Package() { 0x0000FFFF, 0, INTA, 0 }, |
| 25 | Package() { 0x0000FFFF, 0, INTB, 0 }, |
| 26 | Package() { 0x0000FFFF, 0, INTC, 0 }, |
| 27 | Package() { 0x0000FFFF, 0, INTD, 0 }, |
| 28 | |
| 29 | /* Bus 0, Dev 0x01 - F[1-7]: GPP PCI Bridges */ |
| 30 | Package() { 0x0001FFFF, 0, INTA, 0 }, |
| 31 | Package() { 0x0001FFFF, 1, INTB, 0 }, |
| 32 | Package() { 0x0001FFFF, 2, INTC, 0 }, |
| 33 | Package() { 0x0001FFFF, 3, INTD, 0 }, |
| 34 | |
| 35 | /* Bus 0, Dev 0x08 - F[1:PCI Bridge to Bus A, 2: PCI Bridge to Bus B] */ |
| 36 | Package() { 0x0008FFFF, 0, INTA, 0 }, |
| 37 | Package() { 0x0008FFFF, 1, INTB, 0 }, |
| 38 | Package() { 0x0008FFFF, 2, INTC, 0 }, |
| 39 | Package() { 0x0008FFFF, 3, INTD, 0 }, |
| 40 | |
| 41 | /* Bus 0, Dev 0x14 - F[0:SMBus 3:LPC] */ |
| 42 | Package() { 0x0014FFFF, 0, INTA, 0 }, |
| 43 | Package() { 0x0014FFFF, 1, INTB, 0 }, |
| 44 | Package() { 0x0014FFFF, 2, INTC, 0 }, |
| 45 | Package() { 0x0014FFFF, 3, INTD, 0 }, |
| 46 | }) |
| 47 | |
Martin Roth | 5c354b9 | 2019-04-22 14:55:16 -0600 | [diff] [blame] | 48 | Method(_PRT,0, NotSerialized) |
| 49 | { |
Raul E Rangel | 28d4275 | 2020-03-09 13:50:31 -0600 | [diff] [blame^] | 50 | Return(PR0) |
Martin Roth | 5c354b9 | 2019-04-22 14:55:16 -0600 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | Device(AMRT) { |
| 54 | Name(_ADR, 0x00000000) |
| 55 | } /* end AMRT */ |