TJA1120A RGMII Auto-Ethernet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TJA1120A RGMII Auto-Ethernet

Jump to solution
807 Views
vikyhre
Contributor II

We are working on TJA1120A RGMII Auto-Ethernet on our Custom Board based on TI AM62A7

Kindly help us with how to enable this interface on Yocto Linux 

We have tried following DTS node format as in https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/net/nxp%2Ctja11xx.ya...

But driver didnt probe on Kernel dmesg

We understand that this PHY has vendor ID D001B:B031

We have also enabled CONFIG_NXP_TJA11XX_PHY in kernel config CONFIG_NXP_C45_TJA11XX_PHY

1 Solution
141 Views
PavelL
NXP Employee
NXP Employee

Hello @vikyhre ,

Please note that Community threads are actively monitored for 7 days after the last post. After this period, we only receive subscription email notifications for further updates, and such notifications can occasionally be missed.

 

If you need additional assistance in the future, we recommend creating a new Community query or supporting ticket https://support.nxp.com/s/?language=en_US .

 

Anyway, here's my analyses.

Please note that the Linux commands below are provided as suggested diagnostic checks. Since I do not have access to your exact build and runtime environment, I cannot directly verify them on your setup and minor adaptations may be needed depending on your system configuration.

The following thread might be useful as a reference:

No packet transmission with TJA1120 and i.MX8 Eval hardware

 

From the log, the MDIO access itself seems to be working, because Linux detects two PHY devices on the MDIO bus:
[ 1.358577] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[ 1.368066] davinci_mdio 8000f00.mdio: phy[4]: device 8000f00.mdio:04, driver unknown

So the TJA1120A appears to be visible at MDIO address 4, but it is not bound to the NXP C45 TJA11xx PHY driver yet. This is likely why the CPSW port later fails during RGMII validation.

As a first step, please try updating the TJA1120A PHY node to explicitly specify Clause 45:

&cpsw_port1 {
    status = "okay";
    phy-mode = "rgmii";      /* or rgmii-id / rgmii-rxid / rgmii-txid depending on your board delay design */
    phy-handle = <&cpsw3g_phy0>;
};
 
&cpsw3g_phy0 {
    compatible = "ethernet-phy-id001b.b030", "ethernet-phy-ieee802.3-c45";
    reg = <4>;
    status = "okay";
};

 

Also, please remove this property from the TJA1120A node:
 nxp,rmii-refclk-in;
This property is related to RMII reference clock configuration and should not be used for your RGMII TJA1120A setup.
 
After rebuilding and booting with the updated DTB, please check whether the driver is attached, for example:
dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"
 

The expected result is that the PHY at address 4 is no longer shown as driver unknown, but is attached to the NXP C45 TJA11xx/TJA1120 driver.

If it still remains driver unknown, please also confirm that the running kernel really contains the driver support:

zcat /proc/config.gz | egrep "NXP.*TJA|C45|PHYLIB"
find /lib/modules/$(uname -r) -name "*tja*"

 

Best regards,

Pavel

View solution in original post

0 Kudos
Reply
5 Replies
767 Views
PavelL
NXP Employee
NXP Employee

Hello @vikyhre ,

To narrow this down, could you please share:

1) Does U-Boot detect the PHY on the MDIO bus at the expected address? (e.g. output of “mdio list” / “mii info”)
2) Please share the relevant DTS snippets for the CPSW port node and the MDIO/PHY node (phy-handle, phy-mode, PHY reg/address), plus the boot log lines related to MDIO/PHY init:
dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"

With these two items we can quickly determine whether the PHY is not visible on MDIO (HW/pinmux/reset/address) or if it’s a DT binding/reference issue.

Best regards,

Pavel

0 Kudos
Reply
249 Views
vikyhre
Contributor II

We are using AM62A7 based iWave SoM, we didnt touch the u-boot/bootloader firmware residing in the eMMC as of now

