From patchwork Mon Mar 11 06:11:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: xiaofeis X-Patchwork-Id: 10846743 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8245B6C2 for ; Mon, 11 Mar 2019 06:11:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EEC328EAE for ; Mon, 11 Mar 2019 06:11:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6166E28EC4; Mon, 11 Mar 2019 06:11:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 476E828EF9 for ; Mon, 11 Mar 2019 06:11:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726502AbfCKGLq (ORCPT ); Mon, 11 Mar 2019 02:11:46 -0400 Received: from alexa-out-tai-01.qualcomm.com ([103.229.16.226]:46438 "EHLO alexa-out-tai-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbfCKGLq (ORCPT ); Mon, 11 Mar 2019 02:11:46 -0400 X-IronPort-AV: E=Sophos;i="5.58,467,1544457600"; d="scan'208";a="2034828" Received: from ironmsg03-tai.qualcomm.com ([10.249.140.8]) by alexa-out-tai-01.qualcomm.com with ESMTP; 11 Mar 2019 14:11:42 +0800 X-IronPort-AV: E=McAfee;i="5900,7806,9191"; a="24783898" Received: from akronite-sh-dev01.ap.qualcomm.com ([10.231.215.213]) by ironmsg03-tai.qualcomm.com with ESMTP; 11 Mar 2019 14:11:43 +0800 Received: by akronite-sh-dev01.ap.qualcomm.com (Postfix, from userid 206661) id 985021F71B; Mon, 11 Mar 2019 14:11:41 +0800 (CST) From: xiaofeis To: davem@davemloft.net Cc: vkoul@kernel.org, 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, xiaofeis Subject: [PATCH] Documentation: devicetree: add a new optional property for port mac address Date: Mon, 11 Mar 2019 14:11:40 +0800 Message-Id: <1552284700-12872-1-git-send-email-xiaofeis@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for a new optional property local-mac-address which is described in ethernet.txt. 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 {