Poblems with DPAA ports

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

Poblems with DPAA ports

755 Views
altu
Contributor III

Good day!

I'm trying to bring up eth ports on custom ls1046-based board. All eth ports are on serdes with protocol - 0x2223. 

So ports are:

MAC9  ethernet@f0000 (SGMII,2.5) -> RTL8221
MAC10 - ethernet@f2000 (SGMII,2.5) -> RTL8221
MAC5 - ethernet@e8000 (SGMII,2.5) -> RTL8221
MAC6 - ethernet@ea000 -> RTL8211

 

My fman-related piece of UBoot dts(base on DTS for LS1046ARDB):

........
#include "fsl-ls1046-post.dtsi"
&fman0 {
        EMAC6: ethernet@ea000 {
	        phy-handle = <&sgmii_phy4>;
		phy-connection-type = "sgmii";
		status = "okay";
	};
        rtl8211: mdio@fc000 {
		sgmii_phy4: ethernet-phy@4 {
		        reg = <0x4>;
		};
	};
};

With this everything woks just fine - ethernet@ea000 in Uboot works just perfectly.

After that I move to Linux. I use USDPAA SDK drivers.

My Linux dts is also based on LS1046ardb SDK DTS: 

........
#include "fsl-ls1046-post.dtsi"
&fman0 {
        //// MAC 5
        ethernet@e8000 {   /// 2.5G SerDes SGMII external
	        phy-handle = <&sgmii_phy3>;
		phy-connection-type = "sgmii";
	};
        /// MAC6
        ethernet@ea000 {    /// 1G SerDes SGMII external
	        phy-handle = <&sgmii_phy4>; 
		phy-connection-type = "sgmii";
	};
        //// MAC9
	ethernet@f0000 { /// 2.5G SerDes SGMII external
	        phy-handle = <&sgmii_phy1>;
		phy-connection-type = "sgmii";
	};
        /// MAC10
        ethernet@f2000 {  /// 2.5G SerDes SGMII external
	        phy-handle = <&sgmii_phy2>;
		phy-connection-type = "sgmii";
	};
        mdio@fc000 {
	        compatible = "fsl,fman-memac-mdio";
                /// RTL8221
		sgmii_phy1: ethernet-phy@1 {
		        reg = <0x1>;
			compatible = "ethernet-phy-ieee802.3-c45";
		};
                /// RTL8221
		sgmii_phy2: ethernet-phy@2 {
		        reg = <0x2>;			
			compatible = "ethernet-phy-ieee802.3-c45";
		};
                /// RTL8221
		sgmii_phy3: ethernet-phy@3 {
		        reg = <0x3>;			
			compatible = "ethernet-phy-ieee802.3-c45";
		};
                /// RTL8211
		sgmii_phy4: ethernet-phy@4 {
		        reg = <0x4>;
		};
	};
};
....
#include "qoriq-dpaa-eth.dtsi"
#include "qoriq-fman3-0-6oh.dtsi"
....
&fsldpaa {
        ethernet@0 {
                status = "disabled";
        };
        ethernet@1 {
                status = "disabled";
        };

        ethernet@2 {
                status = "okay";

        };
        ethernet@3 {
                status = "okay";
        };

        ethernet@4 {
                status = "okay";
        };
        ethernet@5 {
                status = "okay";
        };
        ethernet@6 {
                status = "okay";
        };
        ethernet@8 {
                status = "okay";
        };

        ethernet@10 {
                status = "okay";
                compatible = "fsl,dpa-ethernet";
                fsl,fman-mac = <&enet7>;
                dma-coherent;
        };
};

&fman0 {
        compatible = "fsl,fman", "simple-bus";
};
.....

During Linux boot i get this:

memac.png Only MAC10 is enabling, all other ports - failed. Quite interesting that MAC6 is failed, despite to it worked OK in UBoot. 

My RCW:

