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.

AM5728: Ethernet problem

Part Number: AM5728

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