U-Boot SPL 2023.04-g2b8a667ace (May 24 2024 - 11:27:05 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
am62a_init: board_init_f done
SPL initial stack usage: 17040 bytes
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Trying to boot from MMC1
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Authentication passed
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Authentication passed
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Authentication passed
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Authentication passed
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Authentication passed
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.9(release):d7a7135d3-dirty
NOTICE:  BL31: Built : 09:34:15, Aug 24 2023

U-Boot SPL 2023.04-g2b8a667ace (May 24 2024 - 11:27:05 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
am62a_init: board_init_f done
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Trying to boot from MMC1
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Authentication passed
am62a_init: spl_boot_device: devstat = 0x374b bootmedia = 0x9 bootindex = 0
Authentication passed


U-Boot 2023.04-g2b8a667ace (May 24 2024 - 11:27:05 +0000)

SoC:   AM62AX SR1.0 HS-FS
Model: iW-RainboW-G55M-TI-AM62AX OSM
DRAM:  2 GiB
Core:  60 devices, 29 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000

Board Info:
        BSP Version    : iW-PRHAZ-SC-01-R2.0-REL1.0-Linux6.1.46
        SOM Version    : iW-PRHAZ-AP-01-R2.0

Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0
iWave-G55M > mdio list
mdio@f00:
ethernet@8000000port@1:
4 - Generic PHY <--> ethernet@8000000port@1
iWave-G55M > mii info

 U-Boot firmware is something we didnt change, we just boot our Linux from SD-Card

I have attached k3-am62a7-iwg55m.dtsi, where both ethernets eth0,eth1 are disabled

&cpsw3g {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&main_rgmii1_pins_default>, <&main_rgmii2_pins_default>;

	cpts@3d000 {
		/* MAP HW3_TS_PUSH to GENF1 */
		ti,pps = <2 1>;
	};
};

&cpsw_port1 {
	status = "disabled";
	phy-mode = "rgmii-rxid";
	phy-handle = <&cpsw3g_phy0>;
};

&cpsw_port2 {
	status = "disabled";
	phy-mode = "rgmii-rxid";
	phy-handle = <&cpsw3g_phy1>;
};

&cpsw3g_mdio {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&main_mdio1_pins_default>;

	cpsw3g_phy0: ethernet-phy@0 {
		reg = <4>;
		adi,rx-internal-delay-ps = <2000>;
	};

	cpsw3g_phy1: ethernet-phy@1 {
		reg = <5>;
		qca,disable-smarteee;
		vddio-supply = <&vddio0>;
			vddio0: vddio-regulator {
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
		};
        };

};

In k3-am62a7-iwg55s-prgjj-41.dts, i enabled both eth0 and eth1 with appropiate DT entries

&cpsw_port1 and &cpsw3g_phy0 corresponds to our Auto-Ethernet

&cpsw_port1 {
	status = "okay";
	phy-mode = "rgmii";
};

&cpsw_port2 {
	status = "okay";
	phy-mode = "rgmii";
};

&cpsw3g_phy0 {
	//compatible = "ethernet-phy-id001b.b031", "ethernet-phy-ieee802.3-c45";
	compatible = "ethernet-phy-id001b.b030";
	nxp,rmii-refclk-in;
	reg = <4>;
};

&cpsw3g_phy1 {
	compatible = "ethernet-phy-id0022.1620";
	reg = <0>;
	txc-skew-ps = <900>;
	rxc-skew-ps = <900>;
	rxd0-skew-ps = <420>;
	rxd1-skew-ps = <420>;
	rxd2-skew-ps = <420>;
	rxd3-skew-ps = <420>;
	txd0-skew-ps = <420>;
	txd1-skew-ps = <420>;
	txd2-skew-ps = <420>;
	txd3-skew-ps = <420>;
	rxdv-skew-ps = <420>;
	txen-skew-ps = <420>;
};

Here, my PHY TJA1120A has PHY Identification Register 1: 1B and PHY Identification Register 2: B030.
So appropiate driver should be  compatible = "ethernet-phy-id001b.b030"

Response for dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"

 

root@am62ax-iwg55m-osm:/sys/class/hwmon/hwmon0# dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    1.349271] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.358577] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[    1.368066] davinci_mdio 8000f00.mdio: phy[4]: device 8000f00.mdio:04, driver unknown
[    1.375925] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
[    1.388839] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[    1.395108] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.402236] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.412875] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
[    1.422952] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    6.876699] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:00] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[    6.893353] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii link mode
[    6.937861] am65-cpsw-nuss 8000000.ethernet eth0: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00002280 failed: -EINVAL

I have also attached dmesg

 

0 Kudos
Reply
142 Views
PavelL
NXP Employee
NXP Employee

Hello @vikyhre ,

Please note that Community threads are actively monitored for 7 days after the last post. After this period, we only receive subscription email notifications for further updates, and such notifications can occasionally be missed.

 

If you need additional assistance in the future, we recommend creating a new Community query or supporting ticket https://support.nxp.com/s/?language=en_US .

 

Anyway, here's my analyses.

Please note that the Linux commands below are provided as suggested diagnostic checks. Since I do not have access to your exact build and runtime environment, I cannot directly verify them on your setup and minor adaptations may be needed depending on your system configuration.

The following thread might be useful as a reference:

No packet transmission with TJA1120 and i.MX8 Eval hardware

 

From the log, the MDIO access itself seems to be working, because Linux detects two PHY devices on the MDIO bus:
[ 1.358577] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[ 1.368066] davinci_mdio 8000f00.mdio: phy[4]: device 8000f00.mdio:04, driver unknown

So the TJA1120A appears to be visible at MDIO address 4, but it is not bound to the NXP C45 TJA11xx PHY driver yet. This is likely why the CPSW port later fails during RGMII validation.

As a first step, please try updating the TJA1120A PHY node to explicitly specify Clause 45:

&cpsw_port1 {
    status = "okay";
    phy-mode = "rgmii";      /* or rgmii-id / rgmii-rxid / rgmii-txid depending on your board delay design */
    phy-handle = <&cpsw3g_phy0>;
};
 
&cpsw3g_phy0 {
    compatible = "ethernet-phy-id001b.b030", "ethernet-phy-ieee802.3-c45";
    reg = <4>;
    status = "okay";
};

 

Also, please remove this property from the TJA1120A node:
 nxp,rmii-refclk-in;
This property is related to RMII reference clock configuration and should not be used for your RGMII TJA1120A setup.
 
After rebuilding and booting with the updated DTB, please check whether the driver is attached, for example:
dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"
 

The expected result is that the PHY at address 4 is no longer shown as driver unknown, but is attached to the NXP C45 TJA11xx/TJA1120 driver.

If it still remains driver unknown, please also confirm that the running kernel really contains the driver support:

zcat /proc/config.gz | egrep "NXP.*TJA|C45|PHYLIB"
find /lib/modules/$(uname -r) -name "*tja*"

 

Best regards,

Pavel

0 Kudos
Reply
73 Views
vikyhre
Contributor II

Sure Pavel, sorry for late reply

