Steffen Trumtrar | a55a3d7 | 2013-12-18 15:10:25 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Steffen Trumtrar, Pengutronix |
| 3 | * |
| 4 | * based on imx27-dt.c |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it under |
| 7 | * the terms of the GNU General Public License version 2 as published by the |
| 8 | * Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | #include <linux/irq.h> |
| 12 | #include <linux/irqdomain.h> |
| 13 | #include <linux/of_irq.h> |
| 14 | #include <linux/of_platform.h> |
| 15 | #include <linux/clk-provider.h> |
| 16 | #include <linux/clocksource.h> |
| 17 | #include <asm/mach/arch.h> |
| 18 | #include <asm/mach/time.h> |
| 19 | #include <asm/hardware/cache-l2x0.h> |
| 20 | #include "common.h" |
| 21 | #include "mx35.h" |
| 22 | |
Shawn Guo | 8756dd9 | 2014-07-01 16:03:00 +0800 | [diff] [blame] | 23 | static const char * const imx35_dt_board_compat[] __initconst = { |
Steffen Trumtrar | a55a3d7 | 2013-12-18 15:10:25 +0100 | [diff] [blame] | 24 | "fsl,imx35", |
| 25 | NULL |
| 26 | }; |
| 27 | |
| 28 | DT_MACHINE_START(IMX35_DT, "Freescale i.MX35 (Device Tree Support)") |
Andrey Smirnov | 510aca6 | 2016-06-18 18:09:31 -0700 | [diff] [blame] | 29 | .l2c_aux_val = 0, |
| 30 | .l2c_aux_mask = ~0, |
Steffen Trumtrar | a55a3d7 | 2013-12-18 15:10:25 +0100 | [diff] [blame] | 31 | .map_io = mx35_map_io, |
| 32 | .init_early = imx35_init_early, |
Andrey Smirnov | 510aca6 | 2016-06-18 18:09:31 -0700 | [diff] [blame] | 33 | .init_irq = mx35_init_irq, |
Steffen Trumtrar | a55a3d7 | 2013-12-18 15:10:25 +0100 | [diff] [blame] | 34 | .dt_compat = imx35_dt_board_compat, |
Steffen Trumtrar | a55a3d7 | 2013-12-18 15:10:25 +0100 | [diff] [blame] | 35 | MACHINE_END |