blob: f1840f64b6347c682e68ca81b2759a5827f7da8f [file] [log] [blame]
Renze Nicolaia688b7c2016-11-18 23:08:13 +01001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2012 Advanced Micro Devices, Inc.
5 * Copyright (C) 2013 Sage Electronic Engineering, LLC
Renze Nicolai282c8322016-11-18 23:33:16 +01006 * Copyright (C) 2016 Renze Nicolai <renze@rnplus.nl>
Renze Nicolaia688b7c2016-11-18 23:08:13 +01007 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 */
17
18/* DefinitionBlock Statement */
19DefinitionBlock (
20 "DSDT.AML", /* Output filename */
21 "DSDT", /* Signature */
22 0x02, /* DSDT Revision, needs to be 2 for 64bit */
Renze Nicolai282c8322016-11-18 23:33:16 +010023 "MSI ", /* OEMID */
Renze Nicolaia688b7c2016-11-18 23:08:13 +010024 "COREBOOT", /* TABLE ID */
25 0x00010001 /* OEM Revision */
26 )
27{ /* Start of ASL file */
Renze Nicolai282c8322016-11-18 23:33:16 +010028 #include <arch/x86/acpi/debug.asl> /* Include global debug methods if needed */
Renze Nicolaia688b7c2016-11-18 23:08:13 +010029
30 /* Globals for the platform */
31 #include "acpi/mainboard.asl"
32
33 /* PCI IRQ mapping for the Southbridge */
34 #include <southbridge/amd/agesa/hudson/acpi/pcie.asl>
35
36 /* Describe the processor tree (\_PR) */
37 #include <cpu/amd/agesa/family15tn/acpi/cpu.asl>
38
39 /* Describe the supported Sleep States for this Southbridge */
40 #include <southbridge/amd/agesa/hudson/acpi/sleepstates.asl>
41
42 /* Describe the Sleep Methods (WAK, PTS, GTS, etc.) for this platform */
43 #include "acpi/sleep.asl"
44
45 Scope(\_SB) {
46 /* global utility methods expected within the \_SB scope */
47 #include <arch/x86/acpi/globutil.asl>
48
49 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
50 #include "acpi/routing.asl"
51
52 Device(PWRB) {
53 Name(_HID, EISAID("PNP0C0C"))
54 Name(_UID, 0xAA)
55 Name(_PRW, Package () {3, 0x04})
56 Name(_STA, 0x0B)
57 }
58
59 Device(PCI0) {
60 /* Describe the AMD Northbridge */
61 #include <northbridge/amd/agesa/family15tn/acpi/northbridge.asl>
62
63 /* Describe the AMD Fusion Controller Hub Southbridge */
64 #include <southbridge/amd/agesa/hudson/acpi/fch.asl>
Renze Nicolaia688b7c2016-11-18 23:08:13 +010065 }
66
67 /* Describe PCI INT[A-H] for the Southbridge */
68 #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl>
69
Renze Nicolai282c8322016-11-18 23:33:16 +010070 /* Describe USB for the Southbridge */
71 #include <southbridge/amd/agesa/hudson/acpi/usb.asl>
72
Renze Nicolaia688b7c2016-11-18 23:08:13 +010073 } /* End Scope(_SB) */
74
75 /* Describe SMBUS for the Southbridge */
76 #include <southbridge/amd/agesa/hudson/acpi/smbus.asl>
77
78 /* Define the General Purpose Events for the platform */
79 #include "acpi/gpe.asl"
80
81 /* Define the Thermal zones and methods for the platform */
82 #include "acpi/thermal.asl"
83
84 /* Define the System Indicators for the platform */
85 #include "acpi/si.asl"
86
87}
88/* End of ASL file */