Skip to content
Commit df8a95f4 authored by Wolfgang Grandegger's avatar Wolfgang Grandegger Committed by Grant Likely
Browse files

powerpc/5200: add function to return external clock frequency



This patch adds the utility function mpc52xx_get_xtal_freq() to get
the frequency of the external oscillator clock connected to the pin
SYS_XTAL_IN. The MSCAN may us it as clock source. Unfortunately, this
value is not available from the FDT blob, but it can be determined
from the IPB frequency.

Signed-off-by: default avatarWolfgang Grandegger <wg@grandegger.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent bb899d49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment