diff options
Diffstat (limited to 'arch/arm/mach-imx/imx1-dt.c')
| -rw-r--r-- | arch/arm/mach-imx/imx1-dt.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx1-dt.c b/arch/arm/mach-imx/imx1-dt.c new file mode 100644 index 000000000000..6f915b0961c4 --- /dev/null +++ b/arch/arm/mach-imx/imx1-dt.c | |||
| @@ -0,0 +1,26 @@ | |||
| 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 | |||
| 15 | static const char * const imx1_dt_board_compat[] __initconst = { | ||
| 16 | "fsl,imx1", | ||
| 17 | NULL | ||
| 18 | }; | ||
| 19 | |||
| 20 | DT_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, | ||
| 26 | MACHINE_END | ||
