MIPS: ralink: Add support for systick timer found on newer ralink SoC

Newer Ralink SoC (MT7620x and RT5350) have a 50KHz clock that runs independent
of the SoC master clock. If we want to automatic frequency scaling to work we
need to use the systick timer as the clock source.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5669/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
John Crispin 2013-08-08 13:08:06 +02:00 • committed by Ralf Baechle
commit 1f2acc5a8a
3 changed files with 154 additions and 0 deletions