blob: 849506ef0ea9547cde5739d46a19109d0c862704 [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Steve Goodrichbf0988b2013-07-10 11:59:11 -06002
3/* Note: Only need HID on Primary Bus */
4External (TOM1)
5External (TOM2)
Nico Huber7176a542019-12-13 17:08:49 +01006Name(_HID, EISAID("PNP0A03")) /* PCI Express Root Bridge */
Steve Goodrichbf0988b2013-07-10 11:59:11 -06007
8/* Describe the Northbridge devices */
9
10Method (_BBN, 0, NotSerialized)
11{
12 Return (Zero)
13}
14
15Method (_STA, 0, NotSerialized)
16{
17 Return (0x0B)
18}
19
20Method (_PRT, 0, NotSerialized)
21{
Kyösti Mälkki3f246702021-01-25 16:48:51 +020022 If (PICM)
Steve Goodrichbf0988b2013-07-10 11:59:11 -060023 {
24 Return (APR0)
25 }
26
27 Return (PR0)
28}
29
30Device(AMRT) {
31 Name(_ADR, 0x00000000)
32} /* end AMRT */
33
Kimarie Hoot0cc33da2013-07-20 14:28:10 -060034/* Dev2 is also an external GFX bridge */
35Device(PBR2) {
36 Name(_ADR, 0x00020000)
37 Name(_PRW, Package() {0x18, 4})
38 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020039 If(PICM) { Return(APS2) } /* APIC mode */
Kimarie Hoot0cc33da2013-07-20 14:28:10 -060040 Return (PS2) /* PIC Mode */
41 } /* end _PRT */
42} /* end PBR2 */
43
Steve Goodrichbf0988b2013-07-10 11:59:11 -060044/* Dev4 GPP0 Root Port Bridge */
45Device(PBR4) {
46 Name(_ADR, 0x00040000)
47 Name(_PRW, Package() {0x18, 4})
48 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020049 If(PICM) { Return(APS4) } /* APIC mode */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060050 Return (PS4) /* PIC Mode */
51 } /* end _PRT */
52} /* end PBR4 */
53
54/* Dev5 GPP1 Root Port Bridge */
55Device(PBR5) {
56 Name(_ADR, 0x00050000)
57 Name(_PRW, Package() {0x18, 4})
58 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020059 If(PICM) { Return(APS5) } /* APIC mode */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060060 Return (PS5) /* PIC Mode */
61 } /* end _PRT */
62} /* end PBR5 */
63
64/* Dev6 GPP2 Root Port Bridge */
65Device(PBR6) {
66 Name(_ADR, 0x00060000)
67 Name(_PRW, Package() {0x18, 4})
68 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020069 If(PICM) { Return(APS6) } /* APIC mode */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060070 Return (PS6) /* PIC Mode */
71 } /* end _PRT */
72} /* end PBR6 */
73
74/* The onboard EtherNet chip */
75Device(PBR7) {
76 Name(_ADR, 0x00070000)
77 Name(_PRW, Package() {0x18, 4})
78 Method(_PRT,0) {
Kyösti Mälkki3f246702021-01-25 16:48:51 +020079 If(PICM) { Return(APS7) } /* APIC mode */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060080 Return (PS7) /* PIC Mode */
81 } /* end _PRT */
82} /* end PBR7 */
Michał Żygowski09eb8d02020-02-07 18:39:24 +010083
84Device(K10M) {
85 Name (_ADR, 0x00180003)
Michał Żygowskib84c6162020-03-23 14:41:32 +010086 #include <soc/amd/common/acpi/thermal_zone.asl>
Michał Żygowski09eb8d02020-02-07 18:39:24 +010087}