diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom3.c')
-rw-r--r-- | arch/arm/mach-omap2/board-zoom3.c | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-zoom3.c b/arch/arm/mach-omap2/board-zoom3.c new file mode 100644 index 000000000000..8d965a6516c8 --- /dev/null +++ b/arch/arm/mach-omap2/board-zoom3.c | |||
@@ -0,0 +1,59 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2009 Texas Instruments Inc. | ||
3 | * | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | ||
9 | |||
10 | #include <linux/kernel.h> | ||
11 | #include <linux/init.h> | ||
12 | #include <linux/platform_device.h> | ||
13 | #include <linux/input.h> | ||
14 | #include <linux/gpio.h> | ||
15 | |||
16 | #include <asm/mach-types.h> | ||
17 | #include <asm/mach/arch.h> | ||
18 | |||
19 | #include <mach/board-zoom.h> | ||
20 | |||
21 | #include <plat/common.h> | ||
22 | #include <plat/board.h> | ||
23 | |||
24 | #include "sdram-hynix-h8mbx00u0mer-0em.h" | ||
25 | |||
26 | static void __init omap_zoom_map_io(void) | ||
27 | { | ||
28 | omap2_set_globals_343x(); | ||
29 | omap2_map_common_io(); | ||
30 | } | ||
31 | |||
32 | static struct omap_board_config_kernel zoom_config[] __initdata = { | ||
33 | }; | ||
34 | |||
35 | static void __init omap_zoom_init_irq(void) | ||
36 | { | ||
37 | omap_board_config = zoom_config; | ||
38 | omap_board_config_size = ARRAY_SIZE(zoom_config); | ||
39 | omap2_init_common_hw(h8mbx00u0mer0em_sdrc_params, | ||
40 | h8mbx00u0mer0em_sdrc_params); | ||
41 | omap_init_irq(); | ||
42 | omap_gpio_init(); | ||
43 | } | ||
44 | |||
45 | static void __init omap_zoom_init(void) | ||
46 | { | ||
47 | zoom_peripherals_init(); | ||
48 | zoom_debugboard_init(); | ||
49 | } | ||
50 | |||
51 | MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board") | ||
52 | .phys_io = 0x48000000, | ||
53 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, | ||
54 | .boot_params = 0x80000100, | ||
55 | .map_io = omap_zoom_map_io, | ||
56 | .init_irq = omap_zoom_init_irq, | ||
57 | .init_machine = omap_zoom_init, | ||
58 | .timer = &omap_timer, | ||
59 | MACHINE_END | ||