diff mbox series

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

Message ID 1552284700-12872-1-git-send-email-xiaofeis@codeaurora.org
State Accepted
Delegated to: David Miller
Headers show
Series Documentation: devicetree: add a new optional property for port mac address | expand

Commit Message

xiaofeis March 11, 2019, 6:11 a.m. UTC
Add documentation for a new optional property local-mac-address which
is described in ethernet.txt.

Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
---
 Documentation/devicetree/bindings/net/dsa/dsa.txt | 5 +++++
 1 file changed, 5 insertions(+)

Comments

David Miller March 11, 2019, 11:21 p.m. UTC | #1
From: xiaofeis <xiaofeis@codeaurora.org>
Date: Mon, 11 Mar 2019 14:11:40 +0800

> Add documentation for a new optional property local-mac-address which
> is described in ethernet.txt.
> 
> Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>

Applied.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
index cfe8f64..8415f41 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,
@@ -99,6 +103,7 @@  linked into one DSA cluster.
 			port@1 {
 				reg = <1>;
 				label = "lan1";
+				local-mac-address = [00 00 00 00 00 00];
 			};
 
 			port@2 {