dt-bindings: net: ethernet-phy: add property enet-phy-pair-polarity

Add the property enet-phy-pair-polarity to describe the polarity of the
PHY pairs. To ease PCB designs some manufacturers allow to wire the
pairs with a reverse polarity and provide a way to configure it.

The property 'enet-phy-pair-polarity' sets the polarity of each pair.
Bit 0 to 3 configure the polarity or pairs A to D, if set to 1 the
polarity is reversed for this pair.

Signed-off-by: Damien Dejean <dam.dejean@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260318215502.106528-4-dam.dejean@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Damien Dejean
2026-03-18 22:55:00 +01:00
committed by Jakub Kicinski
parent 330296ea9e
commit 58ffb5910f

View File

@@ -132,6 +132,14 @@ properties:
description:
For normal (0) or reverse (1) order of the pairs (ABCD -> DCBA).
enet-phy-pair-polarity:
$ref: /schemas/types.yaml#/definitions/uint32
maximum: 0xf
description:
A bitmap to describe pair polarity swap. Bit 0 to swap polarity of pair A,
bit 1 to swap polarity of pair B, bit 2 to swap polarity of pair C and bit
3 to swap polarity of pair D.
eee-broken-100tx:
$ref: /schemas/types.yaml#/definitions/flag
description: