[PATCH 0/2] MIPS: csrc-r4k: get counter rate from devicetree
Antony Pavlov
antonynpavlov at gmail.com
Wed Jul 6 13:38:24 PDT 2016
At the moment csrc-r4k rate is fixed to 100 MHz.
This is acceptable only for qemu-malta.
This patch introduces a devicetree-based solution
for detecting csrc-r4k counter rate.
The most notable users of this patch are AR9331-based boards.
Antony Pavlov (2):
of: base: import of_get_cpu_node() from linux-v4.7-rc2
MIPS: csrc-r4k: get cp0 counter rate from devicetree
arch/mips/lib/csrc-r4k.c | 24 ++++++++++++--
drivers/of/base.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++
include/of.h | 10 ++++++
3 files changed, 118 insertions(+), 2 deletions(-)
--
2.8.1
More information about the barebox
mailing list