IMX6Q Device tree for RGMII MAC to MAC interface

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

IMX6Q Device tree for RGMII MAC to MAC interface

ソリューションへジャンプ
565件の閲覧回数
ashton_ng
Contributor I

Hi,

I have a board which is connected IMX6Q processor to a FPGA and one of the interfaces is RGMII and it is using MAC to MAC interface.

I have defined the device tree as follow:

....

pinctrl_enet: enetgrp {
fsl,pins = <
MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030

MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
>;
};
 
....
 
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
phy-mode = "rgmii";
status = "okay";
 
fixed-link {
max-speed = <1000>;
full-duplex;
};
};
 
When the board boot up, there is an error:
 
 fec 2188000.ethernet: broken fixed-link specification
fec: probe of 2188000.ethernet failed with error -22

 

I am not so familiar with device tree and I am trying to copy the example from other boards.

Need help in figuring out the solution.

Thanks.

 

 

タグ(1)
0 件の賞賛
返信
1 解決策
525件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

You can have a reference for your device tree's in this folder, particularly I'm pointing to what appears to be the issue here.

max-speed should be changed to speed.

We are looking at u-boot's device tree, right? Let me know if the issue persists.

Regards

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
526件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

You can have a reference for your device tree's in this folder, particularly I'm pointing to what appears to be the issue here.

max-speed should be changed to speed.

We are looking at u-boot's device tree, right? Let me know if the issue persists.

Regards

0 件の賞賛
返信