From: Sean Anderson Date: Fri, 22 Oct 2021 16:35:47 +0000 (-0400) Subject: dt-bindings: net: macb: Add mdio bus child node X-Git-Tag: locking-urgent-2021-11-14~107^2~109 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=25790844006af9538e1a01554bc043b404fd8845;p=users%2Fdwmw2%2Flinux.git dt-bindings: net: macb: Add mdio bus child node 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: Sean Anderson Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller --- diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index af9df2f01a1ce..a1b06fd1962e4 100644 --- a/Documentation/devicetree/bindings/net/macb.txt +++ b/Documentation/devicetree/bindings/net/macb.txt @@ -30,6 +30,10 @@ Required properties: Optional elements: 'tsu_clk' - clocks: Phandles to input clocks. +Optional properties: +- mdio: node containing PHY children. If this node is not present, then PHYs + will be direct children. + The MAC address will be determined using the optional properties defined in ethernet.txt.