MIPS: BCM47XX: Fix clock detection for BCM5354 with 200MHz clock
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 18 Sep 2013 11:32:59 +0000 (13:32 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Oct 2013 20:24:07 +0000 (21:24 +0100)
commit2224de9d152b6fd9faa0df49cf55ca97eab772fa
tree80503a335a8b04d2a5d5cb71ea940af8a6de1df6
parent62cf3bc0b59cfb70a021784af914c6ea464d3af7
MIPS: BCM47XX: Fix clock detection for BCM5354 with 200MHz clock

Some BCM5354 SoCs are running at 200MHz, but it is not possible to read
the clock from a register like it is done on some other SoC in ssb and
bcma. These devices should have a clkfreq nvram configuration value set
to 200, read it and set the clock to the correct value.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5842/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/time.c