Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752134AbcDUJTE (ORCPT ); Thu, 21 Apr 2016 05:19:04 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:7387 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752066AbcDUJS7 (ORCPT ); Thu, 21 Apr 2016 05:18:59 -0400 X-IronPort-AV: E=Sophos;i="5.24,512,1455004800"; d="scan'208";a="93743761" From: Pramod Kumar To: Rob Herring , Catalin Marinas , Will Deacon , Masahiro Yamada , Chen-Yu Tsai Cc: BCM Kernel Feedback , Pawel Moll , Mark Rutland , Arnd Bergmann , Suzuki K Poulose , Punit Agrawal , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Pramod Kumar Subject: [PATCH 5/6] Documentation: Binding doc for ethernet master in NS2 Date: Thu, 21 Apr 2016 14:48:42 +0530 Message-Id: <1461230323-27891-6-git-send-email-pramod.kumar@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461230323-27891-1-git-send-email-pramod.kumar@broadcom.com> References: <1461230323-27891-1-git-send-email-pramod.kumar@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1526 Lines: 51 Adding binding doc for ethernet master present in shared MDIO controller. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/net/brcm,iproc-mdio-shared.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,iproc-mdio-shared.txt diff --git a/Documentation/devicetree/bindings/net/brcm,iproc-mdio-shared.txt b/Documentation/devicetree/bindings/net/brcm,iproc-mdio-shared.txt new file mode 100644 index 0000000..1ffdd4b --- /dev/null +++ b/Documentation/devicetree/bindings/net/brcm,iproc-mdio-shared.txt @@ -0,0 +1,32 @@ +Broadcom Ethernet master for shared mdio controller + +Required properties: +- compatible: must be "brcm,iproc-mdio-master-eth" +- reg: master id of Ethernet block +- address-cells: should be 1 +- size-cells: should be 0 + +Sub-nodes: + Each port's PHY should be represented as a sub-node. + +Sub-nodes required properties: +- reg: the PHY number +- phy-mode: media type connecting the PHY and MAC. + + +Example: + eth-master@0 { + compatible = "brcm,iproc-mdio-master-eth"; + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + gphy0: eth-phy@10 { + reg = <0x10>; + phy-mode = "mii"; + }; + status = "ok" + }; + +For more info on ethernet phy binding, please,refer to: +Documentation/devicetree/bindings/net/phy.txt +Documentation/devicetree/bindings/net/ethernet.txt -- 1.9.1