TJA1120A RGMII Auto-Ethernet

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TJA1120A RGMII Auto-Ethernet

670件の閲覧回数
vikyhre
Contributor I

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

3 返答(返信)

630件の閲覧回数
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 件の賞賛
返信

112件の閲覧回数
vikyhre
Contributor I

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 件の賞賛
返信

4件の閲覧回数
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 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2346123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETJA1120A%20RGMII%20%E8%BB%8A%E8%BC%89%E3%82%A4%E3%83%BC%E3%82%B5%E3%83%8D%E3%83%83%E3%83%88%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E7%A7%81%E3%81%9F%E3%81%A1%E3%81%AFTI%20AM62A7%E3%82%92%E3%83%99%E3%83%BC%E3%82%B9%E3%81%AB%E3%81%97%E3%81%9F%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%9C%E3%83%BC%E3%83%89%E4%B8%8A%E3%81%A7TJA1120A%20RGMII%E8%BB%8A%E8%BC%89%E3%82%A4%E3%83%BC%E3%82%B5%E3%83%8D%E3%83%83%E3%83%88%E3%81%AE%E9%96%8B%E7%99%BA%E3%81%AB%E5%8F%96%E3%82%8A%E7%B5%84%E3%82%93%E3%81%A7%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3EYocto%20Linux%E3%81%A7%E3%81%93%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%95%E3%82%A7%E3%83%BC%E3%82%B9%E3%82%92%E6%9C%89%E5%8A%B9%E3%81%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E6%95%99%E3%81%88%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%3CP%3E%E7%A7%81%E3%81%9F%E3%81%A1%E3%81%AF%E3%80%81%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%E3%81%AB%E8%A8%98%E8%BC%89%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%20DTS%20%E3%83%8E%E3%83%BC%E3%83%89%E5%BD%A2%E5%BC%8F%E3%81%AB%E5%BE%93%E3%81%A3%E3%81%A6%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FP%3E%3CP%3E%E3%81%97%E3%81%8B%E3%81%97%E3%80%81%E3%83%89%E3%83%A9%E3%82%A4%E3%83%90%E3%81%AF%E3%82%AB%E3%83%BC%E3%83%8D%E3%83%ABdmesg%E3%82%92%E8%AA%BF%E3%81%B9%E3%81%AA%E3%81%8B%E3%81%A3%E3%81%9F%3C%2FP%3E%3CP%3E%E3%81%93%E3%81%AEPHY%E3%81%AE%E3%83%99%E3%83%B3%E3%83%80%E3%83%BCID%E3%81%AFD001B%3AB031%E3%81%A7%E3%81%82%E3%82%8B%E3%81%A8%E7%90%86%E8%A7%A3%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%81%BE%E3%81%9F%E3%80%81%3CSPAN%20class%3D%22%22%3E%E3%82%AB%E3%83%BC%E3%83%8D%E3%83%AB%E8%A8%AD%E5%AE%9A%E3%81%A7%3CSTRONG%3ECONFIG_NXP_C45_TJA11XX_PHY%3C%2FSTRONG%3E%3CSTRONG%3E%E3%82%92%3C%2FSTRONG%3E%3C%2FSPAN%3E%E6%9C%89%E5%8A%B9%E3%81%AB%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%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%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261428%22%20target%3D%22_blank%22%3E%40vikyhre%20%E3%81%95%E3%82%93%3C%2FA%3E%E3%80%82%3C%2FP%3E%0A%3CP%3E%E7%B5%9E%E3%82%8A%E8%BE%BC%E3%82%80%E3%81%9F%E3%82%81%E3%81%AB%E3%80%81%E4%BB%A5%E4%B8%8B%E3%81%AE%E6%83%85%E5%A0%B1%E3%82%92%E5%85%B1%E6%9C%89%E3%81%97%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%8B%EF%BC%9F%3C%2FP%3E%0A%3CP%3E1)%20U-Boot%E3%81%AF%E3%80%81MDIO%E3%83%90%E3%82%B9%E4%B8%8A%E3%81%AEPHY%E3%82%92%E6%83%B3%E5%AE%9A%E3%81%95%E3%82%8C%E3%81%9F%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%A7%E6%A4%9C%E5%87%BA%E3%81%97%E3%81%BE%E3%81%99%E3%81%8B%EF%BC%9F%EF%BC%88%E4%BE%8B%E3%81%88%E3%81%B0%E3%80%8Cmdio%20list%E3%80%8D%2F%E3%80%8Cmii%20info%E3%80%8D%E3%81%AE%E5%87%BA%E5%8A%9B%EF%BC%89%3CBR%20%2F%3E%202)%20CPSW%E3%83%9D%E3%83%BC%E3%83%88%E3%83%8E%E3%83%BC%E3%83%89%E3%81%A8MDIO%2FPHY%E3%83%8E%E3%83%BC%E3%83%89%EF%BC%88phy-handle%E3%80%81phy-mode%E3%80%81PHY%20reg%2Faddress%EF%BC%89%E3%81%AB%E9%96%A2%E3%81%99%E3%82%8B%E9%96%A2%E9%80%A3%E3%81%99%E3%82%8BDTS%E3%82%B9%E3%83%8B%E3%83%9A%E3%83%83%E3%83%88%E3%81%A8%E3%80%81MDIO%2FPHY%E5%88%9D%E6%9C%9F%E5%8C%96%E3%81%AB%E9%96%A2%E9%80%A3%E3%81%99%E3%82%8B%E3%83%96%E3%83%BC%E3%83%88%E3%83%AD%E3%82%B0%E8%A1%8C%E3%82%92%E5%85%B1%E6%9C%89%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3CBR%20%2F%3E%20dmesg%20%7C%20egrep%20-i%20%22mdio%7Ccpsw%7Cphy%7Ctja%7Cnxp%22%3C%2FP%3E%0A%3CP%3E%E3%81%93%E3%82%8C%E3%82%892%E3%81%A4%E3%81%AE%E9%A0%85%E7%9B%AE%E3%81%8C%E3%81%82%E3%82%8C%E3%81%B0%E3%80%81PHY%E3%81%8CMDIO%EF%BC%88%E3%83%8F%E3%83%BC%E3%83%89%E3%82%A6%E3%82%A7%E3%82%A2%2F%E3%83%94%E3%83%B3%E3%83%9E%E3%83%AB%E3%83%81%E3%83%97%E3%83%AC%E3%82%AF%E3%82%B5%2F%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%2F%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%EF%BC%89%E4%B8%8A%E3%81%A7%E8%AA%8D%E8%AD%98%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%E3%81%AE%E3%81%8B%E3%80%81%E3%81%9D%E3%82%8C%E3%81%A8%E3%82%82DT%E3%83%90%E3%82%A4%E3%83%B3%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%2F%E5%8F%82%E7%85%A7%E3%81%AE%E5%95%8F%E9%A1%8C%E3%81%AA%E3%81%AE%E3%81%8B%E3%82%92%E8%BF%85%E9%80%9F%E3%81%AB%E5%88%A4%E6%96%AD%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E3%83%91%E3%83%99%E3%83%AB%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%3E%E7%A7%81%E3%81%9F%E3%81%A1%E3%81%AFAM62A7%E3%83%99%E3%83%BC%E3%82%B9%E3%81%AEiWave%20SoM%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%8A%E3%82%8A%E3%80%81%E7%8F%BE%E6%99%82%E7%82%B9%E3%81%A7%E3%81%AFeMMC%E3%81%AB%E6%A0%BC%E7%B4%8D%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8Bu-boot%2F%E3%83%96%E3%83%BC%E3%83%88%E3%83%AD%E3%83%BC%E3%83%80%E3%83%BC%E3%83%95%E3%82%A1%E3%83%BC%E3%83%A0%E3%82%A6%E3%82%A7%E3%82%A2%E3%81%AB%E3%81%AF%E6%89%8B%E3%82%92%E5%8A%A0%E3%81%88%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%20translate%3D%22no%22%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%3EU-Boot%E3%81%AE%E3%83%95%E3%82%A1%E3%83%BC%E3%83%A0%E3%82%A6%E3%82%A7%E3%82%A2%E3%81%AF%E5%A4%89%E6%9B%B4%E3%81%9B%E3%81%9A%E3%80%81Linux%E3%82%92SD%E3%82%AB%E3%83%BC%E3%83%89%E3%81%8B%E3%82%89%E8%B5%B7%E5%8B%95%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%3C%2FP%3E%3CP%3Ek3-am62a7-iwg55m.dtsi%20%E3%82%92%E6%B7%BB%E4%BB%98%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%81%93%E3%81%93%E3%81%A7%E3%80%81%E4%B8%A1%E6%96%B9%E3%81%AE%E3%82%A4%E3%83%BC%E3%82%B5%E3%83%8D%E3%83%83%E3%83%88eth0%E3%80%81eth1%E3%81%8C%E7%84%A1%E5%8A%B9%E5%8C%96%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%20translate%3D%22no%22%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%3Ek3-am62a7-iwg55s-prgjj-41.dts%20%E3%81%A7%E3%81%AF%E3%80%81%E9%81%A9%E5%88%87%E3%81%AA%20DT%20%E3%82%A8%E3%83%B3%E3%83%88%E3%83%AA%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%20eth0%20%E3%81%A8%20eth1%20%E3%81%AE%E4%B8%A1%E6%96%B9%E3%82%92%E6%9C%89%E5%8A%B9%E3%81%AB%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FP%3E%3CP%3E%26amp%3Bcpsw_port1%E3%81%A8%26amp%3Bcpsw3g_phy0%E3%81%AF%E3%82%AA%E3%83%BC%E3%83%88%E3%82%A4%E3%83%BC%E3%82%B5%E3%83%8D%E3%83%83%E3%83%88%E3%81%AB%E5%AF%BE%E5%BF%9C%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%20translate%3D%22no%22%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%3E%E3%81%93%E3%81%93%E3%81%A7%E3%80%81%E7%A7%81%E3%81%AEPHY%20TJA1120A%E3%81%AB%E3%81%AFPHY%E8%AD%98%E5%88%A5%E3%83%AC%E3%82%B8%E3%82%B9%E3%82%BF1%3A1B%E3%81%A8PHY%E8%AD%98%E5%88%A5%E3%83%AC%E3%82%B8%E3%82%B9%E3%82%BF2%3AB030%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%E3%81%97%E3%81%9F%E3%81%8C%E3%81%A3%E3%81%A6%E3%80%81%E9%81%A9%E5%88%87%E3%81%AA%E3%83%89%E3%83%A9%E3%82%A4%E3%83%90%E3%83%BC%E3%81%AF%20%3CEM%3E%E3%82%A4%E3%83%BC%E3%82%B5%E3%83%8D%E3%83%83%E3%83%88%3C%2FEM%3E%20%E3%81%A8%E4%BA%92%E6%8F%9B%E6%80%A7%E3%81%8C%E3%81%82%E3%82%8B%E3%81%AF%E3%81%9A%E3%81%A7%E3%81%99%20%3D%20%22ethernet-phy-id001b.b030%22%3C%2FP%3E%3CP%3E%3CEM%3Edmesg%20%7C%20egrep%20-i%20%22mdio%7Ccpsw%7Cphy%7Ctja%7Cnxp%22%3C%2FEM%3E%E3%81%AB%E5%AF%BE%E3%81%99%E3%82%8B%E5%BF%9C%E7%AD%94%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%20translate%3D%22no%22%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%3Edmesg%E3%82%82%E6%B7%BB%E4%BB%98%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E