this is not a platform specific patch
[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 @@ -36,6 +36,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.039188 seconds and 5 git commands to generate.