blob: cecaa59631db6f8bd77d38472ba1dd1acef36a7d [file] [log] [blame]
WANG Siyuanf77f7342013-08-13 17:09:51 +08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 Advanced Micro Devices, Inc.
5 * Copyright (C) 2013 Sage Electronic Engineering, LLC
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21/* DefinitionBlock Statement */
22DefinitionBlock (
23 "DSDT.AML", /* Output filename */
24 "DSDT", /* Signature */
25 0x02, /* DSDT Revision, needs to be 2 for 64bit */
26 "AMD ", /* OEMID */
27 "COREBOOT", /* TABLE ID */
28 0x00010001 /* OEM Revision */
29 )
30{ /* Start of ASL file */
31 /* #include <arch/x86/acpi/debug.asl> */ /* Include global debug methods if needed */
32
33 /* Globals for the platform */
34 #include "acpi/mainboard.asl"
35
36 /* Describe the USB Overcurrent pins */
37 #include "acpi/usb_oc.asl"
38
39 /* PCI IRQ mapping for the Southbridge */
40 #include <southbridge/amd/agesa/hudson/acpi/pcie.asl>
41
42 /* Describe the processor tree (\_PR) */
43 #include <cpu/amd/agesa/family16kb/acpi/cpu.asl>
44
45 /* Contains the supported sleep states for this chipset */
46 #include <southbridge/amd/agesa/hudson/acpi/sleepstates.asl>
47
48 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
49 #include "acpi/sleep.asl"
50
51 /* System Bus */
52 Scope(\_SB) { /* Start \_SB scope */
53 /* global utility methods expected within the \_SB scope */
54 #include <arch/x86/acpi/globutil.asl>
55
56 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
57 #include "acpi/routing.asl"
58
Alexandru Gagniuc44f2fab2014-04-18 01:42:19 -050059 Device(PWRB) {
60 Name(_HID, EISAID("PNP0C0C"))
61 Name(_UID, 0xAA)
62 Name(_PRW, Package () {3, 0x04})
63 Name(_STA, 0x0B)
64 }
65
WANG Siyuanf77f7342013-08-13 17:09:51 +080066 Device(PCI0) {
67 /* Describe the AMD Northbridge */
68 #include <northbridge/amd/agesa/family16kb/acpi/northbridge.asl>
69
70 /* Describe the AMD Fusion Controller Hub Southbridge */
71 #include <southbridge/amd/agesa/hudson/acpi/fch.asl>
72 }
73
74 /* Describe PCI INT[A-H] for the Southbridge */
75 #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl>
76
77 } /* End \_SB scope */
78
79 /* Describe SMBUS for the Southbridge */
80 #include <southbridge/amd/agesa/hudson/acpi/smbus.asl>
81
82 /* Define the General Purpose Events for the platform */
83 #include "acpi/gpe.asl"
84
85 /* Define the Thermal zones and methods for the platform */
86 #include "acpi/thermal.asl"
87
88 /* Define the System Indicators for the platform */
89 #include "acpi/si.asl"
90}
91/* End of ASL file */