From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH] net: dsa: Add support for port mac address Date: Tue, 5 Mar 2019 14:28:35 +0530 Message-ID: <20190305085835.GD2598@vkoul-mobl> References: <1551773813-34925-1-git-send-email-xiaofeis@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1551773813-34925-1-git-send-email-xiaofeis@codeaurora.org> Sender: netdev-owner@vger.kernel.org To: xiaofeis Cc: davem@davemloft.net, netdev@vger.kernel.org, andrew@lunn.ch, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, vivien.didelot@gmail.com, f.fainelli@gmail.com, niklas.cassel@linaro.org, xiazha@codeaurora.org List-Id: linux-arm-msm@vger.kernel.org On 05-03-19, 16:16, xiaofeis wrote: > Allow port network device's mac address to be retrieved from the > device tree. Reviewed-by: Vinod Koul > Signed-off-by: xiaofeis > --- > Documentation/devicetree/bindings/net/dsa/dsa.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > 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 { > -- > 1.9.1 -- ~Vinod