board-mx31ads.h 903 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved.
  3. */
  4. /*
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef __ASM_ARCH_MXC_BOARD_MX31ADS_H__
  10. #define __ASM_ARCH_MXC_BOARD_MX31ADS_H__
  11. #include <mach/hardware.h>
  12. /*
  13. * These symbols are used by drivers/net/cs89x0.c.
  14. * This is ugly as hell, but we have to provide them until
  15. * someone fixed the driver.
  16. */
  17. /* Base address of PBC controller */
  18. #define PBC_BASE_ADDRESS MX31_CS4_BASE_ADDR_VIRT
  19. /* Offsets for the PBC Controller register */
  20. /* Ethernet Controller IO base address */
  21. #define PBC_CS8900A_IOBASE 0x020000
  22. #define MXC_EXP_IO_BASE (MXC_BOARD_IRQ_START)
  23. #define EXPIO_INT_ENET_INT (MXC_EXP_IO_BASE + 8)
  24. #endif /* __ASM_ARCH_MXC_BOARD_MX31ADS_H__ */