powerpmc250.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * include/asm-ppc/platforms/powerpmc250.h
  3. *
  4. * Definitions for Force PowerPMC-250 board support
  5. *
  6. * Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
  7. *
  8. * Borrowed heavily from prpmc750.h by Matt Porter <mporter@mvista.com>
  9. *
  10. * 2001-2004 (c) MontaVista, Software, Inc. This file is licensed under
  11. * the terms of the GNU General Public License version 2. This program
  12. * is licensed "as is" without any warranty of any kind, whether express
  13. * or implied.
  14. */
  15. #ifndef __ASMPPC_POWERPMC250_H
  16. #define __ASMPPC_POWERPMC250_H
  17. #define POWERPMC250_PCI_CONFIG_ADDR 0x80000cf8
  18. #define POWERPMC250_PCI_CONFIG_DATA 0x80000cfc
  19. #define POWERPMC250_PCI_PHY_MEM_BASE 0xc0000000
  20. #define POWERPMC250_PCI_MEM_BASE 0xf0000000
  21. #define POWERPMC250_PCI_IO_BASE 0x80000000
  22. #define POWERPMC250_ISA_IO_BASE POWERPMC250_PCI_IO_BASE
  23. #define POWERPMC250_ISA_MEM_BASE POWERPMC250_PCI_MEM_BASE
  24. #define POWERPMC250_PCI_MEM_OFFSET POWERPMC250_PCI_PHY_MEM_BASE
  25. #define POWERPMC250_SYS_MEM_BASE 0x80000000
  26. #define POWERPMC250_HAWK_SMC_BASE 0xfef80000
  27. #define POWERPMC250_BASE_BAUD 12288000
  28. #define POWERPMC250_SERIAL 0xff000000
  29. #define POWERPMC250_SERIAL_IRQ 20
  30. /* UART Defines. */
  31. #define RS_TABLE_SIZE 1
  32. #define BASE_BAUD (POWERPMC250_BASE_BAUD / 16)
  33. #define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF
  34. #define SERIAL_PORT_DFNS \
  35. { 0, BASE_BAUD, POWERPMC250_SERIAL, POWERPMC250_SERIAL_IRQ, \
  36. STD_COM_FLAGS, /* ttyS0 */ \
  37. iomem_base: (u8 *)POWERPMC250_SERIAL, \
  38. iomem_reg_shift: 0, \
  39. io_type: SERIAL_IO_MEM }
  40. #endif /* __ASMPPC_POWERPMC250_H */