From: Bhaskar Upadhaya Date: Fri, 4 Mar 2011 14:57:58 +0000 (+0530) Subject: powerpc/85xx: Fix up clock_freq property in CAN node of dts X-Git-Tag: v2011.09-rc1~105^2~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=65bb8b060a873fa4f5188f2951081f6011259614;p=oweals%2Fu-boot.git 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 Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c index c49f59b839..c62b12fb1d 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); }