소스 검색

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>
Bhaskar Upadhaya 14 년 전
부모
커밋
65bb8b060a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      arch/powerpc/cpu/mpc85xx/fdt.c

+ 3 - 0
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",
 	do_fixup_by_compat_u32(blob, "fsl,gianfar-ptp-timer",
 			"timer-frequency", gd->bus_clk/2, 1);
 			"timer-frequency", gd->bus_clk/2, 1);
+
+	do_fixup_by_compat_u32(blob, "fsl,flexcan-v1.0",
+			"clock_freq", gd->bus_clk, 1);
 }
 }