diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6q.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 045b3f6a387d..36979d3dfe34 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/of_address.h> | 22 | #include <linux/of_address.h> |
23 | #include <linux/of_irq.h> | 23 | #include <linux/of_irq.h> |
24 | #include <linux/of_platform.h> | 24 | #include <linux/of_platform.h> |
25 | #include <linux/pinctrl/machine.h> | ||
26 | #include <linux/phy.h> | 25 | #include <linux/phy.h> |
27 | #include <linux/micrel_phy.h> | 26 | #include <linux/micrel_phy.h> |
28 | #include <linux/mfd/anatop.h> | 27 | #include <linux/mfd/anatop.h> |
@@ -100,7 +99,6 @@ static void __init imx6q_sabrelite_cko1_setup(void) | |||
100 | clk_set_parent(cko1_sel, ahb); | 99 | clk_set_parent(cko1_sel, ahb); |
101 | rate = clk_round_rate(cko1, 16000000); | 100 | rate = clk_round_rate(cko1, 16000000); |
102 | clk_set_rate(cko1, rate); | 101 | clk_set_rate(cko1, rate); |
103 | clk_register_clkdev(cko1, NULL, "0-000a"); | ||
104 | put_clk: | 102 | put_clk: |
105 | if (!IS_ERR(cko1_sel)) | 103 | if (!IS_ERR(cko1_sel)) |
106 | clk_put(cko1_sel); | 104 | clk_put(cko1_sel); |
@@ -159,12 +157,6 @@ static void __init imx6q_usb_init(void) | |||
159 | 157 | ||
160 | static void __init imx6q_init_machine(void) | 158 | static void __init imx6q_init_machine(void) |
161 | { | 159 | { |
162 | /* | ||
163 | * This should be removed when all imx6q boards have pinctrl | ||
164 | * states for devices defined in device tree. | ||
165 | */ | ||
166 | pinctrl_provide_dummies(); | ||
167 | |||
168 | if (of_machine_is_compatible("fsl,imx6q-sabrelite")) | 160 | if (of_machine_is_compatible("fsl,imx6q-sabrelite")) |
169 | imx6q_sabrelite_init(); | 161 | imx6q_sabrelite_init(); |
170 | 162 | ||
@@ -218,14 +210,12 @@ static struct sys_timer imx6q_timer = { | |||
218 | }; | 210 | }; |
219 | 211 | ||
220 | static const char *imx6q_dt_compat[] __initdata = { | 212 | static const char *imx6q_dt_compat[] __initdata = { |
221 | "fsl,imx6q-arm2", | ||
222 | "fsl,imx6q-sabrelite", | ||
223 | "fsl,imx6q-sabresd", | ||
224 | "fsl,imx6q", | 213 | "fsl,imx6q", |
225 | NULL, | 214 | NULL, |
226 | }; | 215 | }; |
227 | 216 | ||
228 | DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad (Device Tree)") | 217 | DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad (Device Tree)") |
218 | .smp = smp_ops(imx_smp_ops), | ||
229 | .map_io = imx6q_map_io, | 219 | .map_io = imx6q_map_io, |
230 | .init_irq = imx6q_init_irq, | 220 | .init_irq = imx6q_init_irq, |
231 | .handle_irq = imx6q_handle_irq, | 221 | .handle_irq = imx6q_handle_irq, |