在文件ma35d1.dtsi中原始配置默认的是千兆,即:phy-mode = "rgmii-id" 如需要修改,在对应的DTS文件中进行相应的配置,以ma35d1-som-256m.dts为例: &gmac0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gmac0>; }; 没有重定义phy-mode,默认是1000M,如果要配置成100M,修改如下: &gmac0 { status = "okay"; phy-mode = "rmii"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gmac0>; };
备注: 100M: phy-mode = "rmii";
1000M: phy-mode = "rgmii-id";
|