xref: /linux/arch/arm/mach-imx/mach-imx7ulp.c (revision 82ffd0454bd9bd57780966d47bfd56d579dd4fb3)
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2016 Freescale Semiconductor, Inc.
4  * Copyright 2017-2018 NXP
5  *   Author: Dong Aisheng <aisheng.dong@nxp.com>
6  */
7 
8 #include <linux/irqchip.h>
9 #include <linux/of_platform.h>
10 #include <asm/mach/arch.h>
11 
12 #include "common.h"
13 #include "hardware.h"
14 
15 static void __init imx7ulp_init_machine(void)
16 {
17 	imx7ulp_pm_init();
18 
19 	mxc_set_cpu_type(MXC_CPU_IMX7ULP);
20 	of_platform_default_populate(NULL, NULL, imx_soc_device_init());
21 }
22 
23 static const char *const imx7ulp_dt_compat[] __initconst = {
24 	"fsl,imx7ulp",
25 	NULL,
26 };
27 
28 DT_MACHINE_START(IMX7ulp, "Freescale i.MX7ULP (Device Tree)")
29 	.init_machine	= imx7ulp_init_machine,
30 	.dt_compat	= imx7ulp_dt_compat,
31 MACHINE_END
32