Tool/software: Linux
I am stuck on an issue where the DP83867E looks configured via MDIO on a custom board, but doesn't transmit or receive data. I can internally ping the interface, but no external packet leaves or enters Linux.
I have Zynq-7100 SoC with linux 4.9.0. I've enabled the TI DP83867 driver and confirm the mdio_bus is using the driver.
Driver Info:
# ls -lart :/sys/bus/mdio_bus/devices/e000b000.etherne:0c
total 0
-rw-r--r-- 1 root root 4096 Jan 1 1970 uevent
drwxr-xr-x 4 root root 0 Jan 1 1970 ..
drwxr-xr-x 3 root root 0 Jan 1 1970 .
lrwxrwxrwx 1 root root 0 Mar 20 21:31 subsystem -> ../../../../../../../../bus/mdio_bus
drwxr-xr-x 2 root root 0 Mar 20 21:31 power
-r--r--r-- 1 root root 4096 Mar 20 21:31 phy_interface
-r--r--r-- 1 root root 4096 Mar 20 21:31 phy_id
-r--r--r-- 1 root root 4096 Mar 20 21:31 phy_has_fixups
lrwxrwxrwx 1 root root 0 Mar 20 21:31 of_node -> ../../../../../../../../firmware/devicetree/base/amba/ethernet@e000b000/ethernet-phy@c
lrwxrwxrwx 1 root root 0 Mar 20 21:31 driver -> ../../../../../../../../bus/mdio_bus/drivers/TI DP83867
DTSI changes:
&gem0 {
phy-handle = <ðernet_phy>;
/delete-node/ ethernet-phy@7;
ethernet_phy: ethernet-phy@c {
device_type = "ethernet-phy";
reg = <0xc>;
};
};
Kconfig:
CONFIG_DP83867_PHY=y
Any help is appreciated...