cpu_sh7763.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * Copyright (C) 2008 Renesas Solutions Corp.
  3. * Copyright (C) 2007,2008 Nobuhiro Iwamatsu
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation; either version 2 of
  8. * the License, or (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  18. * MA 02111-1307 USA
  19. */
  20. #ifndef _ASM_CPU_SH7763_H_
  21. #define _ASM_CPU_SH7763_H_
  22. /* CACHE */
  23. #define CACHE_OC_NUM_WAYS 1
  24. #define CCR 0xFF00001C
  25. #define CCR_CACHE_INIT 0x0000090b
  26. /* SCIF */
  27. /* SCIF0 */
  28. #define SCIF0_BASE SCSMR0
  29. #define SCSMR0 0xFFE00000
  30. /* SCIF1 */
  31. #define SCIF1_BASE SCSMR1
  32. #define SCSMR1 0xFFE08000
  33. /* SCIF2 */
  34. #define SCIF2_BASE SCSMR2
  35. #define SCSMR2 0xFFE10000
  36. /* Watchdog Timer */
  37. #define WTCNT WDTST
  38. #define WDTST 0xFFCC0000
  39. /* TMU */
  40. #define TSTR 0xFFD80004
  41. #define TCOR0 0xFFD80008
  42. #define TCNT0 0xFFD8000C
  43. #define TCR0 0xFFD80010
  44. #endif /* _ASM_CPU_SH7763_H_ */