[U-Boot-Users] pcf8563 RTC access; undefined CFG_I2C_RTC_ADDR

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.
(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.)
Sincerely,
Ken Fuchs

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.)

In message 796170977750E44F840FB649B4FBA4D40728EF@mn-ex01.mn.bench.com you wrote:
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.
The recommended way is reading and understanding your hardware specification and the RTC User's Manual.
Best regards,
Wolfgang Denk
participants (3)
-
Ken.Fuchs@bench.com
-
Liu Dave-r63238
-
Wolfgang Denk