diff options
| author | Haiying Wang <Haiying.Wang@freescale.com> | 2012-10-11 07:13:39 +0000 |
|---|---|---|
| committer | Andy Fleming <afleming@freescale.com> | 2012-10-22 15:52:46 -0500 |
| commit | 990e1a8ce1415b9010faccd1402d499e203ea2fb (patch) | |
| tree | a27997d39b08cbca7cd1dd1799619ce6521e7d51 /arch/powerpc/cpu/mpc85xx/fdt.c | |
| parent | b0e8115741cbba252e64f3b4e81799de57248a26 (diff) | |
| download | olio-uboot-2014.01-990e1a8ce1415b9010faccd1402d499e203ea2fb.tar.xz olio-uboot-2014.01-990e1a8ce1415b9010faccd1402d499e203ea2fb.zip | |
poweprc/85xx: add QMan frequency info and fdt fixup.
Starting from QMan3.0, the QMan clock cycle needs be exposed so that the kernel
driver can use it to calculate the shaper prescaler and rate.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/fdt.c')
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/fdt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c index a364ef216..ab0933076 100644 --- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -411,6 +411,11 @@ static void ft_fixup_dpaa_clks(void *blob) #endif #endif +#ifdef CONFIG_SYS_DPAA_QBMAN + do_fixup_by_compat_u32(blob, "fsl,qman", + "clock-frequency", sysinfo.freqQMAN, 1); +#endif + #ifdef CONFIG_SYS_DPAA_PME do_fixup_by_compat_u32(blob, "fsl,pme", "clock-frequency", sysinfo.freqPME, 1); |