[PATCH RFC v3 02/12] dt-bindings: net: nxp,s32-dwmac: Document pcs-handle
From: Jan Petrous via B4 Relay
Date: Sat Sep 19 2026 - 02:56:43 EST
From: "Jan Petrous (OSS)" <jan.petrous@xxxxxxxxxxx>
When the MAC output is routed to the embedded SerDes for SGMII, the PCS
is one of the SerDes XPCS instances. Document that it is referenced
through the standard pcs-handle property defined by
ethernet-controller.yaml, pointing at the SerDes XPCS lane child node.
The type already comes from the ethernet-controller.yaml reference in
the schema chain; this only records the intent, the same way
renesas,rzn1-gmac.yaml does.
Signed-off-by: Jan Petrous (OSS) <jan.petrous@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml b/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml
index 753a04941659..b168decb540c 100644
--- a/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml
@@ -15,7 +15,8 @@ description:
The SoC series S32G2xx and S32G3xx feature one DWMAC instance,
the SoC S32R45 has two instances. The devices can use RGMII/RMII/MII
interface over Pinctrl device or the output can be routed
- to the embedded SerDes for SGMII connectivity.
+ to the embedded SerDes for SGMII connectivity, in which case the
+ SerDes XPCS lane acting as the PCS is referenced via pcs-handle.
The DWMAC instances have connected all RX/TX queues interrupts,
enabling load balancing of data traffic across all CPU cores.
@@ -81,6 +82,14 @@ properties:
- const: rx
- const: ptp_ref
+ pcs-handle:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ maxItems: 1
+ description:
+ phandle pointing to the SerDes XPCS lane child node that provides
+ the SGMII PCS for this MAC. See
+ Documentation/devicetree/bindings/phy/nxp,s32g-serdes.yaml.
+
required:
- clocks
- clock-names
--
2.55.0