Nobuhiro Iwamatsu | a04ce4f | 2010-10-25 02:58:21 +0900 | [diff] [blame] | 1 | #ifndef _ASM_CPU_SH7706_H_ |
| 2 | #define _ASM_CPU_SH7706_H_ |
| 3 | |
| 4 | #define CACHE_OC_NUM_WAYS 4 |
| 5 | #define CCR_CACHE_INIT 0x0000000D |
| 6 | |
| 7 | /* MMU and Cache control */ |
| 8 | #define MMUCR 0xFFFFFFE0 |
| 9 | #define CCR 0xFFFFFFEC |
| 10 | |
| 11 | /* PFC */ |
| 12 | #define PACR 0xA4050100 |
| 13 | #define PBCR 0xA4050102 |
| 14 | #define PCCR 0xA4050104 |
| 15 | #define PETCR 0xA4050106 |
| 16 | |
| 17 | /* Port Data Registers */ |
| 18 | #define PADR 0xA4050120 |
| 19 | #define PBDR 0xA4050122 |
| 20 | #define PCDR 0xA4050124 |
| 21 | |
| 22 | /* BSC */ |
| 23 | #define FRQCR 0xffffff80 |
| 24 | #define BCR1 0xffffff60 |
| 25 | #define BCR2 0xffffff62 |
| 26 | #define WCR1 0xffffff64 |
| 27 | #define WCR2 0xffffff66 |
| 28 | #define MCR 0xffffff68 |
| 29 | |
| 30 | /* SDRAM controller */ |
| 31 | #define DCR 0xffffff6a |
| 32 | #define RTCSR 0xffffff6e |
| 33 | #define RTCNT 0xffffff70 |
| 34 | #define RTCOR 0xffffff72 |
| 35 | #define RFCR 0xffffff74 |
| 36 | #define SDMR 0xFFFFD000 |
| 37 | #define CS3_R 0xFFFFE460 |
| 38 | |
| 39 | /* SCIF */ |
| 40 | #define SCSMR_2 0xA4000150 |
| 41 | #define SCIF0_BASE SCSMR_2 |
| 42 | |
| 43 | /* Timer */ |
Nobuhiro Iwamatsu | e763f1a | 2012-08-21 13:14:46 +0900 | [diff] [blame] | 44 | #define TMU_BASE 0xFFFFFE90 |
Nobuhiro Iwamatsu | a04ce4f | 2010-10-25 02:58:21 +0900 | [diff] [blame] | 45 | |
| 46 | /* On chip oscillator circuits */ |
| 47 | #define WTCNT 0xFFFFFF84 |
| 48 | #define WTCSR 0xFFFFFF86 |
| 49 | |
| 50 | #endif /* _ASM_CPU_SH7706_H_ */ |