Sathish Ambley | 6829db1 | 2011-10-08 22:41:23 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2008-2011, Code Aurora Forum. All rights reserved. |
| 3 | * |
| 4 | * This software is licensed under the terms of the GNU General Public |
| 5 | * License version 2, as published by the Free Software Foundation, and |
| 6 | * may be copied, distributed, and modified under those terms. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | #ifndef __ASM_ARCH_MSM_IOMAP_COPPER_H |
| 15 | #define __ASM_ARCH_MSM_IOMAP_COPPER_H |
| 16 | |
| 17 | /* Physical base address and size of peripherals. |
| 18 | * Ordered by the virtual base addresses they will be mapped at. |
| 19 | * |
| 20 | * If you add or remove entries here, you'll want to edit the |
| 21 | * io desc array in arch/arm/mach-msm/io.c to reflect your |
| 22 | * changes. |
| 23 | * |
| 24 | */ |
| 25 | |
| 26 | #define COPPER_QGIC_DIST_PHYS 0xF9000000 |
| 27 | #define COPPER_QGIC_DIST_SIZE SZ_4K |
| 28 | |
| 29 | #define COPPER_QGIC_CPU_PHYS 0xF9002000 |
| 30 | #define COPPER_QGIC_CPU_SIZE SZ_4K |
| 31 | |
| 32 | #define COPPER_TLMM_PHYS 0xFC4A0000 |
| 33 | #define COPPER_TLMM_SIZE SZ_16K |
| 34 | |
Sathish Ambley | f2cfda1 | 2011-10-08 23:09:34 -0700 | [diff] [blame] | 35 | #define COPPER_TMR_PHYS 0xF900A000 |
| 36 | #define COPPER_TMR_SIZE SZ_4K |
| 37 | |
| 38 | #define COPPER_TMR0_PHYS 0xF908A000 |
| 39 | #define COPPER_TMR0_SIZE SZ_4K |
| 40 | |
Sathish Ambley | f5bebd6 | 2011-11-03 23:36:36 -0700 | [diff] [blame^] | 41 | #ifdef CONFIG_DEBUG_MSMCOPPER_UART |
| 42 | #define MSM_DEBUG_UART_BASE IOMEM(0xFA782000) |
| 43 | #define MSM_DEBUG_UART_PHYS 0xF9682000 |
| 44 | #endif |
| 45 | |
Sathish Ambley | 6829db1 | 2011-10-08 22:41:23 -0700 | [diff] [blame] | 46 | #endif |