src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / mainboard / biostar / a68n_5200 / dsdt.asl
blob4fdefdc1a865e6ff958915d3867e56fc84c0a484
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* This file is part of the coreboot project. */
4 /* DefinitionBlock Statement */
5 #include <acpi/acpi.h>
6 DefinitionBlock (
7         "DSDT.AML",     /* Output filename */
8         "DSDT",         /* Signature */
9         0x02,           /* DSDT Revision, needs to be 2 for 64bit */
10         OEM_ID,
11         ACPI_TABLE_CREATOR,
12         0x00010001      /* OEM Revision */
13         )
14 {       /* Start of ASL file */
15         /* #include <arch/x86/acpi/debug.asl> */        /* Include global debug methods if needed */
17         /* Globals for the platform */
18         #include "acpi/mainboard.asl"
20         /* Describe the USB Overcurrent pins */
21         #include "acpi/usb_oc.asl"
23         /* PCI IRQ mapping for the Southbridge */
24         #include <southbridge/amd/agesa/hudson/acpi/pcie.asl>
26         /* Describe the processor tree (\_SB) */
27         #include <cpu/amd/agesa/family16kb/acpi/cpu.asl>
29         /* Contains the supported sleep states for this chipset */
30         #include <southbridge/amd/common/acpi/sleepstates.asl>
32         /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
33         #include "acpi/sleep.asl"
35         /* System Bus */
36         Scope(\_SB) { /* Start \_SB scope */
37                 /* global utility methods expected within the \_SB scope */
38                 #include <arch/x86/acpi/globutil.asl>
40                 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
41                 #include "acpi/routing.asl"
43                 Device(PWRB) {
44                         Name(_HID, EISAID("PNP0C0C"))
45                         Name(_UID, 0xAA)
46                         Name(_PRW, Package () {3, 0x04})
47                         Name(_STA, 0x0B)
48                 }
50                 Device(PCI0) {
51                         /* Describe the AMD Northbridge */
52                         #include <northbridge/amd/agesa/family16kb/acpi/northbridge.asl>
54                         /* Describe the AMD Fusion Controller Hub Southbridge */
55                         #include <southbridge/amd/agesa/hudson/acpi/fch.asl>
56                 }
58                 /* Describe PCI INT[A-H] for the Southbridge */
59                 #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl>
61         } /* End \_SB scope */
63         /* Describe SMBUS for the Southbridge */
64         #include <southbridge/amd/agesa/hudson/acpi/smbus.asl>
66         /* Define the General Purpose Events for the platform */
67         #include "acpi/gpe.asl"
69         /* Define the Thermal zones and methods for the platform */
70         #include "acpi/thermal.asl"
72         /* Define the System Indicators for the platform */
73         #include "acpi/si.asl"
75 /* End of ASL file */