Skip to content

Commit

Permalink
dt-bindings: net: macb: Add mdio bus child node
Browse files Browse the repository at this point in the history
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 <sean.anderson@seco.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sean Anderson authored and David S. Miller committed Oct 24, 2021
1 parent 3cd92ea commit 2579084
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/net/macb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 2579084

Please sign in to comment.