xref: /linux/arch/powerpc/boot/pq2.h (revision 58d416351e6df1a41d415958ccdd8eb9c2173fed)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PPC_BOOT_PQ2_H_
3 #define _PPC_BOOT_PQ2_H_
4 
5 #include "types.h"
6 
7 int pq2_get_clocks(u32 crystal, u32 *sysfreq, u32 *corefreq,
8                    u32 *timebase, u32 *brgfreq);
9 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq);
10 int pq2_fixup_clocks(u32 crystal);
11 
12 #endif
13