<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Other NXP ProductsのトピックRe: TJA1120A RGMII Auto-Ethernet</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2388871#M32777</link>
    <description>&lt;P&gt;We are using AM62A7 based iWave SoM, we didnt touch the u-boot/bootloader firmware residing in the eMMC as of now&lt;/P&gt;&lt;LI-CODE lang="c"&gt;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 &amp;gt; mdio list
mdio@f00:
ethernet@8000000port@1:
4 - Generic PHY &amp;lt;--&amp;gt; ethernet@8000000port@1
iWave-G55M &amp;gt; mii info&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;U-Boot firmware is something we didnt change, we just boot our Linux from SD-Card&lt;/P&gt;&lt;P&gt;I have attached k3-am62a7-iwg55m.dtsi, where both ethernets eth0,eth1 are disabled&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;cpsw3g {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;main_rgmii1_pins_default&amp;gt;, &amp;lt;&amp;amp;main_rgmii2_pins_default&amp;gt;;

	cpts@3d000 {
		/* MAP HW3_TS_PUSH to GENF1 */
		ti,pps = &amp;lt;2 1&amp;gt;;
	};
};

&amp;amp;cpsw_port1 {
	status = "disabled";
	phy-mode = "rgmii-rxid";
	phy-handle = &amp;lt;&amp;amp;cpsw3g_phy0&amp;gt;;
};

&amp;amp;cpsw_port2 {
	status = "disabled";
	phy-mode = "rgmii-rxid";
	phy-handle = &amp;lt;&amp;amp;cpsw3g_phy1&amp;gt;;
};

&amp;amp;cpsw3g_mdio {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;main_mdio1_pins_default&amp;gt;;

	cpsw3g_phy0: ethernet-phy@0 {
		reg = &amp;lt;4&amp;gt;;
		adi,rx-internal-delay-ps = &amp;lt;2000&amp;gt;;
	};

	cpsw3g_phy1: ethernet-phy@1 {
		reg = &amp;lt;5&amp;gt;;
		qca,disable-smarteee;
		vddio-supply = &amp;lt;&amp;amp;vddio0&amp;gt;;
			vddio0: vddio-regulator {
			regulator-min-microvolt = &amp;lt;1800000&amp;gt;;
			regulator-max-microvolt = &amp;lt;1800000&amp;gt;;
		};
        };

};&lt;/LI-CODE&gt;&lt;P&gt;In&amp;nbsp;k3-am62a7-iwg55s-prgjj-41.dts, i enabled both eth0 and eth1 with appropiate DT entries&lt;/P&gt;&lt;P&gt;&amp;amp;cpsw_port1 and &amp;amp;cpsw3g_phy0 corresponds to our Auto-Ethernet&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;cpsw_port1 {
	status = "okay";
	phy-mode = "rgmii";
};

&amp;amp;cpsw_port2 {
	status = "okay";
	phy-mode = "rgmii";
};

&amp;amp;cpsw3g_phy0 {
	//compatible = "ethernet-phy-id001b.b031", "ethernet-phy-ieee802.3-c45";
	compatible = "ethernet-phy-id001b.b030";
	nxp,rmii-refclk-in;
	reg = &amp;lt;4&amp;gt;;
};

&amp;amp;cpsw3g_phy1 {
	compatible = "ethernet-phy-id0022.1620";
	reg = &amp;lt;0&amp;gt;;
	txc-skew-ps = &amp;lt;900&amp;gt;;
	rxc-skew-ps = &amp;lt;900&amp;gt;;
	rxd0-skew-ps = &amp;lt;420&amp;gt;;
	rxd1-skew-ps = &amp;lt;420&amp;gt;;
	rxd2-skew-ps = &amp;lt;420&amp;gt;;
	rxd3-skew-ps = &amp;lt;420&amp;gt;;
	txd0-skew-ps = &amp;lt;420&amp;gt;;
	txd1-skew-ps = &amp;lt;420&amp;gt;;
	txd2-skew-ps = &amp;lt;420&amp;gt;;
	txd3-skew-ps = &amp;lt;420&amp;gt;;
	rxdv-skew-ps = &amp;lt;420&amp;gt;;
	txen-skew-ps = &amp;lt;420&amp;gt;;
};&lt;/LI-CODE&gt;&lt;P&gt;Here, my PHY TJA1120A has PHY Identification Register 1: 1B and PHY Identification Register 2: B030.&lt;BR /&gt;So appropiate driver should be&amp;nbsp; &lt;EM&gt;compatible = "ethernet-phy-id001b.b030"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Response for&amp;nbsp;&lt;EM&gt;dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;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&lt;/LI-CODE&gt;&lt;P&gt;I have also attached dmesg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2026 07:54:06 GMT</pubDate>
    <dc:creator>vikyhre</dc:creator>
    <dc:date>2026-07-01T07:54:06Z</dc:date>
    <item>
      <title>TJA1120A RGMII Auto-Ethernet</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2346123#M31501</link>
      <description>&lt;P&gt;We are working on TJA1120A RGMII Auto-Ethernet on our Custom Board based on TI AM62A7&lt;/P&gt;&lt;P&gt;Kindly help us with how to enable this interface on Yocto Linux&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have tried following DTS node format as in &lt;A href="https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/net/nxp%2Ctja11xx.yaml" target="_blank" rel="noopener"&gt;https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/net/nxp%2Ctja11xx.yaml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But driver didnt probe on Kernel dmesg&lt;/P&gt;&lt;P&gt;We understand that this PHY has vendor ID D001B:B031&lt;/P&gt;&lt;P&gt;We have also enabled&amp;nbsp;&lt;SPAN class=""&gt;&lt;STRONG&gt;CONFIG_NXP_TJA11XX_PHY&amp;nbsp;&lt;/STRONG&gt;in kernel config&amp;nbsp;&lt;STRONG&gt;CONFIG_NXP_C45_TJA11XX_PHY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 08:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2346123#M31501</guid>
      <dc:creator>vikyhre</dc:creator>
      <dc:date>2026-04-07T08:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: TJA1120A RGMII Auto-Ethernet</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2346753#M31518</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261428"&gt;@vikyhre&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;To narrow this down, could you please share:&lt;/P&gt;
