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

login
register
mail settings
Submitter xiaofeis@codeaurora.org
Date March 11, 2019, 6:11 a.m.
Message ID <1552284700-12872-1-git-send-email-xiaofeis@codeaurora.org>
Download mbox | patch
Permalink /patch/745379/
State New
Headers show

Comments

xiaofeis@codeaurora.org - March 11, 2019, 6:11 a.m.
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(+)
David Miller - March 11, 2019, 11:21 p.m.
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.

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 {