diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/nas100d-setup.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/nas100d-setup.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/nas100d-setup.c b/arch/arm/mach-ixp4xx/nas100d-setup.c index 921c947b5b6b..e3ee880aa1e6 100644 --- a/arch/arm/mach-ixp4xx/nas100d-setup.c +++ b/arch/arm/mach-ixp4xx/nas100d-setup.c | |||
@@ -29,12 +29,26 @@ | |||
29 | #include <linux/i2c.h> | 29 | #include <linux/i2c.h> |
30 | #include <linux/i2c-gpio.h> | 30 | #include <linux/i2c-gpio.h> |
31 | #include <linux/io.h> | 31 | #include <linux/io.h> |
32 | |||
33 | #include <asm/mach-types.h> | 32 | #include <asm/mach-types.h> |
34 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
35 | #include <asm/mach/flash.h> | 34 | #include <asm/mach/flash.h> |
36 | #include <asm/gpio.h> | 35 | #include <asm/gpio.h> |
37 | 36 | ||
37 | #define NAS100D_SDA_PIN 5 | ||
38 | #define NAS100D_SCL_PIN 6 | ||
39 | |||
40 | /* Buttons */ | ||
41 | #define NAS100D_PB_GPIO 14 /* power button */ | ||
42 | #define NAS100D_RB_GPIO 4 /* reset button */ | ||
43 | |||
44 | /* Power control */ | ||
45 | #define NAS100D_PO_GPIO 12 /* power off */ | ||
46 | |||
47 | /* LEDs */ | ||
48 | #define NAS100D_LED_WLAN_GPIO 0 | ||
49 | #define NAS100D_LED_DISK_GPIO 3 | ||
50 | #define NAS100D_LED_PWR_GPIO 15 | ||
51 | |||
38 | static struct flash_platform_data nas100d_flash_data = { | 52 | static struct flash_platform_data nas100d_flash_data = { |
39 | .map_name = "cfi_probe", | 53 | .map_name = "cfi_probe", |
40 | .width = 2, | 54 | .width = 2, |