mpc85xx_cds.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * arch/powerpc/platforms/85xx/mpc85xx_cds.h
  3. *
  4. * MPC85xx CDS board definitions
  5. *
  6. * Maintainer: Kumar Gala <galak@kernel.crashing.org>
  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_MPC85XX_CDS_H__
  17. #define __MACH_MPC85XX_CDS_H__
  18. /* CADMUS info */
  19. #define CADMUS_BASE (0xf8004000)
  20. #define CADMUS_SIZE (256)
  21. #define CM_VER (0)
  22. #define CM_CSR (1)
  23. #define CM_RST (2)
  24. /* CDS NVRAM/RTC */
  25. #define CDS_RTC_ADDR (0xf8000000)
  26. #define CDS_RTC_SIZE (8 * 1024)
  27. /* PCI interrupt controller */
  28. #define PIRQ0A MPC85xx_IRQ_EXT0
  29. #define PIRQ0B MPC85xx_IRQ_EXT1
  30. #define PIRQ0C MPC85xx_IRQ_EXT2
  31. #define PIRQ0D MPC85xx_IRQ_EXT3
  32. #define PIRQ1A MPC85xx_IRQ_EXT11
  33. #define NR_8259_INTS 16
  34. #define CPM_IRQ_OFFSET NR_8259_INTS
  35. #define MPC85xx_OPENPIC_IRQ_OFFSET 80
  36. #endif /* __MACH_MPC85XX_CDS_H__ */