hi~
我们使用的PHY为 DP83848I ,RMII 模式 ,外部 50M 晶振
已根据http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/45981.aspx 做了相应修改
没有在UBOOT下调,不太清楚在在UBOOT下怎么调,所以只在kernel下做了移植,更改如下:
kenel 下增加了 rmii1 pin mux 、设置了 gmii_sel 寄存器为 0xC5 、修改 phy_id 为 0:01
目前的状况是:
[ 1.153717] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.160186] davinci_mdio davinci_mdio.0: detected phy mask fffffffd
[ 1.167419] davinci_mdio.0: probed
[ 1.170989] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
用ethtool 命令查看eth0
root@am335x-evm:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP AUI BNC MII FIBRE ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Current message level: 0x00000000 (0)
Link detected: no
问题如下:
以上信息说明我的DP83848I是还在MII模式而不是我想要的RMII模式?
我测量了DP83848I 的 39脚(RMII_MODE)虽然接了上拉2.2k到3.3V,但39脚进芯片电压还是接近0V,这是正常的吗,是这个原因导致没有配置成RMII模式?
请帮忙看看,谢谢!