Use the new clock API to get the clock frequency from the device tree and the
authorkettenis <kettenis@openbsd.org>
Mon, 22 Aug 2016 09:37:27 +0000 (09:37 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 22 Aug 2016 09:37:27 +0000 (09:37 +0000)
commitdfb7098a47e1dce7adfc1862a2a464f6fdbb4ecd
treea5072f7c8f459f6a7d4b3795daaf8c9494b4877f
parent36f5a493d1611274f182c92762f6297350113bf6
Use the new clock API to get the clock frequency from the device tree and the
actual hardware that controls the clock.  This gets rid of all the hardcoded
clock frequencies for specific hardware.

Tested by jsg@ on the BBB, mglocker@ on the C.H.I.P. and myself on the
Banana Pi and Raspberry Pi 3.

ok jsg@
sys/arch/armv7/dev/com_fdt.c