IMX6Q Device tree for RGMII MAC to MAC interface

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

IMX6Q Device tree for RGMII MAC to MAC interface

Jump to solution
564 Views
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.

 

 

Tags (1)
0 Kudos
Reply
1 Solution
524 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
525 Views
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 Kudos
Reply