You were right, its just that the kernel didnt have support for TJA1120 eventhough i had CONFIG_NXP_C45_TJA11XX_PHY=y enabled in older kernel. It seems i should have checked driver source code where i found out TJA1120 isnt present for older kernel(https://github.com/torvalds/linux/blob/v6.12/drivers/net/phy/nxp-c45-tja11xx.c).

root@am62axx-evm:~# dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    1.383879] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
[    1.397521] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[    1.438966] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.448696] NXP C45 TJA1120 8000f00.mdio:04: the phy does not support MACsec
[    1.466641] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[    1.476820] davinci_mdio 8000f00.mdio: phy[4]: device 8000f00.mdio:04, driver NXP C45 TJA1120
[    1.486189] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[    1.494016] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512, Policers 32
[    1.502639] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
[    1.521311] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
[    6.654104] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:04] driver [NXP C45 TJA1120] (irq=POLL)
[    6.665485] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii link mode
[    6.756195] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:00] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[    6.767993] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii link mode
root@am62axx-evm:~# zcat /proc/config.gz | egrep "NXP.*TJA|C45|PHYLIB"
CONFIG_PHYLIB=y
CONFIG_PHYLIB_LEDS=y
CONFIG_BCM_NET_PHYLIB=m
CONFIG_NXP_C45_TJA11XX_PHY=y
CONFIG_NXP_TJA11XX_PHY=y
CONFIG_QCOM_NET_PHYLIB=y
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
# CONFIG_TI_TLC4541 is not set

PHY is detected and probed by the kernel.

Right now i am using Microchip EVB-LAN8770M_MC Media Converter which supports 100BASET1 SPE. Will it be compatible with TJA1120A(1000BASET1) and autonegotiate?

0 Kudos
Reply
59 Views
PavelL
NXP Employee
NXP Employee

Hello @vikyhre ,

Thank you for the update. The new dmesg output looks much better now. The TJA1120A is detected on MDIO address 4 and is correctly bound to the NXP C45 TJA1120 driver:
[    1.476820] davinci_mdio 8000f00.mdio: phy[4]: device 8000f00.mdio:04, driver NXP C45 TJA1120
[    6.654104] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:04] driver [NXP C45 TJA1120]

 So, the previous issue with the missing driver support seems to be resolved.

Regarding your current link partner: the Microchip EVB-LAN8770M_MC is a 100BASE-T1 media converter, while TJA1120A is a 1000BASE-T1 PHY. These are different automotive Ethernet PHY standards/speeds, so the LAN8770M-based 100BASE-T1 converter should not be expected to establish a link with the TJA1120A 1000BASE-T1 PHY. Auto-negotiation cannot negotiate a common mode if one side supports 100BASE-T1 and the other side is a 1000BASE-T1 PHY.

TJA1120 is an automotive 1000BASE-T1 PHY and in automotive Ethernet applications the link configuration is typically expected to be deterministic and explicitly defined. So, auto negotiation is not required and thus not supported.

For testing the TJA1120A link, please use a 1000BASE-T1 capable link partner, for example another TJA1120/TJA1121 based board or a 1000BASE-T1 media converter.

 

Please open a new question to the forum, if you require any further assistance, since this thread has been marked as solved.

Best regards,

