summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorxiaofeis <xiaofeis@codeaurora.org>2019-03-11 09:11:40 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-12 02:21:09 +0300
commitc6873d18cb4a5be9623d468c626b5650451ba44a (patch)
tree7ea7669ca6429a6e74e313cbabff5e61c904df0e /Documentation
parent5c149314d91876f743ee43efd75b6287ec55480e (diff)
downloadlinux-c6873d18cb4a5be9623d468c626b5650451ba44a.tar.xz
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: xiaofeis <xiaofeis@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/dsa/dsa.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
index 35694c0c376b..d66a5292b9d3 100644
--- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
+++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
@@ -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,
@@ -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 {