blob: 0cf657f23a23a319c4b8187e916b81a6f93d0161 [file] [log] [blame]
Frank Vibrans69da1b62011-02-14 19:04:45 +00001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 Advanced Micro Devices, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Frank Vibrans69da1b62011-02-14 19:04:45 +000014 */
15
16/* DefinitionBlock Statement */
17DefinitionBlock (
Mike Loptienba7ed4b2013-03-29 13:33:39 -060018 "DSDT.AML", /* Output filename */
19 "DSDT", /* Signature */
Frank Vibrans69da1b62011-02-14 19:04:45 +000020 0x02, /* DSDT Revision, needs to be 2 for 64bit */
Mike Loptienba7ed4b2013-03-29 13:33:39 -060021 "AMD ", /* OEMID */
22 "COREBOOT", /* TABLE ID */
Frank Vibrans69da1b62011-02-14 19:04:45 +000023 0x00010001 /* OEM Revision */
24 )
25{ /* Start of ASL file */
Mike Loptienba7ed4b2013-03-29 13:33:39 -060026 /* #include <arch/x86/acpi/debug.asl> */ /* Include global debug methods if needed */
Kyösti Mälkkiecd84242013-09-13 07:57:49 +030027
Mike Loptienba7ed4b2013-03-29 13:33:39 -060028 #include "acpi/mainboard.asl"
Frank Vibrans69da1b62011-02-14 19:04:45 +000029
Mike Loptienba7ed4b2013-03-29 13:33:39 -060030 #include <cpu/amd/agesa/family14/acpi/cpu.asl>
Frank Vibrans69da1b62011-02-14 19:04:45 +000031
32 #include "acpi/routing.asl"
Kyösti Mälkkiecd84242013-09-13 07:57:49 +030033
Frank Vibrans69da1b62011-02-14 19:04:45 +000034 Scope(\_SB) {
Mike Loptienba7ed4b2013-03-29 13:33:39 -060035 /* global utility methods expected within the \_SB scope */
36 #include <arch/x86/acpi/globutil.asl>
Frank Vibrans69da1b62011-02-14 19:04:45 +000037
Mike Loptienba7ed4b2013-03-29 13:33:39 -060038 Device(PCI0) {
Frank Vibrans69da1b62011-02-14 19:04:45 +000039
Mike Loptienba7ed4b2013-03-29 13:33:39 -060040 /* Describe the AMD Northbridge */
41 #include <northbridge/amd/agesa/family14/acpi/northbridge.asl>
Frank Vibrans69da1b62011-02-14 19:04:45 +000042
Mike Loptienba7ed4b2013-03-29 13:33:39 -060043 /* Describe the AMD Fusion Controller Hub Southbridge */
44 #include <southbridge/amd/cimx/sb800/acpi/fch.asl>
45
Edward O'Callaghan99e2bf82014-04-06 02:53:49 +110046 /* Primary (and only) IDE channel */
47 Device(IDEC) {
48 Name(_ADR, 0x00140001)
49 #include "acpi/ide.asl"
50 } /* end IDEC */
51
Frank Vibrans69da1b62011-02-14 19:04:45 +000052 }
Frank Vibrans69da1b62011-02-14 19:04:45 +000053 } /* End Scope(_SB) */
54
Mike Loptienba7ed4b2013-03-29 13:33:39 -060055 /* Contains the supported sleep states for this chipset */
56 #include <southbridge/amd/cimx/sb800/acpi/sleepstates.asl>
Frank Vibrans69da1b62011-02-14 19:04:45 +000057
Mike Loptienba7ed4b2013-03-29 13:33:39 -060058 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
59 #include "acpi/sleep.asl"
Frank Vibrans69da1b62011-02-14 19:04:45 +000060
Mike Loptienba7ed4b2013-03-29 13:33:39 -060061 #include "acpi/gpe.asl"
Frank Vibrans69da1b62011-02-14 19:04:45 +000062}
63/* End of ASL file */