Browse Source

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>
Heiko Schocher 14 năm trước cách đây
mục cha
commit
a01ebd9679
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      include/configs/digsy_mtc.h

+ 2 - 0
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