Skip to content
Snippets Groups Projects
Commit 85f8cda3 authored by Kumar Gala's avatar Kumar Gala
Browse files

powerpc/p4080: Add setting of clock-frequency for clockgen node


On QorIQ CoreNet based devices we have a global clocking block.  We want
to keep track of SYSCLK frequency as it is what is used to derive all
other frequencies in the SoC

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 1b942f74
No related branches found
No related tags found
No related merge requests found
...@@ -403,6 +403,11 @@ void ft_cpu_setup(void *blob, bd_t *bd) ...@@ -403,6 +403,11 @@ void ft_cpu_setup(void *blob, bd_t *bd)
"clock-frequency", bd->bi_brgfreq, 1); "clock-frequency", bd->bi_brgfreq, 1);
#endif #endif
#ifdef CONFIG_FSL_CORENET
do_fixup_by_compat_u32(blob, "fsl,qoriq-clockgen-1.0",
"clock-frequency", CONFIG_SYS_CLK_FREQ, 1);
#endif
fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize); fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
#ifdef CONFIG_MP #ifdef CONFIG_MP
......
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