blob: 40df8918b1faca6000e9cd696ed0521678264641 [file] [log] [blame]
Steve Goodrichbf0988b2013-07-10 11:59:11 -06001/*
2 * This file is part of the coreboot project.
3 *
Steve Goodrichbf0988b2013-07-10 11:59:11 -06004 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
Steve Goodrichbf0988b2013-07-10 11:59:11 -060013 */
14
15/* Note: Only need HID on Primary Bus */
16External (TOM1)
17External (TOM2)
Nico Huber7176a542019-12-13 17:08:49 +010018Name(_HID, EISAID("PNP0A03")) /* PCI Express Root Bridge */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060019
20/* Describe the Northbridge devices */
21
22Method (_BBN, 0, NotSerialized)
23{
24 Return (Zero)
25}
26
27Method (_STA, 0, NotSerialized)
28{
29 Return (0x0B)
30}
31
32Method (_PRT, 0, NotSerialized)
33{
34 If (PMOD)
35 {
36 Return (APR0)
37 }
38
39 Return (PR0)
40}
41
42Device(AMRT) {
43 Name(_ADR, 0x00000000)
44} /* end AMRT */
45
Kimarie Hoot0cc33da2013-07-20 14:28:10 -060046/* Dev2 is also an external GFX bridge */
47Device(PBR2) {
48 Name(_ADR, 0x00020000)
49 Name(_PRW, Package() {0x18, 4})
50 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020051 If(PMOD) { Return(APS2) } /* APIC mode */
Kimarie Hoot0cc33da2013-07-20 14:28:10 -060052 Return (PS2) /* PIC Mode */
53 } /* end _PRT */
54} /* end PBR2 */
55
Steve Goodrichbf0988b2013-07-10 11:59:11 -060056/* Dev4 GPP0 Root Port Bridge */
57Device(PBR4) {
58 Name(_ADR, 0x00040000)
59 Name(_PRW, Package() {0x18, 4})
60 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020061 If(PMOD) { Return(APS4) } /* APIC mode */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060062 Return (PS4) /* PIC Mode */
63 } /* end _PRT */
64} /* end PBR4 */
65
66/* Dev5 GPP1 Root Port Bridge */
67Device(PBR5) {
68 Name(_ADR, 0x00050000)
69 Name(_PRW, Package() {0x18, 4})
70 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020071 If(PMOD) { Return(APS5) } /* APIC mode */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060072 Return (PS5) /* PIC Mode */
73 } /* end _PRT */
74} /* end PBR5 */
75
76/* Dev6 GPP2 Root Port Bridge */
77Device(PBR6) {
78 Name(_ADR, 0x00060000)
79 Name(_PRW, Package() {0x18, 4})
80 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020081 If(PMOD) { Return(APS6) } /* APIC mode */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060082 Return (PS6) /* PIC Mode */
83 } /* end _PRT */
84} /* end PBR6 */
85
86/* The onboard EtherNet chip */
87Device(PBR7) {
88 Name(_ADR, 0x00070000)
89 Name(_PRW, Package() {0x18, 4})
90 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020091 If(PMOD) { Return(APS7) } /* APIC mode */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060092 Return (PS7) /* PIC Mode */
93 } /* end _PRT */
94} /* end PBR7 */
Michał Żygowski09eb8d02020-02-07 18:39:24 +010095
96Device(K10M) {
97 Name (_ADR, 0x00180003)
98 #include <northbridge/amd/agesa/family14/acpi/thermal_mixin.asl>
99}