AnsweredAssumed Answered

RMII interface on the IMX7

Question asked by Arnout Diels on Sep 22, 2016
Latest reply on Dec 2, 2016 by Arnout Diels

Hi,

 

I'm trying to get a custom board with the IMX7 processor to talk RMII to my phy. 

 

However, does the IMX7 fully support RMII?

 

 

Currently, I have the following device tree config:

 

&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1>;
assigned-clocks = <&clks IMX7D_ENET1_TIME_ROOT_SRC>,
<&clks IMX7D_ENET1_TIME_ROOT_CLK>;
assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>;
assigned-clock-rates = <0>, <100000000>;
phy-mode = "rmii";
phy-handle = <&ethphy1>;
fsl,magic-packet;
status = "okay";

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

ethphy1: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
};
};
};

If I change phy-mode rmii to rgmii, I see data being sent over the TXD lines. However, in RMII mode, TX_CTL is silent as wel as the TXD lines.

 

Thanks in advance for your feedback!

Outcomes