csb726.h 658 B

1234567891011121314151617181920212223242526
  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