f941a94bc1f05945efa86cb5b45f447988c90861
[openwrt.git] / target / linux / ixp4xx / patches-2.6.35 / 302-avila_gpio_device.patch
1 --- a/arch/arm/mach-ixp4xx/avila-setup.c
2 +++ b/arch/arm/mach-ixp4xx/avila-setup.c
3 @@ -38,6 +38,13 @@
4 #define AVILA_SDA_PIN 7
5 #define AVILA_SCL_PIN 6
6
7 +/* User LEDs */
8 +#define AVILA_GW23XX_LED_USER_GPIO 3
9 +#define AVILA_GW23X7_LED_USER_GPIO 4
10 +
11 +/* gpio mask used by platform device */
12 +#define AVILA_GPIO_MASK (1 << 1) | (1 << 3) | (1 << 5) | (1 << 7) | (1 << 9)
13 +
14 struct avila_board_info {
15 unsigned char *model;
16 void (*setup)(void);
This page took 0.038801 seconds and 3 git commands to generate.