Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 601bac76 authored by John Crispin's avatar John Crispin Committed by Matthias Brugger
Browse files

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: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 060a1d64
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ static void __init mediatek_timer_init(void)
	void __iomem *gpt_base;

	if (of_machine_is_compatible("mediatek,mt6589") ||
	    of_machine_is_compatible("mediatek,mt7623") ||
	    of_machine_is_compatible("mediatek,mt8135") ||
	    of_machine_is_compatible("mediatek,mt8127")) {
		/* turn on GPT6 which ungates arch timer clocks */