avila.h 917 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * arch/arm/mach-ixp4xx/include/mach/avila.h
  3. *
  4. * Gateworks Avila platform specific definitions
  5. *
  6. * Author: Michael-Luke Jones <mlj28@cam.ac.uk>
  7. *
  8. * Based on ixdp425.h
  9. * Author: Deepak Saxena <dsaxena@plexity.net>
  10. *
  11. * Copyright 2004 (c) MontaVista, Software, Inc.
  12. *
  13. * This file is licensed under the terms of the GNU General Public
  14. * License version 2. This program is licensed "as is" without any
  15. * warranty of any kind, whether express or implied.
  16. */
  17. #ifndef __ASM_ARCH_HARDWARE_H__
  18. #error "Do not include this directly, instead #include <mach/hardware.h>"
  19. #endif
  20. #define AVILA_SDA_PIN 7
  21. #define AVILA_SCL_PIN 6
  22. /*
  23. * AVILA PCI IRQs
  24. */
  25. #define AVILA_PCI_MAX_DEV 4
  26. #define LOFT_PCI_MAX_DEV 6
  27. #define AVILA_PCI_IRQ_LINES 4
  28. /* PCI controller GPIO to IRQ pin mappings */
  29. #define AVILA_PCI_INTA_PIN 11
  30. #define AVILA_PCI_INTB_PIN 10
  31. #define AVILA_PCI_INTC_PIN 9
  32. #define AVILA_PCI_INTD_PIN 8