2 * File: arch/blackfin/mach-bf538/include/mach/gpio.h
3 * Bugs: Enter bugs at http://blackfin.uclinux.org/
5 * Copyright (C) 2008 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
14 * For now only support PORTF GPIOs.
15 * PORT C,D and E are for peripheral usage only
17 #define MAX_BLACKFIN_GPIOS 16
19 #define GPIO_PF0 0 /* PF */
35 #define GPIO_PC0 16 /* PC */
43 #define GPIO_PD0 32 /* PD */
57 #define GPIO_PE0 48 /* PE */
74 #define PORT_F GPIO_PF0
75 #define PORT_C GPIO_PC0
76 #define PORT_D GPIO_PD0
77 #define PORT_E GPIO_PE0
79 #endif /* _MACH_GPIO_H_ */