mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-25 15:41:16 -04:00
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:
committed by
Dinh Nguyen
parent
90d083b05f
commit
c5637e5ceb
@@ -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>;
|
||||
|
||||
|
||||
@@ -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>;
|
||||
|
||||
|
||||
@@ -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>;
|
||||
|
||||
|
||||
@@ -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>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user