xref: /openbmc/linux/arch/arm/mach-omap2/ti81xx.h (revision 2208f39c)
1 /*
2  * This file contains the address data for various TI81XX modules.
3  *
4  * Copyright (C) 2010 Texas Instruments, Inc. - https://www.ti.com/
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation version 2.
9  *
10  * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11  * kind, whether express or implied; without even the implied warranty
12  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
15 
16 #ifndef __ASM_ARCH_TI81XX_H
17 #define __ASM_ARCH_TI81XX_H
18 
19 #define L4_SLOW_TI81XX_BASE	0x48000000
20 
21 #define TI81XX_SCM_BASE		0x48140000
22 #define TI81XX_CTRL_BASE	TI81XX_SCM_BASE
23 #define TI81XX_PRCM_BASE	0x48180000
24 
25 /*
26  * Adjust TAP register base such that omap3_check_revision accesses the correct
27  * TI81XX register for checking device ID (it adds 0x204 to tap base while
28  * TI81XX DEVICE ID register is at offset 0x600 from control base).
29  */
30 #define TI81XX_TAP_BASE		(TI81XX_CTRL_BASE + \
31 				 TI81XX_CONTROL_DEVICE_ID - 0x204)
32 
33 
34 #define TI81XX_ARM_INTC_BASE	0x48200000
35 
36 #endif /* __ASM_ARCH_TI81XX_H */
37