aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/cuboot-pq2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/cuboot-pq2.c')
-rw-r--r--arch/powerpc/boot/cuboot-pq2.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/powerpc/boot/cuboot-pq2.c b/arch/powerpc/boot/cuboot-pq2.c
index 8021fd4a43bc..b150bd4f1b73 100644
--- a/arch/powerpc/boot/cuboot-pq2.c
+++ b/arch/powerpc/boot/cuboot-pq2.c
@@ -264,10 +264,12 @@ static void pq2_platform_fixups(void)
264 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); 264 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq);
265 265
266 node = finddevice("/soc/cpm"); 266 node = finddevice("/soc/cpm");
267 if (node) { 267 if (node)
268 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4); 268 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4);
269 setprop(node, "fsl,brg-frequency", &bd.bi_brgfreq, 4); 269
270 } 270 node = finddevice("/soc/cpm/brg");
271 if (node)
272 setprop(node, "clock-frequency", &bd.bi_brgfreq, 4);
271 273
272 update_cs_ranges(); 274 update_cs_ranges();
273 fixup_pci(); 275 fixup_pci();