]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - include/asm-arm/arch-ixp4xx/nslu2.h
Merge branch 'header-move' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemo...
[mirror_ubuntu-hirsute-kernel.git] / include / asm-arm / arch-ixp4xx / nslu2.h
CommitLineData
a7918f39
AZ
1/*
2 * include/asm-arm/arch-ixp4xx/nslu2.h
3 *
4 * NSLU2 platform specific definitions
5 *
6 * Author: Mark Rakes <mrakes AT mac.com>
7 * Maintainers: http://www.nslu2-linux.org
8 *
9 * based on ixdp425.h:
10 * Copyright 2004 (c) MontaVista, Software, Inc.
11 *
cc50a0df 12 * This file is licensed under the terms of the GNU General Public
a7918f39
AZ
13 * License version 2. This program is licensed "as is" without any
14 * warranty of any kind, whether express or implied.
15 */
16
17#ifndef __ASM_ARCH_HARDWARE_H__
be509729 18#error "Do not include this directly, instead #include <asm/arch/hardware.h>"
a7918f39
AZ
19#endif
20
a7918f39
AZ
21#define NSLU2_SDA_PIN 7
22#define NSLU2_SCL_PIN 6
23
24/*
25 * NSLU2 PCI IRQs
26 */
27#define NSLU2_PCI_MAX_DEV 3
28#define NSLU2_PCI_IRQ_LINES 3
29
30
31/* PCI controller GPIO to IRQ pin mappings */
32#define NSLU2_PCI_INTA_PIN 11
33#define NSLU2_PCI_INTB_PIN 10
34#define NSLU2_PCI_INTC_PIN 9
35#define NSLU2_PCI_INTD_PIN 8
36
a7918f39
AZ
37/* NSLU2 Timer */
38#define NSLU2_FREQ 66000000
a7918f39
AZ
39
40/* Buttons */
41
0929ac3e 42#define NSLU2_PB_GPIO 5 /* power button */
cc50a0df 43#define NSLU2_PO_GPIO 8 /* power off */
0929ac3e 44#define NSLU2_RB_GPIO 12 /* reset button */
a7918f39
AZ
45
46/* Buzzer */
47
48#define NSLU2_GPIO_BUZZ 4
a47d08e2 49
a7918f39
AZ
50/* LEDs */
51
cc50a0df
MLJ
52#define NSLU2_LED_RED_GPIO 0
53#define NSLU2_LED_GRN_GPIO 1
cc50a0df
MLJ
54#define NSLU2_LED_DISK1_GPIO 3
55#define NSLU2_LED_DISK2_GPIO 2