From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932090AbcEMJlh (ORCPT ); Fri, 13 May 2016 05:41:37 -0400 Received: from mail-cys01nam02on0072.outbound.protection.outlook.com ([104.47.37.72]:5040 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751405AbcEMJlf (ORCPT ); Fri, 13 May 2016 05:41:35 -0400 X-Greylist: delayed 905 seconds by postgrey-1.27 at vger.kernel.org; Fri, 13 May 2016 05:41:34 EDT Authentication-Results: spf=pass (sender IP is 149.199.60.83) 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: Harini Katakam To: , , , , , , , CC: , , , , , Subject: [RFC PATCH 2/2] Documentation: devictree: Add macb mdio bindings Date: Fri, 13 May 2016 14:56:08 +0530 Message-ID: <1463131568-36948-2-git-send-email-harinik@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1463131568-36948-1-git-send-email-harinik@xilinx.com> References: <1463131568-36948-1-git-send-email-harinik@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22318.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(9170700003)(5008740100001)(586003)(1220700001)(92566002)(107886002)(6806005)(48376002)(5001770100001)(9786002)(50986999)(76176999)(4326007)(81166006)(87936001)(4001430100002)(50226002)(8676002)(2906002)(50466002)(189998001)(63266004)(11100500001)(36386004)(19580405001)(36756003)(33646002)(5003600100002)(19580395003)(8936002)(106466001)(47776003)(229853001)(2950100001)(575784001)(5003940100001)(77096005)(86362001)(107986001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2NAM02HT093;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 245ea396-ea1a-4cdb-f2f3-08d37b10a8de X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(8251501002);SRVR:BL2NAM02HT093; X-Microsoft-Antispam-PRVS: <37b36ab9ae844c2f90e4f4c589d789bf@BL2NAM02HT093.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(13015025)(13023025)(5005006)(13017025)(13024025)(13018025)(10201501046)(3002001)(6055026);SRVR:BL2NAM02HT093;BCL:0;PCL:0;RULEID:;SRVR:BL2NAM02HT093; X-Forefront-PRVS: 0941B96580 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2016 09:26:27.0373 (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.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2NAM02HT093 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentations for macb mdio driver. Signed-off-by: Harini Katakam --- .../devicetree/bindings/net/macb-mdio.txt | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/macb-mdio.txt diff --git a/Documentation/devicetree/bindings/net/macb-mdio.txt b/Documentation/devicetree/bindings/net/macb-mdio.txt new file mode 100644 index 0000000..11c70a3 --- /dev/null +++ b/Documentation/devicetree/bindings/net/macb-mdio.txt @@ -0,0 +1,31 @@ +* Cadence MACB MDIO controller + +Required properties: +- compatible: Should be "cdns,macb-mdio" +- reg: Address and length of the register set of MAC to be used +- clock-names: Tuple listing input clock names. + Required elements: 'pclk', 'hclk' + Optional elements: 'tx_clk' +- clocks: Phandles to input clocks. + +Examples: + + mdio { + compatible = "cdns,macb-mdio"; + reg = <0x0 0xff0b0000 0x0 0x1000>; + clocks = <&clk125>, <&clk125>, <&clk125>; + clock-names = "pclk", "hclk", "tx_clk"; + ethernet_phyC: ethernet-phy@C { + reg = ; + }; + ethernet_phy7: ethernet-phy@7 { + reg = <7>; + }; + ethernet_phy3: ethernet-phy@3 { + reg = <3>; + }; + ethernet_phy8: ethernet-phy@8 { + reg = <8>; + }; + }; + -- 1.7.9.5