blob: 7ed622541f6c67e029a487a5ddf36e05fa209d72 [file] [log] [blame]
Angel Ponsae593872020-04-04 18:50:57 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Marc Jones1587dc82017-05-15 18:55:11 -06002
3/* Note: Only need HID on Primary Bus */
4External (TOM1)
5External (TOM2)
Nico Huber7176a542019-12-13 17:08:49 +01006Name(_HID, EISAID("PNP0A08")) /* PCI Express Root Bridge */
Marc Jones1587dc82017-05-15 18:55:11 -06007Name(_CID, EISAID("PNP0A03")) /* PCI Root Bridge */
Marc Jones1587dc82017-05-15 18:55:11 -06008
9/* Describe the Northbridge devices */
10
11Method(_BBN, 0, NotSerialized) /* Bus number = 0 */
12{
Felix Singer9df60d32022-12-26 09:43:07 +010013 Return(0)
Marc Jones1587dc82017-05-15 18:55:11 -060014}
15
16Method(_STA, 0, NotSerialized)
17{
18 Return(0x0B) /* Status is visible */
19}
20
21Method(_PRT,0, NotSerialized)
22{
Kyösti Mälkki3f246702021-01-25 16:48:51 +020023 If(PICM)
Marc Jones1587dc82017-05-15 18:55:11 -060024 {
25 Return(APR0) /* APIC mode */
26 }
27 Return (PR0) /* PIC Mode */
28}
29
30Device(AMRT) {
31 Name(_ADR, 0x00000000)
32} /* end AMRT */
33
Marc Jones6dcb6c22018-07-26 17:07:13 -060034/* Internal Graphics */
35Device(IGFX) {
36 Name(_ADR, 0x00010000)
37}
38
Marc Jones1587dc82017-05-15 18:55:11 -060039/* Gpp 0 */
40Device(PBR4) {
41 Name(_ADR, 0x00020001)
Marc Jones1587dc82017-05-15 18:55:11 -060042 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020043 If(PICM){ Return(APS4) } /* APIC mode */
Marc Jones1587dc82017-05-15 18:55:11 -060044 Return (PS4) /* PIC Mode */
45 } /* end _PRT */
46} /* end PBR4 */
47
48/* Gpp 1 */
49Device(PBR5) {
50 Name(_ADR, 0x00020002)
Marc Jones1587dc82017-05-15 18:55:11 -060051 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020052 If(PICM){ Return(APS5) } /* APIC mode */
Marc Jones1587dc82017-05-15 18:55:11 -060053 Return (PS5) /* PIC Mode */
54 } /* end _PRT */
55} /* end PBR5 */
56
57/* Gpp 2 */
58Device(PBR6) {
59 Name(_ADR, 0x00020003)
Marc Jones1587dc82017-05-15 18:55:11 -060060 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020061 If(PICM){ Return(APS6) } /* APIC mode */
Marc Jones1587dc82017-05-15 18:55:11 -060062 Return (PS6) /* PIC Mode */
63 } /* end _PRT */
64} /* end PBR6 */
65
66/* Gpp 3 */
67Device(PBR7) {
68 Name(_ADR, 0x00020004)
Marc Jones1587dc82017-05-15 18:55:11 -060069 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020070 If(PICM){ Return(APS7) } /* APIC mode */
Marc Jones1587dc82017-05-15 18:55:11 -060071 Return (PS7) /* PIC Mode */
72 } /* end _PRT */
73} /* end PBR7 */
74
75/* Gpp 4 */
76Device(PBR8) {
77 Name(_ADR, 0x00020005)
Marc Jones1587dc82017-05-15 18:55:11 -060078 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020079 If(PICM){ Return(APS8) } /* APIC mode */
Marc Jones1587dc82017-05-15 18:55:11 -060080 Return (PS8) /* PIC Mode */
81 } /* end _PRT */
82} /* end PBR8 */