gpio.h 643 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * File: arch/blackfin/mach-bf533/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. #ifndef _MACH_GPIO_H_
  9. #define _MACH_GPIO_H_
  10. #define MAX_BLACKFIN_GPIOS 16
  11. #define GPIO_PF0 0
  12. #define GPIO_PF1 1
  13. #define GPIO_PF2 2
  14. #define GPIO_PF3 3
  15. #define GPIO_PF4 4
  16. #define GPIO_PF5 5
  17. #define GPIO_PF6 6
  18. #define GPIO_PF7 7
  19. #define GPIO_PF8 8
  20. #define GPIO_PF9 9
  21. #define GPIO_PF10 10
  22. #define GPIO_PF11 11
  23. #define GPIO_PF12 12
  24. #define GPIO_PF13 13
  25. #define GPIO_PF14 14
  26. #define GPIO_PF15 15
  27. #define PORT_F GPIO_PF0
  28. #endif /* _MACH_GPIO_H_ */