summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include/mach/gpio.h
blob: 8571446b09bb955591c62ff21b4db4d33066cb8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __ASM_ARCH_GPIO_H
#define __ASM_ARCH_GPIO_H

/*
 * 288 (#267 is the highest one actually hooked up) onchip GPIOs, plus enough
 * room for a couple of GPIO expanders.
 */

#if CONFIG_ARCH_NR_GPIO > 0
#define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO
#else
#define ARCH_NR_GPIOS	355
#endif

#define NOMADIK_NR_GPIO	288

#endif /* __ASM_ARCH_GPIO_H */