summaryrefslogtreecommitdiff
path: root/cpu/mpc8260
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2009-04-02 16:10:36 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 23:29:46 +0200
commit3a671fc06ae1d9e8eba76600372317c75ae0eb3e (patch)
treeb37bda258256df9912e0cddf3965c615990849ab /cpu/mpc8260
parentc73ed274a211699739d83c2cef92853dc6716e15 (diff)
downloadu-boot-imx-3a671fc06ae1d9e8eba76600372317c75ae0eb3e.zip
u-boot-imx-3a671fc06ae1d9e8eba76600372317c75ae0eb3e.tar.gz
u-boot-imx-3a671fc06ae1d9e8eba76600372317c75ae0eb3e.tar.bz2
mpc8260: Fill in brg's clock-frequency in device tree.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'cpu/mpc8260')
-rw-r--r--cpu/mpc8260/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/mpc8260/cpu.c b/cpu/mpc8260/cpu.c
index 1b034cd..d4622ca 100644
--- a/cpu/mpc8260/cpu.c
+++ b/cpu/mpc8260/cpu.c
@@ -311,6 +311,9 @@ void ft_cpu_setup (void *blob, bd_t *bd)
fdt_fixup_ethernet(blob);
#endif
+ do_fixup_by_compat_u32(blob, "fsl,cpm2-brg",
+ "clock-frequency", bd->bi_brgfreq, 1);
+
do_fixup_by_path_u32(blob, cpu_path, "bus-frequency", bd->bi_busfreq, 1);
do_fixup_by_path_u32(blob, cpu_path, "timebase-frequency", OF_TBCLK, 1);
do_fixup_by_path_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1);