aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r--arch/arm/mach-omap2/io.c45
1 files changed, 32 insertions, 13 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index 56be87d13edb..a8749e8017b9 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -22,29 +22,29 @@
22#include <linux/init.h> 22#include <linux/init.h>
23#include <linux/io.h> 23#include <linux/io.h>
24#include <linux/clk.h> 24#include <linux/clk.h>
25#include <linux/omapfb.h>
25 26
26#include <asm/tlb.h> 27#include <asm/tlb.h>
27 28
28#include <asm/mach/map.h> 29#include <asm/mach/map.h>
29 30
30#include <mach/mux.h> 31#include <plat/mux.h>
31#include <mach/omapfb.h> 32#include <plat/sram.h>
32#include <mach/sram.h> 33#include <plat/sdrc.h>
33#include <mach/sdrc.h> 34#include <plat/gpmc.h>
34#include <mach/gpmc.h> 35#include <plat/serial.h>
35#include <mach/serial.h> 36#include <plat/mux.h>
37#include <plat/vram.h>
36 38
37#ifndef CONFIG_ARCH_OMAP4 /* FIXME: Remove this once clkdev is ready */
38#include "clock.h" 39#include "clock.h"
39 40
40#include <mach/omap-pm.h> 41#include <plat/omap-pm.h>
41#include <mach/powerdomain.h> 42#include <plat/powerdomain.h>
42#include "powerdomains.h" 43#include "powerdomains.h"
43 44
44#include <mach/clockdomain.h> 45#include <plat/clockdomain.h>
45#include "clockdomains.h" 46#include "clockdomains.h"
46#endif 47#include <plat/omap_hwmod.h>
47#include <mach/omap_hwmod.h>
48#include "omap_hwmod_2420.h" 48#include "omap_hwmod_2420.h"
49#include "omap_hwmod_2430.h" 49#include "omap_hwmod_2430.h"
50#include "omap_hwmod_34xx.h" 50#include "omap_hwmod_34xx.h"
@@ -203,6 +203,24 @@ static struct map_desc omap44xx_io_desc[] __initdata = {
203 .type = MT_DEVICE, 203 .type = MT_DEVICE,
204 }, 204 },
205 { 205 {
206 .virtual = OMAP44XX_EMIF1_VIRT,
207 .pfn = __phys_to_pfn(OMAP44XX_EMIF1_PHYS),
208 .length = OMAP44XX_EMIF1_SIZE,
209 .type = MT_DEVICE,
210 },
211 {
212 .virtual = OMAP44XX_EMIF2_VIRT,
213 .pfn = __phys_to_pfn(OMAP44XX_EMIF2_PHYS),
214 .length = OMAP44XX_EMIF2_SIZE,
215 .type = MT_DEVICE,
216 },
217 {
218 .virtual = OMAP44XX_DMM_VIRT,
219 .pfn = __phys_to_pfn(OMAP44XX_DMM_PHYS),
220 .length = OMAP44XX_DMM_SIZE,
221 .type = MT_DEVICE,
222 },
223 {
206 .virtual = L4_PER_44XX_VIRT, 224 .virtual = L4_PER_44XX_VIRT,
207 .pfn = __phys_to_pfn(L4_PER_44XX_PHYS), 225 .pfn = __phys_to_pfn(L4_PER_44XX_PHYS),
208 .length = L4_PER_44XX_SIZE, 226 .length = L4_PER_44XX_SIZE,
@@ -246,6 +264,7 @@ void __init omap2_map_common_io(void)
246 omap2_check_revision(); 264 omap2_check_revision();
247 omap_sram_init(); 265 omap_sram_init();
248 omapfb_reserve_sdram(); 266 omapfb_reserve_sdram();
267 omap_vram_reserve_sdram();
249} 268}
250 269
251/* 270/*
@@ -301,8 +320,8 @@ void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0,
301 omap_pm_if_early_init(mpu_opps, dsp_opps, l3_opps); 320 omap_pm_if_early_init(mpu_opps, dsp_opps, l3_opps);
302 pwrdm_init(powerdomains_omap); 321 pwrdm_init(powerdomains_omap);
303 clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps); 322 clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps);
304 omap2_clk_init();
305#endif 323#endif
324 omap2_clk_init();
306 omap_serial_early_init(); 325 omap_serial_early_init();
307#ifndef CONFIG_ARCH_OMAP4 326#ifndef CONFIG_ARCH_OMAP4
308 omap_hwmod_late_init(); 327 omap_hwmod_late_init();