1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23#ifndef _ASM_CPU_SH7750_H_
24#define _ASM_CPU_SH7750_H_
25
26#ifdef CONFIG_CPU_TYPE_R
27#define CACHE_OC_NUM_WAYS 2
28#define CCR_CACHE_INIT 0x8000090D
29#else
30#define CACHE_OC_NUM_WAYS 1
31#define CCR_CACHE_INIT 0x0000090B
32#endif
33
34
35#define PTEH 0xFF000000
36#define PTEL 0xFF000004
37#define TTB 0xFF000008
38#define TEA 0xFF00000C
39#define MMUCR 0xFF000010
40#define BASRA 0xFF000014
41#define BASRB 0xFF000018
42#define CCR 0xFF00001C
43#define TRA 0xFF000020
44#define EXPEVT 0xFF000024
45#define INTEVT 0xFF000028
46#define PTEA 0xFF000034
47#define QACR0 0xFF000038
48#define QACR1 0xFF00003C
49
50
51#define BARA 0xFF200000
52#define BAMRA 0xFF200004
53#define BBRA 0xFF200008
54#define BARB 0xFF20000C
55#define BAMRB 0xFF200010
56#define BBRB 0xFF200014
57#define BDRB 0xFF200018
58#define BDMRB 0xFF20001C
59#define BRCR 0xFF200020
60
61
62#define BCR1 0xFF800000
63#define BCR2 0xFF800004
64#define BCR3 0xFF800050
65#define BCR4 0xFE0A00F0
66#define WCR1 0xFF800008
67#define WCR2 0xFF80000C
68#define WCR3 0xFF800010
69#define MCR 0xFF800014
70#define PCR 0xFF800018
71#define RTCSR 0xFF80001C
72#define RTCNT 0xFF800020
73#define RTCOR 0xFF800024
74#define RFCR 0xFF800028
75#define PCTRA 0xFF80002C
76#define PDTRA 0xFF800030
77#define PCTRB 0xFF800040
78#define PDTRB 0xFF800044
79#define GPIOIC 0xFF800048
80
81
82#define SAR0 0xFFA00000
83#define DAR0 0xFFA00004
84#define DMATCR0 0xFFA00008
85#define CHCR0 0xFFA0000C
86#define SAR1 0xFFA00010
87#define DAR1 0xFFA00014
88#define DMATCR1 0xFFA00018
89#define CHCR1 0xFFA0001C
90#define SAR2 0xFFA00020
91#define DAR2 0xFFA00024
92#define DMATCR2 0xFFA00028
93#define CHCR2 0xFFA0002C
94#define SAR3 0xFFA00030
95#define DAR3 0xFFA00034
96#define DMATCR3 0xFFA00038
97#define CHCR3 0xFFA0003C
98#define DMAOR 0xFFA00040
99#define SAR4 0xFFA00050
100#define DAR4 0xFFA00054
101#define DMATCR4 0xFFA00058
102
103
104#define FRQCR 0xFFC00000
105#define STBCR 0xFFC00004
106#define WTCNT 0xFFC00008
107#define WTCSR 0xFFC0000C
108#define STBCR2 0xFFC00010
109
110
111#define R64CNT 0xFFC80000
112#define RSECCNT 0xFFC80004
113#define RMINCNT 0xFFC80008
114#define RHRCNT 0xFFC8000C
115#define RWKCNT 0xFFC80010
116#define RDAYCNT 0xFFC80014
117#define RMONCNT 0xFFC80018
118#define RYRCNT 0xFFC8001C
119#define RSECAR 0xFFC80020
120#define RMINAR 0xFFC80024
121#define RHRAR 0xFFC80028
122#define RWKAR 0xFFC8002C
123#define RDAYAR 0xFFC80030
124#define RMONAR 0xFFC80034
125#define RCR1 0xFFC80038
126#define RCR2 0xFFC8003C
127#define RCR3 0xFFC80050
128#define RYRAR 0xFFC80054
129
130
131#define ICR 0xFFD00000
132#define IPRA 0xFFD00004
133#define IPRB 0xFFD00008
134#define IPRC 0xFFD0000C
135#define IPRD 0xFFD00010
136#define INTPRI 0xFE080000
137#define INTREQ 0xFE080020
138#define INTMSK 0xFE080040
139#define INTMSKCL 0xFE080060
140
141
142#define CLKSTP 0xFE0A0000
143#define CLKSTPCLR 0xFE0A0008
144
145
146#define TMU_BASE 0xFFD80000
147
148
149#define SCSMR1 0xFFE00000
150#define SCF0_BASE SCSMR1
151
152
153#define SCSMR2 0xFFE80000
154#define SCIF1_BASE SCSMR2
155
156
157#define SDIR 0xFFF00000
158#define SDDR 0xFFF00008
159#define SDINT 0xFFF00014
160
161#endif
162