diff options
author | Andre Silva <andre.silva@freescale.com> | 2011-06-22 15:33:04 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-07-07 04:01:11 -0400 |
commit | b6a14477695e54da6621c6d3c72f019b8cddb89d (patch) | |
tree | 6c024ce769b59e2a3dda6a8d2b07aa8e2786e5de /arch/arm/mach-mx5 | |
parent | 10f046bb1df0e40bbc56579ca5ccad5f951f4047 (diff) |
ARM:mx53: Add I2C3 support
Signed-off-by: Andre Silva <andre.silva@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r-- | arch/arm/mach-mx5/clock-mx51-mx53.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c index 005b4aebc24e..7173b27265dd 100644 --- a/arch/arm/mach-mx5/clock-mx51-mx53.c +++ b/arch/arm/mach-mx5/clock-mx51-mx53.c | |||
@@ -1279,6 +1279,8 @@ DEFINE_CLOCK(i2c2_clk, 1, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG10_OFFSET, | |||
1279 | NULL, NULL, &ipg_perclk, NULL); | 1279 | NULL, NULL, &ipg_perclk, NULL); |
1280 | DEFINE_CLOCK(hsi2c_clk, 0, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG11_OFFSET, | 1280 | DEFINE_CLOCK(hsi2c_clk, 0, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG11_OFFSET, |
1281 | NULL, NULL, &ipg_clk, NULL); | 1281 | NULL, NULL, &ipg_clk, NULL); |
1282 | DEFINE_CLOCK(i2c3_mx53_clk, 0, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG11_OFFSET, | ||
1283 | NULL, NULL, &ipg_perclk, NULL); | ||
1282 | 1284 | ||
1283 | /* FEC */ | 1285 | /* FEC */ |
1284 | DEFINE_CLOCK(fec_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG12_OFFSET, | 1286 | DEFINE_CLOCK(fec_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG12_OFFSET, |
@@ -1467,6 +1469,7 @@ static struct clk_lookup mx53_lookups[] = { | |||
1467 | _REGISTER_CLOCK(NULL, "iim_clk", iim_clk) | 1469 | _REGISTER_CLOCK(NULL, "iim_clk", iim_clk) |
1468 | _REGISTER_CLOCK("imx-i2c.0", NULL, i2c1_clk) | 1470 | _REGISTER_CLOCK("imx-i2c.0", NULL, i2c1_clk) |
1469 | _REGISTER_CLOCK("imx-i2c.1", NULL, i2c2_clk) | 1471 | _REGISTER_CLOCK("imx-i2c.1", NULL, i2c2_clk) |
1472 | _REGISTER_CLOCK("imx-i2c.2", NULL, i2c3_mx53_clk) | ||
1470 | _REGISTER_CLOCK("sdhci-esdhc-imx.0", NULL, esdhc1_clk) | 1473 | _REGISTER_CLOCK("sdhci-esdhc-imx.0", NULL, esdhc1_clk) |
1471 | _REGISTER_CLOCK("sdhci-esdhc-imx.1", NULL, esdhc2_mx53_clk) | 1474 | _REGISTER_CLOCK("sdhci-esdhc-imx.1", NULL, esdhc2_mx53_clk) |
1472 | _REGISTER_CLOCK("sdhci-esdhc-imx.2", NULL, esdhc3_mx53_clk) | 1475 | _REGISTER_CLOCK("sdhci-esdhc-imx.2", NULL, esdhc3_mx53_clk) |