Kindly make the following changes in Kernel source to get the RTC working.
-
In file “
arch/arm64/configs/iw_rainbowg40m_defconfig” change the below MACRO as “y” from “m”
CONFIG_RTC_DRV_PCF85363=y -
In node “
pcf85263” in dts “arch/arm64/boot/dts/freescale/imx8mp-iwg40m.dtsi” change the “compatible” property as below:
compatible = “nxp,pcf85263”; -
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,