Skip to content

Commit 431b777

Browse files
dangowrtPaolo Abeni
authored andcommitted
dt-bindings: net: dsa: lantiq,gswip: reference common PHY properties
Reference the common PHY properties so RX and TX SerDes lane polarity of the SGMII/1000Base-X/2500Base-X port can be configured. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/f556ef8be75e37a2f864b9d905a78962bbe76d18.1769916962.git.daniel@makrotopia.org Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 71e1eab commit 431b777

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ patternProperties:
105105
patternProperties:
106106
"^(ethernet-)?port@[0-6]$":
107107
$ref: dsa-port.yaml#
108+
allOf:
109+
- $ref: /schemas/phy/phy-common-props.yaml#
108110
unevaluatedProperties: false
109111

110112
properties:
@@ -288,6 +290,7 @@ examples:
288290
289291
- |
290292
#include <dt-bindings/leds/common.h>
293+
#include <dt-bindings/phy/phy.h>
291294
292295
mdio {
293296
#address-cells = <1>;
@@ -320,6 +323,7 @@ examples:
320323
label = "wan";
321324
phy-mode = "1000base-x";
322325
managed = "in-band-status";
326+
tx-polarity = <PHY_POL_INVERT>;
323327
};
324328
325329
port@5 {

0 commit comments

Comments
 (0)