18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _PPC_BOOT_PQ2_H_ 38c2ecf20Sopenharmony_ci#define _PPC_BOOT_PQ2_H_ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include "types.h" 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciint pq2_get_clocks(u32 crystal, u32 *sysfreq, u32 *corefreq, 88c2ecf20Sopenharmony_ci u32 *timebase, u32 *brgfreq); 98c2ecf20Sopenharmony_civoid pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq); 108c2ecf20Sopenharmony_ciint pq2_fixup_clocks(u32 crystal); 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#endif 13