Path: blob/master/arch/arm/mach-msm/include/mach/msm_iomap-8960.h
17778 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_8960_H23#define __ASM_ARCH_MSM_IOMAP_8960_H2425/* Physical base address and size of peripherals.26* Ordered by the virtual base addresses they will be mapped at.27*28* If you add or remove entries here, you'll want to edit the29* msm_io_desc array in arch/arm/mach-msm/io.c to reflect your30* changes.31*32*/333435#define MSM8960_QGIC_DIST_PHYS 0x0200000036#define MSM8960_QGIC_DIST_SIZE SZ_4K3738#define MSM8960_QGIC_CPU_PHYS 0x0200200039#define MSM8960_QGIC_CPU_SIZE SZ_4K4041#define MSM8960_TMR_PHYS 0x0200A00042#define MSM8960_TMR_SIZE SZ_4K4344#define MSM8960_TMR0_PHYS 0x0208A00045#define MSM8960_TMR0_SIZE SZ_4K4647#endif484950