The PMC of the AT91 controller provides a register where you can find an estimation of the main clock frequency. The patch below uses this register to sense the frequency of the oscillating crystal. Alternatively you can set the frequency explicitely in the kernel configuration file with options AT91C_MAIN_CLOCK=16000000 for example.
Responsible Changed From-To: freebsd-arm->stas I'll take it.
State Changed From-To: open->closed Committed. Thanks!