diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-arm/arch-ixp4xx/fsg.h | 50 | ||||
| -rw-r--r-- | include/asm-arm/arch-ixp4xx/hardware.h | 1 | ||||
| -rw-r--r-- | include/asm-arm/arch-ixp4xx/irqs.h | 7 |
3 files changed, 58 insertions, 0 deletions
diff --git a/include/asm-arm/arch-ixp4xx/fsg.h b/include/asm-arm/arch-ixp4xx/fsg.h new file mode 100644 index 000000000000..c0100cc7981c --- /dev/null +++ b/include/asm-arm/arch-ixp4xx/fsg.h | |||
| @@ -0,0 +1,50 @@ | |||
| 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__ | ||
| 19 | #error "Do not include this directly, instead #include <asm/hardware.h>" | ||
| 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 | ||
diff --git a/include/asm-arm/arch-ixp4xx/hardware.h b/include/asm-arm/arch-ixp4xx/hardware.h index 73e8dc36f6a4..fa723a627854 100644 --- a/include/asm-arm/arch-ixp4xx/hardware.h +++ b/include/asm-arm/arch-ixp4xx/hardware.h | |||
| @@ -45,5 +45,6 @@ | |||
| 45 | #include "nslu2.h" | 45 | #include "nslu2.h" |
| 46 | #include "nas100d.h" | 46 | #include "nas100d.h" |
| 47 | #include "dsmg600.h" | 47 | #include "dsmg600.h" |
| 48 | #include "fsg.h" | ||
| 48 | 49 | ||
| 49 | #endif /* _ASM_ARCH_HARDWARE_H */ | 50 | #endif /* _ASM_ARCH_HARDWARE_H */ |
diff --git a/include/asm-arm/arch-ixp4xx/irqs.h b/include/asm-arm/arch-ixp4xx/irqs.h index 11801605047b..674af4a84147 100644 --- a/include/asm-arm/arch-ixp4xx/irqs.h +++ b/include/asm-arm/arch-ixp4xx/irqs.h | |||
| @@ -128,4 +128,11 @@ | |||
| 128 | #define IRQ_DSMG600_PCI_INTE IRQ_IXP4XX_GPIO7 | 128 | #define IRQ_DSMG600_PCI_INTE IRQ_IXP4XX_GPIO7 |
| 129 | #define IRQ_DSMG600_PCI_INTF IRQ_IXP4XX_GPIO6 | 129 | #define IRQ_DSMG600_PCI_INTF IRQ_IXP4XX_GPIO6 |
| 130 | 130 | ||
| 131 | /* | ||
| 132 | * Freecom FSG-3 Board IRQs | ||
| 133 | */ | ||
| 134 | #define IRQ_FSG_PCI_INTA IRQ_IXP4XX_GPIO6 | ||
| 135 | #define IRQ_FSG_PCI_INTB IRQ_IXP4XX_GPIO7 | ||
| 136 | #define IRQ_FSG_PCI_INTC IRQ_IXP4XX_GPIO5 | ||
| 137 | |||
| 131 | #endif | 138 | #endif |
