aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-ixp4xx/coyote.h
blob: dd0c2d2d85039e7749559b17e2b0b48b917db190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * include/asm-arm/arch-ixp4xx/coyote.h
 *
 * ADI Engineering platform specific definitions
 *
 * Author: Deepak Saxena <dsaxena@plexity.net>
 *
 * Copyright 2004 (c) MontaVista, Software, Inc. 
 * 
 * This file is licensed under  the terms of the GNU General Public 
 * License version 2. This program is licensed "as is" without any 
 * warranty of any kind, whether express or implied.
 */

#ifndef __ASM_ARCH_HARDWARE_H__
#error "Do not include this directly, instead #include <asm/hardware.h>"
#endif

#define	COYOTE_FLASH_BASE	IXP4XX_EXP_BUS_CS0_BASE_PHYS
#define	COYOTE_FLASH_SIZE	IXP4XX_EXP_BUS_CSX_REGION_SIZE * 2

/* PCI controller GPIO to IRQ pin mappings */
#define	COYOTE_PCI_SLOT0_PIN	6
#define	COYOTE_PCI_SLOT1_PIN	11

#define	COYOTE_PCI_SLOT0_DEVID	14
#define	COYOTE_PCI_SLOT1_DEVID	15

#define	COYOTE_IDE_BASE_PHYS	IXP4XX_EXP_BUS_CS3_BASE_PHYS
#define	COYOTE_IDE_BASE_VIRT	0xFFFE1000
#define	COYOTE_IDE_REGION_SIZE	0x1000

#define	COYOTE_IDE_DATA_PORT	0xFFFE10E0
#define	COYOTE_IDE_CTRL_PORT	0xFFFE10FC
#define	COYOTE_IDE_ERROR_PORT	0xFFFE10E2