summaryrefslogtreecommitdiff
path: root/src/southbridge/ti/pci7420/pci7420.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-01-17 13:52:50 +0000
committerStefan Reinauer <stepan@openbios.org>2010-01-17 13:52:50 +0000
commit2e73e1975149aea1ac78dced3d9e8b0b7f684113 (patch)
tree95cc16f94b62c4d0571cc063dffddb3ea7c5c633 /src/southbridge/ti/pci7420/pci7420.h
parentf00052afbfffe87a3f0e07bbb5b8453f48ad19f5 (diff)
Add support for the Texas Instruments Cardbus+Firewire bridge TI PCI7420
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5029 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/ti/pci7420/pci7420.h')
-rw-r--r--src/southbridge/ti/pci7420/pci7420.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/southbridge/ti/pci7420/pci7420.h b/src/southbridge/ti/pci7420/pci7420.h
new file mode 100644
index 0000000000..3fd389ad90
--- /dev/null
+++ b/src/southbridge/ti/pci7420/pci7420.h
@@ -0,0 +1,48 @@
+/*
+ * (C) Copyright 2008-2009 coresystems GmbH
+ *
+ * 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
+ */
+ // 0844d060 (old)
+#define SYSCTL 0x80 // 08405061
+#define RIMUX (1 << 0)
+
+#define GENCTL 0x86
+#define FW1394_PRIO (0 << 0)
+#define CARDBUS_PRIO (1 << 0)
+#define FLASH_PRIO (2 << 0)
+#define ROUNDR_PRIO (3 << 0)
+#define DISABLE_OHCI (1 << 3)
+#define DISABLE_SKTB (1 << 4)
+#define DISABLE_FM (1 << 5)
+#define P12V_SW_SEL (1 << 10)
+
+#define MFUNC 0x8c
+
+#define CARDCTL 0x91
+#define SPKROUTEN (1 << 1)
+
+#define DEVCTL 0x92
+#define INT_MODE_PAR (0 << 1)
+#define INT_MODE_RSV (1 << 1)
+#define INT_MODE_MIX (2 << 1)
+#define INT_MODE_SER (3 << 1)
+
+#define INTA 0
+#define INTB 1
+#define INTC 2
+#define INTD 3
+