summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-ar7/gpio.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-08-29 19:08:44 +0400
committerRalf Baechle <ralf@linux-mips.org>2010-10-29 22:08:46 +0400
commit238dd317f74250983aefbde6dc0a1f345a717993 (patch)
tree7ba6759dbb6e5b2639666fb8b6a0b02dac55a61c /arch/mips/include/asm/mach-ar7/gpio.h
parent3bc6968adc7b1926f4582a33a33ad42d9b302ce0 (diff)
downloadlinux-238dd317f74250983aefbde6dc0a1f345a717993.tar.xz
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.h3
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 abc317c0372e..c177cd1eed25 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