&lt;P&gt;1) Does U-Boot detect the PHY on the MDIO bus at the expected address? (e.g. output of “mdio list” / “mii info”)&lt;BR /&gt;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:&lt;BR /&gt;dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 07:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2346753#M31518</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2026-04-08T07:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: TJA1120A RGMII Auto-Ethernet</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2388871#M32777</link>
      <description>&lt;P&gt;We are using AM62A7 based iWave SoM, we didnt touch the u-boot/bootloader firmware residing in the eMMC as of now&lt;/P&gt;&lt;LI-CODE lang="c"&gt;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 &amp;gt; mdio list
mdio@f00:
ethernet@8000000port@1:
4 - Generic PHY &amp;lt;--&amp;gt; ethernet@8000000port@1
iWave-G55M &amp;gt; mii info&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;U-Boot firmware is something we didnt change, we just boot our Linux from SD-Card&lt;/P&gt;&lt;P&gt;I have attached k3-am62a7-iwg55m.dtsi, where both ethernets eth0,eth1 are disabled&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;cpsw3g {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;main_rgmii1_pins_default&amp;gt;, &amp;lt;&amp;amp;main_rgmii2_pins_default&amp;gt;;

	cpts@3d000 {
		/* MAP HW3_TS_PUSH to GENF1 */
		ti,pps = &amp;lt;2 1&amp;gt;;
	};
};

&amp;amp;cpsw_port1 {
	status = "disabled";
	phy-mode = "rgmii-rxid";
	phy-handle = &amp;lt;&amp;amp;cpsw3g_phy0&amp;gt;;
};

&amp;amp;cpsw_port2 {
	status = "disabled";
	phy-mode = "rgmii-rxid";
	phy-handle = &amp;lt;&amp;amp;cpsw3g_phy1&amp;gt;;
};

&amp;amp;cpsw3g_mdio {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;main_mdio1_pins_default&amp;gt;;

	cpsw3g_phy0: ethernet-phy@0 {
		reg = &amp;lt;4&amp;gt;;
		adi,rx-internal-delay-ps = &amp;lt;2000&amp;gt;;
	};

	cpsw3g_phy1: ethernet-phy@1 {
		reg = &amp;lt;5&amp;gt;;
		qca,disable-smarteee;
		vddio-supply = &amp;lt;&amp;amp;vddio0&amp;gt;;
			vddio0: vddio-regulator {
			regulator-min-microvolt = &amp;lt;1800000&amp;gt;;
			regulator-max-microvolt = &amp;lt;1800000&amp;gt;;
		};
        };

};&lt;/LI-CODE&gt;&lt;P&gt;In&amp;nbsp;k3-am62a7-iwg55s-prgjj-41.dts, i enabled both eth0 and eth1 with appropiate DT entries&lt;/P&gt;&lt;P&gt;&amp;amp;cpsw_port1 and &amp;amp;cpsw3g_phy0 corresponds to our Auto-Ethernet&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;cpsw_port1 {
	status = "okay";
	phy-mode = "rgmii";
};

&amp;amp;cpsw_port2 {
	status = "okay";
	phy-mode = "rgmii";
};

