cpci405.h 791 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * CPCI-405 board specific definitions
  3. *
  4. * Copyright (c) 2001 Stefan Roese (stefan.roese@esd-electronics.com)
  5. */
  6. #ifdef __KERNEL__
  7. #ifndef __ASM_CPCI405_H__
  8. #define __ASM_CPCI405_H__
  9. #include <linux/config.h>
  10. /* We have a 405GP core */
  11. #include <platforms/4xx/ibm405gp.h>
  12. #include <asm/ppcboot.h>
  13. #ifndef __ASSEMBLY__
  14. /* Some 4xx parts use a different timebase frequency from the internal clock.
  15. */
  16. #define bi_tbfreq bi_intfreq
  17. /* Map for the NVRAM space */
  18. #define CPCI405_NVRAM_PADDR ((uint)0xf0200000)
  19. #define CPCI405_NVRAM_SIZE ((uint)32*1024)
  20. #ifdef CONFIG_PPC405GP_INTERNAL_CLOCK
  21. #define BASE_BAUD 201600
  22. #else
  23. #define BASE_BAUD 691200
  24. #endif
  25. #define PPC4xx_MACHINE_NAME "esd CPCI-405"
  26. #endif /* !__ASSEMBLY__ */
  27. #endif /* __ASM_CPCI405_H__ */
  28. #endif /* __KERNEL__ */