Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 1 | /* |
| 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. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
Paul Menzel | a46a712 | 2013-02-23 18:37:27 +0100 | [diff] [blame] | 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 18 | */ |
| 19 | |
| 20 | /* DefinitionBlock Statement */ |
| 21 | DefinitionBlock ( |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 22 | "DSDT.AML", /* Output filename */ |
| 23 | "DSDT", /* Signature */ |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 24 | 0x02, /* DSDT Revision, needs to be 2 for 64bit */ |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 25 | "AMD ", /* OEMID */ |
| 26 | "COREBOOT", /* TABLE ID */ |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 27 | 0x00010001 /* OEM Revision */ |
| 28 | ) |
| 29 | { /* Start of ASL file */ |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 30 | /* #include <arch/x86/acpi/debug.asl> */ /* Include global debug methods if needed */ |
Kyösti Mälkki | ecd8424 | 2013-09-13 07:57:49 +0300 | [diff] [blame] | 31 | |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 32 | #include "acpi/mainboard.asl" |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 33 | |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 34 | #include <cpu/amd/agesa/family14/acpi/cpu.asl> |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 35 | |
| 36 | #include "acpi/routing.asl" |
Kyösti Mälkki | ecd8424 | 2013-09-13 07:57:49 +0300 | [diff] [blame] | 37 | |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 38 | Scope(\_SB) { |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 39 | /* global utility methods expected within the \_SB scope */ |
| 40 | #include <arch/x86/acpi/globutil.asl> |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 41 | |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 42 | Device(PCI0) { |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 43 | |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 44 | /* Describe the AMD Northbridge */ |
| 45 | #include <northbridge/amd/agesa/family14/acpi/northbridge.asl> |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 46 | |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 47 | /* Describe the AMD Fusion Controller Hub Southbridge */ |
| 48 | #include <southbridge/amd/cimx/sb800/acpi/fch.asl> |
| 49 | |
Edward O'Callaghan | 99e2bf8 | 2014-04-06 02:53:49 +1100 | [diff] [blame^] | 50 | /* Primary (and only) IDE channel */ |
| 51 | Device(IDEC) { |
| 52 | Name(_ADR, 0x00140001) |
| 53 | #include "acpi/ide.asl" |
| 54 | } /* end IDEC */ |
| 55 | |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 56 | } |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 57 | } /* End Scope(_SB) */ |
| 58 | |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 59 | /* Contains the supported sleep states for this chipset */ |
| 60 | #include <southbridge/amd/cimx/sb800/acpi/sleepstates.asl> |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 61 | |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 62 | /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */ |
| 63 | #include "acpi/sleep.asl" |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 64 | |
Mike Loptien | ba7ed4b | 2013-03-29 13:33:39 -0600 | [diff] [blame] | 65 | #include "acpi/gpe.asl" |
| 66 | #include <southbridge/amd/cimx/sb800/acpi/smbus.asl> |
| 67 | #include "acpi/thermal.asl" |
Frank Vibrans | 69da1b6 | 2011-02-14 19:04:45 +0000 | [diff] [blame] | 68 | } |
| 69 | /* End of ASL file */ |