From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418AbcGDJFA (ORCPT ); Mon, 4 Jul 2016 05:05:00 -0400 Received: from mail-sn1nam02on0050.outbound.protection.outlook.com ([104.47.36.50]:29536 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750895AbcGDJEx (ORCPT ); Mon, 4 Jul 2016 05:04:53 -0400 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; From: Kedareswara rao Appana To: , , , , , , , , , CC: , , , , Kedareswara rao Appana 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 Content-Type: text/plain 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; + }; + }; -- 2.1.2