TexasInstruments / ti-ethernet-software

Repository for Ethernet PHY drivers for Linux and RTOS.
GNU General Public License v2.0
8 stars 1 forks source link

TI dp83867 phy is not attached to our custom board even we added device tree. #3

Open himarawa opened 4 months ago

himarawa commented 4 months ago

Hi Team,

I need help to very my device tree and as it is not attached to our custom board, and we are getting ping issue.

below is my device tree: 29 mdio-nexus@1,3 { 30 mdio0@87e005003800 { 31 mdio-in-kernel; 32 phy0: ethernet-phy0 { 33 reg = <0x00> ; //provide correct reg that the device is using, check datasheet for this. 34 //compatible = "ti, ethernet-phy-id2000.a231-c22"; 35 compatible = "ti,2000a231", "ethernet-phy-ieee802.3-c22"; 36 }; 37 // clock-freq = <16666666>; 38 }; 39 }; 40 41 mdio0_uio { 42 compatible = "marvell,mvmdio-uio"; 43 mii-bus = <&mdio0>; 44 }; 45 46 rpm@1 { / GSERM1 / 47 ethernetB0: sgmii@10 { 48 reg = <0>; 49 phy-handle = <&phy0>; 50 // qsfp-slot = <&qsfp_1>; 51 };

after adding this on kernel we are not getting ping with from particular ethernet. Please let us know to add more info if required

a-reyes-TI commented 3 months ago

Hi Himarawa,

Apologies for the delay in response. Could you let me know what version of Linux you are using? The command 'uname -r' will tell you. Could you also run the following command: 'dmesg | grep -i mdio' and share the output?

I understand that ping isn't working, but is the DP83867 able to link up when the cable is connected? Is register access available?

Regards, Alvaro