diff options
author | Sean Anderson <sean.anderson@seco.com> | 2021-10-22 19:35:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-24 15:44:39 +0300 |
commit | 25790844006af9538e1a01554bc043b404fd8845 (patch) | |
tree | 53a93fd9b7819d4e0f5b3d433aa373ef924ce181 /Documentation/devicetree/bindings/net/macb.txt | |
parent | 3cd92eae9104a3dc1aa3a2de020e801061b947af (diff) | |
download | linux-25790844006af9538e1a01554bc043b404fd8845.tar.xz |
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 <sean.anderson@seco.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/macb.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/macb.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index af9df2f01a1c..a1b06fd1962e 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. |