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 1/2] ARM: dts: marvell: armada-385-linksys: add switch port 6 node
Date: Fri,  4 Dec 2026 21:04:16 -0800	[thread overview]
Message-ID: <20261205050417.61345-2-rosenp@gmail.com> (raw)
In-Reply-To: <20261205050417.61345-1-rosenp@gmail.com>

Switch port 6 is connected to eth0 over RGMII, but only port 5 (SGMII to
eth2) is described. Add port 6 as a second CPU port, as was done for the
Turris Omnia.

The port is strapped to RGMII with both RX and TX clock delays enabled
on the switch side (port status 0x0e07, physical control 0xc03e), so
describe it as rgmii-id.

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

diff --git a/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi b/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi
index 4116ed60f709..58ee283735e0 100644
--- a/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi
@@ -201,6 +201,18 @@ fixed-link {
 					full-duplex;
 				};
 			};
+
+			/* RGMII, delays strapped on the switch */
+			ethernet-port@6 {
+				reg = <6>;
+				phy-mode = "rgmii-id";
+				ethernet = <&eth0>;
+
+				fixed-link {
+					speed = <1000>;
+					full-duplex;
+				};
+			};
 		};
 	};
 };
-- 
2.56.1



  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 ` Rosen Penev [this message]
2026-12-05  5:04 ` [PATCH 2/2] ARM: dts: marvell: armada-385-linksys: use rgmii phy-mode for eth0 Rosen Penev

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-2-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