blob: 57758c35d4f9815494b1dacde4a9132605bbd659 [file] [log] [blame]
Sathish Ambley6829db12011-10-08 22:41:23 -07001/*
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 Ambleyf2cfda12011-10-08 23:09:34 -070035#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 Ambleyf5bebd62011-11-03 23:36:36 -070041#ifdef CONFIG_DEBUG_MSMCOPPER_UART
42#define MSM_DEBUG_UART_BASE IOMEM(0xFA782000)
43#define MSM_DEBUG_UART_PHYS 0xF9682000
44#endif
45
Sathish Ambley6829db12011-10-08 22:41:23 -070046#endif