cpu_sh7734.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. * (C) Copyright 2008, 2011 Renesas Solutions Corp.
  3. *
  4. * SH7734 Internal I/O register
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation; either version 2 of
  9. * the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  19. * MA 02111-1307 USA
  20. */
  21. #ifndef _ASM_CPU_SH7734_H_
  22. #define _ASM_CPU_SH7734_H_
  23. #define CCR 0xFF00001C
  24. #define CACHE_OC_NUM_WAYS 4
  25. #define CCR_CACHE_INIT 0x0000090d
  26. /* SCIF */
  27. #define SCIF0_BASE 0xFFE40000
  28. #define SCIF1_BASE 0xFFE41000
  29. #define SCIF2_BASE 0xFFE42000
  30. #define SCIF3_BASE 0xFFE43000
  31. #define SCIF4_BASE 0xFFE44000
  32. #define SCIF5_BASE 0xFFE45000
  33. /* Timer */
  34. #define TMU_BASE 0xFFD80000
  35. /* PFC */
  36. #define PMMR (0xFFFC0000)
  37. #define MODESEL0 (0xFFFC004C)
  38. #define MODESEL2 (MODESEL0 + 0x4)
  39. #define MODESEL2_INIT (0x00003000)
  40. #define IPSR0 (0xFFFC001C)
  41. #define IPSR1 (IPSR0 + 0x4)
  42. #define IPSR2 (IPSR0 + 0x8)
  43. #define IPSR3 (IPSR0 + 0xC)
  44. #define IPSR4 (IPSR0 + 0x10)
  45. #define IPSR5 (IPSR0 + 0x14)
  46. #define IPSR6 (IPSR0 + 0x18)
  47. #define IPSR7 (IPSR0 + 0x1C)
  48. #define IPSR8 (IPSR0 + 0x20)
  49. #define IPSR9 (IPSR0 + 0x24)
  50. #define IPSR10 (IPSR0 + 0x28)
  51. #define IPSR11 (IPSR0 + 0x2C)
  52. #define GPSR0 (0xFFFC0004)
  53. #define GPSR1 (GPSR0 + 0x4)
  54. #define GPSR2 (GPSR0 + 0x8)
  55. #define GPSR3 (GPSR0 + 0xC)
  56. #define GPSR4 (GPSR0 + 0x10)
  57. #define GPSR5 (GPSR0 + 0x14)
  58. #endif /* _ASM_CPU_SH7734_H_ */