patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / asm-arm / arch-omap / omap730.h
1 /* linux/include/asm-arm/arch-omap/omap730.h
2  *
3  * Hardware definitions for TI OMAP730 processor.
4  *
5  * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com>
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License as published by the
9  * Free Software Foundation; either version 2 of the License, or (at your
10  * option) any later version.
11  *
12  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
13  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
14  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
15  * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
16  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
17  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
18  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19  * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
21  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22  *
23  * You should have received a copy of the  GNU General Public License along
24  * with this program; if not, write  to the Free Software Foundation, Inc.,
25  * 675 Mass Ave, Cambridge, MA 02139, USA.
26  */
27
28 #ifndef __ASM_ARCH_OMAP730_H
29 #define __ASM_ARCH_OMAP730_H
30
31 /*
32  * ----------------------------------------------------------------------------
33  * Base addresses
34  * ----------------------------------------------------------------------------
35  */
36
37 /* Syntax: XX_BASE = Virtual base address, XX_START = Physical base address */
38
39 #define OMAP730_SRAM_BASE       0xD0000000
40 #define OMAP730_SRAM_SIZE       (SZ_128K + SZ_64K + SZ_8K)
41 #define OMAP730_SRAM_START      0x20000000
42
43 #define OMAP730_MCBSP1_BASE     0xfffb1000
44 #define OMAP730_MCBSP1_SIZE     (SZ_1K * 2)
45 #define OMAP730_MCBSP1_START    0xfffb1000
46
47 #define OMAP730_MCBSP2_BASE     0xfffb1800
48
49 #define OMAP730_DSP_BASE        0xE0000000
50 #define OMAP730_DSP_SIZE        0x50000
51 #define OMAP730_DSP_START       0xE0000000
52
53 #define OMAP730_DSPREG_BASE     0xE1000000
54 #define OMAP730_DSPREG_SIZE     SZ_128K
55 #define OMAP730_DSPREG_START    0xE1000000
56
57 /*
58  * ----------------------------------------------------------------------------
59  * OMAP730 specific configuration registers
60  * ----------------------------------------------------------------------------
61  */
62 #define OMAP730_CONFIG_BASE     0xfffe1000
63 #define OMAP730_IO_CONF_0       0xfffe1070
64 #define OMAP730_IO_CONF_1       0xfffe1074
65 #define OMAP730_IO_CONF_2       0xfffe1078
66 #define OMAP730_IO_CONF_3       0xfffe107c
67 #define OMAP730_IO_CONF_4       0xfffe1080
68 #define OMAP730_IO_CONF_5       0xfffe1084
69 #define OMAP730_IO_CONF_6       0xfffe1088
70 #define OMAP730_IO_CONF_7       0xfffe108c
71 #define OMAP730_IO_CONF_8       0xfffe1090
72 #define OMAP730_IO_CONF_9       0xfffe1094
73 #define OMAP730_IO_CONF_10      0xfffe1098
74 #define OMAP730_IO_CONF_11      0xfffe109c
75 #define OMAP730_IO_CONF_12      0xfffe10a0
76 #define OMAP730_IO_CONF_13      0xfffe10a4
77
78 #define OMAP730_MODE_1          0xfffe1010
79 #define OMAP730_MODE_2          0xfffe1014
80
81 /* CSMI specials: in terms of base + offset */
82 #define OMAP730_MODE2_OFFSET    0x14
83
84 /*
85  * ----------------------------------------------------------------------------
86  * OMAP730 traffic controller configuration registers
87  * ----------------------------------------------------------------------------
88  */
89 #define OMAP730_FLASH_CFG_0     0xfffecc10
90 #define OMAP730_FLASH_ACFG_0    0xfffecc50
91 #define OMAP730_FLASH_CFG_1     0xfffecc14
92 #define OMAP730_FLASH_ACFG_1    0xfffecc54
93
94 /*
95  * ----------------------------------------------------------------------------
96  * OMAP730 DSP control registers
97  * ----------------------------------------------------------------------------
98  */
99 #define OMAP730_ICR_BASE        0xfffbb800
100 #define OMAP730_DSP_M_CTL       0xfffbb804
101 #define OMAP730_DSP_MMU_BASE    0xfffed200
102
103 /*
104  * ----------------------------------------------------------------------------
105  * OMAP730 PCC_UPLD configuration registers
106  * ----------------------------------------------------------------------------
107  */
108 #define OMAP730_PCC_UPLD_CTRL_BASE      (0xfffe0900)
109 #define OMAP730_PCC_UPLD_CTRL           (OMAP730_PCC_UPLD_CTRL_BASE + 0x00)
110
111 #endif /*  __ASM_ARCH_OMAP730_H */
112