Other Parts Discussed in Thread: DP83869, TMDS64EVM
Tool/software:
Hello TI,
We are using EVM AM64x where we see eth2 with phy DP83869 is failing,
We downloaded the code for AM64x from TI git "git clone git.ti.com/.../oe-layersetup.git tisdk", we compiled with steps provided by 1.2. Building the SDK with Yocto — Processor SDK AM64X Documentation. With this binary we are seeing eth2 is not coming up under "ifconfig -a".
serial logs:
root@am64xx-evm:~# dmesg | grep 838
[ 1.431518] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[ 5.878381] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[ 7.698387] audit: type=1334 audit(1709054767.256:4): prog-id=8 op=LOAD
[ 11.035315] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
[ 13.008401] davinci_mdio 300b2400.mdio: phy[15]: device 300b2400.mdio:0f, driver TI DP83869
[ 14.131838] remoteproc remoteproc6: 30034000.pru is available
[ 14.212517] TI DP83869 300b2400.mdio:0f: attached PHY driver (mii_bus:phy_addr=300b2400.mdio:0f, irq=POLL)
root@am64xx-evm:~#
dts configurations:
#include <dt-bindings/net/ti-dp83869.h> //Added additionaly
ethernet2 = &icssg1_emac0;
ethernet-ports {
#address-cells = <1>;
#size-cells = <0>;
icssg1_emac0: port@0 {
reg = <0>;
phy-handle = <&icssg1_phy1>;
phy-mode = "rgmii-id";
/* Filled in by bootloader */
local-mac-address = [00 00 00 00 00 00];
status = "okay";
};
&icssg1_mdio {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&icssg1_mdio1_pins_default>;
icssg1_phy1: ethernet-phy@f {
reg = <0xf>;
tx-internal-delay-ps = <250>;
rx-internal-delay-ps = <2000>;
status = "okay";
};
};
Please let us know if something is missed here,
Thank you,
Prathibha