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.

Linux/TDA2EVM5777: Why I can not find the address of the emac slave when I look at the dra7.dtsi in Vision SDK(03.00.00).

Part Number: TDA2EVM5777

Tool/software: Linux

HI,

I have two quenstions:

1. Why I can not find the address of the emac slave in the TDA2X Technical Reference Manual when I look at the dra7.dtsi in Vision SDK(03.00.00):

2. Which .dts files include in the dra7-evm-infoadas.dtb? And how to build the dra7-evm-infoadas.dtb in the  in Vision SDK(03.00.00).

8 Replies

  • Hi, ,

    Your query has been forwarded to an expert (just expect some delay due to holidays).

    Regards,
    Mariya

     Be sure to read the Forum Guidelines and FAQ.

  • Hello Lucas,

    The PHY addresses are part of EVM.c in the uboot (board\ti\dra7xx\evm.c).
    Search for cpsw_slaves structure which has phy_addr as one of field.

    Regards,

    Prasad Jondhale
    Sr. Software Engineer, Automotive Processors, TI India

  • In reply to Prasad Jondhale:

    Hi,

    Are you kidding? This is the dts file. It is read by the kernel. I just want to explain why the address of the slave can not be found in the TDA2x Technical Reference Manual?

    regards, Lucas

  • In reply to Lucas Gou:

    Lucas,

    Address of PHY can't be found in TRM as it is hardware dependent. TDA/DRA devices support upto 32 PHY addresses and board designer can configure/connect external PHY it to any one of these. For example DRA7xx EVM has PHYs connected at phy address 0x2 and 0x3 where as some customer can connect it at 0x0 and 0x1.

    Regards,

    Prasad Jondhale
    Sr. Software Engineer, Automotive Processors, TI India

  • In reply to Prasad Jondhale:

    I note that the address of cpsw_emac(slave). It is not the phy address!
  • In reply to Lucas Gou:

    Hello Lucas,

    If you are asking where is address 48480200 shown in label slave@48480200 , it is not present in DRA7xx TRM.
    The address might be from another device and didnt get changed when driver was ported to DRA7xx. Anyway as it was just label for slave, no functional implications.

    Regards,

    Prasad Jondhale
    Sr. Software Engineer, Automotive Processors, TI India

  • In reply to Prasad Jondhale:

    Hi,I use the TDA2x TRM. Is that right?
    And I also have a quenstion.Why there is no file named dra7-evm-infoadas.dts in my VisionSDK(03.00.00)/kernel/arch/arm/boot/dts? I only have the dra7-evm-infoadas.dtb in ti_components/os_tools/linux/kernel/linux-kernel-addon/bin. Are there some bugs in the SDK?Can you please give me the dtb file by the e-mail? Thanks.
  • In reply to Lucas Gou:

    Hello Lucas,

    Yes, TDA2x TRM is correct.
    About your question regarding dtb file, i will ask VSDK linux expert to respond.

    Regards,

    Prasad Jondhale
    Sr. Software Engineer, Automotive Processors, TI India

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.