Path: blob/master/arch/arm/mach-msm/include/mach/msm_iomap-8x60.h
17787 views
/*1* Copyright (C) 2007 Google, Inc.2* Copyright (c) 2008-2011, Code Aurora Forum. All rights reserved.3* Author: Brian Swetland <[email protected]>4*5* This software is licensed under the terms of the GNU General Public6* License version 2, as published by the Free Software Foundation, and7* may be copied, distributed, and modified under those terms.8*9* This program is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12* GNU General Public License for more details.13*14*15* The MSM peripherals are spread all over across 768MB of physical16* space, which makes just having a simple IO_ADDRESS macro to slide17* them into the right virtual location rough. Instead, we will18* provide a master phys->virt mapping for peripherals here.19*20*/2122#ifndef __ASM_ARCH_MSM_IOMAP_8X60_H23#define __ASM_ARCH_MSM_IOMAP_8X60_H2425/* Physical base address and size of peripherals.26* Ordered by the virtual base addresses they will be mapped at.27*28* MSM_VIC_BASE must be an value that can be loaded via a "mov"29* instruction, otherwise entry-macro.S will not compile.30*31* If you add or remove entries here, you'll want to edit the32* msm_io_desc array in arch/arm/mach-msm/io.c to reflect your33* changes.34*35*/3637#define MSM8X60_QGIC_DIST_PHYS 0x0208000038#define MSM8X60_QGIC_DIST_SIZE SZ_4K3940#define MSM8X60_QGIC_CPU_PHYS 0x0208100041#define MSM8X60_QGIC_CPU_SIZE SZ_4K4243#define MSM_ACC_BASE IOMEM(0xF0002000)44#define MSM_ACC_PHYS 0x0200100045#define MSM_ACC_SIZE SZ_4K4647#define MSM_GCC_BASE IOMEM(0xF0003000)48#define MSM_GCC_PHYS 0x0208200049#define MSM_GCC_SIZE SZ_4K5051#define MSM_TLMM_BASE IOMEM(0xF0004000)52#define MSM_TLMM_PHYS 0x0080000053#define MSM_TLMM_SIZE SZ_16K5455#define MSM_SHARED_RAM_BASE IOMEM(0xF0100000)56#define MSM_SHARED_RAM_SIZE SZ_1M5758#define MSM8X60_TMR_PHYS 0x0200000059#define MSM8X60_TMR_SIZE SZ_4K6061#define MSM8X60_TMR0_PHYS 0x0204000062#define MSM8X60_TMR0_SIZE SZ_4K6364#endif656667