diff options
author | Patil, Rachna <rachna@ti.com> | 2012-01-22 23:47:01 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-01-23 11:57:31 +0100 |
commit | b4116ede36da628a517a94d6cba9dba4a02104a4 (patch) | |
tree | 3f38815b07fed2a404115186ba60f61a45d940d3 /arch/arm/cpu/armv7/am33xx | |
parent | 498cbdfe62a8330f6c89765bdd15e60328a26511 (diff) |
ARM: AM33XX: Add i2c support
Add i2c driver board hookup for AM335X EVM
Signed-off-by: Chandan Nath <chandan.nath@ti.com>
Signed-off-by: Patil, Rachna <rachna@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx')
-rw-r--r-- | arch/arm/cpu/armv7/am33xx/clock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/clock.c b/arch/arm/cpu/armv7/am33xx/clock.c index 98cfd93814..bbb9c1353f 100644 --- a/arch/arm/cpu/armv7/am33xx/clock.c +++ b/arch/arm/cpu/armv7/am33xx/clock.c @@ -113,6 +113,11 @@ static void enable_per_clocks(void) writel(PRCM_MOD_EN, &cmper->mmc0clkctrl); while (readl(&cmper->mmc0clkctrl) != PRCM_MOD_EN) ; + + /* i2c0 */ + writel(PRCM_MOD_EN, &cmwkup->wkup_i2c0ctrl); + while (readl(&cmwkup->wkup_i2c0ctrl) != PRCM_MOD_EN) + ; } static void mpu_pll_config(void) |