diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-07-24 00:18:58 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-07-24 00:18:58 +0000 |
commit | 54ad2c05af54e69ec9b21aa21f8a0305b94c85fc (patch) | |
tree | 5a16a0ac4ff7df9daad4d9c096393c306cb613c6 /target/linux/ixp4xx/patches-2.6.34/302-avila_gpio_device.patch | |
parent | 8c1d9afc409fa26245256b91eb045a2f50f54c92 (diff) | |
download | mtk-20170518-54ad2c05af54e69ec9b21aa21f8a0305b94c85fc.zip mtk-20170518-54ad2c05af54e69ec9b21aa21f8a0305b94c85fc.tar.gz mtk-20170518-54ad2c05af54e69ec9b21aa21f8a0305b94c85fc.tar.bz2 |
ixp4xx: add kernel 2.6.34 preliminary support
SVN-Revision: 22373
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.34/302-avila_gpio_device.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.34/302-avila_gpio_device.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.34/302-avila_gpio_device.patch b/target/linux/ixp4xx/patches-2.6.34/302-avila_gpio_device.patch new file mode 100644 index 0000000..f941a94 --- /dev/null +++ b/target/linux/ixp4xx/patches-2.6.34/302-avila_gpio_device.patch @@ -0,0 +1,16 @@ +--- a/arch/arm/mach-ixp4xx/avila-setup.c ++++ b/arch/arm/mach-ixp4xx/avila-setup.c +@@ -38,6 +38,13 @@ + #define AVILA_SDA_PIN 7 + #define AVILA_SCL_PIN 6 + ++/* User LEDs */ ++#define AVILA_GW23XX_LED_USER_GPIO 3 ++#define AVILA_GW23X7_LED_USER_GPIO 4 ++ ++/* gpio mask used by platform device */ ++#define AVILA_GPIO_MASK (1 << 1) | (1 << 3) | (1 << 5) | (1 << 7) | (1 << 9) ++ + struct avila_board_info { + unsigned char *model; + void (*setup)(void); |