diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-08-29 17:08:44 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-10-29 19:08:46 +0100 |
commit | 238dd317f74250983aefbde6dc0a1f345a717993 (patch) | |
tree | 7ba6759dbb6e5b2639666fb8b6a0b02dac55a61c /arch/mips/include/asm/mach-ar7/gpio.h | |
parent | 3bc6968adc7b1926f4582a33a33ad42d9b302ce0 (diff) | |
download | kernel_samsung_tuna-238dd317f74250983aefbde6dc0a1f345a717993.zip kernel_samsung_tuna-238dd317f74250983aefbde6dc0a1f345a717993.tar.gz kernel_samsung_tuna-238dd317f74250983aefbde6dc0a1f345a717993.tar.bz2 |
MIPS: AR7: Add support for Titan (TNETV10xx) SoC variant
Add support for Titan TNETV1050,1055,1056,1060 variants. This SoC is almost
completely identical to AR7 except on a few points:
- a second bank of gpios is available
- vlynq0 on titan is vlynq1 on ar7
- different PHY addresses for cpmac0
This SoC can be found on commercial products like the Linksys WRTP54G
Original patch by Xin with improvments by Florian.
Signed-off-by: Xin Zhen <xlonestar2000@aim.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/1563/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
Diffstat (limited to 'arch/mips/include/asm/mach-ar7/gpio.h')
-rw-r--r-- | arch/mips/include/asm/mach-ar7/gpio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-ar7/gpio.h b/arch/mips/include/asm/mach-ar7/gpio.h index abc317c..c177cd1 100644 --- a/arch/mips/include/asm/mach-ar7/gpio.h +++ b/arch/mips/include/asm/mach-ar7/gpio.h @@ -22,7 +22,8 @@ #include <asm/mach-ar7/ar7.h> #define AR7_GPIO_MAX 32 -#define NR_BUILTIN_GPIO AR7_GPIO_MAX +#define TITAN_GPIO_MAX 51 +#define NR_BUILTIN_GPIO TITAN_GPIO_MAX #define gpio_to_irq(gpio) -1 |