fm1-mac3/fm1-mac4 are RGMII port, should be connected to 88E1512 Ethernet PHY.
1. Please ask the PHY manufacture to provide PHY driver for Linux Kernel.
2. In Linux dts file arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts, please do the following modification.
&fman0 {
ethernet@e4000 {
phy-handle = <&rgmii_phy1>;
phy-connection-type = "rgmii-id";
};
ethernet@e6000 {
phy-handle = <&rgmii_phy2>;
phy-connection-type = "rgmii-id";
};
...
mdio@fc000 {
rgmii_phy1: ethernet-phy@1 {
reg = <0x1>;//please modify the PHY address with the real PHY address on your custom board.
};
rgmii_phy2: ethernet-phy@2 {
reg = <0x2>;//please modify the PHY address with the real PHY address on your custom board.
};