Tool/software: Linux
Hi,
some issues in my custom board with dp83867, kernel cannot found phy device
in kernel log seems fine
[ 1.100566] libphy: Fixed MDIO Bus: probed
[ 1.164521] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.170670] libphy: 4a101000.mdio: probed
[ 1.175400] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:7b:c3:5e
but in initial eth0 cannot found phy device
[ 6.349598] net eth0: initializing cpsw version 1.12 (0)
[ 6.356709] libphy: PHY 4a101000.mdio:00 not found
[ 6.361527] net eth0: phy 4a101000.mdio:00 not found on slave 0
[ 6.368144] libphy: PHY 4a101000.mdio:01 not found
[ 6.373016] net eth0: phy 4a101000.mdio:01 not found on slave 1
below is ifconfig response:
eth0 Link encap:Ethernet HWaddr 98:5D:AD:7B:C3:5E
inet addr:10.1.1.100 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:174
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
here is my dts about network
&mac { pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; status = "okay"; }; &davinci_mdio { pinctrl-names = "default", "sleep"; compatible = "ti,cpsw-mdio", "ti,davinci_mdio"; pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; dp83867_0: ethernet-phy@0 { reg = <0>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>; ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; ti,min-output-impedance; ti,dp83867-rxctrl-strap-quirk; }; }; &cpsw_emac0 { phy_id = <&davinci_mdio>, <0>; phy-mode = "rgmii-txid"; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <1>; phy-mode = "rgmii-txid"; };