blob: ec3c2100c403d376f0092a159c0220494b538e76 [file] [log] [blame]
Sathish Ambley6829db12011-10-08 22:41:23 -07001/*
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -08002 * Copyright (c) 2008-2013, The Linux Foundation. All rights reserved.
Sathish Ambley6829db12011-10-08 22:41:23 -07003 *
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
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070014#ifndef __ASM_ARCH_MSM_IOMAP_8974_H
15#define __ASM_ARCH_MSM_IOMAP_8974_H
Sathish Ambley6829db12011-10-08 22:41:23 -070016
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
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070026#define MSM8974_MSM_SHARED_RAM_PHYS 0x0FA00000
Jeff Hugo70946092012-02-10 11:30:43 -070027
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070028#define MSM8974_QGIC_DIST_PHYS 0xF9000000
29#define MSM8974_QGIC_DIST_SIZE SZ_4K
Sathish Ambley6829db12011-10-08 22:41:23 -070030
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070031#define MSM8974_TLMM_PHYS 0xFD510000
32#define MSM8974_TLMM_SIZE SZ_16K
Sathish Ambley6829db12011-10-08 22:41:23 -070033
Stepan Moskovchenkoda7ce9c2012-08-14 21:02:21 -070034#define MSM8974_MPM2_PSHOLD_PHYS 0xFC4AB000
35#define MSM8974_MPM2_PSHOLD_SIZE SZ_4K
36
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070037#ifdef CONFIG_DEBUG_MSM8974_UART
Sathish Ambleyab783ab2011-11-27 22:21:48 -080038#define MSM_DEBUG_UART_BASE IOMEM(0xFA71E000)
39#define MSM_DEBUG_UART_PHYS 0xF991E000
Sathish Ambleyf5bebd62011-11-03 23:36:36 -070040#endif
41
Sathish Ambley6829db12011-10-08 22:41:23 -070042#endif