I have a Broadcom BCM53158 RGMII MAC interface connected to LS1046A RGMII1(EC1 MAC3) via MAC to MAC method without PHY, but they unable to link up successful now.
I've checked the EC1 settings of RCW are correct and configured RGMII 1 as fixed-link 1G in kernel dts as below
&fman0 {
#if 1
ethernet@e4000 {
/* MAC3, ethaddr */
phy-connection-type = "rgmii-id";
status = "okay";
fixed-link {
speed = <1000>;
full-duplex;
};
};
#else
ethernet@e4000 {
phy-handle = <&rgmii_phy1>;
phy-connection-type = "rgmii-id";
};
#endif
I also checked the IF_MODE register of MAC3 and it's shown 1Gbps, forces full duplex and RGMII mode.
Could you help to check where is wrong about RGMII settings.
#LS1046A