[PATCH net-next v3 4/5] dt-bindings: net: maxlinear: add MxL86211C lane mapping support

From: Robert Marko

Date: Tue Oct 20 2026 - 05:39:31 EST


Describe the optional board-level mapping from physical TPI lanes to the
MxL86211C analog front ends (ASPs). This allows DTS to describe wiring
that differs from the hardware reset mapping.

Select nodes using the new property so invalid uses are checked even
without the MxL86211C compatible.

Signed-off-by: Robert Marko <robert.marko@xxxxxxxxxx>
---
Changes in v3:
- Select nodes using the lane-map property so misuse is validated.
- Restrict the property through the negated compatible condition.

Changes in v2:
- Define the lane-map property at the top level for type checking.
- Describe ASPs as analog front ends.

.../bindings/net/maxlinear,gpy2xx.yaml | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml b/Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml
index 53f430e121510..7b6140baf1757 100644
--- a/Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml
+++ b/Documentation/devicetree/bindings/net/maxlinear,gpy2xx.yaml
@@ -20,6 +20,8 @@ select:
- compatible
- required:
- maxlinear,use-broken-interrupts
+ - required:
+ - maxlinear,lane-asp-map

allOf:
- $ref: ethernet-phy.yaml#
@@ -34,6 +36,7 @@ allOf:
then:
properties:
vddp-supply: false
+ maxlinear,lane-asp-map: false

properties:
vddp-supply:
@@ -41,6 +44,21 @@ properties:
Optional regulator supplying the VDDP pin. Its voltage configures the
MDIO, MDC, and MDINT pad voltage and must be either 1.8 V or 3.3 V.

+ maxlinear,lane-asp-map:
+ description: |
+ Mapping of physical TPI lanes A through D to analog front ends (ASPs)
+ A through D. The array index identifies the physical TPI lane, while
+ its value identifies the analog front end, encoded as 0 through 3.
+ Each analog front end must be mapped exactly once. Omit the property to
+ retain the hardware reset mapping.
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ minItems: 4
+ maxItems: 4
+ uniqueItems: true
+ items:
+ minimum: 0
+ maximum: 3
+
maxlinear,use-broken-interrupts:
description: |
Interrupts are broken on some GPY2xx PHYs in that they keep the
@@ -90,6 +108,9 @@ examples:
reg = <0>;
vddp-supply = <&vddp>;

+ /* Swap physical TPI lanes C and D. */
+ maxlinear,lane-asp-map = <0 1 3 2>;
+
};
};

--
2.56.0