board_dt.c 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * This file contains code for boards with device tree support.
  3. *
  4. * Copyright (C) 2011 Xilinx
  5. *
  6. * based on arch/arm/mach-realview/core.c
  7. *
  8. * Copyright (C) 1999 - 2003 ARM Limited
  9. * Copyright (C) 2000 Deep Blue Solutions Ltd
  10. *
  11. * This software is licensed under the terms of the GNU General Public
  12. * License version 2, as published by the Free Software Foundation, and
  13. * may be copied, distributed, and modified under those terms.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. */
  20. #include <linux/of.h>
  21. #include <asm/mach/arch.h>
  22. #include <asm/mach-types.h>
  23. #include "common.h"
  24. static const char *xilinx_dt_match[] = {
  25. "xlnx,zynq-ep107",
  26. NULL
  27. };
  28. MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform")
  29. .map_io = xilinx_map_io,
  30. .init_irq = xilinx_irq_init,
  31. .init_machine = xilinx_init_machine,
  32. .timer = &xttcpss_sys_timer,
  33. .dt_compat = xilinx_dt_match,
  34. MACHINE_END