diff options
Diffstat (limited to 'include/asm-mips/sibyte/carmel.h')
-rw-r--r-- | include/asm-mips/sibyte/carmel.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/include/asm-mips/sibyte/carmel.h b/include/asm-mips/sibyte/carmel.h new file mode 100644 index 000000000000..7ac5da13ce8a --- /dev/null +++ b/include/asm-mips/sibyte/carmel.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2002 Broadcom Corporation | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU General Public License | ||
6 | * as published by the Free Software Foundation; either version 2 | ||
7 | * of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
17 | */ | ||
18 | #ifndef __ASM_SIBYTE_CARMEL_H | ||
19 | #define __ASM_SIBYTE_CARMEL_H | ||
20 | |||
21 | #include <linux/config.h> | ||
22 | |||
23 | #include <asm/sibyte/sb1250.h> | ||
24 | #include <asm/sibyte/sb1250_int.h> | ||
25 | |||
26 | #define SIBYTE_BOARD_NAME "Carmel" | ||
27 | |||
28 | #define GPIO_PHY_INTERRUPT 2 | ||
29 | #define GPIO_NONMASKABLE_INT 3 | ||
30 | #define GPIO_CF_INSERTED 6 | ||
31 | #define GPIO_MONTEREY_RESET 7 | ||
32 | #define GPIO_QUADUART_INT 8 | ||
33 | #define GPIO_CF_INT 9 | ||
34 | #define GPIO_FPGA_CCLK 10 | ||
35 | #define GPIO_FPGA_DOUT 11 | ||
36 | #define GPIO_FPGA_DIN 12 | ||
37 | #define GPIO_FPGA_PGM 13 | ||
38 | #define GPIO_FPGA_DONE 14 | ||
39 | #define GPIO_FPGA_INIT 15 | ||
40 | |||
41 | #define LEDS_CS 2 | ||
42 | #define LEDS_PHYS 0x100C0000 | ||
43 | #define MLEDS_CS 3 | ||
44 | #define MLEDS_PHYS 0x100A0000 | ||
45 | #define UART_CS 4 | ||
46 | #define UART_PHYS 0x100D0000 | ||
47 | #define ARAVALI_CS 5 | ||
48 | #define ARAVALI_PHYS 0x11000000 | ||
49 | #define IDE_CS 6 | ||
50 | #define IDE_PHYS 0x100B0000 | ||
51 | #define ARAVALI2_CS 7 | ||
52 | #define ARAVALI2_PHYS 0x100E0000 | ||
53 | |||
54 | #if defined(CONFIG_SIBYTE_CARMEL) | ||
55 | #define K_GPIO_GB_IDE 9 | ||
56 | #define K_INT_GB_IDE (K_INT_GPIO_0 + K_GPIO_GB_IDE) | ||
57 | #endif | ||
58 | |||
59 | |||
60 | #endif /* __ASM_SIBYTE_CARMEL_H */ | ||