This adds an optional mdio bus child node. If present, the mac will look for PHYs there instead of directly under the top-level node. This eliminates any ambiguity about whether child nodes are PHYs, and allows the MDIO bus to contain non-PHY devices. Signed-off-by: David Yang --- .../devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml b/Documentation/devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml index 89ed6ab1905e..a71529825955 100644 --- a/Documentation/devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml +++ b/Documentation/devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml @@ -53,6 +53,13 @@ properties: - const: mac_ifc - const: phy + mdio: + $ref: mdio.yaml# + unevaluatedProperties: false + description: + Node containing PHY children. If this node is not present, then PHYs will + be direct children. + hisilicon,phy-reset-delays-us: description: Triplet of PHY reset delays in microseconds. items: -- 2.53.0