summaryrefslogtreecommitdiff
path: root/src/superio/fintek/f71889/f71889.h
diff options
context:
space:
mode:
authorAlec Ari <neotheuser@ymail.com>2010-11-03 21:46:41 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-11-03 21:46:41 +0000
commit0ae7131f2e65ae1d16d31feeedbb303d6f2e2277 (patch)
treea9f21ce509db17ba249c932cf98afa83c0b30e01 /src/superio/fintek/f71889/f71889.h
parenta215b0f0be2116b77192d6a3ec06a5616207432a (diff)
Add Fintek F71889 Super I/O support.
Untested, but should work mostly (even though some TODOs remain). Signed-off-by: Alec Ari <neotheuser@ymail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6017 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/fintek/f71889/f71889.h')
-rw-r--r--src/superio/fintek/f71889/f71889.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/superio/fintek/f71889/f71889.h b/src/superio/fintek/f71889/f71889.h
new file mode 100644
index 0000000000..f1dde6f203
--- /dev/null
+++ b/src/superio/fintek/f71889/f71889.h
@@ -0,0 +1,32 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2010 Alec Ari <neotheuser@ymail.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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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
+ */
+
+/* Logical Device Numbers (LDN). */
+#define F71889_FDC 0x00 /* Floppy */
+#define F71889_SP1 0x01 /* UART1 */
+#define F71889_SP2 0x02 /* UART2 */
+#define F71889_PP 0x03 /* Parallel port */
+#define F71889_HWM 0x04 /* Hardware monitor */
+#define F71889_KBC 0x05 /* Keyboard and mouse */
+#define F71889_GPIO 0x06 /* General Purpose I/O (GPIO) */
+#define F71889_VID 0x07 /* VID */
+#define F71889_SPI 0x08 /* SPI */
+#define F71889_PME 0x0a /* Power Management Events (PME) and ACPI */
+#define F71889_VREF 0x0b /* Vref */