&amp;amp;cpsw3g_phy0 {
	//compatible = "ethernet-phy-id001b.b031", "ethernet-phy-ieee802.3-c45";
	compatible = "ethernet-phy-id001b.b030";
	nxp,rmii-refclk-in;
	reg = &amp;lt;4&amp;gt;;
};

&amp;amp;cpsw3g_phy1 {
	compatible = "ethernet-phy-id0022.1620";
	reg = &amp;lt;0&amp;gt;;
	txc-skew-ps = &amp;lt;900&amp;gt;;
	rxc-skew-ps = &amp;lt;900&amp;gt;;
	rxd0-skew-ps = &amp;lt;420&amp;gt;;
	rxd1-skew-ps = &amp;lt;420&amp;gt;;
	rxd2-skew-ps = &amp;lt;420&amp;gt;;
	rxd3-skew-ps = &amp;lt;420&amp;gt;;
	txd0-skew-ps = &amp;lt;420&amp;gt;;
	txd1-skew-ps = &amp;lt;420&amp;gt;;
	txd2-skew-ps = &amp;lt;420&amp;gt;;
	txd3-skew-ps = &amp;lt;420&amp;gt;;
	rxdv-skew-ps = &amp;lt;420&amp;gt;;
	txen-skew-ps = &amp;lt;420&amp;gt;;
};&lt;/LI-CODE&gt;&lt;P&gt;Here, my PHY TJA1120A has PHY Identification Register 1: 1B and PHY Identification Register 2: B030.&lt;BR /&gt;So appropiate driver should be&amp;nbsp; &lt;EM&gt;compatible = "ethernet-phy-id001b.b030"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Response for&amp;nbsp;&lt;EM&gt;dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;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&lt;/LI-CODE&gt;&lt;P&gt;I have also attached dmesg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2026 07:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2388871#M32777</guid>
      <dc:creator>vikyhre</dc:creator>
      <dc:date>2026-07-01T07:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: TJA1120A RGMII Auto-Ethernet</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2389778#M32799</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261428"&gt;@vikyhre&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you need additional assistance in the future, we recommend creating a new Community query or supporting ticket &lt;A href="https://support.nxp.com/s/?language=en_US" target="_blank"&gt;https://support.nxp.com/s/?language=en_US&lt;/A&gt; .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Anyway, here's my analyses.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;The following thread might be useful as a reference:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Other-NXP-Products/No-packet-transmission-with-TJA1120-and-i-MX8-Eval-hardware/m-p/2150211" target="_blank"&gt;No packet transmission with TJA1120 and i.MX8 Eval hardware&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;From the log, the MDIO access itself seems to be working, because Linux detects two PHY devices on the MDIO bus:&lt;/DIV&gt;
&lt;PRE&gt;[ 1.358577] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver Micrel KSZ9031 Gigabit PHY&lt;BR /&gt;[ 1.368066] davinci_mdio 8000f00.mdio: phy[4]: device 8000f00.mdio:04, driver unknown&lt;/PRE&gt;
&lt;DIV&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;As a first step, please try updating the TJA1120A PHY node to explicitly specify Clause 45:&lt;/P&gt;
&lt;PRE class="scriptor-paragraph"&gt;&lt;SPAN&gt;&amp;amp;cpsw_port1 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; phy-mode = "rgmii";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* or rgmii-id / rgmii-rxid / rgmii-txid depending on your board delay design */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; phy-handle = &amp;lt;&amp;amp;cpsw3g_phy0&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;amp;cpsw3g_phy0 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "ethernet-phy-id001b.b030", "ethernet-phy-ieee802.3-c45";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = &amp;lt;4&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Also, please remove this property from the TJA1120A node:&lt;/DIV&gt;
&lt;PRE&gt;&amp;nbsp;&lt;SPAN&gt;nxp,rmii-refclk-in;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;DIV&gt;This property is related to RMII reference clock configuration and should not be used for your RGMII TJA1120A setup.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;After rebuilding and booting with the updated DTB, please check whether the driver is attached, for example:&lt;/DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;dmesg | egrep -i "mdio|cpsw|phy|tja|nxp"&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P&gt;The expected result is that the PHY at address 4 is no longer shown as &lt;CODE&gt;driver unknown&lt;/CODE&gt;, but is attached to the NXP C45 TJA11xx/TJA1120 driver.&lt;/P&gt;
&lt;P&gt;If it still remains &lt;CODE&gt;driver unknown&lt;/CODE&gt;, please also confirm that the running kernel really contains the driver support:&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE class="scriptor-paragraph"&gt;&lt;SPAN&gt;zcat /proc/config.gz | egrep "NXP.*TJA|C45|PHYLIB"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;find /lib/modules/$(uname -r) -name "*tja*"&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 12:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Auto-Ethernet/m-p/2389778#M32799</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2026-07-02T12:39:59Z</dc:date>
    </item>
  </channel>
</rss>

