diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-07-12 00:32:52 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 00:32:52 -0400 |
commit | 5610db61cf2945a5e74667e952f2792c96ba53a1 (patch) | |
tree | 982c8cdb8267ac0a162b4de5d3d3b545adcff602 /include/asm-blackfin/gpio.h | |
parent | 520473b0775ce046d179afa686fb3222884c389d (diff) |
Blackfin arch: Add Support for Peripheral PortMux and resouce allocation
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/gpio.h')
-rw-r--r-- | include/asm-blackfin/gpio.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/include/asm-blackfin/gpio.h b/include/asm-blackfin/gpio.h index e679703f7ae5..7480cfa7e2d6 100644 --- a/include/asm-blackfin/gpio.h +++ b/include/asm-blackfin/gpio.h | |||
@@ -210,6 +210,56 @@ | |||
210 | 210 | ||
211 | #ifdef BF561_FAMILY | 211 | #ifdef BF561_FAMILY |
212 | #define MAX_BLACKFIN_GPIOS 48 | 212 | #define MAX_BLACKFIN_GPIOS 48 |
213 | |||
214 | #define GPIO_PF0 0 | ||
215 | #define GPIO_PF1 1 | ||
216 | #define GPIO_PF2 2 | ||
217 | #define GPIO_PF3 3 | ||
218 | #define GPIO_PF4 4 | ||
219 | #define GPIO_PF5 5 | ||
220 | #define GPIO_PF6 6 | ||
221 | #define GPIO_PF7 7 | ||
222 | #define GPIO_PF8 8 | ||
223 | #define GPIO_PF9 9 | ||
224 | #define GPIO_PF10 10 | ||
225 | #define GPIO_PF11 11 | ||
226 | #define GPIO_PF12 12 | ||
227 | #define GPIO_PF13 13 | ||
228 | #define GPIO_PF14 14 | ||
229 | #define GPIO_PF15 15 | ||
230 | #define GPIO_PF16 16 | ||
231 | #define GPIO_PF17 17 | ||
232 | #define GPIO_PF18 18 | ||
233 | #define GPIO_PF19 19 | ||
234 | #define GPIO_PF20 20 | ||
235 | #define GPIO_PF21 21 | ||
236 | #define GPIO_PF22 22 | ||
237 | #define GPIO_PF23 23 | ||
238 | #define GPIO_PF24 24 | ||
239 | #define GPIO_PF25 25 | ||
240 | #define GPIO_PF26 26 | ||
241 | #define GPIO_PF27 27 | ||
242 | #define GPIO_PF28 28 | ||
243 | #define GPIO_PF29 29 | ||
244 | #define GPIO_PF30 30 | ||
245 | #define GPIO_PF31 31 | ||
246 | #define GPIO_PF32 32 | ||
247 | #define GPIO_PF33 33 | ||
248 | #define GPIO_PF34 34 | ||
249 | #define GPIO_PF35 35 | ||
250 | #define GPIO_PF36 36 | ||
251 | #define GPIO_PF37 37 | ||
252 | #define GPIO_PF38 38 | ||
253 | #define GPIO_PF39 39 | ||
254 | #define GPIO_PF40 40 | ||
255 | #define GPIO_PF41 41 | ||
256 | #define GPIO_PF42 42 | ||
257 | #define GPIO_PF43 43 | ||
258 | #define GPIO_PF44 44 | ||
259 | #define GPIO_PF45 45 | ||
260 | #define GPIO_PF46 46 | ||
261 | #define GPIO_PF47 47 | ||
262 | |||
213 | #define PORT_FIO0 GPIO_0 | 263 | #define PORT_FIO0 GPIO_0 |
214 | #define PORT_FIO1 GPIO_16 | 264 | #define PORT_FIO1 GPIO_16 |
215 | #define PORT_FIO2 GPIO_32 | 265 | #define PORT_FIO2 GPIO_32 |