RMII Ethernet is not working in imx8mp

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RMII Ethernet is not working in imx8mp

682 次查看
obulesu_veggidi
Contributor II

Hello,

imx8mp is not detecting Ethernet cable, But eth0 is detected and also I am able to set the IP.
Below is my config,

&eqos {

pinctrl-names = "default";
pinctrl-0 = <&pinctrl_eqos>;
phy-mode = "rmii";
phy-handle = <&ethphy0>;
status = "okay";
max-speed = <100>;

assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_266M>,
<&clk IMX8MP_SYS_PLL2_100M>,
<&clk IMX8MP_SYS_PLL2_50M>;
assigned-clock-rates = <0>, <100000000>, <50000000>;

mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;

ethphy0: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x1>;

interrupt-parent = <&gpio2>;
interrupts = <2 IRQ_TYPE_EDGE_FALLING>;

reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
reset-delay-us = <1000>;
reset-post-delay-us = <1000>;

};
};

pinctrl_eqos: eqosgrp {
fsl,pins = <
MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x2
MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x2
MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x90
MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x90
MX8MP_IOMUXC_ENET_TD2__CCM_ENET_QOS_CLOCK_GENERATE_REF_CLK 0x40000016
MX8MP_IOMUXC_ENET_RXC__ENET_QOS_RX_ER 0x90
MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x90
MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x16
MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x16
MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x16

>;
};

Could any one pls help me to resolve this issue?

标签 (1)
0 项奖励
回复
1 回复

640 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Have you tried using an osciloscope and check for any hardware issues?

Best regards/Saludos,
Aldo.

0 项奖励
回复