summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTang Yuantian <Yuantian.Tang@freescale.com>2013-02-28 23:24:34 +0000
committerAndy Fleming <afleming@freescale.com>2013-05-02 16:56:43 -0500
commit7b700d212532b1b7b11e003d6949407d74fb69e3 (patch)
tree152eec4cd6015c67fe72151b618652c106063fa4 /arch
parent04feb57f89150ed06d4c01a2ce6979cd3218b511 (diff)
downloadblackbird-obmc-uboot-7b700d212532b1b7b11e003d6949407d74fb69e3.tar.gz
blackbird-obmc-uboot-7b700d212532b1b7b11e003d6949407d74fb69e3.zip
powerpc/mpc85xx: set clock-frequency for T4/B4 clockgen node
For T4/B4, the clockgen node compatible string is updated to version 2. Add clock-frequency setting for this new version. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/cpu/mpc85xx/fdt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c
index 6f8d09ecc4..288f7b2860 100644
--- a/arch/powerpc/cpu/mpc85xx/fdt.c
+++ b/arch/powerpc/cpu/mpc85xx/fdt.c
@@ -663,6 +663,8 @@ void ft_cpu_setup(void *blob, bd_t *bd)
#ifdef CONFIG_FSL_CORENET
do_fixup_by_compat_u32(blob, "fsl,qoriq-clockgen-1.0",
"clock-frequency", CONFIG_SYS_CLK_FREQ, 1);
+ do_fixup_by_compat_u32(blob, "fsl,qoriq-clockgen-2",
+ "clock-frequency", CONFIG_SYS_CLK_FREQ, 1);
do_fixup_by_compat_u32(blob, "fsl,mpic",
"clock-frequency", get_bus_freq(0)/2, 1);
#else
OpenPOWER on IntegriCloud