Renze Nicolai | a688b7c | 2016-11-18 23:08:13 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2012 Advanced Micro Devices, Inc. |
| 5 | * Copyright (C) 2013 Sage Electronic Engineering, LLC |
Renze Nicolai | 282c832 | 2016-11-18 23:33:16 +0100 | [diff] [blame] | 6 | * Copyright (C) 2016 Renze Nicolai <renze@rnplus.nl> |
Renze Nicolai | a688b7c | 2016-11-18 23:08:13 +0100 | [diff] [blame] | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; version 2 of the License. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | */ |
| 17 | |
| 18 | /* DefinitionBlock Statement */ |
| 19 | DefinitionBlock ( |
| 20 | "DSDT.AML", /* Output filename */ |
| 21 | "DSDT", /* Signature */ |
| 22 | 0x02, /* DSDT Revision, needs to be 2 for 64bit */ |
Renze Nicolai | 282c832 | 2016-11-18 23:33:16 +0100 | [diff] [blame] | 23 | "MSI ", /* OEMID */ |
Renze Nicolai | a688b7c | 2016-11-18 23:08:13 +0100 | [diff] [blame] | 24 | "COREBOOT", /* TABLE ID */ |
| 25 | 0x00010001 /* OEM Revision */ |
| 26 | ) |
| 27 | { /* Start of ASL file */ |
Renze Nicolai | 282c832 | 2016-11-18 23:33:16 +0100 | [diff] [blame] | 28 | #include <arch/x86/acpi/debug.asl> /* Include global debug methods if needed */ |
Renze Nicolai | a688b7c | 2016-11-18 23:08:13 +0100 | [diff] [blame] | 29 | |
| 30 | /* Globals for the platform */ |
| 31 | #include "acpi/mainboard.asl" |
| 32 | |
| 33 | /* PCI IRQ mapping for the Southbridge */ |
| 34 | #include <southbridge/amd/agesa/hudson/acpi/pcie.asl> |
| 35 | |
| 36 | /* Describe the processor tree (\_PR) */ |
| 37 | #include <cpu/amd/agesa/family15tn/acpi/cpu.asl> |
| 38 | |
| 39 | /* Describe the supported Sleep States for this Southbridge */ |
| 40 | #include <southbridge/amd/agesa/hudson/acpi/sleepstates.asl> |
| 41 | |
| 42 | /* Describe the Sleep Methods (WAK, PTS, GTS, etc.) for this platform */ |
| 43 | #include "acpi/sleep.asl" |
| 44 | |
| 45 | Scope(\_SB) { |
| 46 | /* global utility methods expected within the \_SB scope */ |
| 47 | #include <arch/x86/acpi/globutil.asl> |
| 48 | |
| 49 | /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */ |
| 50 | #include "acpi/routing.asl" |
| 51 | |
| 52 | Device(PWRB) { |
| 53 | Name(_HID, EISAID("PNP0C0C")) |
| 54 | Name(_UID, 0xAA) |
| 55 | Name(_PRW, Package () {3, 0x04}) |
| 56 | Name(_STA, 0x0B) |
| 57 | } |
| 58 | |
| 59 | Device(PCI0) { |
| 60 | /* Describe the AMD Northbridge */ |
| 61 | #include <northbridge/amd/agesa/family15tn/acpi/northbridge.asl> |
| 62 | |
| 63 | /* Describe the AMD Fusion Controller Hub Southbridge */ |
| 64 | #include <southbridge/amd/agesa/hudson/acpi/fch.asl> |
Renze Nicolai | a688b7c | 2016-11-18 23:08:13 +0100 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | /* Describe PCI INT[A-H] for the Southbridge */ |
| 68 | #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl> |
| 69 | |
Renze Nicolai | 282c832 | 2016-11-18 23:33:16 +0100 | [diff] [blame] | 70 | /* Describe USB for the Southbridge */ |
| 71 | #include <southbridge/amd/agesa/hudson/acpi/usb.asl> |
| 72 | |
Renze Nicolai | a688b7c | 2016-11-18 23:08:13 +0100 | [diff] [blame] | 73 | } /* End Scope(_SB) */ |
| 74 | |
| 75 | /* Describe SMBUS for the Southbridge */ |
| 76 | #include <southbridge/amd/agesa/hudson/acpi/smbus.asl> |
| 77 | |
| 78 | /* Define the General Purpose Events for the platform */ |
| 79 | #include "acpi/gpe.asl" |
| 80 | |
| 81 | /* Define the Thermal zones and methods for the platform */ |
| 82 | #include "acpi/thermal.asl" |
| 83 | |
| 84 | /* Define the System Indicators for the platform */ |
| 85 | #include "acpi/si.asl" |
| 86 | |
| 87 | } |
| 88 | /* End of ASL file */ |