Skip to content

Commit

Permalink
Documentation: devicetree: add a new optional property for port mac a…
Browse files Browse the repository at this point in the history
…ddress

Add documentation for a new optional property local-mac-address which
is described in ethernet.txt.

Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
xiaofeis authored and David S. Miller committed Mar 11, 2019
1 parent 5c14931 commit c6873d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/net/dsa/dsa.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ properties, described in binding documents:
Documentation/devicetree/bindings/net/fixed-link.txt
for details.

- local-mac-address : See
Documentation/devicetree/bindings/net/ethernet.txt
for details.

Example

The following example shows three switches on three MDIO busses,
Expand All @@ -97,6 +101,7 @@ linked into one DSA cluster.
port@1 {
reg = <1>;
label = "lan1";
local-mac-address = [00 00 00 00 00 00];
};

port@2 {
Expand Down

0 comments on commit c6873d1

Please sign in to comment.