Rod Whitby | 7e36e2f | 2008-04-01 10:53:23 +0100 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-arm/arch-ixp4xx/fsg.h |
| 3 | * |
| 4 | * Freecom FSG-3 platform specific definitions |
| 5 | * |
| 6 | * Author: Rod Whitby <rod@whitby.id.au> |
| 7 | * Author: Tomasz Chmielewski <mangoo@wpkg.org> |
| 8 | * Maintainers: http://www.nslu2-linux.org |
| 9 | * |
| 10 | * Based on coyote.h by |
| 11 | * Copyright 2004 (c) MontaVista, Software, Inc. |
| 12 | * |
| 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. |
| 16 | */ |
| 17 | |
| 18 | #ifndef __ASM_ARCH_HARDWARE_H__ |
Russell King | be50972 | 2008-08-04 10:41:28 +0100 | [diff] [blame] | 19 | #error "Do not include this directly, instead #include <asm/arch/hardware.h>" |
Rod Whitby | 7e36e2f | 2008-04-01 10:53:23 +0100 | [diff] [blame] | 20 | #endif |
| 21 | |
| 22 | #define FSG_SDA_PIN 12 |
| 23 | #define FSG_SCL_PIN 13 |
| 24 | |
| 25 | /* |
| 26 | * FSG PCI IRQs |
| 27 | */ |
| 28 | #define FSG_PCI_MAX_DEV 3 |
| 29 | #define FSG_PCI_IRQ_LINES 3 |
| 30 | |
| 31 | |
| 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 |
| 36 | |
| 37 | /* Buttons */ |
| 38 | |
| 39 | #define FSG_SB_GPIO 4 /* sync button */ |
| 40 | #define FSG_RB_GPIO 9 /* reset button */ |
| 41 | #define FSG_UB_GPIO 10 /* usb button */ |
| 42 | |
| 43 | /* LEDs */ |
| 44 | |
| 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 |