MIPS: Alchemy: devboards: consolidate files
[deliverable/linux.git] / arch / mips / alchemy / devboards / pb1500 / board_setup.c
index 035771c6e5b88f0faab9d99ca13a133157f2bdcd..47173f1e5ae906777efd72f6718ca674b5dfc32c 100644 (file)
 #include <asm/mach-au1x00/au1000.h>
 #include <asm/mach-pb1x00/pb1500.h>
 
+
+char irq_tab_alchemy[][5] __initdata = {
+       [12] = { -1, INTA, INTX, INTX, INTX },   /* IDSEL 12 - HPT370   */
+       [13] = { -1, INTA, INTB, INTC, INTD },   /* IDSEL 13 - PCI slot */
+};
+
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
+       { AU1500_GPIO_204, INTC_INT_HIGH_LEVEL, 0 },
+       { AU1500_GPIO_201, INTC_INT_LOW_LEVEL, 0 },
+       { AU1500_GPIO_202, INTC_INT_LOW_LEVEL, 0 },
+       { AU1500_GPIO_203, INTC_INT_LOW_LEVEL, 0 },
+       { AU1500_GPIO_205, INTC_INT_LOW_LEVEL, 0 },
+};
+
+int __initdata au1xxx_nr_irqs = ARRAY_SIZE(au1xxx_irq_map);
+
+
+const char *get_system_type(void)
+{
+       return "Alchemy Pb1500";
+}
+
 void board_reset(void)
 {
        /* Hit BCSR.RST_VDDI[SOFT_RESET] */
This page took 0.03255 seconds and 5 git commands to generate.