This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Switch connection to AM335x

I am working on an AM335x design and was planning on connecting a 5-port Micrel switch (KSZ8895MQ) to the CPU in MII mode. I've seen in a recent post that it was mentioned that the AM335x does not support direct MAC to MAC connections - would this be true even for the switch ic operating in 'PHY' mode?

  • You should be OK if the Ethernet switch supports PHY mode.  My definition of PHY mode is where the MII of the Ethernet switch operates like a MII PHY.

    Regards,
    Paul

  • Thanks - let's hope this is what Micrel had in mind.

  • I am working on an AM335x design and was planning  on connecting a 5-port IC+ switch (IP175D) to the CPU in MII mode for eth1,can you tell me how to set dts for eth1( cpsw_emac1)  phy_id, becasue the switch(IP175D) don't  use  phy_id .how to solve the problem.thanks!

    &davinci_mdio {

    pinctrl-names = "default", "sleep";

    pinctrl-0 = <&davinci_mdio_default>;

    pinctrl-1 = <&davinci_mdio_sleep>;

    };

    &cpsw_emac0 {

    phy_id = <&davinci_mdio>, <0>;

    phy-mode = "rgmii-txid";

    dual_emac_res_vlan = <1>;

    };

    &cpsw_emac1 {

    phy_id = <&davinci_mdio>, <1>;

    phy-mode = "rgmii-txid";

    dual_emac_res_vlan = <2>;