diff options
author | John Crispin <blogic@openwrt.org> | 2016-04-07 14:18:35 -0400 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2016-04-20 07:58:45 -0400 |
commit | 601bac7638fa693204dc70035d2651474704967c (patch) | |
tree | ddb291f3260d2769710447dc3c85458065453db7 | |
parent | 060a1d6461ebed23463262365fe41556e8a5cfc7 (diff) |
ARM: mediatek: enable gpt6 on boot up to make arch timer work on mt7623
GPT6 needs to be enabled on MT7623 for the arch timer to work.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r-- | arch/arm/mach-mediatek/mediatek.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c index 9c2e38d30f47..a6e3c98b95ed 100644 --- a/arch/arm/mach-mediatek/mediatek.c +++ b/arch/arm/mach-mediatek/mediatek.c | |||
@@ -29,6 +29,7 @@ static void __init mediatek_timer_init(void) | |||
29 | void __iomem *gpt_base; | 29 | void __iomem *gpt_base; |
30 | 30 | ||
31 | if (of_machine_is_compatible("mediatek,mt6589") || | 31 | if (of_machine_is_compatible("mediatek,mt6589") || |
32 | of_machine_is_compatible("mediatek,mt7623") || | ||
32 | of_machine_is_compatible("mediatek,mt8135") || | 33 | of_machine_is_compatible("mediatek,mt8135") || |
33 | of_machine_is_compatible("mediatek,mt8127")) { | 34 | of_machine_is_compatible("mediatek,mt8127")) { |
34 | /* turn on GPT6 which ungates arch timer clocks */ | 35 | /* turn on GPT6 which ungates arch timer clocks */ |