pal4.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Definitions for SBS Palomar IV board
  3. *
  4. * Author: Dan Cox
  5. *
  6. * 2002 (c) MontaVista, Software, Inc. This file is licensed under
  7. * the terms of the GNU General Public License version 2. This program
  8. * is licensed "as is" without any warranty of any kind, whether express
  9. * or implied.
  10. */
  11. #ifndef __PPC_PLATFORMS_PAL4_H
  12. #define __PPC_PLATFORMS_PAL4_H
  13. #define PAL4_NVRAM 0xfffc0000
  14. #define PAL4_NVRAM_SIZE 0x8000
  15. #define PAL4_DRAM 0xfff80000
  16. #define PAL4_DRAM_BR_MASK 0xc0
  17. #define PAL4_DRAM_BR_SHIFT 6
  18. #define PAL4_DRAM_RESET 0x10
  19. #define PAL4_DRAM_EREADY 0x40
  20. #define PAL4_MISC 0xfff80004
  21. #define PAL4_MISC_FB_MASK 0xc0
  22. #define PAL4_MISC_FLASH 0x20 /* StratFlash mapping: 1->0xff80, 0->0xfff0 */
  23. #define PAL4_MISC_MISC 0x08
  24. #define PAL4_MISC_BITF 0x02
  25. #define PAL4_MISC_NVKS 0x01
  26. #define PAL4_L2 0xfff80008
  27. #define PAL4_L2_MASK 0x07
  28. #define PAL4_PLDR 0xfff8000c
  29. /* Only two Ethernet devices on the board... */
  30. #define PAL4_ETH 31
  31. #define PAL4_INTA 20
  32. #endif /* __PPC_PLATFORMS_PAL4_H */