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
10#include <linux/of_platform.h>
11#include <asm/mach/arch.h>
12
13#include "common.h"
14
15static const char * const imx1_dt_board_compat[] __initconst = {
16	"fsl,imx1",
17	NULL
18};
19
20DT_MACHINE_START(IMX1_DT, "Freescale i.MX1 (Device Tree Support)")
21	.map_io		= mx1_map_io,
22	.init_early	= imx1_init_early,
23	.init_irq	= mx1_init_irq,
24	.dt_compat	= imx1_dt_board_compat,
25	.restart	= mxc_restart,
26MACHINE_END
27