xref: /openbmc/linux/arch/mips/include/asm/sibyte/swarm.h (revision 384740dc)
1384740dcSRalf Baechle /*
2384740dcSRalf Baechle  * Copyright (C) 2000, 2001, 2002, 2003 Broadcom Corporation
3384740dcSRalf Baechle  *
4384740dcSRalf Baechle  * This program is free software; you can redistribute it and/or
5384740dcSRalf Baechle  * modify it under the terms of the GNU General Public License
6384740dcSRalf Baechle  * as published by the Free Software Foundation; either version 2
7384740dcSRalf Baechle  * of the License, or (at your option) any later version.
8384740dcSRalf Baechle  *
9384740dcSRalf Baechle  * This program is distributed in the hope that it will be useful,
10384740dcSRalf Baechle  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11384740dcSRalf Baechle  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12384740dcSRalf Baechle  * GNU General Public License for more details.
13384740dcSRalf Baechle  *
14384740dcSRalf Baechle  * You should have received a copy of the GNU General Public License
15384740dcSRalf Baechle  * along with this program; if not, write to the Free Software
16384740dcSRalf Baechle  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17384740dcSRalf Baechle  */
18384740dcSRalf Baechle #ifndef __ASM_SIBYTE_SWARM_H
19384740dcSRalf Baechle #define __ASM_SIBYTE_SWARM_H
20384740dcSRalf Baechle 
21384740dcSRalf Baechle #include <asm/sibyte/sb1250.h>
22384740dcSRalf Baechle #include <asm/sibyte/sb1250_int.h>
23384740dcSRalf Baechle 
24384740dcSRalf Baechle #ifdef CONFIG_SIBYTE_SWARM
25384740dcSRalf Baechle #define SIBYTE_BOARD_NAME "BCM91250A (SWARM)"
26384740dcSRalf Baechle #define SIBYTE_HAVE_PCMCIA 1
27384740dcSRalf Baechle #define SIBYTE_HAVE_IDE    1
28384740dcSRalf Baechle #endif
29384740dcSRalf Baechle #ifdef CONFIG_SIBYTE_LITTLESUR
30384740dcSRalf Baechle #define SIBYTE_BOARD_NAME "BCM91250C2 (LittleSur)"
31384740dcSRalf Baechle #define SIBYTE_HAVE_PCMCIA 0
32384740dcSRalf Baechle #define SIBYTE_HAVE_IDE    1
33384740dcSRalf Baechle #define SIBYTE_DEFAULT_CONSOLE "cfe0"
34384740dcSRalf Baechle #endif
35384740dcSRalf Baechle #ifdef CONFIG_SIBYTE_CRHONE
36384740dcSRalf Baechle #define SIBYTE_BOARD_NAME "BCM91125C (CRhone)"
37384740dcSRalf Baechle #define SIBYTE_HAVE_PCMCIA 0
38384740dcSRalf Baechle #define SIBYTE_HAVE_IDE    0
39384740dcSRalf Baechle #endif
40384740dcSRalf Baechle #ifdef CONFIG_SIBYTE_CRHINE
41384740dcSRalf Baechle #define SIBYTE_BOARD_NAME "BCM91120C (CRhine)"
42384740dcSRalf Baechle #define SIBYTE_HAVE_PCMCIA 0
43384740dcSRalf Baechle #define SIBYTE_HAVE_IDE    0
44384740dcSRalf Baechle #endif
45384740dcSRalf Baechle 
46384740dcSRalf Baechle /* Generic bus chip selects */
47384740dcSRalf Baechle #define LEDS_CS         3
48384740dcSRalf Baechle #define LEDS_PHYS       0x100a0000
49384740dcSRalf Baechle 
50384740dcSRalf Baechle #ifdef SIBYTE_HAVE_IDE
51384740dcSRalf Baechle #define IDE_CS          4
52384740dcSRalf Baechle #define IDE_PHYS        0x100b0000
53384740dcSRalf Baechle #define K_GPIO_GB_IDE   4
54384740dcSRalf Baechle #define K_INT_GB_IDE    (K_INT_GPIO_0 + K_GPIO_GB_IDE)
55384740dcSRalf Baechle #endif
56384740dcSRalf Baechle 
57384740dcSRalf Baechle #ifdef SIBYTE_HAVE_PCMCIA
58384740dcSRalf Baechle #define PCMCIA_CS       6
59384740dcSRalf Baechle #define PCMCIA_PHYS     0x11000000
60384740dcSRalf Baechle #define K_GPIO_PC_READY 9
61384740dcSRalf Baechle #define K_INT_PC_READY  (K_INT_GPIO_0 + K_GPIO_PC_READY)
62384740dcSRalf Baechle #endif
63384740dcSRalf Baechle 
64384740dcSRalf Baechle #endif /* __ASM_SIBYTE_SWARM_H */
65