imx1-dt.c 713 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
  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 <asm/mach/arch.h>
  11. #include "common.h"
  12. static const char * const imx1_dt_board_compat[] __initconst = {
  13. "fsl,imx1",
  14. NULL
  15. };
  16. DT_MACHINE_START(IMX1_DT, "Freescale i.MX1 (Device Tree Support)")
  17. .map_io = mx1_map_io,
  18. .init_early = imx1_init_early,
  19. .init_irq = mx1_init_irq,
  20. .dt_compat = imx1_dt_board_compat,
  21. .restart = mxc_restart,
  22. MACHINE_END