diff options
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 |