Dear Team,
I have integrated the driver for the RTC-PCF85263 chip into my BSP, as there is no official support for it in NXP's i.MX BSPs. I obtained the driver from the following link: https://www.spinics.net/lists/devicetree/msg137406.html
However, I am encountering the below log during system boot, and the date/time is not being reflected after a system reboot.
[ 20.328653] rtc-pcf85263 1-0051: Oscillator stop detected, date/time is not reliable.
[ 20.338081] rtc-pcf85263 1-0051: Oscillator stop detected, date/time is not reliable.
[ 20.346661] rtc-pcf85263 1-0051: rtc core: registered rtc-pcf85263 as rtc1
[ 20.353936] rtc-pcf85263 1-0051: PCF85263 RTC (irqpin=None irq=0)
Please kindly advise if I am missing any necessary steps or configurations.
Thank you in advance.
Hello,
My two cents, I guess this is a device tree issue, just put the hardware in the device tree of MX.
Regards
Hello,
Below is my device tree node, kindly let me know if any correction is needed.
pcf85263: pcf85263@51 {
compatible = "nxp,pcf85263";
reg = <0x51>;
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "INTB";
quartz-load-capacitance = "PCF85263_QUARTZCAP_12p5pF";
quartz-drive-strength = "PCF85263_QUARTZDRIVE_LOW";
status = "okay";
};
Thanks,
Kasturi.