cerf.h
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  * include/asm-arm/arch-sa1100/cerf.h
  3.  *
  4.  * This program is free software; you can redistribute it and/or modify
  5.  * it under the terms of the GNU General Public License version 2 as
  6.  * published by the Free Software Foundation.
  7.  *
  8.  * Apr-2003 : Removed some old PDA crud [FB]
  9.  */
  10. #ifndef _INCLUDE_CERF_H_
  11. #define _INCLUDE_CERF_H_
  12. #include <linux/config.h>
  13. #define CERF_ETH_IO 0xf0000000
  14. #define CERF_ETH_IRQ IRQ_GPIO26
  15. #define CERF_GPIO_CF_BVD2 GPIO_GPIO (19)
  16. #define CERF_GPIO_CF_BVD1 GPIO_GPIO (20)
  17. #define CERF_GPIO_CF_RESET GPIO_GPIO (21)
  18. #define CERF_GPIO_CF_IRQ GPIO_GPIO (22)
  19. #define CERF_GPIO_CF_CD GPIO_GPIO (23)
  20. #define CERF_IRQ_GPIO_CF_BVD2 IRQ_GPIO19
  21. #define CERF_IRQ_GPIO_CF_BVD1 IRQ_GPIO20
  22. #define CERF_IRQ_GPIO_CF_IRQ IRQ_GPIO22
  23. #define CERF_IRQ_GPIO_CF_CD IRQ_GPIO23
  24. #endif // _INCLUDE_CERF_H_