Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Hardware definitions for TI OMAP7XX processor.
0003  *
0004  * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com>
0005  * Adapted for omap850 by Zebediah C. McClure <zmc@lurian.net>
0006  * Adapted for omap7xx by Alistair Buxton <a.j.buxton@gmail.com>
0007  *
0008  * This program is free software; you can redistribute it and/or modify it
0009  * under the terms of the GNU General Public License as published by the
0010  * Free Software Foundation; either version 2 of the License, or (at your
0011  * option) any later version.
0012  *
0013  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
0014  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
0015  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
0016  * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
0017  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
0018  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
0019  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
0020  * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0021  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
0022  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0023  *
0024  * You should have received a copy of the  GNU General Public License along
0025  * with this program; if not, write  to the Free Software Foundation, Inc.,
0026  * 675 Mass Ave, Cambridge, MA 02139, USA.
0027  */
0028 
0029 #ifndef __ASM_ARCH_OMAP7XX_H
0030 #define __ASM_ARCH_OMAP7XX_H
0031 
0032 /*
0033  * ----------------------------------------------------------------------------
0034  * Base addresses
0035  * ----------------------------------------------------------------------------
0036  */
0037 
0038 /* Syntax: XX_BASE = Virtual base address, XX_START = Physical base address */
0039 
0040 #define OMAP7XX_DSP_BASE    0xE0000000
0041 #define OMAP7XX_DSP_SIZE    0x50000
0042 #define OMAP7XX_DSP_START   0xE0000000
0043 
0044 #define OMAP7XX_DSPREG_BASE 0xE1000000
0045 #define OMAP7XX_DSPREG_SIZE SZ_128K
0046 #define OMAP7XX_DSPREG_START    0xE1000000
0047 
0048 #define OMAP7XX_SPI1_BASE   0xfffc0800
0049 #define OMAP7XX_SPI2_BASE   0xfffc1000
0050 
0051 /*
0052  * ----------------------------------------------------------------------------
0053  * OMAP7XX specific configuration registers
0054  * ----------------------------------------------------------------------------
0055  */
0056 #define OMAP7XX_CONFIG_BASE 0xfffe1000
0057 #define OMAP7XX_IO_CONF_0   0xfffe1070
0058 #define OMAP7XX_IO_CONF_1   0xfffe1074
0059 #define OMAP7XX_IO_CONF_2   0xfffe1078
0060 #define OMAP7XX_IO_CONF_3   0xfffe107c
0061 #define OMAP7XX_IO_CONF_4   0xfffe1080
0062 #define OMAP7XX_IO_CONF_5   0xfffe1084
0063 #define OMAP7XX_IO_CONF_6   0xfffe1088
0064 #define OMAP7XX_IO_CONF_7   0xfffe108c
0065 #define OMAP7XX_IO_CONF_8   0xfffe1090
0066 #define OMAP7XX_IO_CONF_9   0xfffe1094
0067 #define OMAP7XX_IO_CONF_10  0xfffe1098
0068 #define OMAP7XX_IO_CONF_11  0xfffe109c
0069 #define OMAP7XX_IO_CONF_12  0xfffe10a0
0070 #define OMAP7XX_IO_CONF_13  0xfffe10a4
0071 
0072 #define OMAP7XX_MODE_1      0xfffe1010
0073 #define OMAP7XX_MODE_2      0xfffe1014
0074 
0075 /* CSMI specials: in terms of base + offset */
0076 #define OMAP7XX_MODE2_OFFSET    0x14
0077 
0078 /*
0079  * ----------------------------------------------------------------------------
0080  * OMAP7XX traffic controller configuration registers
0081  * ----------------------------------------------------------------------------
0082  */
0083 #define OMAP7XX_FLASH_CFG_0 0xfffecc10
0084 #define OMAP7XX_FLASH_ACFG_0    0xfffecc50
0085 #define OMAP7XX_FLASH_CFG_1 0xfffecc14
0086 #define OMAP7XX_FLASH_ACFG_1    0xfffecc54
0087 
0088 /*
0089  * ----------------------------------------------------------------------------
0090  * OMAP7XX DSP control registers
0091  * ----------------------------------------------------------------------------
0092  */
0093 #define OMAP7XX_ICR_BASE    0xfffbb800
0094 #define OMAP7XX_DSP_M_CTL   0xfffbb804
0095 #define OMAP7XX_DSP_MMU_BASE    0xfffed200
0096 
0097 /*
0098  * ----------------------------------------------------------------------------
0099  * OMAP7XX PCC_UPLD configuration registers
0100  * ----------------------------------------------------------------------------
0101  */
0102 #define OMAP7XX_PCC_UPLD_CTRL_BASE  (0xfffe0900)
0103 #define OMAP7XX_PCC_UPLD_CTRL       (OMAP7XX_PCC_UPLD_CTRL_BASE + 0x00)
0104 
0105 #endif /*  __ASM_ARCH_OMAP7XX_H */
0106