mach-vf610.c 901 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright 2012-2013 Freescale Semiconductor, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. */
  9. #include <linux/of_platform.h>
  10. #include <linux/irqchip.h>
  11. #include <asm/mach/arch.h>
  12. #include <asm/hardware/cache-l2x0.h>
  13. #include "common.h"
  14. static void __init vf610_init_machine(void)
  15. {
  16. mxc_arch_reset_init_dt();
  17. of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
  18. }
  19. static const char *vf610_dt_compat[] __initconst = {
  20. "fsl,vf610",
  21. NULL,
  22. };
  23. DT_MACHINE_START(VYBRID_VF610, "Freescale Vybrid VF610 (Device Tree)")
  24. .l2c_aux_val = 0,
  25. .l2c_aux_mask = ~0,
  26. .init_machine = vf610_init_machine,
  27. .dt_compat = vf610_dt_compat,
  28. .restart = mxc_restart,
  29. MACHINE_END