redwood6.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * arch/ppc/platforms/4xx/redwood6.h
  3. *
  4. * Macros, definitions, and data structures specific to the IBM PowerPC
  5. * STBx25xx "Redwood6" evaluation board.
  6. *
  7. * Author: Armin Kuster <akuster@mvista.com>
  8. *
  9. * 2002 (c) MontaVista, Software, Inc. This file is licensed under
  10. * the terms of the GNU General Public License version 2. This program
  11. * is licensed "as is" without any warranty of any kind, whether express
  12. * or implied.
  13. */
  14. #ifdef __KERNEL__
  15. #ifndef __ASM_REDWOOD5_H__
  16. #define __ASM_REDWOOD5_H__
  17. /* Redwood6 has an STBx25xx core */
  18. #include <platforms/4xx/ibmstbx25.h>
  19. #ifndef __ASSEMBLY__
  20. typedef struct board_info {
  21. unsigned char bi_s_version[4]; /* Version of this structure */
  22. unsigned char bi_r_version[30]; /* Version of the IBM ROM */
  23. unsigned int bi_memsize; /* DRAM installed, in bytes */
  24. unsigned int bi_dummy; /* field shouldn't exist */
  25. unsigned char bi_enetaddr[6]; /* Ethernet MAC address */
  26. unsigned int bi_intfreq; /* Processor speed, in Hz */
  27. unsigned int bi_busfreq; /* Bus speed, in Hz */
  28. unsigned int bi_tbfreq; /* Software timebase freq */
  29. } bd_t;
  30. #endif /* !__ASSEMBLY__ */
  31. #define SMC91111_BASE_ADDR 0xf2030300
  32. #define SMC91111_REG_SIZE 16
  33. #define SMC91111_IRQ 27
  34. #define IDE_XLINUX_MUX_BASE 0xf2040000
  35. #define IDE_DMA_ADDR 0xfce00000
  36. #ifdef MAX_HWIFS
  37. #undef MAX_HWIFS
  38. #endif
  39. #define MAX_HWIFS 1
  40. #define _IO_BASE 0
  41. #define _ISA_MEM_BASE 0
  42. #define PCI_DRAM_OFFSET 0
  43. #define BASE_BAUD (378000000 / 18 / 16)
  44. #define PPC4xx_MACHINE_NAME "IBM Redwood6"
  45. #endif /* __ASM_REDWOOD5_H__ */
  46. #endif /* __KERNEL__ */