2 * Copyright (C) 2015 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 #include <linux/irqchip.h>
9 #include <linux/of_platform.h>
10 #include <asm/mach/arch.h>
11 #include <asm/mach/map.h>
15 static void __init
imx7d_init_machine(void)
17 struct device
*parent
;
19 parent
= imx_soc_device_init();
21 pr_warn("failed to initialize soc device\n");
23 of_platform_populate(NULL
, of_default_bus_match_table
, NULL
, NULL
);
27 static void __init
imx7d_init_irq(void)
29 imx_init_revision_from_anatop();
34 static const char *const imx7d_dt_compat
[] __initconst
= {
39 DT_MACHINE_START(IMX7D
, "Freescale i.MX7 Dual (Device Tree)")
40 .init_irq
= imx7d_init_irq
,
41 .init_machine
= imx7d_init_machine
,
42 .dt_compat
= imx7d_dt_compat
,