How to use SFP transceiver in SFP+ cage in LS1046ardb

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

How to use SFP transceiver in SFP+ cage in LS1046ardb

1,946 Views
js_park
Contributor II

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

0 Kudos
7 Replies

1,756 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

Thanks,

Yiping

0 Kudos

1,756 Views
js_park
Contributor II

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

0 Kudos

1,756 Views
yipingwang
NXP TechSupport
NXP TechSupport

For SFP+,you need to configure the serdes line as XFI .

2.5G SGMII mode is used to connect SGMII PHY.

0 Kudos

1,756 Views
js_park
Contributor II

Yes, you're right.

Then, what should I do if I want to use SFP on ls1046ardb?

0 Kudos

1,756 Views
yipingwang
NXP TechSupport
NXP TechSupport

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";
        };

0 Kudos

1,756 Views
js_park
Contributor II

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

0 Kudos

1,756 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos