The hardware design is SRDS_PRTCL_S1=0x3333, or which there should be a MAC for SGMII.10, external to the BCM54616 PHY.
RDB is 0x1133, which corresponds to xfi.10.
FRWY is 0x3040, corresponding to pin usused, while another pin is connected to qsgmii.6,5,10,1.
Now the corresponding DTS of our hardware is changed to:
Fsl-ls1046a-frwy-sdk.dts # will map ethernet9's sgmii.10 to PHY
&fman0 {
ethernet@f2000 {
phy-handle = <&sgmii_phy1>;
phy-connection-type = "sgmii";
};
mdio@fc000 {
sgmii_phy1: ethernet-phy@1 {
reg = <0x1>;
};
};
};
Qoriq-fman3-0-10g-1. Dtsi # changed 10GMAC to 1GMAC and adjusted its cell-index (the SDK has a limit of only 6 1G ports), occupying ethernet1 (there are consistent changes for other files here)
fman0_rx_0x11: port@91000 {
cell-index = <0x9>;
compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
reg = <0x91000 0x1000>;
};
fman0_tx_0x31: port@b1000 {
cell-index = <0x29>;
compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
reg = <0xb1000 0x1000>;
fsl,qman-channel-id = <0x801>;
};
But no device node can be found in the startup log :(compared with RDB log, there is no mac_probe process, but there is mac_load process)
[ 3.465650] Freescale FM Ports module
[ 3.469312] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 3.475058] fsl_dpa: FSL DPAA Ethernet driver
[ 3.497582] fsl_dpa soc:fsl,dpaa:ethernet@9: of_find_device_by_node(ethernet@f2000) failed
[ 3.505860] fsl_dpa: probe of soc:fsl,dpaa:ethernet@9 failed with error -22
There are no node files in the system file after startup:
/sys/devices/platform/soc/1a00000.fman/1af2000.ethernet
/sys/firmware/devicetree/base/soc/fman@1a00000/ethernet@f2000
/sys/bus/platform/devices/1af2000.ethernet
Can you help me see how to write DTS corresponding to our hardware configuration?Please give corresponding Suggestions or documents, thank you.