board-zoom3.c 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. #include <linux/kernel.h>
  10. #include <linux/init.h>
  11. #include <linux/platform_device.h>
  12. #include <linux/input.h>
  13. #include <linux/gpio.h>
  14. #include <asm/mach-types.h>
  15. #include <asm/mach/arch.h>
  16. #include <mach/board-zoom.h>
  17. #include <plat/common.h>
  18. #include <plat/board.h>
  19. #include "sdram-hynix-h8mbx00u0mer-0em.h"
  20. static void __init omap_zoom_map_io(void)
  21. {
  22. omap2_set_globals_343x();
  23. omap2_map_common_io();
  24. }
  25. static struct omap_board_config_kernel zoom_config[] __initdata = {
  26. };
  27. static void __init omap_zoom_init_irq(void)
  28. {
  29. omap_board_config = zoom_config;
  30. omap_board_config_size = ARRAY_SIZE(zoom_config);
  31. omap2_init_common_hw(h8mbx00u0mer0em_sdrc_params,
  32. h8mbx00u0mer0em_sdrc_params);
  33. omap_init_irq();
  34. omap_gpio_init();
  35. }
  36. static void __init omap_zoom_init(void)
  37. {
  38. zoom_peripherals_init();
  39. zoom_debugboard_init();
  40. }
  41. MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board")
  42. .phys_io = 0x48000000,
  43. .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc,
  44. .boot_params = 0x80000100,
  45. .map_io = omap_zoom_map_io,
  46. .init_irq = omap_zoom_init_irq,
  47. .init_machine = omap_zoom_init,
  48. .timer = &omap_timer,
  49. MACHINE_END