summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRogerio Pimentel <rogerio.pimentel@freescale.com>2011-12-08 16:33:41 -0200
committerAndy Voltz <andy.voltz@timesys.com>2012-03-09 11:26:47 -0500
commite66b78490f74a394e8dc0bc6a4e8441c16f62df7 (patch)
tree92168d2526db3353995853bc63e3c3d2a49747e4
parent4baa85b9c37d63522be239dcdcdbf2c2c984d871 (diff)
ENGR00169603 MX53 ARD: FlexCAN: Set lp_apm as clock source
The FlexCAN clock source must be lp_apm (24MHZ) instead ipg_clock_root (60MHZ) to meet automotive clock requirements. Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com> (cherry picked from commit b7456a4f5f6fa12235effbffe4e4d1b62159b948)
-rw-r--r--arch/arm/mach-mx5/mx53_ard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/mx53_ard.c b/arch/arm/mach-mx5/mx53_ard.c
index 378e1c1359a2..b1252fb6c1b5 100644
--- a/arch/arm/mach-mx5/mx53_ard.c
+++ b/arch/arm/mach-mx5/mx53_ard.c
@@ -455,6 +455,7 @@ static void flexcan_xcvr_enable(int id, int en)
static struct flexcan_platform_data flexcan0_data = {
.core_reg = NULL,
.io_reg = NULL,
+ .root_clk_id = "lp_apm",
.xcvr_enable = flexcan_xcvr_enable,
.br_clksrc = 1,
.br_rjw = 2,
@@ -472,6 +473,7 @@ static struct flexcan_platform_data flexcan0_data = {
static struct flexcan_platform_data flexcan1_data = {
.core_reg = NULL,
.io_reg = NULL,
+ .root_clk_id = "lp_apm",
.xcvr_enable = flexcan_xcvr_enable,
.br_clksrc = 1,
.br_rjw = 2,