Hemant Pedanekar | 0100171 | 2011-02-16 08:31:39 -0800 | [diff] [blame] | 1 | /* |
Hemant Pedanekar | a920360 | 2011-12-13 10:46:44 -0800 | [diff] [blame] | 2 | * This file contains the address data for various TI81XX modules. |
Hemant Pedanekar | 0100171 | 2011-02-16 08:31:39 -0800 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2010 Texas Instruments, Inc. - http://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 | |
Hemant Pedanekar | a920360 | 2011-12-13 10:46:44 -0800 | [diff] [blame] | 16 | #ifndef __ASM_ARCH_TI81XX_H |
| 17 | #define __ASM_ARCH_TI81XX_H |
Hemant Pedanekar | 0100171 | 2011-02-16 08:31:39 -0800 | [diff] [blame] | 18 | |
Hemant Pedanekar | a920360 | 2011-12-13 10:46:44 -0800 | [diff] [blame] | 19 | #define L4_SLOW_TI81XX_BASE 0x48000000 |
Hemant Pedanekar | 0100171 | 2011-02-16 08:31:39 -0800 | [diff] [blame] | 20 | |
Hemant Pedanekar | a920360 | 2011-12-13 10:46:44 -0800 | [diff] [blame] | 21 | #define TI81XX_SCM_BASE 0x48140000 |
| 22 | #define TI81XX_CTRL_BASE TI81XX_SCM_BASE |
| 23 | #define TI81XX_PRCM_BASE 0x48180000 |
Hemant Pedanekar | 0100171 | 2011-02-16 08:31:39 -0800 | [diff] [blame] | 24 | |
Paul Walmsley | b6a4226 | 2012-10-29 20:50:21 -0600 | [diff] [blame] | 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 | |
Hemant Pedanekar | a920360 | 2011-12-13 10:46:44 -0800 | [diff] [blame] | 34 | #define TI81XX_ARM_INTC_BASE 0x48200000 |
Hemant Pedanekar | 0100171 | 2011-02-16 08:31:39 -0800 | [diff] [blame] | 35 | |
Hemant Pedanekar | a920360 | 2011-12-13 10:46:44 -0800 | [diff] [blame] | 36 | #endif /* __ASM_ARCH_TI81XX_H */ |