blob: 0b57286103d01f0be73633b9326fe242c5a4165a [file] [log] [blame]
Angel Pons08da24e2020-04-03 01:21:24 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Sergej Ivanovd777c782015-04-03 18:10:27 +03002
3/* DefinitionBlock Statement */
Furquan Shaikh76cedd22020-05-02 10:24:23 -07004#include <acpi/acpi.h>
Sergej Ivanovd777c782015-04-03 18:10:27 +03005DefinitionBlock (
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,
Sergej Ivanovd777c782015-04-03 18:10:27 +030011 0x00010001 /* OEM Revision */
12 )
13{ /* Start of ASL file */
Kyösti Mälkkicf246d52021-01-21 08:17:00 +020014 #include <acpi/dsdt_top.asl>
Sergej Ivanovd777c782015-04-03 18:10:27 +030015
16 /* Globals for the platform */
17 #include "acpi/mainboard.asl"
18
19 /* Describe the USB Overcurrent pins */
20 #include "acpi/usb_oc.asl"
21
22 /* PCI IRQ mapping for the Southbridge */
23 #include <southbridge/amd/agesa/hudson/acpi/pcie.asl>
24
Michał Żygowski9550e972020-03-20 13:56:46 +010025 /* Describe the processor tree (\_SB) */
Sergej Ivanovd777c782015-04-03 18:10:27 +030026 #include <cpu/amd/agesa/family16kb/acpi/cpu.asl>
27
28 /* Contains the supported sleep states for this chipset */
Kyösti Mälkki390ba042017-08-07 21:42:46 +030029 #include <southbridge/amd/common/acpi/sleepstates.asl>
Sergej Ivanovd777c782015-04-03 18:10:27 +030030
31 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
32 #include "acpi/sleep.asl"
33
34 /* stuff for sio */
35 #include "acpi/flag0.asl"
36
37 /* System Bus */
38 Scope(\_SB) { /* Start \_SB scope */
Elyes HAOUAS54ec7c82018-05-28 13:22:35 +020039 /* global utility methods expected within the \_SB scope */
Sergej Ivanovd777c782015-04-03 18:10:27 +030040 #include <arch/x86/acpi/globutil.asl>
41
42 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
43 #include "acpi/routing.asl"
44
45 Device(PWRB) {
46 Name(_HID, EISAID("PNP0C0C"))
47 Name(_UID, 0xAA)
48 Name(_PRW, Package () {3, 0x04})
49 Name(_STA, 0x0B)
50 }
51
52 Device(PCI0) {
53 /* Describe the AMD Northbridge */
54 #include <northbridge/amd/agesa/family16kb/acpi/northbridge.asl>
55
56 /* Describe the AMD Fusion Controller Hub Southbridge */
57 #include <southbridge/amd/agesa/hudson/acpi/fch.asl>
58
59 /* sio fixup */
60 #include "acpi/sio.asl"
61 }
62
63 /* Describe PCI INT[A-H] for the Southbridge */
64 #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl>
65
66 } /* End \_SB scope */
67
68 /* Describe SMBUS for the Southbridge */
69 #include <southbridge/amd/agesa/hudson/acpi/smbus.asl>
70
71 /* Define the General Purpose Events for the platform */
72 #include "acpi/gpe.asl"
73
74 /* Define the Thermal zones and methods for the platform */
75 #include "acpi/thermal.asl"
76
Sergej Ivanovd777c782015-04-03 18:10:27 +030077}
78/* End of ASL file */