mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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>
This commit is contained in:
committed by
Paolo Abeni
parent
71e1eab8d2
commit
431b777762
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user