硬件做好芯片连接后,设备树可做如下修改 &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec>; @@ -399,7 +404,7 @@ fsl,magic-packet; status = "okay"; - mdio { +/* mdio { #address-cells = <1>; #size-cells = <0>; @@ -409,7 +414,19 @@ eee-broken-1000t; at803x,vddio-1p8v; }; - }; + };*/ +mdio { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + + ethphy1: ethernet-phy@1 { + device_tpye = "ethernet-phy"; + compatible = "ethernet-phy-id001c.c916"; + reg = <1>; + }; + }; + }; |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-8 18:38
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.