Why is the RTC time not updating in the G40M i.MX8MP SMARC SOM?

Kindly make the following changes in Kernel source to get the RTC working.

  1. In file “arch/arm64/configs/iw_rainbowg40m_defconfig” change the below MACRO as “y” from “m
    CONFIG_RTC_DRV_PCF85363=y

  2. In node “pcf85263” in dts “arch/arm64/boot/dts/freescale/imx8mp-iwg40m.dtsi” change the “compatible” property as below:
    compatible = “nxp,pcf85263”;

  3. Also, in “aliases” node in dts “arch/arm64/boot/dts/freescale/imx8mp-iwg40m.dtsi” add below lines:
    rtc0 = &pcf85263;
    rtc1 = &snvs_rtc;

For further inquiries, please get in touch with mktg@iwave-global.com

Please find the detailed G40M product information in the below link,