Explorar o código

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 %!s(int64=14) %!d(string=hai) anos
pai
achega
a01ebd9679
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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