AnsweredAssumed Answered

How to set external RTC in kernel

Question asked by 铭恒 李 on Jul 7, 2020
Latest reply on Jul 14, 2020 by karan gajjar


Some days ago,I asked a question about RTC RTC always reset to 19700101


After investigation, I find it can not register the external RTC (BM8563ESA, I2C RTC) if I close all the on-cpu RTC in "menuconfig". And the RTC_VBAT is unused so that the on-cpu RTC which I have been using will be reset after power off.


So could you please give me a hand for adding this I2C RTC into kernel.


now my devices tree for this external RTC:

&i2c3 {
   clock-frequency = <100000>;
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_i2c3>;
   status = "okay";


      compatible = "pcf8563";
      reg = <0x51>;


   hdmi: edid@50 {
      compatible = "fsl,imx6-hdmi-i2c";
      reg = <0x50>;
      status = "okay";