PCA85073A i2c rtc driver need for S32G274 board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCA85073A i2c rtc driver need for S32G274 board

4,829 Views
vimalrajendran
Contributor II

Hi ,

       iam currently working S32G274 board. my kernel verion 5.4.69 version. i need RTC driver for PCA85073A chip.

Tags (1)
0 Kudos
10 Replies

4,786 Views
bpe
NXP Employee
NXP Employee

The kernel driver for PCA85073A RTC is defined in rtc-pcf85063.c. The respective configuration option is CONFIG_RTC_DRV_PCF85063. The driver is enabled in Automotive BSP kernel by default.

Best Regards,
Platon

 

0 Kudos

4,742 Views
vimalrajendran
Contributor II

Hi ,

i tried but boot log  showing below mentioned error

2.984709] 001: rtc-pcf85063 0-0051: RTC chip is not present
[ 2.984794] 001: rtc-pcf85063: probe of 0-0051 failed with error -110

0 Kudos

4,736 Views
bpe
NXP Employee
NXP Employee

Are you working with an NXP development or reference board? If so, please mention it's exact part number and the version of the Automotive BSP you are working with.

 

Best Regards,
Platon

 

0 Kudos

4,734 Views
vimalrajendran
Contributor II

Hi ,

       i am working with NXP S32g274a our custom development board. and BSP version 29.0.0

0 Kudos

4,718 Views
bpe
NXP Employee
NXP Employee

Suggestions:

1. Make sure the RTC responds to the access cycles on the I2C bus it is
connected to.

2. Make sure the connection between the RTC and the central chip is properly
reflected in the Device Tree

Best Regards,
Platon

0 Kudos

4,706 Views
vimalrajendran
Contributor II

Hi ,

 This is my device tree for pca85073a. if you want any changes in dtsi. please point out your idea.

&i2c1 { 
status = "okay";
clock-frequency = <100000>; 
rtc@51 {
      compatible = "nxp,pca85073a";
      reg = <0x51>;
     nxp,no-battery;
};

};

 

 

Thanks

Vimal

0 Kudos

4,642 Views
vimalrajendran
Contributor II

Hi ,

      still iam facing issue with i2c-1 for below Mentioned Pin

 

pinctrl1_i2c1: i2c1grp {
fsl,pins = <
S32_GEN1_PAD_PB3__I2C1_SCLK_OUT
S32_GEN1_PAD_PB4__I2C1_DATA_OUT
S32_GEN1_PAD_PB3__I2C1_SCLK_IN
S32_GEN1_PAD_PB4__I2C1_DATA_IN
>;
};

0 Kudos

4,641 Views
vimalrajendran
Contributor II

 

 

 

pinctrl_gpioeirq: gpioeirqgrp {
fsl,pins = <
//S32_GEN1_PAD_PB3__SIUL_EIRQ0
S32_GEN1_PAD_PB4__SIUL_EIRQ1

0 Kudos

4,629 Views
vimalrajendran
Contributor II

Hi ,

        same RTC(85073) module work with other i2c. but i2c-1 (PB3,PB4) pins are not working. could you give me any solutions.

 

 

Thanks

vimal

0 Kudos

4,613 Views
bpe
NXP Employee
NXP Employee

This is a duplicate thread. NXP Technical Support is following you on this one. Please do not create duplicates.

 

Best Regards,
Platon

 

0 Kudos