diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-12 18:22:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-12 18:22:22 -0500 |
commit | f40542532e96dda5506eb76badea322f2ae4731c (patch) | |
tree | 157b37de0c375aaebe73dc68762beb7ffe998e76 /arch/arm/mach-ixp4xx/gtwx5715-setup.c | |
parent | f01eb3640308c005d31b29d0a8bc2b7acb4e3f75 (diff) | |
parent | 0fd7dc7f6c88ba4a46ff472a30d175facc8b6292 (diff) |
Merge branch 'ixp4xx' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux-2.6
* 'ixp4xx' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux-2.6:
IXP4xx: GTWX5715 platform only has two PCI IRQ lines, not four.
IXP4xx: Introduce IXP4XX_GPIO_IRQ(n) macro and convert IXP4xx platform files.
IXP4xx: move Gemtek GTWX5715 platform macros to the platform code.
IXP4xx: Remove unused Motorola PrPMC1100 platform macros.
IXP4xx: move FSG platform macros to the platform code.
IXP4xx: move DSM G600 platform macros to the platform code.
IXP4xx: move NAS100D platform macros to the platform code.
IXP4xx: move NSLU2 platform macros to the platform code.
IXP4xx: move Coyote platform macros to the platform code.
IXP4xx: move AVILA platform macros to the platform code.
IXP4xx: move IXDP425 platform macros to the platform code.
IXP4xx: Extend PCI MMIO indirect address space to 1 GB.
IXP4xx: Fix compilation failure with CONFIG_IXP4XX_INDIRECT_PCI.
IXP4xx: Drop "__ixp4xx_" prefix from in/out/ioread/iowrite functions for clarity.
IXP4xx: Rename indirect MMIO primitives from __ixp4xx_* to __indirect_*.
IXP4xx: Ensure index is positive in irq_to_gpio() and npe_request().
ARM: fix insl() and outsl() endianness on IXP4xx architecture.
IXP4xx: Fix normally-disabled debugging text in drivers/net/arm/ixp4xx_eth.c.
IXP4xx: change the timer base frequency to 66.666000 MHz.
Diffstat (limited to 'arch/arm/mach-ixp4xx/gtwx5715-setup.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/gtwx5715-setup.c | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/arch/arm/mach-ixp4xx/gtwx5715-setup.c b/arch/arm/mach-ixp4xx/gtwx5715-setup.c index 25c21d6665ec..0bc7185cb6f7 100644 --- a/arch/arm/mach-ixp4xx/gtwx5715-setup.c +++ b/arch/arm/mach-ixp4xx/gtwx5715-setup.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/tty.h> | 28 | #include <linux/tty.h> |
29 | #include <linux/serial_8250.h> | 29 | #include <linux/serial_8250.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | |||
32 | #include <asm/types.h> | 31 | #include <asm/types.h> |
33 | #include <asm/setup.h> | 32 | #include <asm/setup.h> |
34 | #include <asm/memory.h> | 33 | #include <asm/memory.h> |
@@ -37,7 +36,34 @@ | |||
37 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
38 | #include <asm/mach/arch.h> | 37 | #include <asm/mach/arch.h> |
39 | #include <asm/mach/flash.h> | 38 | #include <asm/mach/flash.h> |
40 | #include <mach/gtwx5715.h> | 39 | |
40 | /* GPIO 5,6,7 and 12 are hard wired to the Kendin KS8995M Switch | ||
41 | and operate as an SPI type interface. The details of the interface | ||
42 | are available on Kendin/Micrel's web site. */ | ||
43 | |||
44 | #define GTWX5715_KSSPI_SELECT 5 | ||
45 | #define GTWX5715_KSSPI_TXD 6 | ||
46 | #define GTWX5715_KSSPI_CLOCK 7 | ||
47 | #define GTWX5715_KSSPI_RXD 12 | ||
48 | |||
49 | /* The "reset" button is wired to GPIO 3. | ||
50 | The GPIO is brought "low" when the button is pushed. */ | ||
51 | |||
52 | #define GTWX5715_BUTTON_GPIO 3 | ||
53 | |||
54 | /* Board Label Front Label | ||
55 | LED1 Power | ||
56 | LED2 Wireless-G | ||
57 | LED3 not populated but could be | ||
58 | LED4 Internet | ||
59 | LED5 - LED8 Controlled by KS8995M Switch | ||
60 | LED9 DMZ */ | ||
61 | |||
62 | #define GTWX5715_LED1_GPIO 2 | ||
63 | #define GTWX5715_LED2_GPIO 9 | ||
64 | #define GTWX5715_LED3_GPIO 8 | ||
65 | #define GTWX5715_LED4_GPIO 1 | ||
66 | #define GTWX5715_LED9_GPIO 4 | ||
41 | 67 | ||
42 | /* | 68 | /* |
43 | * Xscale UART registers are 32 bits wide with only the least | 69 | * Xscale UART registers are 32 bits wide with only the least |