Hello,
I'm trying to connect the TJA1103 evaluation board to my custom imx93 board. I get this error message on boot
Starting network: [ 4.078772] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[ 4.168819] imx-dwmac 428a0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 4.439182] NXP C45 TJA1103 stmmac-1:01: nxp_c45_soft_reset failed: -110
[ 4.446593] imx-dwmac 428a0000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -110)
ip: SIOCSIFFLAGS: Connection timed out
FAIL
I am running a 6.12 linux kernel.
CONFIG_NXP_C45_TJA11XX_PHY is enabled and my device tree entry looks like this:
&eqos {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_eqos>;
phy-handle = <ðphy1>;
phy-mode = "rgmii";
status = "okay";
mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <5000000>;
ethphy1: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c45";
reg = <1>;
};
};
};
I found a thread saying there is a bug in the nxp-c45-tja11xx driver, I implemented the fix (one flag to true instead of false) but the issue still persists.
Another maybe connected issue is that with mdio tools, I see the address of the device as 2 (even though I set it to 1 using the jumpers on the eval board).
# mdio stmmac-1
DEV PHY-ID LINK
0x02 0x001bb013 down
I tried a lot of different jumper configurations since I am no mdio expert. Master/slave mode, rgmii, rgmii-id etc. Nothing helps. Any insights would be very appreciated, thanks!