3 * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
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.
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.
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,
185 FRQCR_A: .long 0xA415FF80 /* FRQCR Address */
186 WTCNT_A: .long 0xA415FF84
187 WTCSR_A: .long 0xA415FF86
188 UCLKCR_A: .long 0xA40A0008
189 FRQCR_D: .long 0x1103 /* I:B:P=8:4:2 */
190 WTCNT_D: .long 0x5A00
191 WTCSR_D: .long 0xA506
192 UCLKCR_D: .long 0xA5C0
194 #define BSC_BASE 0xA4FD0000
195 CMNCR_A: .long BSC_BASE
196 CS0BCR_A: .long BSC_BASE + 0x04
197 CS2BCR_A: .long BSC_BASE + 0x08
198 CS3BCR_A: .long BSC_BASE + 0x0C
199 CS4BCR_A: .long BSC_BASE + 0x10
200 CS5ABCR_A: .long BSC_BASE + 0x14
201 CS5BBCR_A: .long BSC_BASE + 0x18
202 CS6ABCR_A: .long BSC_BASE + 0x1C
203 CS6BBCR_A: .long BSC_BASE + 0x20
204 CS0WCR_A: .long BSC_BASE + 0x24
205 CS2WCR_A: .long BSC_BASE + 0x28
206 CS3WCR_A: .long BSC_BASE + 0x2C
207 CS4WCR_A: .long BSC_BASE + 0x30
208 CS5AWCR_A: .long BSC_BASE + 0x34
209 CS5BWCR_A: .long BSC_BASE + 0x38
210 CS6AWCR_A: .long BSC_BASE + 0x3C
211 CS6BWCR_A: .long BSC_BASE + 0x40
212 SDCR_A: .long BSC_BASE + 0x44
213 RTCSR_A: .long BSC_BASE + 0x48
214 RTCNT_A: .long BSC_BASE + 0x4C
215 RTCOR_A: .long BSC_BASE + 0x50
216 SDMR3_A: .long BSC_BASE + 0x58C0
218 CMNCR_D: .long 0x00000010
219 CS0BCR_D: .long 0x36DB0400
220 CS2BCR_D: .long 0x36DB0400
221 CS3BCR_D: .long 0x36DB4600
222 CS4BCR_D: .long 0x36DB0400
223 CS5ABCR_D: .long 0x36DB0400
224 CS5BBCR_D: .long 0x36DB0200
225 CS6ABCR_D: .long 0x36DB0400
226 CS6BBCR_D: .long 0x36DB0400
227 CS0WCR_D: .long 0x00000B01
228 CS2WCR_D: .long 0x00000500
229 CS3WCR_D: .long 0x00006D1B
230 CS4WCR_D: .long 0x00000500
231 CS5AWCR_D: .long 0x00000500
232 CS5BWCR_D: .long 0x00000500
233 CS6AWCR_D: .long 0x00000500
234 CS6BWCR_D: .long 0x00000500
235 SDCR_D1: .long 0x00000011
236 RTCSR_D: .long 0xA55A0010
237 RTCNT_D: .long 0xA55A001F
238 RTCOR_D: .long 0xA55A001F
239 SDMR3_D: .long 0x0000
240 SDCR_D2: .long 0x00000811
242 #define PFC_BASE 0xA4050100
243 PCCR_A: .long PFC_BASE + 0x04
244 PDCR_A: .long PFC_BASE + 0x06
245 PECR_A: .long PFC_BASE + 0x08
246 PGCR_A: .long PFC_BASE + 0x0C
247 PHCR_A: .long PFC_BASE + 0x0E
248 PPCR_A: .long PFC_BASE + 0x18
249 PTCR_A: .long PFC_BASE + 0x1E
250 PVCR_A: .long PFC_BASE + 0x22
251 PSELA_A: .long PFC_BASE + 0x24
261 PSELA_D: .long 0x0000
263 CCR_A: .long 0xFFFFFFEC
264 !CCR_D: .long 0x0000000D
265 CCR_D: .long 0x0000000B
267 LED_A: .long 0xB6800000