xref: /openbmc/u-boot/arch/sh/include/asm/cpu_sh7734.h (revision cbd2fba1)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2008, 2011 Renesas Solutions Corp.
4  *
5  * SH7734 Internal I/O register
6  */
7 
8 #ifndef _ASM_CPU_SH7734_H_
9 #define _ASM_CPU_SH7734_H_
10 
11 #define CCR 0xFF00001C
12 
13 #define CACHE_OC_NUM_WAYS	4
14 #define CCR_CACHE_INIT	0x0000090d
15 
16 /* SCIF */
17 #define SCIF0_BASE  0xFFE40000
18 #define SCIF1_BASE  0xFFE41000
19 #define SCIF2_BASE  0xFFE42000
20 #define SCIF3_BASE  0xFFE43000
21 #define SCIF4_BASE  0xFFE44000
22 #define SCIF5_BASE  0xFFE45000
23 
24 /* Timer */
25 #define TMU_BASE 0xFFD80000
26 
27 /* PFC */
28 #define PMMR    (0xFFFC0000)
29 #define MODESEL0    (0xFFFC004C)
30 #define MODESEL2    (MODESEL0 + 0x4)
31 #define MODESEL2_INIT   (0x00003000)
32 
33 #define IPSR0	(0xFFFC001C)
34 #define IPSR1	(IPSR0 + 0x4)
35 #define IPSR2	(IPSR0 + 0x8)
36 #define IPSR3	(IPSR0 + 0xC)
37 #define IPSR4	(IPSR0 + 0x10)
38 #define IPSR5	(IPSR0 + 0x14)
39 #define IPSR6	(IPSR0 + 0x18)
40 #define IPSR7	(IPSR0 + 0x1C)
41 #define IPSR8	(IPSR0 + 0x20)
42 #define IPSR9	(IPSR0 + 0x24)
43 #define IPSR10	(IPSR0 + 0x28)
44 #define IPSR11	(IPSR0 + 0x2C)
45 
46 #define GPSR0	(0xFFFC0004)
47 #define GPSR1	(GPSR0 + 0x4)
48 #define GPSR2	(GPSR0 + 0x8)
49 #define GPSR3	(GPSR0 + 0xC)
50 #define GPSR4	(GPSR0 + 0x10)
51 #define GPSR5	(GPSR0 + 0x14)
52 
53 
54 #endif /* _ASM_CPU_SH7734_H_ */
55