blob: a1efc5df20933218cfb465fd823c2d1e0a0ff78e [file] [log] [blame]
Angel Pons5f1bf2f2020-04-03 01:21:16 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Gergely Kiss3dce9f02017-12-27 15:24:04 +01002
3/* DefinitionBlock Statement */
Furquan Shaikh76cedd22020-05-02 10:24:23 -07004#include <acpi/acpi.h>
Gergely Kiss3dce9f02017-12-27 15:24:04 +01005DefinitionBlock (
Elyes HAOUAS2bfaabc2020-10-01 17:03:55 +02006 "dsdt.aml",
Elyes HAOUAS37509d72020-10-01 17:11:56 +02007 "DSDT",
Elyes HAOUAS90d00de2020-10-05 16:38:53 +02008 ACPI_DSDT_REV_2,
Elyes HAOUAS6d19a202018-11-22 11:15:29 +01009 OEM_ID,
10 ACPI_TABLE_CREATOR,
Gergely Kiss3dce9f02017-12-27 15:24:04 +010011 0x00010001 /* OEM Revision */
12 )
13{ /* Start of ASL file */
Kyösti Mälkkicf246d52021-01-21 08:17:00 +020014 #include <acpi/dsdt_top.asl>
Gergely Kiss3dce9f02017-12-27 15:24:04 +010015
16 /* Globals for the platform */
17 #include "acpi/mainboard.asl"
18
19 /* PCI IRQ mapping for the Southbridge */
20 #include <southbridge/amd/agesa/hudson/acpi/pcie.asl>
21
Michał Żygowski9550e972020-03-20 13:56:46 +010022 /* Describe the processor tree (\_SB) */
Gergely Kiss3dce9f02017-12-27 15:24:04 +010023 #include <cpu/amd/agesa/family16kb/acpi/cpu.asl>
24
25 /* Contains the supported sleep states for this chipset */
26 #include <southbridge/amd/common/acpi/sleepstates.asl>
27
28 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
29 #include "acpi/sleep.asl"
30
31 /* System Bus */
32 Scope(\_SB) { /* Start \_SB scope */
Elyes HAOUASd54e8592018-05-28 13:18:17 +020033 /* global utility methods expected within the \_SB scope */
Gergely Kiss3dce9f02017-12-27 15:24:04 +010034 #include <arch/x86/acpi/globutil.asl>
35
36 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
37 #include "acpi/routing.asl"
38
39 Device(PWRB) {
40 Name(_HID, EISAID("PNP0C0C"))
41 Name(_UID, 0xAA)
42 Name(_PRW, Package () {3, 0x04})
43 Name(_STA, 0x0B)
44 }
45
46 Device(PCI0) {
47 /* Describe the AMD Northbridge */
48 #include <northbridge/amd/agesa/family16kb/acpi/northbridge.asl>
49
50 /* Describe the AMD Fusion Controller Hub Southbridge */
51 #include <southbridge/amd/agesa/hudson/acpi/fch.asl>
52 }
53
54 /* Describe PCI INT[A-H] for the Southbridge */
55 #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl>
56
57 } /* End \_SB scope */
58
59 /* Describe SMBUS for the Southbridge */
60 #include <southbridge/amd/agesa/hudson/acpi/smbus.asl>
Gergely Kiss3dce9f02017-12-27 15:24:04 +010061}
62/* End of ASL file */