[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250324085506.55916-3-ravi@prevas.dk>
Date: Mon, 24 Mar 2025 09:55:06 +0100
From: Rasmus Villemoes <ravi@...vas.dk>
To: Colin Foster <colin.foster@...advantage.com>,
Rob Herring <robh@...nel.org>
Cc: devicetree@...r.kernel.org,
Felix Blix Everberg <felix.blix@...vas.dk>,
netdev@...r.kernel.org,
Vladimir Oltean <vladimir.oltean@....com>,
Rasmus Villemoes <ravi@...vas.dk>
Subject: [PATCH 2/2] dt-bindings: net: mscc,vsc7514-switch: allow specifying 'phys' for switch ports
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@...vas.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
Powered by blists - more mailing lists