MIPS: Loongson64: Add support for the Loongson-2K1000 to get cpu_clock_freq
authorQing Zhang <zhangqing@loongson.cn>
Mon, 15 Mar 2021 07:50:00 +0000 (15:50 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 25 Mar 2021 09:44:01 +0000 (10:44 +0100)
commit95b56e884a50c8e935b4e9f8b289251cc913795e
treefe00466401bf05d944bc2ce179ded8df7bcf4b45
parent8e2fe0ecfb96d7b1baa9720e36305515c3079e8c
MIPS: Loongson64: Add support for the Loongson-2K1000 to get cpu_clock_freq

Get the fixed-clock from the CPU0 node of the device tree.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Tested-by: Ming Wang <wangming01@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/loongson64/time.c