
18 Aug
2006
18 Aug
'06
4:51 a.m.
I configured pcf8563 RTC, I2C, date, and the I2C command for a PPC board. When I compiled U-Boot, CFG_I2C_RTC_ADDR used by pcf8563.c was undefined. What is the recommended way of determining the correct value of CFG_I2C_RTC_ADDR for pcf8563.c and a PPC board? I simply want to be able to set and read my RTC using U-Boot.
For the PCF8563, the CFG_I2C_RTC_ADDR should be 0x51. Please refer to the datasheet.
U-boot have supported the device-PCF8563.
(I searched for an answer via google and I also searched the u-boot-users mailing list archive, but I was unable to find a answer. Sorry.)