imx6q rmii marvell 88E6320

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6q rmii marvell 88E6320

3,389 Views
2072747856
Contributor I

大家好:

   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不同同网段的电脑,通过分析数据发现,只有发送数据包,没有返回数据包,也没有返回数据错误信息,请问这是什么情况?有没有大佬帮忙解决下,万分感谢!!!

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

2,721 Views
2072747856
Contributor I

已解决!

0 Kudos
Reply

2,501 Views
wuweile
Contributor I

我也遇到这个问题了。你怎么解决的。

我的是imx6ul.  rmii KSZ8895

linux4.1.15

ping PC ping不通

0 Kudos
Reply

2,721 Views
igorpadykov
NXP Employee
NXP Employee

Hi ruixin

for switch settings one can look on

IMX6UL - RMII to marvell switch  

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply