Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

John Crispin and committed by
Matthias Brugger
601bac76 060a1d64

+1
+1
arch/arm/mach-mediatek/mediatek.c
··· 29 29 void __iomem *gpt_base; 30 30 31 31 if (of_machine_is_compatible("mediatek,mt6589") || 32 + of_machine_is_compatible("mediatek,mt7623") || 32 33 of_machine_is_compatible("mediatek,mt8135") || 33 34 of_machine_is_compatible("mediatek,mt8127")) { 34 35 /* turn on GPT6 which ungates arch timer clocks */