/arch/arm/mach-pxa/include/mach/csb726.h

https://github.com/AICP/kernel_asus_grouper · C Header · 26 lines · 11 code · 5 blank · 10 comment · 0 complexity · d057804e6e800f98c895adae5f9d24f2 MD5 · raw file

  1. /*
  2. * Support for Cogent CSB726
  3. *
  4. * Copyright (c) 2008 Dmitry Baryshkov
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. *
  10. */
  11. #ifndef CSB726_H
  12. #define CSB726_H
  13. #define CSB726_GPIO_IRQ_LAN 52
  14. #define CSB726_GPIO_IRQ_SM501 53
  15. #define CSB726_GPIO_MMC_DETECT 100
  16. #define CSB726_GPIO_MMC_RO 101
  17. #define CSB726_FLASH_SIZE (64 * 1024 * 1024)
  18. #define CSB726_FLASH_uMON (8 * 1024 * 1024)
  19. #define CSB726_IRQ_LAN gpio_to_irq(CSB726_GPIO_IRQ_LAN)
  20. #define CSB726_IRQ_SM501 gpio_to_irq(CSB726_GPIO_IRQ_SM501)
  21. #endif