hi,liujialu_2024
Thank you for your information and reply.
I use the default BS42 for this testing.
This is the test result for trx6.
root@s32g274ardb2:~# dmesg | grep -i "sja"
[ 0.828889] sja1105 spi5.1: Probed switch chip: SJA1110A
[ 0.834314] sja1105 spi5.1: Port 2 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 0.851072] sja1105 spi5.1: Port 3 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 4.876989] sja1105 spi5.1: Probed switch chip: SJA1110A
[ 4.882428] sja1105 spi5.1: Port 2 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 4.899197] sja1105 spi5.1: Port 3 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 5.053247] sja1105 spi5.1: Probed switch chip: SJA1110A
[ 5.058672] sja1105 spi5.1: Port 2 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 5.075441] sja1105 spi5.1: Port 3 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 5.092543] sja1105 spi5.1: Probed switch chip: SJA1110A
[ 5.097958] sja1105 spi5.1: Port 2 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 5.114723] sja1105 spi5.1: Port 3 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 7.103854] sja1110: loading out-of-tree module taints kernel.
[ 7.117294] SPI driver sja1110 has no spi_device_id for nxp,sja1110-switch
[ 7.124319] SPI driver sja1110 has no spi_device_id for nxp,sja1110-uc
[ 9.153856] sja1105 spi5.1: Probed switch chip: SJA1110A
[ 9.159387] sja1105 spi5.1: Port 2 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 9.181619] sja1105 spi5.1: Port 3 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 9.430825] sja1105 spi5.1: Probed switch chip: SJA1110A
[ 9.438127] sja1105 spi5.1: Port 2 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 9.454444] sja1105 spi5.1: Port 3 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"
[ 9.732411] sja1105 spi5.1: configuring for fixed/2500base-x link mode
[ 9.741123] sja1105 spi5.1: Link is Up - 2.5Gbps/Full - flow control off
[ 9.808065] sja1105 spi5.1 p1 (uninitialized): PHY [spi5.1-base-tx:01] driver [NXP CBTX (SJA1110)] (irq=POLL)
[ 9.856358] sja1105 spi5.1 trx5 (uninitialized): PHY [spi5.1-base-t1:01] driver [NXP C45 TJA1103] (irq=POLL)
[ 9.934013] sja1105 spi5.1 trx6 (uninitialized): PHY [spi5.1-base-t1:02] driver [NXP C45 TJA1103] (irq=POLL)
[ 10.011587] sja1105 spi5.1 trx7 (uninitialized): PHY [spi5.1-base-t1:03] driver [NXP C45 TJA1103] (irq=POLL)
[ 10.049845] sja1105 spi5.1 trx8 (uninitialized): PHY [spi5.1-base-t1:04] driver [NXP C45 TJA1103] (irq=POLL)
[ 10.085888] sja1105 spi5.1 trx9 (uninitialized): PHY [spi5.1-base-t1:05] driver [NXP C45 TJA1103] (irq=POLL)
[ 10.116363] sja1105 spi5.1 trx10 (uninitialized): PHY [spi5.1-base-t1:06] driver [NXP C45 TJA1103] (irq=POLL)
[ 592.917267] sja1105 spi5.1 trx5: configuring for phy/internal link mode
[ 772.869305] sja1105 spi5.1 trx6: configuring for phy/internal link mode
[ 1143.821448] sja1105 spi5.1 p1: configuring for phy/internal link mode
[ 1145.880585] sja1105 spi5.1 p1: Link is Up - 100Mbps/Full - flow control off
[ 1224.413285] sja1105 spi5.1 p2: configuring for fixed/rgmii-txid link mode
[ 1224.418540] sja1105 spi5.1 p2: Link is Up - 1Gbps/Full - flow control off
[ 1342.488176] sja1105 spi5.1 p1: Link is Down
[ 1444.408700] sja1105 spi5.1 trx6: Link is Up - 100Mbps/Full - flow control off
[ 1471.624407] sja1105 spi5.1 trx6: Link is Down
[ 1472.664709] sja1105 spi5.1 trx6: Link is Up - 100Mbps/Full - flow control off
root@s32g274ardb2:~# ethtool --cable-test trx6
Cable test started for device trx6.
Cable test completed for device trx6.
Pair A code Open Circuit
root@s32g274ardb2:~# ethtool --cable-test trx6
Cable test started for device trx6.
Cable test completed for device trx6.
Pair A code OK
6.6.32-rt32-00903-g49d9f8bb25e0
1.Please compare the SJA1110 log information, check your firmware have installed successfully.
2.I tested the trx6 result of Pair A code OK, it only inserts into my converter device.
3.You also can try to test other port, such as the port as the trx5.
Hope this can help you.
BR
Joey