diff options
author | Bhaskar Upadhaya <Bhaskar.Upadhaya@freescale.com> | 2011-03-04 20:27:58 +0530 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-29 08:53:38 -0500 |
commit | 65bb8b060a873fa4f5188f2951081f6011259614 (patch) | |
tree | 3f60ba2e4cfb9d0d10a33c69c636ec9216223a46 /arch | |
parent | 28415b62d1fe0b12e5a48743285ed52502d75004 (diff) | |
download | u-boot-imx-65bb8b060a873fa4f5188f2951081f6011259614.zip u-boot-imx-65bb8b060a873fa4f5188f2951081f6011259614.tar.gz u-boot-imx-65bb8b060a873fa4f5188f2951081f6011259614.tar.bz2 |
powerpc/85xx: Fix up clock_freq property in CAN node of dts
Fix up the device tree property associated with the Flexcan clock
frequency. This property is used to calculate the bit timing parameters
for Flexcan.
Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/fdt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c index c49f59b..c62b12f 100644 --- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -635,4 +635,7 @@ void ft_cpu_setup(void *blob, bd_t *bd) */ do_fixup_by_compat_u32(blob, "fsl,gianfar-ptp-timer", "timer-frequency", gd->bus_clk/2, 1); + + do_fixup_by_compat_u32(blob, "fsl,flexcan-v1.0", + "clock_freq", gd->bus_clk, 1); } |