mpc8540_ads.h 974 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * arch/ppc/platforms/85xx/mpc8540_ads.h
  3. *
  4. * MPC8540ADS board definitions
  5. *
  6. * Maintainer: Kumar Gala <kumar.gala@freescale.com>
  7. *
  8. * Copyright 2004 Freescale Semiconductor Inc.
  9. *
  10. * This program is free software; you can redistribute it and/or modify it
  11. * under the terms of the GNU General Public License as published by the
  12. * Free Software Foundation; either version 2 of the License, or (at your
  13. * option) any later version.
  14. *
  15. */
  16. #ifndef __MACH_MPC8540ADS_H__
  17. #define __MACH_MPC8540ADS_H__
  18. #include <linux/config.h>
  19. #include <linux/initrd.h>
  20. #define BOARD_CCSRBAR ((uint)0xe0000000)
  21. #define BCSR_ADDR ((uint)0xf8000000)
  22. #define BCSR_SIZE ((uint)(32 * 1024))
  23. /* PCI interrupt controller */
  24. #define PIRQA MPC85xx_IRQ_EXT1
  25. #define PIRQB MPC85xx_IRQ_EXT2
  26. #define PIRQC MPC85xx_IRQ_EXT3
  27. #define PIRQD MPC85xx_IRQ_EXT4
  28. /* Offset of CPM register space */
  29. #define CPM_MAP_ADDR (CCSRBAR + MPC85xx_CPM_OFFSET)
  30. #endif /* __MACH_MPC8540ADS_H__ */