AnsweredAssumed Answered

sym32f767igt read phy chip lan8720 any register =0x00?

Question asked by sheng yang on Mar 29, 2018
Latest reply on Mar 30, 2018 by sheng yang

I try add eth support under uboot with my stm32f767igt board,my dts file as below:

ethernet_mii: mii@0 {
pins {
pinmux = <STM32F746_PG13_FUNC_ETH_MII_TXD0_ETH_RMII_TXD0>,
slew-rate = <2>;

&mac {
status = "okay";
pinctrl-0 = <&ethernet_mii>;
phy-mode = "rmii";
phy-handle = <&phy0>;
snps,reset-gpio = <&gpiof 9 1>; /*PF9<-->ETH_RESET*/
snps,reset-delays-us = <1000 1000 1000>;

mdio0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dwmac-mdio";
phy0: ethernet-phy@0 {
reg = <0>;

i conformed mdio relate pin PC1 and PA2 with AF11 function as below

and GPIOC and GPIOA are enabled as

but whichever register of the phy chip i read i always get 0x0000,,,

i try use mii info command test again ,i get the same 

Besides,once i insert the cable to router,the link on rj45 both light,but i could not ping server success.

what's wrong maybe?