IMX8MM with AR8035 issues.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8MM with AR8035 issues.

1,747件の閲覧回数
mikechw
Contributor I

Hi,

We are using AR8035 with IMX8MM ddr4.

We modified the dts changed the phy address to 4:

&fec1 {
  pinctrl-names = "default";
  pinctrl-0 = <&pinctrl_fec1>;
  phy-mode = "rgmii-id";
  phy-handle = <&ethphy0>;
  fsl,magic-packet;
  status = "okay";

  mdio {
     #address-cells = <1>;
     #size-cells = <0>;

     ethphy0: ethernet-phy@0 {
        compatible = "ethernet-phy-ieee802.3-c22";
        reg = <4>;
        at803x,eee-disabled;
        at803x,vddio-1p8v;
     };
  };
};

but on boot up, log:

switch to partitions #0, OK
mmc1 is current device
flash target is MMC:1
Net:   Could not get PHY for FEC0: addr 4
Could not get PHY for FEC0: addr 4
No ethernet found.

Probing at the MDC line, it seems IMX8MM only output clock when it try to find the phy and then it stopped.

Thanks.

0 件の賞賛
返信
2 返答(返信)

1,701件の閲覧回数
mikechw
Contributor I

Well, 

found out the reason why 8035 is not detected..

on bootup the mdio address pins are high..

We changed the phy address to 7 and we can detect the phy and ethernet is working.

Somehow the dts settings are not applied fast enough on bootup.

So on bootup, imx8mm somehow output high on the mdio address pins.

Thanks,

Michael

0 件の賞賛
返信

1,743件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Michael

 

reason may be in hardware, one can check AR8035 voltages (in particular ENET_VDDIO)

and compare them with i.MX8M Mini DDR EVK. Just for test one can set default reg = <0>; to check

if it will succeed.

 

Best regards
igor

0 件の賞賛
返信