From patchwork Mon Jul 4 09:04:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Appana Durga Kedareswara rao X-Patchwork-Id: 9212037 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 032296048B for ; Mon, 4 Jul 2016 09:06:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E563628603 for ; Mon, 4 Jul 2016 09:06:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D97D92860A; Mon, 4 Jul 2016 09:06:54 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 55AEA28603 for ; Mon, 4 Jul 2016 09:06:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bJzp1-0004nP-0F; Mon, 04 Jul 2016 09:05:43 +0000 Received: from mail-sn1nam02on0074.outbound.protection.outlook.com ([104.47.36.74] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bJzoa-0003L0-6c for linux-arm-kernel@lists.infradead.org; Mon, 04 Jul 2016 09:05:17 +0000 Received: from SN1NAM02FT033.eop-nam02.prod.protection.outlook.com (10.152.72.52) by SN1NAM02HT044.eop-nam02.prod.protection.outlook.com (10.152.72.107) with Microsoft SMTP Server (TLS) id 15.1.523.9; Mon, 4 Jul 2016 09:04:51 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by SN1NAM02FT033.mail.protection.outlook.com (10.152.72.133) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.534.7 via Frontend Transport; Mon, 4 Jul 2016 09:04:51 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:46554 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1bJzo7-0004xk-Oy; Mon, 04 Jul 2016 02:04:47 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1bJzoA-0008B7-PA; Mon, 04 Jul 2016 02:04:50 -0700 Received: from xsj-pvapsmtp01 (mailhost.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u6494lsx004356; Mon, 4 Jul 2016 02:04:47 -0700 Received: from [172.23.64.208] (helo=xhdrdevl6.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1bJzo7-0008AP-1G; Mon, 04 Jul 2016 02:04:47 -0700 Received: by xhdrdevl6.xilinx.com (Postfix, from userid 13614) id 3149AF2000F; Mon, 4 Jul 2016 14:34:46 +0530 (IST) From: Kedareswara rao Appana To: , , , , , , , , , Subject: [RFC PATCH v2 1/4] Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree binding documentation Date: Mon, 4 Jul 2016 14:34:41 +0530 Message-ID: <1467623084-15471-2-git-send-email-appanad@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1467623084-15471-1-git-send-email-appanad@xilinx.com> References: <1467623084-15471-1-git-send-email-appanad@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22430.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(87936001)(50226002)(81166006)(8936002)(46386002)(8676002)(586003)(106466001)(189998001)(63266004)(42186005)(50986999)(356003)(50466002)(229853001)(45336002)(33646002)(36386004)(103686003)(7846002)(48376002)(92566002)(2950100001)(81156014)(4326007)(2201001)(2906002)(47776003)(36756003)(5003940100001)(305945005)(90966002)(19580395003)(4001430100002)(52956003)(4001450100002)(76176999)(5001770100001)(107886002)(19580405001)(11100500001)(86362001)(921003)(107986001)(5001870100001)(83996005)(217873001)(2101003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1NAM02HT044; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; MX:1; A:1; CAT:NONE; LANG:en; CAT:NONE; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 04557c51-0a38-4ea2-7c3d-08d3a3ea423b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:SN1NAM02HT044; X-Microsoft-Antispam-PRVS: <7640cadc68dc4281b9a01830a676100d@SN1NAM02HT044.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(13017025)(5005006)(13015025)(13018025)(13023025)(13024025)(3002001)(10201501046)(6055026); SRVR:SN1NAM02HT044; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM02HT044; X-Forefront-PRVS: 0993689CD1 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2016 09:04:51.4335 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM02HT044 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160704_020516_334266_D842B480 X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, Kedareswara rao Appana , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Device-tree binding documentation for xilinx gmiitorgmii converter. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. .../devicetree/bindings/net/xilinx_gmii2rgmii.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt diff --git a/Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt b/Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt new file mode 100644 index 0000000..d11e259 --- /dev/null +++ b/Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt @@ -0,0 +1,31 @@ +* XILINX GMIITORGMII Converter Driver + +The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media +Independent Interface (RGMII) core provides the RGMII between RGMII-compliant +Ethernet physical media devices (PHY) and the Gigabit Ethernet controller. +This core can be used in all three modes of operation(10/100/1000 Mb/s). +The Management Data Input/Output (MDIO) interface is used to configure the +Speed of operation. This core can switch dynamically between the three +Different speed modes by configuring the conveter register through mdio write. + +The MDIO is a bus to which the PHY devices are connected. For each +device that exists on this bus, a child node should be created. See +the definition of the PHY node in booting-without-of.txt for an example +of how to define a PHY. + +Required properties: + - compatible : Should be "xlnx,gmiitorgmii" + - reg : The ID number for the phy, usually a small integer + +Example: + mdio { + #address-cells = <1>; + #size-cells = <0>; + ethernet-phy@0 { + ...... + }; + gmii_to_rgmii: gmii_to_rgmii@8 { + compatible = "xlnx,gmiitorgmii"; + reg = <8>; + }; + };