Abhimanyu Kapur | 032b1f4 | 2013-01-18 00:10:50 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Syed Rameez Mustafa | 61c9a57 | 2012-08-23 16:10:07 -0700 | [diff] [blame] | 2 | * |
| 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_MSM8226_H |
| 15 | #define __ASM_ARCH_MSM_IOMAP_MSM8226_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 MSM8226_MSM_SHARED_RAM_PHYS 0x0FA00000 |
| 27 | |
| 28 | #define MSM8226_QGIC_DIST_PHYS 0xF9000000 |
| 29 | #define MSM8226_QGIC_DIST_SIZE SZ_4K |
| 30 | |
| 31 | #define MSM8226_QGIC_CPU_PHYS 0xF9002000 |
| 32 | #define MSM8226_QGIC_CPU_SIZE SZ_4K |
| 33 | |
| 34 | #define MSM8226_APCS_GCC_PHYS 0xF9011000 |
| 35 | #define MSM8226_APCS_GCC_SIZE SZ_4K |
| 36 | |
| 37 | #define MSM8226_TLMM_PHYS 0xFD510000 |
| 38 | #define MSM8226_TLMM_SIZE SZ_16K |
| 39 | |
Syed Rameez Mustafa | 1783819 | 2012-11-19 16:42:29 -0800 | [diff] [blame] | 40 | #define MSM8226_MPM2_PSHOLD_PHYS 0xFC4AB000 |
| 41 | #define MSM8226_MPM2_PSHOLD_SIZE SZ_4K |
| 42 | |
Syed Rameez Mustafa | 61c9a57 | 2012-08-23 16:10:07 -0700 | [diff] [blame] | 43 | #ifdef CONFIG_DEBUG_MSM8226_UART |
| 44 | #define MSM_DEBUG_UART_BASE IOMEM(0xFA71E000) |
| 45 | #define MSM_DEBUG_UART_PHYS 0xF991E000 |
| 46 | #endif |
| 47 | |
Syed Rameez Mustafa | 61c9a57 | 2012-08-23 16:10:07 -0700 | [diff] [blame] | 48 | #endif |