ixdp425.h 938 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * include/asm-arm/arch-ixp4xx/ixdp425.h
  3. *
  4. * IXDP425 platform specific definitions
  5. *
  6. * Author: Deepak Saxena <dsaxena@plexity.net>
  7. *
  8. * Copyright 2004 (c) MontaVista, Software, Inc.
  9. *
  10. * This file is licensed under the terms of the GNU General Public
  11. * License version 2. This program is licensed "as is" without any
  12. * warranty of any kind, whether express or implied.
  13. */
  14. #ifndef __ASM_ARCH_HARDWARE_H__
  15. #error "Do not include this directly, instead #include <asm/hardware.h>"
  16. #endif
  17. #define IXDP425_FLASH_BASE IXP4XX_EXP_BUS_CS0_BASE_PHYS
  18. #define IXDP425_FLASH_SIZE IXP4XX_EXP_BUS_CSX_REGION_SIZE
  19. #define IXDP425_SDA_PIN 7
  20. #define IXDP425_SCL_PIN 6
  21. /*
  22. * IXDP425 PCI IRQs
  23. */
  24. #define IXDP425_PCI_MAX_DEV 4
  25. #define IXDP425_PCI_IRQ_LINES 4
  26. /* PCI controller GPIO to IRQ pin mappings */
  27. #define IXDP425_PCI_INTA_PIN 11
  28. #define IXDP425_PCI_INTB_PIN 10
  29. #define IXDP425_PCI_INTC_PIN 9
  30. #define IXDP425_PCI_INTD_PIN 8