Hi, all
I'm trying to use SFP module in SFP+ cage in LS1046ardb, but it's not working.
I found some information (https://community.nxp.com/message/1232605?commentID=1232605#comment-1232605 ) in this community, but it's not working.
I tried to change RCW value to
SRDS_PRTCL_S1= 8755
: 4403 (0x1133) --> 8755(0x2233)
Is there anyone to use SFP in LS1046ardb? If so, please let me know how to enable it.
Thanks in advance.
JS
Hello JS Park,
Please refer to the following RCW[SRDS_PRTCL_S1] configuration, if you want to use SFP module, this filed should be configured as 1133, LSDK for LS1046ARDB supports 10G SFP+ fiber by default.
Thanks,
Yiping
Hi, Yiping,
Is it working for SFP+ when it is set by 1133 to RCW[RDS_PRTCL_S1] ?
So I changed 2233 to set SFP. (2.5Gbps)
And 1133 is default value, and SFP+ is working well.
Please explain about it more detail.
Regards,
JS
For SFP+,you need to configure the serdes line as XFI .
2.5G SGMII mode is used to connect SGMII PHY.
In default dts file arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts, the SFP Ethernet port has already been defined as fixed-link, you could use it directly without modification. So just use the default images on ls1046ardb to support SFP.
ethernet@f2000 { /* 10GEC2 */
fixed-link = <0 1 10000 0 0>;
phy-connection-type = "xgmii";
};
Hi, Yiping,
Thank you for your help.
Let me put it this way.
My understanding is LS1046ardb just supports SFP+(10G) now, and I checked SFP+ is working in default.
I tested SFP(1G, 2.5G) tranciever on LS1046ardb but it did not work.
So, I'd like to know how to enable SFP(1G, 2.5) tranciever on LS1046ardb.
That's my question.
Regards,
JS
Hello JS Park.
For SFP(1G, 2.5) tranciever, you need to configure lane B of SRDS_PRTCL_S1 as 2.5G SGMII in RCW.
Modify ethernet@f2000 node in dts file as the following.
ethernet@f2000 { /* DTSEC10/10GEC2 */
phy-handle = <&sgmii_phy_s1_p2>;
phy-connection-type = "sgmii";
};
ls1046mdio_s1: mdio@2 {
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
... ...
sgmii_phy_s1_p2: ethernet-phy@1d {
reg = <0x1d>;
};
Thanks,
Yiping