Commit 431b7777 authored by Daniel Golle's avatar Daniel Golle Committed by Paolo Abeni
Browse files

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: default avatarDaniel Golle <daniel@makrotopia.org>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/f556ef8be75e37a2f864b9d905a78962bbe76d18.1769916962.git.daniel@makrotopia.org


Reviewed-by: default avatarVladimir Oltean <olteanv@gmail.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 71e1eab8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -105,6 +105,8 @@ patternProperties:
    patternProperties:
      "^(ethernet-)?port@[0-6]$":
        $ref: dsa-port.yaml#
        allOf:
          - $ref: /schemas/phy/phy-common-props.yaml#
        unevaluatedProperties: false

        properties:
@@ -288,6 +290,7 @@ examples:

  - |
    #include <dt-bindings/leds/common.h>
    #include <dt-bindings/phy/phy.h>

    mdio {
        #address-cells = <1>;
@@ -320,6 +323,7 @@ examples:
                    label = "wan";
                    phy-mode = "1000base-x";
                    managed = "in-band-status";
                    tx-polarity = <PHY_POL_INVERT>;
                };

                port@5 {