diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2024-11-06 08:59:37 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-11 16:04:31 -0800 |
commit | 698b20a679bee9c4021f35e195760798f3530c88 (patch) | |
tree | ebe850e430e85a58d3aba719e21f1e038e0b2ee8 | |
parent | 7eb4c2571443f4efe07dedf9f5a99d7cfe716415 (diff) | |
download | linux-698b20a679bee9c4021f35e195760798f3530c88.tar.gz linux-698b20a679bee9c4021f35e195760798f3530c88.tar.bz2 linux-698b20a679bee9c4021f35e195760798f3530c88.zip |
dt-bindings: net: dsa: microchip: add mdio-parent-bus property for internal MDIO
Introduce `mdio-parent-bus` property in the ksz DSA bindings to
reference the parent MDIO bus when the internal MDIO bus is attached to
it, bypassing the main management interface.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241106075942.1636998-3-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index a4e463819d4d..121a4bbd147b 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -84,6 +84,15 @@ properties: mdio: $ref: /schemas/net/mdio.yaml# unevaluatedProperties: false + properties: + mdio-parent-bus: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle pointing to the MDIO bus controller connected to the + secondary MDIO interface. This property should be used when + the internal MDIO bus is accessed via a secondary MDIO + interface rather than the primary management interface. + patternProperties: "^ethernet-phy@[0-9a-f]$": type: object |