diff options
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r7s72100.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-r7s72100.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-shmobile/setup-r7s72100.c b/arch/arm/mach-shmobile/setup-r7s72100.c index 8cdc25d146a9..46a93f73ee4a 100644 --- a/arch/arm/mach-shmobile/setup-r7s72100.c +++ b/arch/arm/mach-shmobile/setup-r7s72100.c | |||
@@ -18,32 +18,11 @@ | |||
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/irq.h> | ||
22 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
23 | #include <linux/of_platform.h> | ||
24 | #include <linux/sh_timer.h> | ||
25 | 22 | ||
26 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
27 | 24 | ||
28 | #include "common.h" | 25 | #include "common.h" |
29 | #include "irqs.h" | ||
30 | #include "r7s72100.h" | ||
31 | |||
32 | static struct resource mtu2_resources[] __initdata = { | ||
33 | DEFINE_RES_MEM(0xfcff0000, 0x400), | ||
34 | DEFINE_RES_IRQ_NAMED(gic_iid(139), "tgi0a"), | ||
35 | }; | ||
36 | |||
37 | #define r7s72100_register_mtu2() \ | ||
38 | platform_device_register_resndata(NULL, "sh-mtu2", \ | ||
39 | -1, mtu2_resources, \ | ||
40 | ARRAY_SIZE(mtu2_resources), \ | ||
41 | NULL, 0) | ||
42 | |||
43 | void __init r7s72100_add_dt_devices(void) | ||
44 | { | ||
45 | r7s72100_register_mtu2(); | ||
46 | } | ||
47 | 26 | ||
48 | #ifdef CONFIG_USE_OF | 27 | #ifdef CONFIG_USE_OF |
49 | static const char *r7s72100_boards_compat_dt[] __initdata = { | 28 | static const char *r7s72100_boards_compat_dt[] __initdata = { |