aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Miao <eric.miao@linaro.org>2011-04-29 17:34:06 +0800
committerJohn Rigby <john.rigby@linaro.org>2011-09-23 07:10:43 -0600
commite5ed0576e4ab9cb6468404e37da579135a797dac (patch)
treebadbbcb3579b7dd1520bc3d494941454b8a6e5f6
parentef686ba462b8730c0a6b36c02c8bcdef1ed16d59 (diff)
mx53loco: workaround VPU TO2 Errata by increasing peripheral voltage
BugLink: http://bugs.launchpad.net/bugs/773082 Signed-off-by: Eric Miao <eric.miao@linaro.org>
-rw-r--r--board/freescale/mx53loco/mx53loco.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
index a23efb52f..158ec3270 100644
--- a/board/freescale/mx53loco/mx53loco.c
+++ b/board/freescale/mx53loco/mx53loco.c
@@ -364,6 +364,10 @@ static void power_init(void)
val = pmic_reg_read(DA9053_SUPPLY_REG);
val |= DA9052_SUPPLY_VBCOREGO;
pmic_reg_write(DA9053_SUPPLY_REG, val);
+
+ /* Set Vcc peripheral to 1.35V */
+ pmic_reg_write(0x2f, 0x62);
+ pmic_reg_write(0x3c, 0x62);
}
int board_early_init_f(void)