blob: c86cf27f67c2c10163037434acfa22b7b275a8e5 [file] [log] [blame]
Angel Pons5c596802020-04-03 01:21:01 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Siyuan Wang80cf7d52013-07-09 17:42:43 +08002
3/* DefinitionBlock Statement */
Furquan Shaikh76cedd22020-05-02 10:24:23 -07004#include <acpi/acpi.h>
Siyuan Wang80cf7d52013-07-09 17:42:43 +08005DefinitionBlock (
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,
Siyuan Wang80cf7d52013-07-09 17:42:43 +080011 0x00010001 /* OEM Revision */
12 )
13{ /* Start of ASL file */
Kyösti Mälkkicf246d52021-01-21 08:17:00 +020014 #include <acpi/dsdt_top.asl>
Kyösti Mälkkiecd84242013-09-13 07:57:49 +030015
Mike Loptienac90d802013-07-17 15:14:59 -060016 /* Globals for the platform */
17 #include "acpi/mainboard.asl"
Siyuan Wang80cf7d52013-07-09 17:42:43 +080018
Mike Loptienac90d802013-07-17 15:14:59 -060019 /* Describe the USB Overcurrent pins */
20 #include "acpi/usb_oc.asl"
Siyuan Wang80cf7d52013-07-09 17:42:43 +080021
Mike Loptienac90d802013-07-17 15:14:59 -060022 /* PCI IRQ mapping for the Southbridge */
23 #include <southbridge/amd/agesa/hudson/acpi/pcie.asl>
Siyuan Wang80cf7d52013-07-09 17:42:43 +080024
Michał Żygowski9550e972020-03-20 13:56:46 +010025 /* Describe the processor tree (\_SB) */
Mike Loptienac90d802013-07-17 15:14:59 -060026 #include <cpu/amd/agesa/family16kb/acpi/cpu.asl>
Siyuan Wang80cf7d52013-07-09 17:42:43 +080027
Mike Loptienac90d802013-07-17 15:14:59 -060028 /* 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>
Siyuan Wang80cf7d52013-07-09 17:42:43 +080030
Mike Loptienac90d802013-07-17 15:14:59 -060031 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
32 #include "acpi/sleep.asl"
Siyuan Wang80cf7d52013-07-09 17:42:43 +080033
34 /* System Bus */
35 Scope(\_SB) { /* Start \_SB scope */
Elyes HAOUASb0f19882018-06-09 11:59:00 +020036 /* global utility methods expected within the \_SB scope */
Mike Loptienac90d802013-07-17 15:14:59 -060037 #include <arch/x86/acpi/globutil.asl>
Siyuan Wang80cf7d52013-07-09 17:42:43 +080038
Mike Loptienac90d802013-07-17 15:14:59 -060039 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
40 #include "acpi/routing.asl"
41
Alexandru Gagniuc44f2fab2014-04-18 01:42:19 -050042 Device(PWRB) {
43 Name(_HID, EISAID("PNP0C0C"))
44 Name(_UID, 0xAA)
45 Name(_PRW, Package () {3, 0x04})
46 Name(_STA, 0x0B)
47 }
48
Siyuan Wang80cf7d52013-07-09 17:42:43 +080049 Device(PCI0) {
Mike Loptienac90d802013-07-17 15:14:59 -060050 /* Describe the AMD Northbridge */
51 #include <northbridge/amd/agesa/family16kb/acpi/northbridge.asl>
Siyuan Wang80cf7d52013-07-09 17:42:43 +080052
Mike Loptienac90d802013-07-17 15:14:59 -060053 /* Describe the AMD Fusion Controller Hub Southbridge */
54 #include <southbridge/amd/agesa/hudson/acpi/fch.asl>
Siyuan Wang80cf7d52013-07-09 17:42:43 +080055 }
Mike Loptienac90d802013-07-17 15:14:59 -060056
57 /* Describe PCI INT[A-H] for the Southbridge */
58 #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl>
59
Siyuan Wang80cf7d52013-07-09 17:42:43 +080060 } /* End \_SB scope */
61
Mike Loptienac90d802013-07-17 15:14:59 -060062 /* Describe SMBUS for the Southbridge */
63 #include <southbridge/amd/agesa/hudson/acpi/smbus.asl>
64
65 /* Define the General Purpose Events for the platform */
66 #include "acpi/gpe.asl"
67
68 /* Define the Thermal zones and methods for the platform */
69 #include "acpi/thermal.asl"
Siyuan Wang80cf7d52013-07-09 17:42:43 +080070}
71/* End of ASL file */