How to detect fsystem clock on MPC5200

Juergen Beisert juergen.beisert at weihenstephan.org
Fri Feb 9 04:13:34 EST 2007


Hi all,

currently I am writing an SPI driver for a PSC unit. To calculate the baudrate 
this unit should use I need the fsystem frequence (fsystem is the used name 
in the datasheet). Is there a generic way (API) to read back this clock?

For the IPB clock I found mpc52xx_find_ipb_freq() from the open firmware 
framework. Is there something similar for the fsystem clock?

Juergen



More information about the Linuxppc-embedded mailing list