Part Number: AM3352
In my design, I am using both MAC, and connected to TI-DP83867 PHY. and both TI-PHY seating on MDIO bus at address 0x0 and 0xF. On eth0, I am running DHDP server and eth1 I am running DHCP client.
so MAC_0 ------> TI_DP83867 (eth0)
MAC_1 --------> TI_DP83867 (eth).
In my design, I have to connect 4 client devices to eth0 interface, and for that, I am connecting eth0 port to one of the ports of BRCM switch (BCM53101). BRCM switch is also connected to same MDIO bus where my two TI-PHY is seating. so now on MDIO I have three devices each are seating on unique address.
I am able to pass traffic from ethernet switch, and all my 4 client device is able to talk to each other as well as to AM3352 via eth0.
Now my real problem is, I need to read BRCM switch phy registers to find which device is connected to which port (because I have to take some specific action on hardware).
ethtool and phytool are all associated with ethX interface, while for my BRCM switch there is no device (eth0/eth1) so in that case how to read registers of BRCM switch via MDIO bus? any example / link will be useful.
Thanks,