summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-03-28 09:24:23 +0200
committerWolfgang Denk <wd@denx.de>2011-04-26 00:25:05 +0200
commita01ebd9679f07421ec5abfda5dc0ab76c7202d3b (patch)
tree8d7a85619951fa348d6f2680b52a880374200c15
parent71d19f30d6a55926ac81e86558a15701f9dbc17c (diff)
downloadu-boot-imx-a01ebd9679f07421ec5abfda5dc0ab76c7202d3b.zip
u-boot-imx-a01ebd9679f07421ec5abfda5dc0ab76c7202d3b.tar.gz
u-boot-imx-a01ebd9679f07421ec5abfda5dc0ab76c7202d3b.tar.bz2
mpc52xx, digsy_mtc: add trickle charger support for rev5 boards.
Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
-rw-r--r--include/configs/digsy_mtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h
index e7fd0f7..f1613c7 100644
--- a/include/configs/digsy_mtc.h
+++ b/include/configs/digsy_mtc.h
@@ -252,6 +252,8 @@
#if defined(CONFIG_DIGSY_REV5)
#define CONFIG_SYS_I2C_RTC_ADDR 0x56
#define CONFIG_RTC_RV3029
+/* Enable 5k Ohm trickle charge resistor */
+#define CONFIG_SYS_RV3029_TCR 0x20
#else
#define CONFIG_RTC_DS1337
#define CONFIG_SYS_I2C_RTC_ADDR 0x68