AnsweredAssumed Answered

imx6q rmii  marvell 88E6320

Question asked by ruixin duan on Dec 4, 2018
Latest reply on Dec 4, 2018 by ruixin duan

大家好:

   imx6q通过rmii mac模式连接到Marvell switch 88E6320上,使用了fixed-link,配置如下:

&fec {
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_enet_enet &pinctrl_gpio_enet>;
   phy-mode = "rmii";
   clocks = <&clks IMX6QDL_CLK_ENET>,
               <&clks IMX6QDL_CLK_ENET>,
               <&clks IMX6QDL_CLK_ENET_REF>,
               <&clks IMX6QDL_CLK_ENET_REF>;
   clocks-names = "ipg","ahb","ptp","enet_out";
   phy-reset-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
   fsl,magic-packet;
   status = "okay";
   label = "fec";
   fixed-link {
         speed = <100>;
         full-duplex;
   };
};

pinctrl_enet_enet: enetenetgrp {
   fsl,pins = <
      MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
      MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
      MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0
      MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER 0x130b0
      MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0
      MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0
      MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0
      MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0
      MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0
   >;
};

pinctrl_gpio_enet: gpioenetgrp {
      fsl,pins = <
            MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
            MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x01b0b0
      >;
};

 

烧录完后发现,ping不同同网段的电脑,通过分析数据发现,只有发送数据包,没有返回数据包,也没有返回数据错误信息,请问这是什么情况?有没有大佬帮忙解决下,万分感谢!!!

Outcomes