Hi,
Device tree: am57xx-beagle-x15.dtb
SDK:rt 3.3
Main chip : AM5728
Cpsw_emac is configured in the device tree as follows:
ethernet0 = &cpsw_emac0;
ethernet1 = &cpsw_emac1;
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <2>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};
Currently cpsw_emac0 corresponds to eth0 and cpsw_emac1 corresponds to eth1.
How to modify, so that cpsw_emac0 corresponds to eth1, cpsw_emac1 corresponds to eth0.
Hope you can help me, thanks.
BR
Andre