Linux-2.6.12-rc2
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-arm / arch-omap / board-h3.h
1 /*
2 * linux/include/asm-arm/arch-omap/board-h3.h
3 *
4 * Copyright (C) 2001 RidgeRun, Inc.
5 * Copyright (C) 2004 Texas Instruments, Inc.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
11 *
12 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
13 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
14 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
15 * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
16 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
17 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
18 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
21 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22 *
23 * You should have received a copy of the GNU General Public License along
24 * with this program; if not, write to the Free Software Foundation, Inc.,
25 * 675 Mass Ave, Cambridge, MA 02139, USA.
26 */
27 #ifndef __ASM_ARCH_OMAP_H3_H
28 #define __ASM_ARCH_OMAP_H3_H
29
30 /* In OMAP1710 H3 the Ethernet is directly connected to CS1 */
31 #define OMAP1710_ETHR_START 0x04000300
32
33 /* Intel STRATA NOR flash at CS3 or CS2B(NAND Boot) */
34 #define OMAP_NOR_FLASH_SIZE SZ_32M
35 #define OMAP_NOR_FLASH_START1 0x0C000000 /* CS3 */
36 #define OMAP_NOR_FLASH_START2 0x0A000000 /* CS2B */
37
38 /* Samsung NAND flash at CS2B or CS3(NAND Boot) */
39 #define OMAP_NAND_FLASH_START1 0x0A000000 /* CS2B */
40 #define OMAP_NAND_FLASH_START2 0x0C000000 /* CS3 */
41
42 #define MAXIRQNUM (IH_BOARD_BASE)
43 #define MAXFIQNUM MAXIRQNUM
44 #define MAXSWINUM MAXIRQNUM
45
46 #define NR_IRQS (MAXIRQNUM + 1)
47
48
49 #endif /* __ASM_ARCH_OMAP_H3_H */