aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/aopen/dxplplusu/dsdt.asl
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2011-11-03 15:22:01 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-03-08 14:26:24 +0100
commit91162705a65e87c56d9fc58edfe597140d1b4d53 (patch)
treee549c88e3aa264f3817ae4efc7e0a2ca72394cf9 /src/mainboard/aopen/dxplplusu/dsdt.asl
parentc5fc7db3559e080858461b724251f87be6faa2cd (diff)
Add support for A-Open DXPL Plus-U motherboard
This is an old (pre-2005) entry-level server mainboard. The code is adapted from mainboard/intel/xe7501devkit. Featured chips: - Dual socket604 - E7505 northbridge - 82801DB southbridge (with EHCI debug port) - 82870p2 PCI-X bridge - LPC47M102S-MC super-io - 512kB FWH flash (flashrom does the job well) What works: - Dual-Xeon P4/HT boot with microcode update - RAM: registered ECC DDR266 in dual-channel - PCI-X slot interrupts with ACPI and I/O apic - On-board PCI-X GbE and SCSI - ACPI power-off and wakeup with PME# Notes : - Current ACPI is more or less a mess - Interrupts do not route correctly with PIRQ - MP-table is not implemented - Issues with reboots remain (cold and warm) - Many superio devices are disabled by default - Audio codec is not investigated Change-Id: I02d18c83f485a09ada65dde03bcc86e9163f2011 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/303 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/aopen/dxplplusu/dsdt.asl')
-rw-r--r--src/mainboard/aopen/dxplplusu/dsdt.asl113
1 files changed, 113 insertions, 0 deletions
diff --git a/src/mainboard/aopen/dxplplusu/dsdt.asl b/src/mainboard/aopen/dxplplusu/dsdt.asl
new file mode 100644
index 0000000000..31cfa88ff3
--- /dev/null
+++ b/src/mainboard/aopen/dxplplusu/dsdt.asl
@@ -0,0 +1,113 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2011 Kyösti Mälkki <kyosti.malkki@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+DefinitionBlock(
+ "dsdt.aml",
+ "DSDT",
+ 0x04, // DSDT revision: ACPI v4.0
+ "COREv4", // OEM id
+ "COREBOOT", // OEM table id
+ 0x20111103 // OEM revision
+) {
+
+Scope(\_SB)
+{
+ Device(PCI0) {
+ Name (_HID, EISAID("PNP0A03"))
+ Name (_ADR, 0x00)
+ Name (_PRT, Package() {
+ Package() { 0x001dffff, 0, 0, 16 },
+ Package() { 0x001dffff, 1, 0, 19 },
+ Package() { 0x001dffff, 2, 0, 18 },
+ Package() { 0x001dffff, 3, 0, 23 },
+ Package() { 0x001fffff, 0, 0, 18 },
+ Package() { 0x001fffff, 1, 0, 17 },
+ })
+
+ #include "acpi/e7505_sec.asl"
+
+ OperationRegion (I750, PCI_Config, 0x00, 0x0100)
+ Field (I750, ByteAcc, NoLock, Preserve)
+ {
+ Offset (0xC4),
+ TOLM, 16, /* Top of Low Memory */
+ RBAR, 16, /* REMAP_BASE */
+ RLAR, 16 /* REMAP_LIMIT */
+ }
+ }
+
+ #include "acpi/e7505_pri.asl"
+
+
+ Device (PWBT)
+ {
+ Name (_HID, EisaId ("PNP0C0C"))
+ Name (_PRW, Package () { 0x08, 0x05 })
+ }
+
+ Device (SLBT)
+ {
+ Name (_HID, EisaId ("PNP0C0E"))
+ Name (_PRW, Package () { 0x0B, 0x05 })
+ }
+
+ Device (LID0)
+ {
+ Name (_HID, EisaId ("PNP0C0D"))
+ Name (_PRW, Package () { 0x0B, 0x05 })
+ }
+
+}
+
+Scope(\_SB.PCI0)
+{
+
+ Device(PCI1)
+ {
+ Name (_ADR, 0x00010000)
+ Name (_PRT, Package() {
+ Package() { 0x0000ffff, 0, 0, 16 },
+ Package() { 0x0000ffff, 1, 0, 17 },
+ })
+ }
+
+ Device(HLIB)
+ {
+ Name (_ADR, 0x00020000)
+ Name (_PRT, Package() {
+ Package() { 0x001dffff, 0, 0, 18 },
+ Package() { 0x001dffff, 1, 0, 18 },
+ Package() { 0x001dffff, 2, 0, 18 },
+ Package() { 0x001dffff, 3, 0, 18 },
+ Package() { 0x001fffff, 0, 0, 18 },
+ Package() { 0x001fffff, 1, 0, 18 },
+ Package() { 0x001fffff, 2, 0, 18 },
+ Package() { 0x001fffff, 3, 0, 18 },
+ })
+
+ #include "acpi/p64h2.asl"
+ }
+
+ #include "acpi/i82801db.asl"
+}
+
+#include "acpi/power.asl"
+
+}
+