blob: b8bdde86632e0d33d7bba492d561ba1253302d01 [file] [log] [blame]
Kyösti Mälkki91162702011-11-03 15:22:01 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 Kyösti Mälkki <kyosti.malkki@gmail.com>
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
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
Kyösti Mälkki3aff1a32012-04-11 12:19:03 +030020#include <arch/ioapic.h>
21
Kyösti Mälkki91162702011-11-03 15:22:01 +020022DefinitionBlock(
23 "dsdt.aml",
24 "DSDT",
Paul Menzel6a427b92013-02-04 11:38:01 +010025 0x04, // DSDT revision: ACPI v4.0
26 "COREv4", // OEM id
27 "COREBOOT", // OEM table id
28 0x20111103 // OEM revision
Kyösti Mälkki91162702011-11-03 15:22:01 +020029) {
30
31Scope(\_SB)
32{
33 Device(PCI0) {
34 Name (_HID, EISAID("PNP0A03"))
35 Name (_ADR, 0x00)
36 Name (_PRT, Package() {
37 Package() { 0x001dffff, 0, 0, 16 },
38 Package() { 0x001dffff, 1, 0, 19 },
39 Package() { 0x001dffff, 2, 0, 18 },
40 Package() { 0x001dffff, 3, 0, 23 },
41 Package() { 0x001fffff, 0, 0, 18 },
42 Package() { 0x001fffff, 1, 0, 17 },
43 })
44
45 #include "acpi/e7505_sec.asl"
46
47 OperationRegion (I750, PCI_Config, 0x00, 0x0100)
48 Field (I750, ByteAcc, NoLock, Preserve)
49 {
50 Offset (0xC4),
51 TOLM, 16, /* Top of Low Memory */
52 RBAR, 16, /* REMAP_BASE */
53 RLAR, 16 /* REMAP_LIMIT */
54 }
55 }
56
57 #include "acpi/e7505_pri.asl"
58
59
60 Device (PWBT)
61 {
62 Name (_HID, EisaId ("PNP0C0C"))
63 Name (_PRW, Package () { 0x08, 0x05 })
64 }
65
66 Device (SLBT)
67 {
68 Name (_HID, EisaId ("PNP0C0E"))
69 Name (_PRW, Package () { 0x0B, 0x05 })
70 }
71
72 Device (LID0)
73 {
74 Name (_HID, EisaId ("PNP0C0D"))
75 Name (_PRW, Package () { 0x0B, 0x05 })
76 }
77
78}
79
80Scope(\_SB.PCI0)
81{
82
83 Device(PCI1)
84 {
85 Name (_ADR, 0x00010000)
86 Name (_PRT, Package() {
87 Package() { 0x0000ffff, 0, 0, 16 },
88 Package() { 0x0000ffff, 1, 0, 17 },
89 })
90 }
91
92 Device(HLIB)
93 {
94 Name (_ADR, 0x00020000)
95 Name (_PRT, Package() {
96 Package() { 0x001dffff, 0, 0, 18 },
97 Package() { 0x001dffff, 1, 0, 18 },
98 Package() { 0x001dffff, 2, 0, 18 },
99 Package() { 0x001dffff, 3, 0, 18 },
100 Package() { 0x001fffff, 0, 0, 18 },
101 Package() { 0x001fffff, 1, 0, 18 },
102 Package() { 0x001fffff, 2, 0, 18 },
103 Package() { 0x001fffff, 3, 0, 18 },
104 })
105
106 #include "acpi/p64h2.asl"
107 }
108
109 #include "acpi/i82801db.asl"
110}
111
112#include "acpi/power.asl"
113
114}
115