We are trying to add 2nd Ethernet MAC interface to Toradex Verdin iMX8MP. Our custom carrier board has only one External Ethernet port (ETH_1) , and we are trying to configure 2nd ethernet controller (ETH_2). Our device-tree for fec node:
here is fec node:
/* Verdin ETH_2_RGMII */
&fec {
fsl,magic-packet;
//phy-handle = <ðphy1>;
phy-mode = "rgmii-id";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_fec>;
pinctrl-1 = <&pinctrl_fec_sleep>;
phy-supply = <®_ext_rgmii>;
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy1: ethernet-phy@Addr {
compatible = "ethernet-phy-ieee802.3-c22";
interrupt-parent = <&gpio4>;
interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
phy-is-integrated;
micrel,led-mode = <0>;
reg = <Addr>;
};
};
we are getting following error:
[ 1.965324] 002: fec 30be0000.ethernet eth0: no PHY, assuming direct connection to switch mdio_bus_id = 303085963
[ 1.965345] 002: libphy: PHY fixed-0:00 not found
[ 1.965349] 002: fec 30be0000.ethernet eth0: could not attach to PHY
};
We are using linux BSP: Linux version 5.4.129-rt61-5.4.0-devel+git.022cb949c6ec
Has anyone seen this issue before? How have you resolved it?
Thanks