colibri.h 861 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef _COLIBRI_H_
  2. #define _COLIBRI_H_
  3. /*
  4. * common settings for all modules
  5. */
  6. /* physical memory regions */
  7. #define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */
  8. /* definitions for Colibri PXA270 */
  9. #define COLIBRI_PXA270_FLASH_PHYS (PXA_CS0_PHYS) /* Flash region */
  10. #define COLIBRI_PXA270_ETH_PHYS (PXA_CS2_PHYS) /* Ethernet */
  11. #define COLIBRI_PXA270_ETH_IRQ_GPIO 114
  12. #define COLIBRI_PXA270_ETH_IRQ \
  13. gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO))
  14. /* definitions for Colibri PXA300 */
  15. #define COLIBRI_PXA300_ETH_IRQ_GPIO 26
  16. #define COLIBRI_PXA300_ETH_IRQ \
  17. gpio_to_irq(mfp_to_gpio(COLIBRI_PXA300_ETH_IRQ_GPIO))
  18. /* definitions for Colibri PXA320 */
  19. #define COLIBRI_PXA320_ETH_IRQ_GPIO 36
  20. #define COLIBRI_PXA320_ETH_IRQ \
  21. gpio_to_irq(mfp_to_gpio(COLIBRI_PXA320_ETH_IRQ_GPIO))
  22. #endif /* _COLIBRI_H_ */