This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

[FAQ] CCS/TDA4VM: How to enable RTC on Jacinto TDA4x EVM?

Mastermind 20650 points

Replies: 1

Views: 79

Part Number: TDA4VM

Tool/software: Code Composer Studio

MCP79410-I/SN is connected I2C0 interface of J721E SoC. How to enable the same?

  • Hi,

    Following changes are needed:

    1. CONFIG enabling. The driver supporting MCP79410 RTC is drivers/rtc/rtc-ds1307.c.
      CONFIG_RTC_DRV_DS1307 needs to be enabled.

      Add CONFIG_RTC_DRV_DS1307=y to arch/arm64/configs/tisdk_j7-evm_defconfig under linux folder.

    2. DTS changes as below:

      diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
      index 6788a3611..9d642eb7a 100644
      --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
      +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
      @@ -593,6 +593,11 @@
                      #gpio-cells = <2>;
              };
      
      +       rtc@67 {
      +               compatible = "microchip,mcp7941x";
      +               reg = <0x67>;
      +       };
      +
              exp2: gpio@22 {
                      compatible = "ti,tca6424";
                      reg = <0x22>;
      


      Best Regards,
      Keerthy

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.