2 * Copyright (C) 2009 Texas Instruments Inc.
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.
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>
16 #include <asm/mach-types.h>
17 #include <asm/mach/arch.h>
19 #include <mach/board-zoom.h>
21 #include <plat/common.h>
22 #include <plat/board.h>
25 #include "sdram-hynix-h8mbx00u0mer-0em.h"
27 static void __init
omap_zoom_map_io(void)
29 omap2_set_globals_343x();
30 omap2_map_common_io();
33 static struct omap_board_config_kernel zoom_config
[] __initdata
= {
36 static void __init
omap_zoom_init_irq(void)
38 omap_board_config
= zoom_config
;
39 omap_board_config_size
= ARRAY_SIZE(zoom_config
);
40 omap2_init_common_hw(h8mbx00u0mer0em_sdrc_params
,
41 h8mbx00u0mer0em_sdrc_params
);
46 #ifdef CONFIG_OMAP_MUX
47 static struct omap_board_mux board_mux
[] __initdata
= {
48 { .reg_offset
= OMAP_MUX_TERMINATOR
},
51 #define board_mux NULL
54 static void __init
omap_zoom_init(void)
56 omap3_mux_init(board_mux
, OMAP_PACKAGE_CBP
);
57 zoom_peripherals_init();
58 zoom_debugboard_init();
61 MACHINE_START(OMAP_ZOOM3
, "OMAP Zoom3 board")
62 .phys_io
= 0x48000000,
63 .io_pg_offst
= ((0xfa000000) >> 18) & 0xfffc,
64 .boot_params
= 0x80000100,
65 .map_io
= omap_zoom_map_io
,
66 .init_irq
= omap_zoom_init_irq
,
67 .init_machine
= omap_zoom_init
,