diff options
Diffstat (limited to 'arch/blackfin/mach-bf518/include/mach/gpio.h')
| -rw-r--r-- | arch/blackfin/mach-bf518/include/mach/gpio.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/gpio.h b/arch/blackfin/mach-bf518/include/mach/gpio.h new file mode 100644 index 000000000000..9757683c3948 --- /dev/null +++ b/arch/blackfin/mach-bf518/include/mach/gpio.h | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | /* | ||
| 2 | * File: arch/blackfin/mach-bf518/include/mach/gpio.h | ||
| 3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 4 | * | ||
| 5 | * Copyright (C) 2008 Analog Devices Inc. | ||
| 6 | * Licensed under the GPL-2 or later. | ||
| 7 | */ | ||
| 8 | |||
| 9 | |||
| 10 | #ifndef _MACH_GPIO_H_ | ||
| 11 | #define _MACH_GPIO_H_ | ||
| 12 | |||
| 13 | #define MAX_BLACKFIN_GPIOS 40 | ||
| 14 | |||
| 15 | #define GPIO_PF0 0 | ||
| 16 | #define GPIO_PF1 1 | ||
| 17 | #define GPIO_PF2 2 | ||
| 18 | #define GPIO_PF3 3 | ||
| 19 | #define GPIO_PF4 4 | ||
| 20 | #define GPIO_PF5 5 | ||
| 21 | #define GPIO_PF6 6 | ||
| 22 | #define GPIO_PF7 7 | ||
| 23 | #define GPIO_PF8 8 | ||
| 24 | #define GPIO_PF9 9 | ||
| 25 | #define GPIO_PF10 10 | ||
| 26 | #define GPIO_PF11 11 | ||
| 27 | #define GPIO_PF12 12 | ||
| 28 | #define GPIO_PF13 13 | ||
| 29 | #define GPIO_PF14 14 | ||
| 30 | #define GPIO_PF15 15 | ||
| 31 | #define GPIO_PG0 16 | ||
| 32 | #define GPIO_PG1 17 | ||
| 33 | #define GPIO_PG2 18 | ||
| 34 | #define GPIO_PG3 19 | ||
| 35 | #define GPIO_PG4 20 | ||
| 36 | #define GPIO_PG5 21 | ||
| 37 | #define GPIO_PG6 22 | ||
| 38 | #define GPIO_PG7 23 | ||
| 39 | #define GPIO_PG8 24 | ||
| 40 | #define GPIO_PG9 25 | ||
| 41 | #define GPIO_PG10 26 | ||
| 42 | #define GPIO_PG11 27 | ||
| 43 | #define GPIO_PG12 28 | ||
| 44 | #define GPIO_PG13 29 | ||
| 45 | #define GPIO_PG14 30 | ||
| 46 | #define GPIO_PG15 31 | ||
| 47 | #define GPIO_PH0 32 | ||
| 48 | #define GPIO_PH1 33 | ||
| 49 | #define GPIO_PH2 34 | ||
| 50 | #define GPIO_PH3 35 | ||
| 51 | #define GPIO_PH4 36 | ||
| 52 | #define GPIO_PH5 37 | ||
| 53 | #define GPIO_PH6 38 | ||
| 54 | #define GPIO_PH7 39 | ||
| 55 | |||
| 56 | #define PORT_F GPIO_PF0 | ||
| 57 | #define PORT_G GPIO_PG0 | ||
| 58 | #define PORT_H GPIO_PH0 | ||
| 59 | |||
| 60 | #endif /* _MACH_GPIO_H_ */ | ||
