Commit c6873d18 authored by xiaofeis's avatar xiaofeis Committed by David S. Miller

Documentation: devicetree: add a new optional property for port mac address

Add documentation for a new optional property local-mac-address which
is described in ethernet.txt.
Signed-off-by: default avatarxiaofeis <xiaofeis@codeaurora.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5c149314
...@@ -71,6 +71,10 @@ properties, described in binding documents: ...@@ -71,6 +71,10 @@ properties, described in binding documents:
Documentation/devicetree/bindings/net/fixed-link.txt Documentation/devicetree/bindings/net/fixed-link.txt
for details. for details.
- local-mac-address : See
Documentation/devicetree/bindings/net/ethernet.txt
for details.
Example Example
The following example shows three switches on three MDIO busses, The following example shows three switches on three MDIO busses,
...@@ -97,6 +101,7 @@ linked into one DSA cluster. ...@@ -97,6 +101,7 @@ linked into one DSA cluster.
port@1 { port@1 {
reg = <1>; reg = <1>;
label = "lan1"; label = "lan1";
local-mac-address = [00 00 00 00 00 00];
}; };
port@2 { port@2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment