Other Parts Discussed in Thread: AM5716
Tool/software: Linux
Hello,
are there more Informations about the Dual EMAC mode than this link?
My purpose is to use 2 Ports (100 MB as eth1, 1GB Port as eth0) in a separat way, so lets say 2 different applications and no switching interactions between them.
I know that there are the reserved VLANs for dual emac, but I actually do I have to work with VLAN stuff? When I was working with the AM5716 with only a 100MB port, I didnt want to work with VLAN stuff and thats why I deactivated the VLAN aware mode, because I didnt like the way all incoming and outgoing packets were handle by adding all oder removing all VLAN tags. I just wanted to leave the packets as they are (i.e. if there is a vlan tag, leave it and if there is no vlan tag dont add one). I want to keep it that way, but could that be a problem for my purpose? Or how does it actually work with the dual emal reserved VLAN?
&mac {
pinctrl-names = "default";//, "sleep";
pinctrl-0 = <&cpsw_default>;
...
dual_emac;
};
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii-txid";
dual_emac_res_vlan = <0x2>;
};
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii-txid";
dual_emac_res_vlan = <0x1>;
};
How can I be sure if this is working? I really would need some more informations and examples to understand the whole concept of this.
Thank you!