atlas.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * Carsten Langgaard, carstenl@mips.com
  3. * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
  4. *
  5. * ########################################################################
  6. *
  7. * This program is free software; you can distribute it and/or modify it
  8. * under the terms of the GNU General Public License (Version 2) as
  9. * published by the Free Software Foundation.
  10. *
  11. * This program is distributed in the hope it will be useful, but WITHOUT
  12. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  14. * for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License along
  17. * with this program; if not, write to the Free Software Foundation, Inc.,
  18. * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
  19. *
  20. * ########################################################################
  21. *
  22. * Defines of the Atlas board specific address-MAP, registers, etc.
  23. *
  24. */
  25. #ifndef _MIPS_ATLAS_H
  26. #define _MIPS_ATLAS_H
  27. #include <asm/addrspace.h>
  28. /*
  29. * Atlas RTC-device indirect register access.
  30. */
  31. #define ATLAS_RTC_ADR_REG 0x1f000800
  32. #define ATLAS_RTC_DAT_REG 0x1f000808
  33. /*
  34. * Atlas interrupt controller register base.
  35. */
  36. #define ATLAS_ICTRL_REGS_BASE 0x1f000000
  37. /*
  38. * Atlas UART register base.
  39. */
  40. #define ATLAS_UART_REGS_BASE 0x1f000900
  41. #define ATLAS_BASE_BAUD ( 3686400 / 16 )
  42. /*
  43. * Atlas PSU standby register.
  44. */
  45. #define ATLAS_PSUSTBY_REG 0x1f000600
  46. #define ATLAS_GOSTBY 0x4d
  47. /*
  48. * We make a universal assumption about the way the bootloader (YAMON)
  49. * have located the Philips SAA9730 chip.
  50. * This is not ideal, but is needed for setting up remote debugging as
  51. * soon as possible.
  52. */
  53. #define ATLAS_SAA9730_REG 0x10800000
  54. #define ATLAS_SAA9730_BAUDCLOCK 3692300
  55. #endif /* !(_MIPS_ATLAS_H) */