cpu_sh7203.h 779 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef _ASM_CPU_SH7203_H_
  2. #define _ASM_CPU_SH7203_H_
  3. /* Cache */
  4. #define CCR1 0xFFFC1000
  5. #define CCR CCR1
  6. /* PFC */
  7. #define PACR 0xA4050100
  8. #define PBCR 0xA4050102
  9. #define PCCR 0xA4050104
  10. #define PETCR 0xA4050106
  11. /* Port Data Registers */
  12. #define PADR 0xA4050120
  13. #define PBDR 0xA4050122
  14. #define PCDR 0xA4050124
  15. /* BSC */
  16. /* SDRAM controller */
  17. /* SCIF */
  18. #define SCSMR_0 0xFFFE8000
  19. #define SCIF0_BASE SCSMR_0
  20. /* Timer(CMT) */
  21. #define CMSTR 0xFFFEC000
  22. #define CMCSR_0 0xFFFEC002
  23. #define CMCNT_0 0xFFFEC004
  24. #define CMCOR_0 0xFFFEC006
  25. #define CMCSR_1 0xFFFEC008
  26. #define CMCNT_1 0xFFFEC00A
  27. #define CMCOR_1 0xFFFEC00C
  28. /* On chip oscillator circuits */
  29. #define FRQCR 0xA415FF80
  30. #define WTCNT 0xA415FF84
  31. #define WTCSR 0xA415FF86
  32. #endif /* _ASM_CPU_SH7203_H_ */