Full support for Ginger Console
[linux-ginger.git] / arch / arm / mach-ixp4xx / include / mach / fsg.h
blob1f02b7e22a139e4042886352bbe7fa446493f956
1 /*
2 * arch/arm/mach-ixp4xx/include/mach/fsg.h
4 * Freecom FSG-3 platform specific definitions
6 * Author: Rod Whitby <rod@whitby.id.au>
7 * Author: Tomasz Chmielewski <mangoo@wpkg.org>
8 * Maintainers: http://www.nslu2-linux.org
10 * Based on coyote.h by
11 * Copyright 2004 (c) MontaVista, Software, Inc.
13 * This file is licensed under the terms of the GNU General Public
14 * License version 2. This program is licensed "as is" without any
15 * warranty of any kind, whether express or implied.
18 #ifndef __ASM_ARCH_HARDWARE_H__
19 #error "Do not include this directly, instead #include <mach/hardware.h>"
20 #endif
22 #define FSG_SDA_PIN 12
23 #define FSG_SCL_PIN 13
26 * FSG PCI IRQs
28 #define FSG_PCI_MAX_DEV 3
29 #define FSG_PCI_IRQ_LINES 3
32 /* PCI controller GPIO to IRQ pin mappings */
33 #define FSG_PCI_INTA_PIN 6
34 #define FSG_PCI_INTB_PIN 7
35 #define FSG_PCI_INTC_PIN 5
37 /* Buttons */
39 #define FSG_SB_GPIO 4 /* sync button */
40 #define FSG_RB_GPIO 9 /* reset button */
41 #define FSG_UB_GPIO 10 /* usb button */
43 /* LEDs */
45 #define FSG_LED_WLAN_BIT 0
46 #define FSG_LED_WAN_BIT 1
47 #define FSG_LED_SATA_BIT 2
48 #define FSG_LED_USB_BIT 4
49 #define FSG_LED_RING_BIT 5
50 #define FSG_LED_SYNC_BIT 7