blob: e3093a70410becb55cb15020e1074dbaf73156b1 [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Mike Loptienac90d802013-07-17 15:14:59 -06003
4/* Note: Only need HID on Primary Bus */
5External (TOM1)
6External (TOM2)
Nico Huber7176a542019-12-13 17:08:49 +01007Name(_HID, EISAID("PNP0A08")) /* PCI Express Root Bridge */
Mike Loptienac90d802013-07-17 15:14:59 -06008Name(_CID, EISAID("PNP0A03")) /* PCI Root Bridge */
Mike Loptienac90d802013-07-17 15:14:59 -06009
10/* Describe the Northbridge devices */
11
12Method(_BBN, 0, NotSerialized) /* Bus number = 0 */
13{
14 Return(Zero)
15}
16
17Method(_STA, 0, NotSerialized)
18{
19 Return(0x0B) /* Status is visible */
20}
21
22Method(_PRT,0, NotSerialized)
23{
24 If(PMOD)
25 {
26 Return(APR0) /* APIC mode */
27 }
28 Return (PR0) /* PIC Mode */
29}
30
31Device(AMRT) {
32 Name(_ADR, 0x00000000)
33} /* end AMRT */
34
35/* Gpp 0 */
36Device(PBR4) {
37 Name(_ADR, 0x00020001)
38 Name(_PRW, Package() {0x18, 4})
39 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020040 If(PMOD) { Return(APS4) } /* APIC mode */
Mike Loptienac90d802013-07-17 15:14:59 -060041 Return (PS4) /* PIC Mode */
42 } /* end _PRT */
43} /* end PBR4 */
44
45/* Gpp 1 */
46Device(PBR5) {
47 Name(_ADR, 0x00020002)
48 Name(_PRW, Package() {0x18, 4})
49 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020050 If(PMOD) { Return(APS5) } /* APIC mode */
Mike Loptienac90d802013-07-17 15:14:59 -060051 Return (PS5) /* PIC Mode */
52 } /* end _PRT */
53} /* end PBR5 */
54
55/* Gpp 2 */
56Device(PBR6) {
57 Name(_ADR, 0x00020003)
58 Name(_PRW, Package() {0x18, 4})
59 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020060 If(PMOD) { Return(APS6) } /* APIC mode */
Mike Loptienac90d802013-07-17 15:14:59 -060061 Return (PS6) /* PIC Mode */
62 } /* end _PRT */
63} /* end PBR6 */
64
65/* Gpp 3 */
66Device(PBR7) {
67 Name(_ADR, 0x00020004)
68 Name(_PRW, Package() {0x18, 4})
69 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020070 If(PMOD) { Return(APS7) } /* APIC mode */
Mike Loptienac90d802013-07-17 15:14:59 -060071 Return (PS7) /* PIC Mode */
72 } /* end _PRT */
73} /* end PBR7 */
74
75/* Gpp 4 */
76Device(PBR8) {
77 Name(_ADR, 0x00020005)
78 Name(_PRW, Package() {0x18, 4})
79 Method(_PRT,0) {
Elyes HAOUAS1d8daa62016-09-18 08:50:54 +020080 If(PMOD) { Return(APS8) } /* APIC mode */
Mike Loptienac90d802013-07-17 15:14:59 -060081 Return (PS8) /* PIC Mode */
82 } /* end _PRT */
83} /* end PBR8 */
Michał Żygowski09eb8d02020-02-07 18:39:24 +010084
85Device(K10M) {
86 Name (_ADR, 0x00180003)
Michał Żygowskib84c6162020-03-23 14:41:32 +010087 #include <soc/amd/common/acpi/thermal_zone.asl>
Michał Żygowski09eb8d02020-02-07 18:39:24 +010088}