3 * Matthias Weisser <weisserm@arcor.de>
5 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm/arch/hardware.h>
13 * Get the peripheral bus frequency depending on pll pin settings
15 ulong get_bus_freq(ulong dummy)
17 struct mb86r0x_crg * crg = (struct mb86r0x_crg *)
21 pllmode = readl(&crg->crpr) & MB86R0x_CRG_CRPR_PLLMODE;
23 if (pllmode == MB86R0x_CRG_CRPR_PLLMODE_X20)