blob: 28c00029d022da23d8d908427a0eef794bd03925 [file] [log] [blame]
Steve Goodrichbf0988b2013-07-10 11:59:11 -06001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 Sage Electronic Engineering, LLC
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20/* Note: Only need HID on Primary Bus */
21External (TOM1)
22External (TOM2)
23Name(_HID, EISAID("PNP0A03")) /* PCI Express Root Bridge */
24Name(_ADR, 0x00180000) /* Dev# = BSP Dev#, Func# = 0 */
25
26/* Describe the Northbridge devices */
27
28Method (_BBN, 0, NotSerialized)
29{
30 Return (Zero)
31}
32
33Method (_STA, 0, NotSerialized)
34{
35 Return (0x0B)
36}
37
38Method (_PRT, 0, NotSerialized)
39{
40 If (PMOD)
41 {
42 Return (APR0)
43 }
44
45 Return (PR0)
46}
47
48Device(AMRT) {
49 Name(_ADR, 0x00000000)
50} /* end AMRT */
51
Kimarie Hoot0cc33da2013-07-20 14:28:10 -060052/* Dev2 is also an external GFX bridge */
53Device(PBR2) {
54 Name(_ADR, 0x00020000)
55 Name(_PRW, Package() {0x18, 4})
56 Method(_PRT,0) {
57 If(PMOD){ Return(APS2) } /* APIC mode */
58 Return (PS2) /* PIC Mode */
59 } /* end _PRT */
60} /* end PBR2 */
61
Steve Goodrichbf0988b2013-07-10 11:59:11 -060062/* Dev4 GPP0 Root Port Bridge */
63Device(PBR4) {
64 Name(_ADR, 0x00040000)
65 Name(_PRW, Package() {0x18, 4})
66 Method(_PRT,0) {
67 If(PMOD){ Return(APS4) } /* APIC mode */
68 Return (PS4) /* PIC Mode */
69 } /* end _PRT */
70} /* end PBR4 */
71
72/* Dev5 GPP1 Root Port Bridge */
73Device(PBR5) {
74 Name(_ADR, 0x00050000)
75 Name(_PRW, Package() {0x18, 4})
76 Method(_PRT,0) {
77 If(PMOD){ Return(APS5) } /* APIC mode */
78 Return (PS5) /* PIC Mode */
79 } /* end _PRT */
80} /* end PBR5 */
81
82/* Dev6 GPP2 Root Port Bridge */
83Device(PBR6) {
84 Name(_ADR, 0x00060000)
85 Name(_PRW, Package() {0x18, 4})
86 Method(_PRT,0) {
87 If(PMOD){ Return(APS6) } /* APIC mode */
88 Return (PS6) /* PIC Mode */
89 } /* end _PRT */
90} /* end PBR6 */
91
92/* The onboard EtherNet chip */
93Device(PBR7) {
94 Name(_ADR, 0x00070000)
95 Name(_PRW, Package() {0x18, 4})
96 Method(_PRT,0) {
97 If(PMOD){ Return(APS7) } /* APIC mode */
98 Return (PS7) /* PIC Mode */
99 } /* end _PRT */
100} /* end PBR7 */