summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-ixp4xx/avila.h
blob: 0dfea0ccd6baee931a9b95916cdcd35f9e00be08 (plain) (blame)
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
37
38
39
/*
 * include/asm-arm/arch-ixp4xx/avila.h
 *
 * Gateworks Avila platform specific definitions
 *
 * Author: Michael-Luke Jones <mlj28@cam.ac.uk>
 *
 * Based on ixdp425.h
 * 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	AVILA_SDA_PIN		7
#define	AVILA_SCL_PIN		6

/*
 * AVILA PCI IRQs
 */
#define AVILA_PCI_MAX_DEV	4
#define LOFT_PCI_MAX_DEV    6
#define AVILA_PCI_IRQ_LINES	4


/* PCI controller GPIO to IRQ pin mappings */
#define AVILA_PCI_INTA_PIN	11
#define AVILA_PCI_INTB_PIN	10
#define AVILA_PCI_INTC_PIN	9
#define AVILA_PCI_INTD_PIN	8