SYS_PLL_RAT=7
MEM_PLL_RAT=21
CGA_PLL1_RAT=18
CGA_PLL2_RAT=16
/// SerDes PLL & Protocol configuration
SRDS_PRTCL_S1=8739  ///  0x2223
SRDS_PRTCL_S2=34952  /// 0x8888
SRDS_PLL_REF_CLK_SEL_S1=2
SRDS_PLL_REF_CLK_SEL_S2=0
SRDS_PLL_PD_S1=0
SRDS_PLL_PD_S2=0
SRDS_DIV_PEX_S1=0
SRDS_DIV_PEX_S2=0

/// Misc PLL-Related Configuration
DDR_REFCLK_SEL=1
SRDS_REFCLK_SEL_S1=1
SRDS_REFCLK_SEL_S2=1
DDR_FDBK_MULT=2
/// Boot configuartion
PBI_src=4
/// Clocking configuration
HWA_CGA_M1_CLK_SEL=6
DRAM_LAT=1
/// Pin Multiplexing Configuration
UART_BASE=5
IRQ_OUT=1
IRQ_BASE=510
IFC_GRP_A_EXT=1
IFC_GRP_E1_EXT=2
IFC_GRP_E1_EXT=0
IFC_GRP_F_EXT=1
/// SoC-specific Configuration
EM1=0
EMI1_DMODE=0
EMI1_CMODE=0

EM2=1
EMI2_DMODE=1
EMI2_CMODE=1

DVDD_VSEL=2
/// PLL & Clocking Configuration Expansion
SYSCLK_FREQ=600
HWA_CGA_M2_CLK_SEL=1

So please tell me what can be the problem with ports? Why only MAC10 is enabling? 

Tags (4)
0 Kudos
Reply
1 Reply

710 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The issue where only
MAC10 is enabling in Linux, despite MAC6 working in U-Boot, typically points to a discrepancy in the DPAA (Data Path Acceleration Architecture) configuration within the Linux Device Tree (DTS). Here are the most likely causes and how to fix them:
 
1. Incorrect SGMII Speed Mapping (2.5G vs 1G)
The LS1046A SGMII lanes for MAC9, 10, and 5 are running at 2.5G. In Linux, the standard sgmii type often defaults to 1G.
  • Fix: Change the phy-connection-type for MAC9, 10, and 5 to "2500base-x" or "sgmii-2500".
  • For MAC6 (RTL8211), keep it as "sgmii" (1G).
 
2. MDIO Clause 45 vs Clause 22
Your DTS shows the RTL8221s (MACs 9, 10, 5) using compatible = "ethernet-phy-ieee802.3-c45".
  • Conflict: If your MDIO controller node (mdio@fc000) is not explicitly configured to support Clause 45 via the driver, it may fail to probe those PHYs.
  • Check: Does dmesg show "PHY not found" for these addresses? If so, verify the MDIO compatible string is exactly fsl,fman-memac-mdio.
 
3. Misalignment in fsldpaa Nodes In your DTS, you have:
 
dts
ethernet@10 {
    fsl,fman-mac = <&enet7>; // This maps to MAC10
};
 
However, the other ports (ethernet@2 through ethernet@8) might be mapping to the wrong enet labels. In the LS1046A SDK:
  • MAC5 is usually &enet4
  • MAC6 is usually &enet5
  • MAC9 is usually &enet6
  • MAC10 is usually &enet7 (which matches your working port)
Action: Ensure that for every ethernet@X node under &fsldpaa, the fsl,fman-mac property points to the correct &enetX label defined in fsl-ls1046-post.dtsi.
 
4. Duplicate fman0 Definition At the end of your snippet, you have:
 
dts
&fman0 { compatible = "fsl,fman", "simple-bus"; };
Remove this. By adding simple-bus and changing the compatible string, you might be preventing the DPAA FMan driver from binding correctly to the sub-nodes (the MACs). The driver expects the specific FMan compatible string provided by the NXP SDK dtsi files.
 
