中级会员
 
- 积分
- 491
- 金钱
- 491
- 注册时间
- 2015-2-5
- 在线时间
- 113 小时
|
发表于 2020-4-24 17:10:56
|
显示全部楼层
&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1>;
phy-mode = "rmii";
phy-handle = <ðphy0>;
phy-reset-gpios = <&gpio5 6 GPIO_ACTIVE_LOW>;
phy-reset-duration = <26>;
status = "okay";
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
smsc,disable-energy-detect;
reg = <0>;
};
ethphy1: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
};
};
};个人感觉应该是mdio这段函数的问题,把这段函数复制到你需要用的网卡里面 |
|