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.

tda2xx 采用单网卡mac1设备树如何配置?



项目上采用单网卡MAC1,RMII模式,请问设备树中改如何配置,以下配置是否可以使用?我们没有用到mac0,直接采用mac1用于网卡通信

&mac {
 status = "okay";
};
&cpsw_emac0 {
 status = "disabled";
};

&cpsw_emac1 {
 phy_id = <&davinci_mdio>, <0>;
 phy-mode = "rmii";
};

&davinci_mdio {
 status = "okay";
 ethernet-phy@0 {
  compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22";
  reg = <0>;
 };
};