diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6q.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index c25728106917..7696dfa2bdba 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/of_platform.h> | 21 | #include <linux/of_platform.h> |
22 | #include <linux/phy.h> | 22 | #include <linux/phy.h> |
23 | #include <linux/micrel_phy.h> | 23 | #include <linux/micrel_phy.h> |
24 | #include <asm/smp_twd.h> | ||
24 | #include <asm/hardware/cache-l2x0.h> | 25 | #include <asm/hardware/cache-l2x0.h> |
25 | #include <asm/hardware/gic.h> | 26 | #include <asm/hardware/gic.h> |
26 | #include <asm/mach/arch.h> | 27 | #include <asm/mach/arch.h> |
@@ -97,7 +98,8 @@ static int __init imx6q_gpio_add_irq_domain(struct device_node *np, | |||
97 | static int gpio_irq_base = MXC_GPIO_IRQ_START + ARCH_NR_GPIOS; | 98 | static int gpio_irq_base = MXC_GPIO_IRQ_START + ARCH_NR_GPIOS; |
98 | 99 | ||
99 | gpio_irq_base -= 32; | 100 | gpio_irq_base -= 32; |
100 | irq_domain_add_simple(np, gpio_irq_base); | 101 | irq_domain_add_legacy(np, 32, gpio_irq_base, 0, &irq_domain_simple_ops, |
102 | NULL); | ||
101 | 103 | ||
102 | return 0; | 104 | return 0; |
103 | } | 105 | } |
@@ -119,6 +121,7 @@ static void __init imx6q_init_irq(void) | |||
119 | static void __init imx6q_timer_init(void) | 121 | static void __init imx6q_timer_init(void) |
120 | { | 122 | { |
121 | mx6q_clocks_init(); | 123 | mx6q_clocks_init(); |
124 | twd_local_timer_of_register(); | ||
122 | } | 125 | } |
123 | 126 | ||
124 | static struct sys_timer imx6q_timer = { | 127 | static struct sys_timer imx6q_timer = { |
@@ -128,6 +131,7 @@ static struct sys_timer imx6q_timer = { | |||
128 | static const char *imx6q_dt_compat[] __initdata = { | 131 | static const char *imx6q_dt_compat[] __initdata = { |
129 | "fsl,imx6q-arm2", | 132 | "fsl,imx6q-arm2", |
130 | "fsl,imx6q-sabrelite", | 133 | "fsl,imx6q-sabrelite", |
134 | "fsl,imx6q", | ||
131 | NULL, | 135 | NULL, |
132 | }; | 136 | }; |
133 | 137 | ||