Pavel

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2346123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETJA1120A%20RGMII%20Auto-Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWe%20are%20working%20on%20TJA1120A%20RGMII%20Auto-Ethernet%20on%20our%20Custom%20Board%20based%20on%20TI%20AM62A7%3C%2FP%3E%3CP%3EKindly%20help%20us%20with%20how%20to%20enable%20this%20interface%20on%20Yocto%20Linux%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20tried%20following%20DTS%20node%20format%20as%20in%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftorvalds%2Flinux%2Fblob%2Fmaster%2FDocumentation%2Fdevicetree%2Fbindings%2Fnet%2Fnxp%252Ctja11xx.yaml%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Ftorvalds%2Flinux%2Fblob%2Fmaster%2FDocumentation%2Fdevicetree%2Fbindings%2Fnet%2Fnxp%252Ctja11xx.yaml%3C%2FA%3E%3C%2FP%3E%3CP%3EBut%20driver%20didnt%20probe%20on%20Kernel%20dmesg%3C%2FP%3E%3CP%3EWe%20understand%20that%20this%20PHY%20has%20vendor%20ID%20D001B%3AB031%3C%2FP%3E%3CP%3EWe%20have%20also%20enabled%26nbsp%3B%3CSPAN%20class%3D%22%22%3E%3CSTRONG%3ECONFIG_NXP_TJA11XX_PHY%26nbsp%3B%3C%2FSTRONG%3Ein%20kernel%20config%26nbsp%3B%3CSTRONG%3ECONFIG_NXP_C45_TJA11XX_PHY%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2346753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20TJA1120A%20RGMII%20Auto-Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261428%22%20target%3D%22_blank%22%3E%40vikyhre%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3ETo%20narrow%20this%20down%2C%20could%20you%20please%20share%3A%3C%2FP%3E%0A%3CP%3E1)%20Does%20U-Boot%20detect%20the%20PHY%20on%20the%20MDIO%20bus%20at%20the%20expected%20address%3F%20(e.g.%20output%20of%20%E2%80%9Cmdio%20list%E2%80%9D%20%2F%20%E2%80%9Cmii%20info%E2%80%9D)%3CBR%20%2F%3E2)%20Please%20share%20the%20relevant%20DTS%20snippets%20for%20the%20CPSW%20port%20node%20and%20the%20MDIO%2FPHY%20node%20(phy-handle%2C%20phy-mode%2C%20PHY%20reg%2Faddress)%2C%20plus%20the%20boot%20log%20lines%20related%20to%20MDIO%2FPHY%20init%3A%3CBR%20%2F%3Edmesg%20%7C%20egrep%20-i%20%22mdio%7Ccpsw%7Cphy%7Ctja%7Cnxp%22%3C%2FP%3E%0A%3CP%3EWith%20these%20two%20items%20we%20can%20quickly%20determine%20whether%20the%20PHY%20is%20not%20visible%20on%20MDIO%20(HW%2Fpinmux%2Freset%2Faddress)%20or%20if%20it%E2%80%99s%20a%20DT%20binding%2Freference%20issue.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2388871%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20TJA1120A%20RGMII%20Auto-Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2388871%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWe%20are%20using%20AM62A7%20based%20iWave%20SoM%2C%20we%20didnt%20touch%20the%20u-boot%2Fbootloader%20firmware%20residing%20in%20the%20eMMC%20as%20of%20now%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%3EU-Boot%20SPL%202023.04-g2b8a667ace%20(May%2024%202024%20-%2011%3A27%3A05%20%2B0000)%0ASYSFW%20ABI%3A%203.1%20(firmware%20rev%200x0009%20'9.1.8--v09.01.08%20(Kool%20Koala)')%0Aam62a_init%3A%20board_init_f%20done%0ASPL%20initial%20stack%20usage%3A%2017040%20bytes%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0ATrying%20to%20boot%20from%20MMC1%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0AAuthentication%20passed%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0AAuthentication%20passed%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0AAuthentication%20passed%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0AAuthentication%20passed%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0AAuthentication%20passed%0AStarting%20ATF%20on%20ARM64%20core...%0A%0ANOTICE%3A%20%20BL31%3A%20v2.9(release)%3Ad7a7135d3-dirty%0ANOTICE%3A%20%20BL31%3A%20Built%20%3A%2009%3A34%3A15%2C%20Aug%2024%202023%0A%0AU-Boot%20SPL%202023.04-g2b8a667ace%20(May%2024%202024%20-%2011%3A27%3A05%20%2B0000)%0ASYSFW%20ABI%3A%203.1%20(firmware%20rev%200x0009%20'9.1.8--v09.01.08%20(Kool%20Koala)')%0Aam62a_init%3A%20board_init_f%20done%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0ATrying%20to%20boot%20from%20MMC1%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0AAuthentication%20passed%0Aam62a_init%3A%20spl_boot_device%3A%20devstat%20%3D%200x374b%20bootmedia%20%3D%200x9%20bootindex%20%3D%200%0AAuthentication%20passed%0A%0A%0AU-Boot%202023.04-g2b8a667ace%20(May%2024%202024%20-%2011%3A27%3A05%20%2B0000)%0A%0ASoC%3A%20%20%20AM62AX%20SR1.0%20HS-FS%0AModel%3A%20iW-RainboW-G55M-TI-AM62AX%20OSM%0ADRAM%3A%20%202%20GiB%0ACore%3A%20%2060%20devices%2C%2029%20uclasses%2C%20devicetree%3A%20separate%0AMMC%3A%20%20%20mmc%40fa10000%3A%200%2C%20mmc%40fa00000%3A%201%0ALoading%20Environment%20from%20nowhere...%20OK%0AIn%3A%20%20%20%20serial%402800000%0AOut%3A%20%20%20serial%402800000%0AErr%3A%20%20%20serial%402800000%0A%0ABoard%20Info%3A%0A%20%20%20%20%20%20%20%20BSP%20Version%20%20%20%20%3A%20iW-PRHAZ-SC-01-R2.0-REL1.0-Linux6.1.46%0A%20%20%20%20%20%20%20%20SOM%20Version%20%20%20%20%3A%20iW-PRHAZ-AP-01-R2.0%0A%0ANet%3A%20%20%20eth0%3A%20ethernet%408000000port%401%0AHit%20any%20key%20to%20stop%20autoboot%3A%20%200%0AiWave-G55M%20%26gt%3B%20mdio%20list%0Amdio%40f00%3A%0Aethernet%408000000port%401%3A%0A4%20-%20Generic%20PHY%20%26lt%3B--%26gt%3B%20ethernet%408000000port%401%0AiWave-G55M%20%26gt%3B%20mii%20info%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3BU-Boot%20firmware%20is%20something%20we%20didnt%20change%2C%20we%20just%20boot%20our%20Linux%20from%20SD-Card%3C%2FP%3E%3CP%3EI%20have%20attached%20k3-am62a7-iwg55m.dtsi%2C%20where%20both%20ethernets%20eth0%2Ceth1%20are%20disabled%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%3E%26amp%3Bcpsw3g%20%7B%0A%09status%20%3D%20%22okay%22%3B%0A%09pinctrl-names%20%3D%20%22default%22%3B%0A%09pinctrl-0%20%3D%20%26lt%3B%26amp%3Bmain_rgmii1_pins_default%26gt%3B%2C%20%26lt%3B%26amp%3Bmain_rgmii2_pins_default%26gt%3B%3B%0A%0A%09cpts%403d000%20%7B%0A%09%09%2F*%20MAP%20HW3_TS_PUSH%20to%20GENF1%20*%2F%0A%09%09ti%2Cpps%20%3D%20%26lt%3B2%201%26gt%3B%3B%0A%09%7D%3B%0A%7D%3B%0A%0A%26amp%3Bcpsw_port1%20%7B%0A%09status%20%3D%20%22disabled%22%3B%0A%09phy-mode%20%3D%20%22rgmii-rxid%22%3B%0A%09phy-handle%20%3D%20%26lt%3B%26amp%3Bcpsw3g_phy0%26gt%3B%3B%0A%7D%3B%0A%0A%26amp%3Bcpsw_port2%20%7B%0A%09status%20%3D%20%22disabled%22%3B%0A%09phy-mode%20%3D%20%22rgmii-rxid%22%3B%0A%09phy-handle%20%3D%20%26lt%3B%26amp%3Bcpsw3g_phy1%26gt%3B%3B%0A%7D%3B%0A%0A%26amp%3Bcpsw3g_mdio%20%7B%0A%09status%20%3D%20%22okay%22%3B%0A%09pinctrl-names%20%3D%20%22default%22%3B%0A%09pinctrl-0%20%3D%20%26lt%3B%26amp%3Bmain_mdio1_pins_default%26gt%3B%3B%0A%0A%09cpsw3g_phy0%3A%20ethernet-phy%400%20%7B%0A%09%09reg%20%3D%20%26lt%3B4%26gt%3B%3B%0A%09%09adi%2Crx-internal-delay-ps%20%3D%20%26lt%3B2000%26gt%3B%3B%0A%09%7D%3B%0A%0A%09cpsw3g_phy1%3A%20ethernet-phy%401%20%7B%0A%09%09reg%20%3D%20%26lt%3B5%26gt%3B%3B%0A%09%09qca%2Cdisable-smarteee%3B%0A%09%09vddio-supply%20%3D%20%26lt%3B%26amp%3Bvddio0%26gt%3B%3B%0A%09%09%09vddio0%3A%20vddio-regulator%20%7B%0A%09%09%09regulator-min-microvolt%20%3D%20%26lt%3B1800000%26gt%3B%3B%0A%09%09%09regulator-max-microvolt%20%3D%20%26lt%3B1800000%26gt%3B%3B%0A%09%09%7D%3B%0A%20%20%20%20%20%20%20%20%7D%3B%0A%0A%7D%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EIn%26nbsp%3Bk3-am62a7-iwg55s-prgjj-41.dts%2C%20i%20enabled%20both%20eth0%20and%20eth1%20with%20appropiate%20DT%20entries%3C%2FP%3E%3CP%3E%26amp%3Bcpsw_port1%20and%20%26amp%3Bcpsw3g_phy0%20corresponds%20to%20our%20Auto-Ethernet%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%3E%26amp%3Bcpsw_port1%20%7B%0A%09status%20%3D%20%22okay%22%3B%0A%09phy-mode%20%3D%20%22rgmii%22%3B%0A%7D%3B%0A%0A%26amp%3Bcpsw_port2%20%7B%0A%09status%20%3D%20%22okay%22%3B%0A%09phy-mode%20%3D%20%22rgmii%22%3B%0A%7D%3B%0A%0A%26amp%3Bcpsw3g_phy0%20%7B%0A%09%2F%2Fcompatible%20%3D%20%22ethernet-phy-id001b.b031%22%2C%20%22ethernet-phy-ieee802.3-c45%22%3B%0A%09compatible%20%3D%20%22ethernet-phy-id001b.b030%22%3B%0A%09nxp%2Crmii-refclk-in%3B%0A%09reg%20%3D%20%26lt%3B4%26gt%3B%3B%0A%7D%3B%0A%0A%26amp%3Bcpsw3g_phy1%20%7B%0A%09compatible%20%3D%20%22ethernet-phy-id0022.1620%22%3B%0A%09reg%20%3D%20%26lt%3B0%26gt%3B%3B%0A%09txc-skew-ps%20%3D%20%26lt%3B900%26gt%3B%3B%0A%09rxc-skew-ps%20%3D%20%26lt%3B900%26gt%3B%3B%0A%09rxd0-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09rxd1-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09rxd2-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09rxd3-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09txd0-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09txd1-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09txd2-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09txd3-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09rxdv-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%09txen-skew-ps%20%3D%20%26lt%3B420%26gt%3B%3B%0A%7D%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EHere%2C%20my%20PHY%20TJA1120A%20has%20PHY%20Identification%20Register%201%3A%201B%20and%20PHY%20Identification%20Register%202%3A%20B030.%3CBR%20%2F%3ESo%20appropiate%20driver%20should%20be%26nbsp%3B%20%3CEM%3Ecompatible%20%3D%20%22ethernet-phy-id001b.b030%22%3C%2FEM%3E%3C%2FP%3E%3CP%3EResponse%20for%26nbsp%3B%3CEM%3Edmesg%20%7C%20egrep%20-i%20%22mdio%7Ccpsw%7Cphy%7Ctja%7Cnxp%22%3C%2FEM%3E%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%3Eroot%40am62ax-iwg55m-osm%3A%2Fsys%2Fclass%2Fhwmon%2Fhwmon0%23%20dmesg%20%7C%20egrep%20-i%20%22mdio%7Ccpsw%7Cphy%7Ctja%7Cnxp%22%0A%5B%20%20%20%200.000000%5D%20Booting%20Linux%20on%20physical%20CPU%200x0000000000%20%5B0x410fd034%5D%0A%5B%20%20%20%200.000000%5D%20arch_timer%3A%20cp15%20timer(s)%20running%20at%20200.00MHz%20(phys).%0A%5B%20%20%20%201.349271%5D%20davinci_mdio%208000f00.mdio%3A%20davinci%20mdio%20revision%209.7%2C%20bus%20freq%201000000%0A%5B%20%20%20%201.358577%5D%20davinci_mdio%208000f00.mdio%3A%20phy%5B0%5D%3A%20device%208000f00.mdio%3A00%2C%20driver%20Micrel%20KSZ9031%20Gigabit%20PHY%0A%5B%20%20%20%201.368066%5D%20davinci_mdio%208000f00.mdio%3A%20phy%5B4%5D%3A%20device%208000f00.mdio%3A04%2C%20driver%20unknown%0A%5B%20%20%20%201.375925%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20initializing%20am65%20cpsw%20nuss%20version%200x6BA01103%2C%20cpsw%20version%200x6BA81103%20Ports%3A%203%20quirks%3A00000006%0A%5B%20%20%20%201.388839%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20Use%20random%20MAC%20address%0A%5B%20%20%20%201.395108%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20initialized%20cpsw%20ale%20version%201.5%0A%5B%20%20%20%201.402236%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20ALE%20Table%20size%20512%0A%5B%20%20%20%201.412875%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20CPTS%20ver%200x4e8a010c%2C%20freq%3A500000000%2C%20add_val%3A1%20pps%3A1%0A%5B%20%20%20%201.422952%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20set%20new%20flow-id-base%2019%0A%5B%20%20%20%206.876699%5D%20am65-cpsw-nuss%208000000.ethernet%20eth1%3A%20PHY%20%5B8000f00.mdio%3A00%5D%20driver%20%5BMicrel%20KSZ9031%20Gigabit%20PHY%5D%20(irq%3DPOLL)%0A%5B%20%20%20%206.893353%5D%20am65-cpsw-nuss%208000000.ethernet%20eth1%3A%20configuring%20for%20phy%2Frgmii%20link%20mode%0A%5B%20%20%20%206.937861%5D%20am65-cpsw-nuss%208000000.ethernet%20eth0%3A%20validation%20of%20rgmii%20with%20support%2000000000%2C00000000%2C00006280%20and%20advertisement%2000000000%2C00000000%2C00002280%20failed%3A%20-EINVAL%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EI%20have%20also%20attached%20dmesg%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2389778%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20TJA1120A%20RGMII%20Auto-Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2389778%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261428%22%20target%3D%22_blank%22%3E%40vikyhre%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3EPlease%20note%20that%20Community%20threads%20are%20actively%20monitored%20for%207%20days%20after%20the%20last%20post.%20After%20this%20period%2C%20we%20only%20receive%20subscription%20email%20notifications%20for%20further%20updates%2C%20and%20such%20notifications%20can%20occasionally%20be%20missed.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20you%20need%20additional%20assistance%20in%20the%20future%2C%20we%20recommend%20creating%20a%20new%20Community%20query%20or%20supporting%20ticket%20%3CA%20href%3D%22https%3A%2F%2Fsupport.nxp.com%2Fs%2F%3Flanguage%3Den_US%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.nxp.com%2Fs%2F%3Flanguage%3Den_US%3C%2FA%3E%20.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EAnyway%2C%20here's%20my%20analyses.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPlease%20note%20that%20the%20Linux%20commands%20below%20are%20provided%20as%20suggested%20diagnostic%20checks.%20Since%20I%20do%20not%20have%20access%20to%20your%20exact%20build%20and%20runtime%20environment%2C%20I%20cannot%20directly%20verify%20them%20on%20your%20setup%20and%20minor%20adaptations%20may%20be%20needed%20depending%20on%20your%20system%20configuration.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3EThe%20following%20thread%20might%20be%20useful%20as%20a%20reference%3A%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CP%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FOther-NXP-Products%2FNo-packet-transmission-with-TJA1120-and-i-MX8-Eval-hardware%2Fm-p%2F2150211%22%20target%3D%22_blank%22%3ENo%20packet%20transmission%20with%20TJA1120%20and%20i.MX8%20Eval%20hardware%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CDIV%3EFrom%20the%20log%2C%20the%20MDIO%20access%20itself%20seems%20to%20be%20working%2C%20because%20Linux%20detects%20two%20PHY%20devices%20on%20the%20MDIO%20bus%3A%3C%2FDIV%3E%0A%3CPRE%3E%5B%201.358577%5D%20davinci_mdio%208000f00.mdio%3A%20phy%5B0%5D%3A%20device%208000f00.mdio%3A00%2C%20driver%20Micrel%20KSZ9031%20Gigabit%20PHY%3CBR%20%2F%3E%5B%201.368066%5D%20davinci_mdio%208000f00.mdio%3A%20phy%5B4%5D%3A%20device%208000f00.mdio%3A04%2C%20driver%20unknown%3C%2FPRE%3E%0A%3CDIV%3E%0A%3CP%3ESo%20the%20TJA1120A%20appears%20to%20be%20visible%20at%20MDIO%20address%204%2C%20but%20it%20is%20not%20bound%20to%20the%20NXP%20C45%20TJA11xx%20PHY%20driver%20yet.%20This%20is%20likely%20why%20the%20CPSW%20port%20later%20fails%20during%20RGMII%20validation.%3C%2FP%3E%0A%3CP%3EAs%20a%20first%20step%2C%20please%20try%20updating%20the%20TJA1120A%20PHY%20node%20to%20explicitly%20specify%20Clause%2045%3A%3C%2FP%3E%0A%3CPRE%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3E%26amp%3Bcpsw_port1%20%7B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20status%20%3D%20%22okay%22%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20phy-mode%20%3D%20%22rgmii%22%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2F*%20or%20rgmii-id%20%2F%20rgmii-rxid%20%2F%20rgmii-txid%20depending%20on%20your%20board%20delay%20design%20*%2F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20phy-handle%20%3D%20%26lt%3B%26amp%3Bcpsw3g_phy0%26gt%3B%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%7D%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26amp%3Bcpsw3g_phy0%20%7B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20compatible%20%3D%20%22ethernet-phy-id001b.b030%22%2C%20%22ethernet-phy-ieee802.3-c45%22%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20reg%20%3D%20%26lt%3B4%26gt%3B%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20status%20%3D%20%22okay%22%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%7D%3B%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CDIV%3EAlso%2C%20please%20remove%20this%20property%20from%20the%20TJA1120A%20node%3A%3C%2FDIV%3E%0A%3CPRE%3E%26nbsp%3B%3CSPAN%3Enxp%2Crmii-refclk-in%3B%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CDIV%3EThis%20property%20is%20related%20to%20RMII%20reference%20clock%20configuration%20and%20should%20not%20be%20used%20for%20your%20RGMII%20TJA1120A%20setup.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3EAfter%20rebuilding%20and%20booting%20with%20the%20updated%20DTB%2C%20please%20check%20whether%20the%20driver%20is%20attached%2C%20for%20example%3A%3C%2FDIV%3E%0A%3CPRE%3E%3CSPAN%3Edmesg%20%7C%20egrep%20-i%20%22mdio%7Ccpsw%7Cphy%7Ctja%7Cnxp%22%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CP%3EThe%20expected%20result%20is%20that%20the%20PHY%20at%20address%204%20is%20no%20longer%20shown%20as%20%3CCODE%3Edriver%20unknown%3C%2FCODE%3E%2C%20but%20is%20attached%20to%20the%20NXP%20C45%20TJA11xx%2FTJA1120%20driver.%3C%2FP%3E%0A%3CP%3EIf%20it%20still%20remains%20%3CCODE%3Edriver%20unknown%3C%2FCODE%3E%2C%20please%20also%20confirm%20that%20the%20running%20kernel%20really%20contains%20the%20driver%20support%3A%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CPRE%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3Ezcat%20%2Fproc%2Fconfig.gz%20%7C%20egrep%20%22NXP.*TJA%7CC45%7CPHYLIB%22%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Efind%20%2Flib%2Fmodules%2F%24(uname%20-r)%20-name%20%22*tja*%22%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2392109%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20TJA1120A%20RGMII%20Auto-Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2392109%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261428%22%20target%3D%22_blank%22%3E%40vikyhre%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3EThank%20you%20for%20the%20update.%20The%20new%20dmesg%20output%20looks%20much%20better%20now.%20The%20TJA1120A%20is%20detected%20on%20MDIO%20address%204%20and%20is%20correctly%20bound%20to%20the%20NXP%20C45%20TJA1120%20driver%3A%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CPRE%3E%3CSPAN%3E%5B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201.476820%5D%20davinci_mdio%208000f00.mdio%3A%20phy%5B4%5D%3A%20device%208000f00.mdio%3A04%2C%20driver%20NXP%20C45%20TJA1120%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B%26nbsp%3B%26nbsp%3B%26nbsp%3B%206.654104%5D%20am65-cpsw-nuss%208000000.ethernet%20eth0%3A%20PHY%20%5B8000f00.mdio%3A04%5D%20driver%20%5BNXP%20C45%20TJA1120%5D%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3ESo%2C%20the%20previous%20issue%20with%20the%20missing%20driver%20support%20seems%20to%20be%20resolved.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ERegarding%20your%20current%20link%20partner%3A%20the%20Microchip%20EVB-LAN8770M_MC%20is%20a%20100BASE-T1%20media%20converter%2C%20while%20TJA1120A%20is%20a%201000BASE-T1%20PHY.%20These%20are%20different%20automotive%20Ethernet%20PHY%20standards%2Fspeeds%2C%20so%20the%20LAN8770M-based%20100BASE-T1%20converter%20should%20not%20be%20expected%20to%20establish%20a%20link%20with%20the%20TJA1120A%201000BASE-T1%20PHY.%20Auto-negotiation%20cannot%20negotiate%20a%20common%20mode%20if%20one%20side%20supports%20100BASE-T1%20and%20the%20other%20side%20is%20a%201000BASE-T1%20PHY.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETJA1120%20is%20an%20automotive%201000BASE-T1%20PHY%20and%20in%20automotive%20Ethernet%20applications%20the%20link%20configuration%20is%20typically%20expected%20to%20be%20deterministic%20and%20explicitly%20defined.%20So%2C%20auto%20negotiation%20is%20not%20required%20and%20thus%20not%20supported.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20testing%20the%20TJA1120A%20link%2C%20please%20use%20a%201000BASE-T1%20capable%20link%20partner%2C%20for%20example%20another%20TJA1120%2FTJA1121%20based%20board%20or%20a%201000BASE-T1%20media%20converter.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EPlease%20%3CSTRONG%3Eopen%20a%20new%20question%3C%2FSTRONG%3E%20to%20the%20forum%2C%20if%20you%20require%20any%20further%20assistance%2C%20since%20this%20thread%20has%20been%20marked%20as%20solved.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPavel%3C%2FSPAN%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2391966%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20TJA1120A%20RGMII%20Auto-Ethernet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2391966%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESure%20Pavel%2C%20sorry%20for%20late%20reply%3C%2FP%3E%3CP%3EYou%20were%20right%2C%20its%20just%20that%20the%20kernel%20didnt%20have%20support%20for%20TJA1120%20eventhough%20i%20had%26nbsp%3BCONFIG_NXP_C45_TJA11XX_PHY%3Dy%20enabled%20in%20older%20kernel.%20It%20seems%20i%20should%20have%20checked%20driver%20source%20code%20where%20i%20found%20out%20TJA1120%20isnt%20present%20for%20older%20kernel(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftorvalds%2Flinux%2Fblob%2Fv6.12%2Fdrivers%2Fnet%2Fphy%2Fnxp-c45-tja11xx.c%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Ftorvalds%2Flinux%2Fblob%2Fv6.12%2Fdrivers%2Fnet%2Fphy%2Fnxp-c45-tja11xx.c%3C%2FA%3E).%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%3Eroot%40am62axx-evm%3A~%23%20dmesg%20%7C%20egrep%20-i%20%22mdio%7Ccpsw%7Cphy%7Ctja%7Cnxp%22%0A%5B%20%20%20%200.000000%5D%20Booting%20Linux%20on%20physical%20CPU%200x0000000000%20%5B0x410fd034%5D%0A%5B%20%20%20%200.000000%5D%20arch_timer%3A%20cp15%20timer(s)%20running%20at%20200.00MHz%20(phys).%0A%5B%20%20%20%201.383879%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20initializing%20am65%20cpsw%20nuss%20version%200x6BA01103%2C%20cpsw%20version%200x6BA81103%20Ports%3A%203%20quirks%3A00000006%0A%5B%20%20%20%201.397521%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20Use%20random%20MAC%20address%0A%5B%20%20%20%201.438966%5D%20davinci_mdio%208000f00.mdio%3A%20davinci%20mdio%20revision%209.7%2C%20bus%20freq%201000000%0A%5B%20%20%20%201.448696%5D%20NXP%20C45%20TJA1120%208000f00.mdio%3A04%3A%20the%20phy%20does%20not%20support%20MACsec%0A%5B%20%20%20%201.466641%5D%20davinci_mdio%208000f00.mdio%3A%20phy%5B0%5D%3A%20device%208000f00.mdio%3A00%2C%20driver%20Micrel%20KSZ9031%20Gigabit%20PHY%0A%5B%20%20%20%201.476820%5D%20davinci_mdio%208000f00.mdio%3A%20phy%5B4%5D%3A%20device%208000f00.mdio%3A04%2C%20driver%20NXP%20C45%20TJA1120%0A%5B%20%20%20%201.486189%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20initialized%20cpsw%20ale%20version%201.5%0A%5B%20%20%20%201.494016%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20ALE%20Table%20size%20512%2C%20Policers%2032%0A%5B%20%20%20%201.502639%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20CPTS%20ver%200x4e8a010c%2C%20freq%3A500000000%2C%20add_val%3A1%20pps%3A1%0A%5B%20%20%20%201.521311%5D%20am65-cpsw-nuss%208000000.ethernet%3A%20set%20new%20flow-id-base%2019%0A%5B%20%20%20%206.654104%5D%20am65-cpsw-nuss%208000000.ethernet%20eth0%3A%20PHY%20%5B8000f00.mdio%3A04%5D%20driver%20%5BNXP%20C45%20TJA1120%5D%20(irq%3DPOLL)%0A%5B%20%20%20%206.665485%5D%20am65-cpsw-nuss%208000000.ethernet%20eth0%3A%20configuring%20for%20phy%2Frgmii%20link%20mode%0A%5B%20%20%20%206.756195%5D%20am65-cpsw-nuss%208000000.ethernet%20eth1%3A%20PHY%20%5B8000f00.mdio%3A00%5D%20driver%20%5BMicrel%20KSZ9031%20Gigabit%20PHY%5D%20(irq%3DPOLL)%0A%5B%20%20%20%206.767993%5D%20am65-cpsw-nuss%208000000.ethernet%20eth1%3A%20configuring%20for%20phy%2Frgmii%20link%20mode%0Aroot%40am62axx-evm%3A~%23%20zcat%20%2Fproc%2Fconfig.gz%20%7C%20egrep%20%22NXP.*TJA%7CC45%7CPHYLIB%22%0ACONFIG_PHYLIB%3Dy%0ACONFIG_PHYLIB_LEDS%3Dy%0ACONFIG_BCM_NET_PHYLIB%3Dm%0ACONFIG_NXP_C45_TJA11XX_PHY%3Dy%0ACONFIG_NXP_TJA11XX_PHY%3Dy%0ACONFIG_QCOM_NET_PHYLIB%3Dy%0A%23%20Enable%20PHYLIB%20and%20NETWORK_PHY_TIMESTAMPING%20to%20see%20the%20additional%20clocks.%0A%23%20CONFIG_TI_TLC4541%20is%20not%20set%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EPHY%20is%20detected%20and%20probed%20by%20the%20kernel.%3C%2FP%3E%3CP%3ERight%20now%20i%20am%20using%20Microchip%26nbsp%3BEVB-LAN8770M_MC%20Media%20Converter%20which%20supports%20100BASET1%20SPE.%20Will%20it%20be%20compatible%20with%20TJA1120A(1000BASET1)%20and%20autonegotiate%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E