Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / sh / include / mach-se / mach / se7721.h
blobb957f60411938dfb3a07ce71aa821a77e4b45d23
1 /*
2 * Copyright (C) 2008 Renesas Solutions Corp.
4 * Hitachi UL SolutionEngine 7721 Support.
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
12 #ifndef __ASM_SH_SE7721_H
13 #define __ASM_SH_SE7721_H
14 #include <asm/addrspace.h>
16 /* Box specific addresses. */
17 #define SE_AREA0_WIDTH 2 /* Area0: 32bit */
18 #define PA_ROM 0xa0000000 /* EPROM */
19 #define PA_ROM_SIZE 0x00200000 /* EPROM size 2M byte */
20 #define PA_FROM 0xa1000000 /* Flash-ROM */
21 #define PA_FROM_SIZE 0x01000000 /* Flash-ROM size 16M byte */
22 #define PA_EXT1 0xa4000000
23 #define PA_EXT1_SIZE 0x04000000
24 #define PA_SDRAM 0xaC000000 /* SDRAM(Area3) 64MB */
25 #define PA_SDRAM_SIZE 0x04000000
27 #define PA_EXT4 0xb0000000
28 #define PA_EXT4_SIZE 0x04000000
30 #define PA_PERIPHERAL 0xB8000000
32 #define PA_PCIC PA_PERIPHERAL
33 #define PA_MRSHPC (PA_PERIPHERAL + 0x003fffe0)
34 #define PA_MRSHPC_MW1 (PA_PERIPHERAL + 0x00400000)
35 #define PA_MRSHPC_MW2 (PA_PERIPHERAL + 0x00500000)
36 #define PA_MRSHPC_IO (PA_PERIPHERAL + 0x00600000)
37 #define MRSHPC_OPTION (PA_MRSHPC + 6)
38 #define MRSHPC_CSR (PA_MRSHPC + 8)
39 #define MRSHPC_ISR (PA_MRSHPC + 10)
40 #define MRSHPC_ICR (PA_MRSHPC + 12)
41 #define MRSHPC_CPWCR (PA_MRSHPC + 14)
42 #define MRSHPC_MW0CR1 (PA_MRSHPC + 16)
43 #define MRSHPC_MW1CR1 (PA_MRSHPC + 18)
44 #define MRSHPC_IOWCR1 (PA_MRSHPC + 20)
45 #define MRSHPC_MW0CR2 (PA_MRSHPC + 22)
46 #define MRSHPC_MW1CR2 (PA_MRSHPC + 24)
47 #define MRSHPC_IOWCR2 (PA_MRSHPC + 26)
48 #define MRSHPC_CDCR (PA_MRSHPC + 28)
49 #define MRSHPC_PCIC_INFO (PA_MRSHPC + 30)
51 #define PA_LED 0xB6800000 /* 8bit LED */
52 #define PA_FPGA 0xB7000000 /* FPGA base address */
54 #define MRSHPC_IRQ0 10
56 #define FPGA_ILSR1 (PA_FPGA + 0x02)
57 #define FPGA_ILSR2 (PA_FPGA + 0x03)
58 #define FPGA_ILSR3 (PA_FPGA + 0x04)
59 #define FPGA_ILSR4 (PA_FPGA + 0x05)
60 #define FPGA_ILSR5 (PA_FPGA + 0x06)
61 #define FPGA_ILSR6 (PA_FPGA + 0x07)
62 #define FPGA_ILSR7 (PA_FPGA + 0x08)
63 #define FPGA_ILSR8 (PA_FPGA + 0x09)
65 void init_se7721_IRQ(void);
67 #define __IO_PREFIX se7721
68 #include <asm/io_generic.h>
70 #endif /* __ASM_SH_SE7721_H */