]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Documentation: devicetree: add a new optional property for port mac address
authorxiaofeis <xiaofeis@codeaurora.org>
Mon, 11 Mar 2019 06:11:40 +0000 (14:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Mar 2019 23:21:09 +0000 (16:21 -0700)
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>
Documentation/devicetree/bindings/net/dsa/dsa.txt

index 35694c0c376b91c8b51982d1dce992682b983d92..d66a5292b9d326cc7d4a68062fd4bfb9f3adb256 100644 (file)
@@ -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 {