1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2014 Freescale Semiconductor, Inc.
6 #include <linux/irqchip.h>
7 #include <linux/of_platform.h>
8 #include <linux/regmap.h>
9 #include <linux/mfd/syscon.h>
10 #include <asm/mach/arch.h>
15 static void __init
imx6sx_init_machine(void)
17 of_platform_default_populate(NULL
, NULL
, NULL
);
23 static void __init
imx6sx_init_irq(void)
26 imx_init_revision_from_anatop();
30 imx6_pm_ccm_init("fsl,imx6sx-ccm");
33 static void __init
imx6sx_init_late(void)
35 imx6sx_cpuidle_init();
37 if (IS_ENABLED(CONFIG_ARM_IMX6Q_CPUFREQ
))
38 platform_device_register_simple("imx6q-cpufreq", -1, NULL
, 0);
41 static const char * const imx6sx_dt_compat
[] __initconst
= {
46 DT_MACHINE_START(IMX6SX
, "Freescale i.MX6 SoloX (Device Tree)")
49 .init_irq
= imx6sx_init_irq
,
50 .init_machine
= imx6sx_init_machine
,
51 .dt_compat
= imx6sx_dt_compat
,
52 .init_late
= imx6sx_init_late
,