2 * This file is part of the coreboot project.
4 * Copyright (C) 2013 Advanced Micro Devices, Inc.
5 * Copyright (C) 2013 Sage Electronic Engineering, LLC
6 * Copyright (C) 2015 Sergej Ivanov <getinaks@gmail.com>
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.
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.
18 /* DefinitionBlock Statement */
20 "DSDT.AML", /* Output filename */
21 "DSDT", /* Signature */
22 0x02, /* DSDT Revision, needs to be 2 for 64bit */
24 "COREBOOT", /* TABLE ID */
25 0x00010001 /* OEM Revision */
27 { /* Start of ASL file */
28 /* #include <arch/x86/acpi/debug.asl> */ /* Include global debug methods if needed */
30 /* Globals for the platform */
31 #include "acpi/mainboard.asl"
33 /* Describe the USB Overcurrent pins */
34 #include "acpi/usb_oc.asl"
36 /* PCI IRQ mapping for the Southbridge */
37 #include <southbridge/amd/agesa/hudson/acpi/pcie.asl>
39 /* Describe the processor tree (\_PR) */
40 #include <cpu/amd/agesa/family16kb/acpi/cpu.asl>
42 /* Contains the supported sleep states for this chipset */
43 #include <southbridge/amd/common/acpi/sleepstates.asl>
45 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
46 #include "acpi/sleep.asl"
49 #include "acpi/flag0.asl"
52 Scope(\_SB) { /* Start \_SB scope */
53 /* global utility methods expected within the \_SB scope */
54 #include <arch/x86/acpi/globutil.asl>
56 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
57 #include "acpi/routing.asl"
60 Name(_HID, EISAID("PNP0C0C"))
62 Name(_PRW, Package () {3, 0x04})
67 /* Describe the AMD Northbridge */
68 #include <northbridge/amd/agesa/family16kb/acpi/northbridge.asl>
70 /* Describe the AMD Fusion Controller Hub Southbridge */
71 #include <southbridge/amd/agesa/hudson/acpi/fch.asl>
74 #include "acpi/sio.asl"
77 /* Describe PCI INT[A-H] for the Southbridge */
78 #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl>
80 } /* End \_SB scope */
82 /* Describe SMBUS for the Southbridge */
83 #include <southbridge/amd/agesa/hudson/acpi/smbus.asl>
85 /* Define the General Purpose Events for the platform */
86 #include "acpi/gpe.asl"
88 /* Define the Thermal zones and methods for the platform */
89 #include "acpi/thermal.asl"
91 /* Define the System Indicators for the platform */
92 #include "acpi/si.asl"