Skip to content
Snippets Groups Projects
Commit 7b700d21 authored by Tang Yuantian's avatar Tang Yuantian Committed by Andy Fleming
Browse files

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: default avatarTang Yuantian <Yuantian.Tang@freescale.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 04feb57f
No related branches found
No related tags found
No related merge requests found
...@@ -663,6 +663,8 @@ void ft_cpu_setup(void *blob, bd_t *bd) ...@@ -663,6 +663,8 @@ void ft_cpu_setup(void *blob, bd_t *bd)
#ifdef CONFIG_FSL_CORENET #ifdef CONFIG_FSL_CORENET
do_fixup_by_compat_u32(blob, "fsl,qoriq-clockgen-1.0", do_fixup_by_compat_u32(blob, "fsl,qoriq-clockgen-1.0",
"clock-frequency", CONFIG_SYS_CLK_FREQ, 1); "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", do_fixup_by_compat_u32(blob, "fsl,mpic",
"clock-frequency", get_bus_freq(0)/2, 1); "clock-frequency", get_bus_freq(0)/2, 1);
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment