mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
04feb57f89
commit
7b700d2125
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue