SJA1105Q configuration for detecting PHY

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

SJA1105Q configuration for detecting PHY

272 Views
Bitesh
Contributor II

Hi,

     We are using Linux LTS v6.1.58 on i.MX6Solo where we have SJA1105Q Switch connected to Dual-port DP83849C PHY.

Switch, SJA1105Q is configured in DTS with DP83849C PHY via port@2, @3, and Enabled Linux Net PHY driver CONFIG_DP83848_PHY.

 Configured DT:

https://gist.github.com/openedev/01d96917118de24e9e42c33649422367


we are unable to detect the PHY

Log as below : 
[   21.783450] sja1105 spi1.0: Probed switch chip: SJA1105Q
[   21.914146] sja1105 spi1.0: configuring for fixed/mii link mode
[   21.928109] sja1105 spi1.0: Link is Up - 100Mbps/Full - flow control off
[   21.954012] sja1105 spi1.0 ethphy0 (uninitialized): failed to connect to PHY: -ENODEV
[   21.962173] sja1105 spi1.0 ethphy0 (uninitialized): error -19 setting up PHY for tree 0, switch 0, port 2
[   22.004246] sja1105 spi1.0 ethphy1 (uninitialized): failed to connect to PHY: -ENODEV
[   22.012127] sja1105 spi1.0 ethphy1 (uninitialized): error -19 setting up PHY for tree 0, switch 0, port 3
[   22.079503] device eth0 entered promiscuous mode

Please help us to resolve this issue.

Regards,

Bitesh

Tags (3)
0 Kudos
Reply
1 Reply

215 Views
radupirea
NXP Employee
NXP Employee

Hi @Bitesh 

Please check the PHY addresses, if they are 100% right then check the pinmuxing for MDIO and MDC signals.

 

0 Kudos
Reply