regards
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2331514%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPoblems%20with%20DPAA%20ports%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331514%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EGood%20day!%3C%2FP%3E%3CP%3EI'm%20trying%20to%20bring%20up%20eth%20ports%20on%20custom%20ls1046-based%20board.%20All%20eth%20ports%20are%20on%20serdes%20with%20protocol%20-%200x2223.%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20ports%20are%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EMAC9%20%20ethernet%40f0000%20(SGMII%2C2.5)%20-%26gt%3B%20RTL8221%0AMAC10%20-%20ethernet%40f2000%20(SGMII%2C2.5)%20-%26gt%3B%20RTL8221%0AMAC5%20-%20ethernet%40e8000%20(SGMII%2C2.5)%20-%26gt%3B%20RTL8221%0AMAC6%20-%20ethernet%40ea000%20-%26gt%3B%20RTL8211%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3EMy%20fman-related%20piece%20of%20UBoot%20dts(base%20on%20DTS%20for%20LS1046ARDB)%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E........%0A%23include%20%22fsl-ls1046-post.dtsi%22%0A%26amp%3Bfman0%20%7B%0A%20%20%20%20%20%20%20%20EMAC6%3A%20ethernet%40ea000%20%7B%0A%09%20%20%20%20%20%20%20%20phy-handle%20%3D%20%26lt%3B%26amp%3Bsgmii_phy4%26gt%3B%3B%0A%09%09phy-connection-type%20%3D%20%22sgmii%22%3B%0A%09%09status%20%3D%20%22okay%22%3B%0A%09%7D%3B%0A%20%20%20%20%20%20%20%20rtl8211%3A%20mdio%40fc000%20%7B%0A%09%09sgmii_phy4%3A%20ethernet-phy%404%20%7B%0A%09%09%20%20%20%20%20%20%20%20reg%20%3D%20%26lt%3B0x4%26gt%3B%3B%0A%09%09%7D%3B%0A%09%7D%3B%0A%7D%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EWith%20this%20everything%20woks%20just%20fine%20-%26nbsp%3B%3CA%20href%3D%22mailto%3Aethernet%40ea000%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eethernet%40ea000%3C%2FA%3E%26nbsp%3Bin%20Uboot%20works%20just%20perfectly.%3C%2FP%3E%3CP%3EAfter%20that%20I%20move%20to%20Linux.%20I%20use%20USDPAA%20SDK%20drivers.%3C%2FP%3E%3CP%3EMy%20Linux%20dts%20is%20also%20based%20on%20LS1046ardb%20SDK%20DTS%3A%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E........%0A%23include%20%22fsl-ls1046-post.dtsi%22%0A%26amp%3Bfman0%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%2F%2F%20MAC%205%0A%20%20%20%20%20%20%20%20ethernet%40e8000%20%7B%20%20%20%2F%2F%2F%202.5G%20SerDes%20SGMII%20external%0A%09%20%20%20%20%20%20%20%20phy-handle%20%3D%20%26lt%3B%26amp%3Bsgmii_phy3%26gt%3B%3B%0A%09%09phy-connection-type%20%3D%20%22sgmii%22%3B%0A%09%7D%3B%0A%20%20%20%20%20%20%20%20%2F%2F%2F%20MAC6%0A%20%20%20%20%20%20%20%20ethernet%40ea000%20%7B%20%20%20%20%2F%2F%2F%201G%20SerDes%20SGMII%20external%0A%09%20%20%20%20%20%20%20%20phy-handle%20%3D%20%26lt%3B%26amp%3Bsgmii_phy4%26gt%3B%3B%20%0A%09%09phy-connection-type%20%3D%20%22sgmii%22%3B%0A%09%7D%3B%0A%20%20%20%20%20%20%20%20%2F%2F%2F%2F%20MAC9%0A%09ethernet%40f0000%20%7B%20%2F%2F%2F%202.5G%20SerDes%20SGMII%20external%0A%09%20%20%20%20%20%20%20%20phy-handle%20%3D%20%26lt%3B%26amp%3Bsgmii_phy1%26gt%3B%3B%0A%09%09phy-connection-type%20%3D%20%22sgmii%22%3B%0A%09%7D%3B%0A%20%20%20%20%20%20%20%20%2F%2F%2F%20MAC10%0A%20%20%20%20%20%20%20%20ethernet%40f2000%20%7B%20%20%2F%2F%2F%202.5G%20SerDes%20SGMII%20external%0A%09%20%20%20%20%20%20%20%20phy-handle%20%3D%20%26lt%3B%26amp%3Bsgmii_phy2%26gt%3B%3B%0A%09%09phy-connection-type%20%3D%20%22sgmii%22%3B%0A%09%7D%3B%0A%20%20%20%20%20%20%20%20mdio%40fc000%20%7B%0A%09%20%20%20%20%20%20%20%20compatible%20%3D%20%22fsl%2Cfman-memac-mdio%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%2F%20RTL8221%0A%09%09sgmii_phy1%3A%20ethernet-phy%401%20%7B%0A%09%09%20%20%20%20%20%20%20%20reg%20%3D%20%26lt%3B0x1%26gt%3B%3B%0A%09%09%09compatible%20%3D%20%22ethernet-phy-ieee802.3-c45%22%3B%0A%09%09%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%2F%20RTL8221%0A%09%09sgmii_phy2%3A%20ethernet-phy%402%20%7B%0A%09%09%20%20%20%20%20%20%20%20reg%20%3D%20%26lt%3B0x2%26gt%3B%3B%09%09%09%0A%09%09%09compatible%20%3D%20%22ethernet-phy-ieee802.3-c45%22%3B%0A%09%09%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%2F%20RTL8221%0A%09%09sgmii_phy3%3A%20ethernet-phy%403%20%7B%0A%09%09%20%20%20%20%20%20%20%20reg%20%3D%20%26lt%3B0x3%26gt%3B%3B%09%09%09%0A%09%09%09compatible%20%3D%20%22ethernet-phy-ieee802.3-c45%22%3B%0A%09%09%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%2F%20RTL8211%0A%09%09sgmii_phy4%3A%20ethernet-phy%404%20%7B%0A%09%09%20%20%20%20%20%20%20%20reg%20%3D%20%26lt%3B0x4%26gt%3B%3B%0A%09%09%7D%3B%0A%09%7D%3B%0A%7D%3B%0A....%0A%23include%20%22qoriq-dpaa-eth.dtsi%22%0A%23include%20%22qoriq-fman3-0-6oh.dtsi%22%0A....%0A%26amp%3Bfsldpaa%20%7B%0A%20%20%20%20%20%20%20%20ethernet%400%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22disabled%22%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20ethernet%401%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22disabled%22%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%0A%20%20%20%20%20%20%20%20ethernet%402%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22okay%22%3B%0A%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20ethernet%403%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22okay%22%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%0A%20%20%20%20%20%20%20%20ethernet%404%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22okay%22%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20ethernet%405%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22okay%22%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20ethernet%406%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22okay%22%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20ethernet%408%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22okay%22%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%0A%20%20%20%20%20%20%20%20ethernet%4010%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20status%20%3D%20%22okay%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20compatible%20%3D%20%22fsl%2Cdpa-ethernet%22%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20fsl%2Cfman-mac%20%3D%20%26lt%3B%26amp%3Benet7%26gt%3B%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20dma-coherent%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%7D%3B%0A%0A%26amp%3Bfman0%20%7B%0A%20%20%20%20%20%20%20%20compatible%20%3D%20%22fsl%2Cfman%22%2C%20%22simple-bus%22%3B%0A%7D%3B%0A.....%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EDuring%20Linux%20boot%20i%20get%20this%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22memac.png%22%20style%3D%22width%3A%20872px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22memac.png%22%20style%3D%22width%3A%20872px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22memac.png%22%20style%3D%22width%3A%20872px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F379108i74B446DA1F4586D4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22memac.png%22%20alt%3D%22memac.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%26nbsp%3BOnly%20MAC10%20is%20enabling%2C%20all%20other%20ports%20-%20failed.%20Quite%20interesting%20that%20MAC6%20is%20failed%2C%20despite%20to%20it%20worked%20OK%20in%20UBoot.%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20RCW%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3ESYS_PLL_RAT%3D7%0AMEM_PLL_RAT%3D21%0ACGA_PLL1_RAT%3D18%0ACGA_PLL2_RAT%3D16%0A%2F%2F%2F%20SerDes%20PLL%20%26amp%3B%20Protocol%20configuration%0ASRDS_PRTCL_S1%3D8739%20%20%2F%2F%2F%20%200x2223%0ASRDS_PRTCL_S2%3D34952%20%20%2F%2F%2F%200x8888%0ASRDS_PLL_REF_CLK_SEL_S1%3D2%0ASRDS_PLL_REF_CLK_SEL_S2%3D0%0ASRDS_PLL_PD_S1%3D0%0ASRDS_PLL_PD_S2%3D0%0ASRDS_DIV_PEX_S1%3D0%0ASRDS_DIV_PEX_S2%3D0%0A%0A%2F%2F%2F%20Misc%20PLL-Related%20Configuration%0ADDR_REFCLK_SEL%3D1%0ASRDS_REFCLK_SEL_S1%3D1%0ASRDS_REFCLK_SEL_S2%3D1%0ADDR_FDBK_MULT%3D2%0A%2F%2F%2F%20Boot%20configuartion%0APBI_src%3D4%0A%2F%2F%2F%20Clocking%20configuration%0AHWA_CGA_M1_CLK_SEL%3D6%0ADRAM_LAT%3D1%0A%2F%2F%2F%20Pin%20Multiplexing%20Configuration%0AUART_BASE%3D5%0AIRQ_OUT%3D1%0AIRQ_BASE%3D510%0AIFC_GRP_A_EXT%3D1%0AIFC_GRP_E1_EXT%3D2%0AIFC_GRP_E1_EXT%3D0%0AIFC_GRP_F_EXT%3D1%0A%2F%2F%2F%20SoC-specific%20Configuration%0AEM1%3D0%0AEMI1_DMODE%3D0%0AEMI1_CMODE%3D0%0A%0AEM2%3D1%0AEMI2_DMODE%3D1%0AEMI2_CMODE%3D1%0A%0ADVDD_VSEL%3D2%0A%2F%2F%2F%20PLL%20%26amp%3B%20Clocking%20Configuration%20Expansion%0ASYSCLK_FREQ%3D600%0AHWA_CGA_M2_CLK_SEL%3D1%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3ESo%20please%20tell%20me%20what%20can%20be%20the%20problem%20with%20ports%3F%20Why%20only%20MAC10%20is%20enabling%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2332701%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Poblems%20with%20DPAA%20ports%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2332701%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIARAA%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3E%0A%3CDIV%20style%3D%22display%3A%20contents%3B%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-subtree%3D%22aimfl%22%3EThe%20issue%20where%20only%3C%2FDIV%3E%0AMAC10%20is%20enabling%20in%20Linux%2C%20despite%20MAC6%20working%20in%20U-Boot%2C%20typically%20points%20to%20a%20discrepancy%20in%20the%20DPAA%20(Data%20Path%20Acceleration%20Architecture)%20configuration%20within%20the%20Linux%20Device%20Tree%20(DTS).%26nbsp%3BHere%20are%20the%20most%20likely%20causes%20and%20how%20to%20fix%20them%3A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Fsg96%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22otQkpb%22%20role%3D%22heading%22%20data-complete%3D%22true%22%20data-sae%3D%22%22%20data-processed%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%20data-animation-nesting%3D%22%22%20aria-level%3D%223%22%3E1.%20Incorrect%20SGMII%20Speed%20Mapping%20(2.5G%20vs%201G)%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBBAA%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EThe%20LS1046A%20SGMII%20lanes%20for%20MAC9%2C%2010%2C%20and%205%20are%20running%20at%202.5G.%20In%20Linux%2C%20the%20standard%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Esgmii%3C%2FCODE%3E%20type%20often%20defaults%20to%201G.%3C%2FDIV%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBRAA%22%20data-sfc-cb%3D%22%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EFix%3A%20Change%20the%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Ephy-connection-type%3C%2FCODE%3E%20for%20MAC9%2C%2010%2C%20and%205%20to%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%222500base-x%22%3C%2FCODE%3E%20or%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%22sgmii-2500%22%3C%2FCODE%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBRAB%22%20data-sfc-cb%3D%22%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EFor%20MAC6%20(RTL8211)%2C%20keep%20it%20as%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%22sgmii%22%3C%2FCODE%3E%20(1G).%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20class%3D%22Fsg96%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22otQkpb%22%20role%3D%22heading%22%20data-sae%3D%22%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%20data-animation-nesting%3D%22%22%20aria-level%3D%223%22%3E2.%20MDIO%20Clause%2045%20vs%20Clause%2022%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIBxAA%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EYour%20DTS%20shows%20the%20RTL8221s%20(MACs%209%2C%2010%2C%205)%20using%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Ecompatible%20%3D%20%22ethernet-phy-ieee802.3-c45%22%3C%2FCODE%3E.%3C%2FDIV%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICBAA%22%20data-sfc-cb%3D%22%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EConflict%3A%20If%20your%20MDIO%20controller%20node%20(%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Emdio%40fc000%3C%2FCODE%3E)%20is%20not%20explicitly%20configured%20to%20support%20Clause%2045%20via%20the%20driver%2C%20it%20may%20fail%20to%20probe%20those%20PHYs.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICBAB%22%20data-sfc-cb%3D%22%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3ECheck%3A%20Does%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Edmesg%3C%2FCODE%3E%20show%20%22PHY%20not%20found%22%20for%20these%20addresses%3F%20If%20so%2C%20verify%20the%20MDIO%20compatible%20string%20is%20exactly%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Efsl%2Cfman-memac-mdio%3C%2FCODE%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20class%3D%22Fsg96%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22otQkpb%22%20role%3D%22heading%22%20data-complete%3D%22true%22%20data-sae%3D%22%22%20data-processed%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%20data-animation-nesting%3D%22%22%20aria-level%3D%223%22%3E3.%20Misalignment%20in%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Efsldpaa%3C%2FCODE%3E%20Nodes%26nbsp%3BIn%20your%20DTS%2C%20you%20have%3A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Fsg96%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22r1PmQe%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEICxAA%22%20data-sfc-cb%3D%22%22%20data-wiz-uids%3D%22eL9CJc_2c%2CeL9CJc_2d%2CeL9CJc_2e%22%3E%0A%3CDIV%20data-processed%3D%22true%22%3E%0A%3CDIV%20class%3D%22pHpOfb%22%20data-sae%3D%22%22%20data-animation-atomic%3D%22%22%3E%0A%3CDIV%20class%3D%22z0e9Qd%22%3E%0A%3CDIV%20class%3D%22vVRw1d%22%3Edts%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22pCTyYe%22%20dir%3D%22ltr%22%3E%0A%3CPRE%3E%3CCODE%3E%3CSPAN%20class%3D%22undefined%22%3Eethernet%40%3C%2FSPAN%3E%3CSPAN%20class%3D%22tnfcCf%22%3E10%3C%2FSPAN%3E%3CSPAN%20class%3D%22undefined%22%3E%20%7B%0A%20%20%20%20fsl%2Cfman-mac%20%3D%20%26lt%3B%26amp%3Benet7%26gt%3B%3B%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22ClTQqc%22%3E%2F%2F%20This%20maps%20to%20MAC10%3C%2FSPAN%3E%3CSPAN%20class%3D%22undefined%22%3E%0A%7D%3B%0A%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22LIBz9e%22%20data-sae%3D%22%22%20data-animation-atomic%3D%22%22%3E%0A%3CDIV%20class%3D%22P8PNlb%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDBAA%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EHowever%2C%20the%20other%20ports%20(%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Eethernet%402%3C%2FCODE%3E%20through%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Eethernet%408%3C%2FCODE%3E)%20might%20be%20mapping%20to%20the%20wrong%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Eenet%3C%2FCODE%3E%20labels.%20In%20the%20LS1046A%20SDK%3A%3C%2FDIV%3E%0A%3CUL%20class%3D%22KsbFXc%20U6u95%22%20data-complete%3D%22true%22%20data-processed%3D%22true%22%20data-sfc-cb%3D%22%22%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDRAA%22%20data-sfc-cb%3D%22%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EMAC5%20is%20usually%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%26amp%3Benet4%3C%2FCODE%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-complete%3D%22true%22%20data-sae%3D%22%22%20data-hveid%3D%22CAEIDRAB%22%20data-sfc-cb%3D%22%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EMAC6%20is%20usually%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%26amp%3Benet5%3C%2FCODE%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDRAC%22%20data-sfc-cb%3D%22%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EMAC9%20is%20usually%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%26amp%3Benet6%3C%2FCODE%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22dF3vjf%22%20data-sae%3D%22%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDRAD%22%20data-sfc-cb%3D%22%22%3E%3CSPAN%20class%3D%22T286Pc%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EMAC10%20is%20usually%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%26amp%3Benet7%3C%2FCODE%3E%20(which%20matches%20your%20working%20port)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIDhAA%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3EAction%3A%20Ensure%20that%20for%20every%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Eethernet%40X%3C%2FCODE%3E%20node%20under%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%26amp%3Bfsldpaa%3C%2FCODE%3E%2C%20the%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Efsl%2Cfman-mac%3C%2FCODE%3E%20property%20points%20to%20the%20correct%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3E%26amp%3BenetX%3C%2FCODE%3E%20label%20defined%20in%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Efsl-ls1046-post.dtsi%3C%2FCODE%3E.%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Fsg96%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22otQkpb%22%20role%3D%22heading%22%20data-sae%3D%22%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%20data-animation-nesting%3D%22%22%20aria-level%3D%223%22%3E4.%20Duplicate%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Efman0%3C%2FCODE%3E%20Definition%26nbsp%3BAt%20the%20end%20of%20your%20snippet%2C%20you%20have%3A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Fsg96%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22r1PmQe%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIERAA%22%20data-sfc-cb%3D%22%22%20data-wiz-uids%3D%22eL9CJc_3u%2CeL9CJc_3v%2CeL9CJc_3w%22%3E%0A%3CDIV%20data-processed%3D%22true%22%3E%0A%3CDIV%20class%3D%22pHpOfb%22%20data-sae%3D%22%22%20data-animation-atomic%3D%22%22%3E%0A%3CDIV%20class%3D%22z0e9Qd%22%3E%0A%3CDIV%20class%3D%22vVRw1d%22%3Edts%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22pCTyYe%22%20dir%3D%22ltr%22%3E%0A%3CPRE%3E%3CCODE%3E%3CSPAN%20class%3D%22undefined%22%3E%26amp%3Bfman0%20%7B%20compatible%20%3D%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22CS0cqb%22%3E%22fsl%2Cfman%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22undefined%22%3E%2C%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22CS0cqb%22%3E%22simple-bus%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22undefined%22%3E%3B%20%7D%3B%0A%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIEhAA%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3ERemove%20this.%20By%20adding%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Esimple-bus%3C%2FCODE%3E%20and%20changing%20the%20%3CCODE%20class%3D%22o8j0Mc%22%20dir%3D%22ltr%22%20data-sae%3D%22%22%20data-complete%3D%22true%22%20data-sfc-cb%3D%22%22%3Ecompatible%3C%2FCODE%3E%20string%2C%20you%20might%20be%20preventing%20the%20DPAA%20FMan%20driver%20from%20binding%20correctly%20to%20the%20sub-nodes%20(the%20MACs).%20The%20driver%20expects%20the%20specific%20FMan%20compatible%20string%20provided%20by%20the%20NXP%20SDK%20dtsi%20files.%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIEhAA%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22Y3BBE%22%20data-processed%3D%22true%22%20data-complete%3D%22true%22%20data-hveid%3D%22CAEIEhAA%22%20data-sfc-cb%3D%22%22%20data-sfc-cp%3D%22%22%3Eregards%3C%2FDIV%3E%3C%2FLINGO-BODY%3E