summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/include/asm/mach-lasat
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mips/include/asm/mach-lasat')
-rw-r--r--kernel/arch/mips/include/asm/mach-lasat/irq.h13
-rw-r--r--kernel/arch/mips/include/asm/mach-lasat/mach-gt64120.h27
2 files changed, 40 insertions, 0 deletions
diff --git a/kernel/arch/mips/include/asm/mach-lasat/irq.h b/kernel/arch/mips/include/asm/mach-lasat/irq.h
new file mode 100644
index 000000000..3a282419d
--- /dev/null
+++ b/kernel/arch/mips/include/asm/mach-lasat/irq.h
@@ -0,0 +1,13 @@
+#ifndef _ASM_MACH_LASAT_IRQ_H
+#define _ASM_MACH_LASAT_IRQ_H
+
+#define LASAT_CASCADE_IRQ (MIPS_CPU_IRQ_BASE + 2)
+
+#define LASAT_IRQ_BASE 8
+#define LASAT_IRQ_END 23
+
+#define NR_IRQS 24
+
+#include_next <irq.h>
+
+#endif /* _ASM_MACH_LASAT_IRQ_H */
diff --git a/kernel/arch/mips/include/asm/mach-lasat/mach-gt64120.h b/kernel/arch/mips/include/asm/mach-lasat/mach-gt64120.h
new file mode 100644
index 000000000..c253d3fa5
--- /dev/null
+++ b/kernel/arch/mips/include/asm/mach-lasat/mach-gt64120.h
@@ -0,0 +1,27 @@
+/*
+ * This is a direct copy of the ev96100.h file, with a global
+ * search and replace. The numbers are the same.
+ *
+ * The reason I'm duplicating this is so that the 64120/96100
+ * defines won't be confusing in the source code.
+ */
+#ifndef _ASM_GT64120_LASAT_GT64120_DEP_H
+#define _ASM_GT64120_LASAT_GT64120_DEP_H
+
+/*
+ * GT64120 config space base address on Lasat 100
+ */
+#define GT64120_BASE (KSEG1ADDR(0x14000000))
+
+/*
+ * PCI Bus allocation
+ *
+ * (Guessing ...)
+ */
+#define GT_PCI_MEM_BASE 0x12000000UL
+#define GT_PCI_MEM_SIZE 0x02000000UL
+#define GT_PCI_IO_BASE 0x10000000UL
+#define GT_PCI_IO_SIZE 0x02000000UL
+#define GT_ISA_IO_BASE PCI_IO_BASE
+
+#endif /* _ASM_GT64120_LASAT_GT64120_DEP_H */