From patchwork Wed Sep 30 20:32:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Parameswaran X-Patchwork-Id: 524548 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 6B4B5140D57 for ; Thu, 1 Oct 2015 06:32:52 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932943AbbI3Uca (ORCPT ); Wed, 30 Sep 2015 16:32:30 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:36030 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932867AbbI3Uc1 (ORCPT ); Wed, 30 Sep 2015 16:32:27 -0400 X-IronPort-AV: E=Sophos;i="5.17,613,1437462000"; d="scan'208";a="76528155" Received: from irvexchcas07.broadcom.com (HELO IRVEXCHCAS07.corp.ad.broadcom.com) ([10.9.208.55]) by mail-gw1-out.broadcom.com with ESMTP; 30 Sep 2015 15:18:36 -0700 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS07.corp.ad.broadcom.com (10.9.208.55) with Microsoft SMTP Server (TLS) id 14.3.235.1; Wed, 30 Sep 2015 13:32:26 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.3.235.1; Wed, 30 Sep 2015 13:32:26 -0700 Received: from mail.broadcom.com (unknown [10.136.4.147]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id A486E40FE6; Wed, 30 Sep 2015 13:29:39 -0700 (PDT) From: Arun Parameswaran To: Florian Fainelli CC: "David S. Miller" , , , , , Arun Parameswaran Subject: [PATCH 1/4] dt-bindings: net: Broadcom iProc MDIO bus driver device tree binding Date: Wed, 30 Sep 2015 13:32:40 -0700 Message-ID: <1443645163-2822-2-git-send-email-arunp@broadcom.com> X-Mailer: git-send-email 2.5.2 In-Reply-To: <1443645163-2822-1-git-send-email-arunp@broadcom.com> References: <1443645163-2822-1-git-send-email-arunp@broadcom.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add device tree binding documentation for the Broadcom iProc MDIO bus driver. Signed-off-by: Arun Parameswaran Reviewed-by: Florian Fainelli --- .../devicetree/bindings/net/brcm,iproc-mdio.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt diff --git a/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt b/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt new file mode 100644 index 0000000..689f97c --- /dev/null +++ b/Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt @@ -0,0 +1,23 @@ +* Broadcom iProc MDIO bus controller + +Required properties: +- compatible: should be "brcm,iproc-mdio" +- reg: address and length of the register set for the MDIO interface +- #size-cells: must be 1 +- #address-cells: must be 0 + +Child nodes of this MDIO bus controller node are standard Ethernet PHY device +nodes as described in Documentation/devicetree/bindings/net/phy.txt + +Example: + +mdio@0x18002000 { + compatible = "brcm,iproc-mdio"; + reg = <0x18002000 0x8>; + #size-cells = <1>; + #address-cells = <0>; + + enet-gphy@0 { + reg = <0>; + }; +};