Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rosen Penev <rosenp@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@bootlin.com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: [PATCH 2/2] ARM: dts: marvell: armada-385-linksys: use rgmii phy-mode for eth0
Date: Fri,  4 Dec 2026 21:04:17 -0800	[thread overview]
Message-ID: <20261205050417.61345-3-rosenp@gmail.com> (raw)
In-Reply-To: <20261205050417.61345-1-rosenp@gmail.com>

eth0 is connected to switch port 6 through a fixed link. The RGMII clock
delays are added by the switch, which is described as rgmii-id, so the
MAC side should be plain rgmii. This matches the Turris Omnia, which has
the same eth0/eth1 to 88E6176 wiring.

mvneta does not implement RGMII delays and treats all RGMII modes alike,
so there is no functional change.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 arch/arm/boot/dts/marvell/armada-385-linksys.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi b/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi
index 58ee283735e0..3005a3afbb59 100644
--- a/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi
@@ -98,7 +98,8 @@ &bm_bppi {
 
 &eth0 {
 	status = "okay";
-	phy-mode = "rgmii-id";
+	/* RGMII delays are added by switch port 6 */
+	phy-mode = "rgmii";
 	buffer-manager = <&bm>;
 	bm,pool-long = <0>;
 	bm,pool-short = <1>;
-- 
2.56.1



      parent reply	other threads:[~2026-12-05  5:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05  5:04 [PATCH 0/2] ARM: dts: armada-385-linksys: describe switch port 6 Rosen Penev
2026-12-05  5:04 ` [PATCH 1/2] ARM: dts: marvell: armada-385-linksys: add switch port 6 node Rosen Penev
2026-12-05  5:04 ` Rosen Penev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205050417.61345-3-rosenp@gmail.com \
    --to=rosenp@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregory.clement@bootlin.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=robh@kernel.org \
    --cc=sebastian.hesselbarth@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox