diff options
author | Stepan Moskovchenko <stepanm@codeaurora.org> | 2010-12-02 03:05:49 (GMT) |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2011-01-21 23:27:51 (GMT) |
commit | 5d0afd74b7f5202cad2d26b5bcd1fc1bdf44858f (patch) | |
tree | 1182389adea21d71fc4f4d01e0407b5e3841af5b /arch/arm/mach-msm/io.c | |
parent | 8bb06444804c58dffcb5d048381c6378d2b007f7 (diff) | |
download | linux-5d0afd74b7f5202cad2d26b5bcd1fc1bdf44858f.tar.xz |
msm: io: I/O register definitions for MSM8960
Add the register address definitions for the basic hardware
blocks on the Qualcomm MSM8960 chip.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/io.c')
-rw-r--r-- | arch/arm/mach-msm/io.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c index 49692bb..d8d9be5 100644 --- a/arch/arm/mach-msm/io.c +++ b/arch/arm/mach-msm/io.c @@ -117,6 +117,20 @@ void __init msm_map_msm8x60_io(void) } #endif /* CONFIG_ARCH_MSM8X60 */ +#ifdef CONFIG_ARCH_MSM8960 +static struct map_desc msm8960_io_desc[] __initdata = { + MSM_CHIP_DEVICE(QGIC_DIST, MSM8960), + MSM_CHIP_DEVICE(QGIC_CPU, MSM8960), + MSM_CHIP_DEVICE(TMR, MSM8960), + MSM_CHIP_DEVICE(TMR0, MSM8960), +}; + +void __init msm_map_msm8960_io(void) +{ + iotable_init(msm8960_io_desc, ARRAY_SIZE(msm8960_io_desc)); +} +#endif /* CONFIG_ARCH_MSM8960 */ + #ifdef CONFIG_ARCH_MSM7X30 static struct map_desc msm7x30_io_desc[] __initdata = { MSM_DEVICE(VIC), |