arm64: dts: socfpga: agilex5: Fix phy-mode to rgmii as HW provides clock delay

The Agilex5 SoC provides RGMII TX/RX clock delay compensation through
its integrated I/O hardware. Using phy-mode = "rgmii-id" instructs the
MAC driver to additionally insert internal TX/RX delays, resulting in
double delay being applied and causing Ethernet link timing issues.

Change phy-mode to "rgmii" across all Agilex5 device tree files to
reflect that the clock delay is already handled by the hardware and
no additional software-inserted delay is required. Add an inline comment
to satisfy checkpatch and document the hardware-provided delay.

Signed-off-by: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
Nazim Amirul
2026-05-06 20:32:02 -07:00
committed by Dinh Nguyen
parent 90d083b05f
commit c5637e5ceb
4 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ &gpio0 {
&gmac2 {
status = "okay";
phy-mode = "rgmii-id";
phy-mode = "rgmii"; /* TX/RX clock delays provided by Agilex5 I/O hardware */
phy-handle = <&emac2_phy0>;
max-frame-size = <9000>;

View File

@@ -43,7 +43,7 @@ memory@80000000 {
&gmac2 {
status = "okay";
phy-mode = "rgmii-id";
phy-mode = "rgmii"; /* TX/RX clock delays provided by Agilex5 I/O hardware */
phy-handle = <&emac2_phy0>;
max-frame-size = <9000>;

View File

@@ -46,7 +46,7 @@ &gpio1 {
&gmac2 {
status = "okay";
phy-mode = "rgmii-id";
phy-mode = "rgmii"; /* TX/RX clock delays provided by Agilex5 I/O hardware */
phy-handle = <&emac2_phy0>;
max-frame-size = <9000>;

View File

@@ -41,7 +41,7 @@ memory@80000000 {
&gmac0 {
status = "okay";
phy-mode = "rgmii-id";
phy-mode = "rgmii"; /* TX/RX clock delays provided by Agilex5 I/O hardware */
phy-handle = <&emac0_phy0>;
max-frame-size = <9000>;