blob: 3bf0ed615b56e69a0064e0c5c5a1eea3a6c21e0b [file] [log] [blame]
Piotr Króldcd2f172016-05-27 12:04:13 +02001/*
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
17/* DefinitionBlock Statement */
Elyes HAOUAS6d19a202018-11-22 11:15:29 +010018#include <arch/acpi.h>
Piotr Króldcd2f172016-05-27 12:04:13 +020019DefinitionBlock (
20 "DSDT.AML", /* Output filename */
21 "DSDT", /* Signature */
22 0x02, /* DSDT Revision, needs to be 2 for 64bit */
Elyes HAOUAS6d19a202018-11-22 11:15:29 +010023 OEM_ID,
24 ACPI_TABLE_CREATOR,
Piotr Króldcd2f172016-05-27 12:04:13 +020025 0x00010001 /* OEM Revision */
26 )
27{ /* Start of ASL file */
28 /* #include <arch/x86/acpi/debug.asl> */ /* Include global debug methods if needed */
29
30 /* Globals for the platform */
31 #include "acpi/mainboard.asl"
32
33 /* Describe the USB Overcurrent pins */
34 #include "acpi/usb_oc.asl"
35
36 /* PCI IRQ mapping for the Southbridge */
37 #include <southbridge/amd/pi/hudson/acpi/pcie.asl>
38
39 /* Describe the processor tree (\_PR) */
40 #include <cpu/amd/pi/00730F01/acpi/cpu.asl>
41
42 /* Contains the supported sleep states for this chipset */
Kyösti Mälkki390ba042017-08-07 21:42:46 +030043 #include <southbridge/amd/common/acpi/sleepstates.asl>
Piotr Króldcd2f172016-05-27 12:04:13 +020044
45 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
46 #include "acpi/sleep.asl"
47
48 /* System Bus */
49 Scope(\_SB) { /* Start \_SB scope */
Elyes HAOUASd37a5bc2018-05-28 13:42:22 +020050 /* global utility methods expected within the \_SB scope */
Piotr Króldcd2f172016-05-27 12:04:13 +020051 #include <arch/x86/acpi/globutil.asl>
52
53 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
54 #include "acpi/routing.asl"
55
56 Device(PWRB) {
57 Name(_HID, EISAID("PNP0C0C"))
58 Name(_UID, 0xAA)
59 Name(_PRW, Package () {3, 0x04})
60 Name(_STA, 0x0B)
61 }
62
63 Device(PCI0) {
64 /* Describe the AMD Northbridge */
65 #include <northbridge/amd/pi/00730F01/acpi/northbridge.asl>
66
67 /* Describe the AMD Fusion Controller Hub Southbridge */
68 #include <southbridge/amd/pi/hudson/acpi/fch.asl>
69 }
70
71 /* Describe PCI INT[A-H] for the Southbridge */
72 #include <southbridge/amd/pi/hudson/acpi/pci_int.asl>
73
74 } /* End \_SB scope */
75
76 /* Describe SMBUS for the Southbridge */
77 #include <southbridge/amd/pi/hudson/acpi/smbus.asl>
78
79 /* Define the General Purpose Events for the platform */
80 #include "acpi/gpe.asl"
81
82 /* Define the System Indicators for the platform */
83 #include "acpi/si.asl"
84}
85/* End of ASL file */