Sathish Ambley | 6829db1 | 2011-10-08 22:41:23 -0700 | [diff] [blame] | 1 | /* |
Abhimanyu Kapur | 032b1f4 | 2013-01-18 00:10:50 -0800 | [diff] [blame] | 2 | * Copyright (c) 2008-2013, The Linux Foundation. All rights reserved. |
Sathish Ambley | 6829db1 | 2011-10-08 22:41:23 -0700 | [diff] [blame] | 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 | |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 14 | #ifndef __ASM_ARCH_MSM_IOMAP_8974_H |
| 15 | #define __ASM_ARCH_MSM_IOMAP_8974_H |
Sathish Ambley | 6829db1 | 2011-10-08 22:41:23 -0700 | [diff] [blame] | 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 | |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 26 | #define MSM8974_MSM_SHARED_RAM_PHYS 0x0FA00000 |
Jeff Hugo | 7094609 | 2012-02-10 11:30:43 -0700 | [diff] [blame] | 27 | |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 28 | #define MSM8974_QGIC_DIST_PHYS 0xF9000000 |
| 29 | #define MSM8974_QGIC_DIST_SIZE SZ_4K |
Sathish Ambley | 6829db1 | 2011-10-08 22:41:23 -0700 | [diff] [blame] | 30 | |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 31 | #define MSM8974_TLMM_PHYS 0xFD510000 |
| 32 | #define MSM8974_TLMM_SIZE SZ_16K |
Sathish Ambley | 6829db1 | 2011-10-08 22:41:23 -0700 | [diff] [blame] | 33 | |
Stepan Moskovchenko | da7ce9c | 2012-08-14 21:02:21 -0700 | [diff] [blame] | 34 | #define MSM8974_MPM2_PSHOLD_PHYS 0xFC4AB000 |
| 35 | #define MSM8974_MPM2_PSHOLD_SIZE SZ_4K |
| 36 | |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 37 | #ifdef CONFIG_DEBUG_MSM8974_UART |
Sathish Ambley | ab783ab | 2011-11-27 22:21:48 -0800 | [diff] [blame] | 38 | #define MSM_DEBUG_UART_BASE IOMEM(0xFA71E000) |
| 39 | #define MSM_DEBUG_UART_PHYS 0xF991E000 |
Sathish Ambley | f5bebd6 | 2011-11-03 23:36:36 -0700 | [diff] [blame] | 40 | #endif |
| 41 | |
Sathish Ambley | 6829db1 | 2011-10-08 22:41:23 -0700 | [diff] [blame] | 42 | #endif |