xref: /openbmc/linux/arch/powerpc/boot/pq2.h (revision bc33f5e5)
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