mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 23:37:01 +00:00
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>
This commit is contained in:
parent
28415b62d1
commit
65bb8b060a
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue