MPC86xADS.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * A collection of structures, addresses, and values associated with
  3. * the Motorola MPC8xxADS board. Copied from the FADS config.
  4. *
  5. * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
  6. *
  7. * Modified by, Yuli Barcohen, Arabella Software Ltd., yuli@arabellasw.com
  8. *
  9. * Values common to all FADS family boards are in board/fads/fads.h
  10. */
  11. #ifndef __CONFIG_H
  12. #define __CONFIG_H
  13. /*
  14. * High Level Configuration Options
  15. * (easy to change)
  16. */
  17. /* board type */
  18. #define CONFIG_MPC86xADS 1 /* new ADS */
  19. #define CONFIG_FADS 1 /* We are FADS compatible (more or less) */
  20. /* New MPC86xADS - pick one of these */
  21. #define CONFIG_MPC866T 1
  22. #undef CONFIG_MPC866P
  23. #undef CONFIG_MPC859T
  24. #undef CONFIG_MPC859DSL
  25. #undef CONFIG_MPC852T
  26. #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
  27. #undef CONFIG_8xx_CONS_SMC2
  28. #undef CONFIG_8xx_CONS_NONE
  29. #define CONFIG_BAUDRATE 38400
  30. # define CFG_8XX_FACT 5 /* Multiply by 5 */
  31. # define CFG_8XX_XIN 10000000 /* 10 MHz in */
  32. #define CONFIG_DRAM_50MHZ 1
  33. #define CONFIG_SDRAM_50MHZ 1
  34. /*-----------------------------------------------------------------------
  35. * PLPRCR - PLL, Low-Power, and Reset Control Register 14-22
  36. *-----------------------------------------------------------------------
  37. * set the PLL, the low-power modes and the reset control
  38. */
  39. #define CFG_PLPRCR ((CFG_8XX_FACT << PLPRCR_MFI_SHIFT) | PLPRCR_TEXPS)
  40. #include "fads.h"
  41. #endif /* __CONFIG_H */