csb726.h 712 B

1234567891011121314151617181920212223242526272829
  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. #include <mach/irqs.h> /* PXA_GPIO_TO_IRQ */
  14. #define CSB726_GPIO_IRQ_LAN 52
  15. #define CSB726_GPIO_IRQ_SM501 53
  16. #define CSB726_GPIO_MMC_DETECT 100
  17. #define CSB726_GPIO_MMC_RO 101
  18. #define CSB726_FLASH_SIZE (64 * 1024 * 1024)
  19. #define CSB726_FLASH_uMON (8 * 1024 * 1024)
  20. #define CSB726_IRQ_LAN PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_LAN)
  21. #define CSB726_IRQ_SM501 PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_SM501)
  22. #endif