prpmc800.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*
  2. * arch/ppc/platforms/prpmc800.h
  3. *
  4. * Definitions for Motorola PrPMC800 board support
  5. *
  6. * Author: Dale Farnsworth <dale.farnsworth@mvista.com>
  7. *
  8. * 2001-2004 (c) MontaVista, Software, Inc. This file is licensed under
  9. * the terms of the GNU General Public License version 2. This program
  10. * is licensed "as is" without any warranty of any kind, whether express
  11. * or implied.
  12. */
  13. /*
  14. * From Processor to PCI:
  15. * PCI Mem Space: 0x80000000 - 0xa0000000 -> 0x80000000 - 0xa0000000 (512 MB)
  16. * PCI I/O Space: 0xfe400000 - 0xfeef0000 -> 0x00000000 - 0x00b00000 (11 MB)
  17. * Note: Must skip 0xfe000000-0xfe400000 for CONFIG_HIGHMEM/PKMAP area
  18. *
  19. * From PCI to Processor:
  20. * System Memory: 0x00000000 -> 0x00000000
  21. */
  22. #ifndef __ASMPPC_PRPMC800_H
  23. #define __ASMPPC_PRPMC800_H
  24. #define PRPMC800_PCI_CONFIG_ADDR 0xfe000cf8
  25. #define PRPMC800_PCI_CONFIG_DATA 0xfe000cfc
  26. #define PRPMC800_PROC_PCI_IO_START 0xfe400000U
  27. #define PRPMC800_PROC_PCI_IO_END 0xfeefffffU
  28. #define PRPMC800_PCI_IO_START 0x00000000U
  29. #define PRPMC800_PCI_IO_END 0x00afffffU
  30. #define PRPMC800_PROC_PCI_MEM_START 0x80000000U
  31. #define PRPMC800_PROC_PCI_MEM_END 0x9fffffffU
  32. #define PRPMC800_PCI_MEM_START 0x80000000U
  33. #define PRPMC800_PCI_MEM_END 0x9fffffffU
  34. #define PRPMC800_NM_PROC_PCI_MEM_START 0x40000000U
  35. #define PRPMC800_NM_PROC_PCI_MEM_END 0xdfffffffU
  36. #define PRPMC800_NM_PCI_MEM_START 0x40000000U
  37. #define PRPMC800_NM_PCI_MEM_END 0xdfffffffU
  38. #define PRPMC800_PCI_DRAM_OFFSET 0x00000000U
  39. #define PRPMC800_PCI_PHY_MEM_OFFSET 0x00000000U
  40. #define PRPMC800_ISA_IO_BASE PRPMC800_PROC_PCI_IO_START
  41. #define PRPMC800_ISA_MEM_BASE 0x00000000U
  42. #define PRPMC800_HARRIER_XCSR_BASE HARRIER_DEFAULT_XCSR_BASE
  43. #define PRPMC800_HARRIER_MPIC_BASE 0xff000000
  44. #define PRPMC800_SERIAL_1 0xfeff00c0
  45. #define PRPMC800_BASE_BAUD 1843200
  46. /*
  47. * interrupt vector number and priority for harrier internal interrupt
  48. * sources
  49. */
  50. #define PRPMC800_INT_IRQ 16
  51. #define PRPMC800_INT_PRI 15
  52. /* UART Defines. */
  53. #define RS_TABLE_SIZE 4
  54. /* Rate for the 1.8432 Mhz clock for the onboard serial chip */
  55. #define BASE_BAUD (PRPMC800_BASE_BAUD / 16)
  56. #define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF
  57. /* UARTS are at IRQ 16 */
  58. #define STD_SERIAL_PORT_DFNS \
  59. { 0, BASE_BAUD, PRPMC800_SERIAL_1, 16, STD_COM_FLAGS, /* ttyS0 */\
  60. iomem_base: (unsigned char *)PRPMC800_SERIAL_1, \
  61. iomem_reg_shift: 0, \
  62. io_type: SERIAL_IO_MEM },
  63. #define SERIAL_PORT_DFNS \
  64. STD_SERIAL_PORT_DFNS
  65. #endif /* __ASMPPC_PRPMC800_H */