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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox