I am working on custom board based on Beagle Bone Black. The board has a
different PHY chip (DP83640). The PHY address is 31 (0x1f).
I have a issue with ethernet support in Linux kernel (3.8.13 Flattened Device Tree).
[ 52.892438] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 52.898851] davinci_mdio 4a101000.mdio: detected phy mask ffdfffff
[ 52.907354] libphy: 4a101000.mdio: probed
[ 52.911624] davinci_mdio 4a101000.mdio: phy: device 4a101000.mdio:15, driver NatSemi DP83640
[ 52.921194] Detected MACID = 00:17:ea:98:9b:00
[ 52.925872] cpsw 4a100000.ethernet: NAPI disabled
[ 52.932588] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:02:20 UTC (946684940)
[ 52.949319] net eth0: initializing cpsw version 1.12 (0)
[ 52.956522] libphy: PHY 4a101000.mdio:00 not found
[ 52.961563] net eth0: phy 4a101000.mdio:00 not found on slave 0
[ 52.967764] libphy: PHY 4a101000.mdio:01 not found
[ 52.972785] net eth0: phy 4a101000.mdio:01 not found on slave 1
The ethernet interface works in previous kernel (3.2.0)
I think the issue is wrong PHY address. I can not find a place in Linux kernel 3.8.13 source
where i can set up PHY address;
Could you please help me to find the place where i can set up PHY address?