AnsweredAssumed Answered

P2040:How to access TBI-SGMII registers in linux?

Question asked by gourav jain on Nov 16, 2017
Latest reply on Mar 4, 2018 by gourav jain

Hi all,

 

In my custom board, which is based on P2040rdb, i want to change some TBI registers in linux. In order to disable TBI-phy autonegotiation. But i'm not getting how to access TBI registers. Basically serdes initialization should happen in dtsec_init_phy () before of_phy_connect () function  ["drivers/net/ethernet/freescale/dpa/mac-api.c"]

 

I have done changes in u-boot  function called: dtsec_configure_serdes () ["drivers/net/fm/eth.c"]

 

Can any one pls tell me any where is the equivalent function of dtsec_configure_serdes () in linux ?? or how to access TBI registers from linux.

Note: SDK: Linux-3.8.13-rt9-QorIQ-SDK-V1.4

 

Any help would be highly appreciated.

 

--

Gourav 

Outcomes