From: Rasmus Villemoes <ravi@prevas.dk>
To: Colin Foster <colin.foster@in-advantage.com>,
Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org,
Felix Blix Everberg <felix.blix@prevas.dk>,
netdev@vger.kernel.org, Vladimir Oltean <vladimir.oltean@nxp.com>,
Rasmus Villemoes <ravi@prevas.dk>
Subject: [PATCH 2/2] dt-bindings: net: mscc,vsc7514-switch: allow specifying 'phys' for switch ports
Date: Mon, 24 Mar 2025 09:55:06 +0100 [thread overview]
Message-ID: <20250324085506.55916-3-ravi@prevas.dk> (raw)
In-Reply-To: <20250324085506.55916-1-ravi@prevas.dk>
Ports that use SGMII / QSGMII to interface to external phys (or as
fixed-link to a cpu mac) need to configure the internal SerDes
interface appropriately. Allow an optional 'phys' property to describe
those relationships.
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
---
.../devicetree/bindings/net/mscc,vsc7514-switch.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml b/Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml
index 07de52a3a2951..ea741be8edd74 100644
--- a/Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml
+++ b/Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml
@@ -37,6 +37,10 @@ allOf:
patternProperties:
"^port@[0-9a-f]+$":
$ref: ethernet-switch-port.yaml#
+ phys:
+ maxitems: 1
+ description:
+ Reference to SerDes lane.
unevaluatedProperties: false
- if:
@@ -54,6 +58,10 @@ allOf:
patternProperties:
"^port@[0-9a-f]+$":
$ref: /schemas/net/dsa/dsa-port.yaml#
+ phys:
+ maxitems: 1
+ description:
+ Reference to SerDes lane.
unevaluatedProperties: false
properties:
--
2.49.0
next prev parent reply other threads:[~2025-03-24 8:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-24 8:55 [PATCH 0/2] dt-bindings: net: mscc,vsc7514-switch: allow specifying 'phys' for switch ports Rasmus Villemoes
2025-03-24 8:55 ` [PATCH 1/2] Revert "dt-bindings: net: mscc,vsc7514-switch: Simplify DSA and switch references" Rasmus Villemoes
2025-03-24 14:41 ` Rob Herring
2025-03-24 8:55 ` Rasmus Villemoes [this message]
2025-03-24 10:00 ` [PATCH 2/2] dt-bindings: net: mscc,vsc7514-switch: allow specifying 'phys' for switch ports Vladimir Oltean
2025-03-24 14:39 ` Rob Herring
2025-03-24 14:21 ` Rob Herring (Arm)
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=20250324085506.55916-3-ravi@prevas.dk \
--to=ravi@prevas.dk \
--cc=colin.foster@in-advantage.com \
--cc=devicetree@vger.kernel.org \
--cc=felix.blix@prevas.dk \
--cc=netdev@vger.kernel.org \
--cc=robh@kernel.org \
--cc=vladimir.oltean@nxp.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