From patchwork Tue Nov 5 18:18:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 178541 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1120191ilf; Tue, 5 Nov 2019 10:19:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzZz1TLZGHaKm7jOmLxiwlyNu0EyZGg/Gfwt57PnEC6aNGTyIPC5HVijgZPAEE4VXY2xIKy X-Received: by 2002:a05:6402:17ec:: with SMTP id t12mr38080912edy.37.1572977975424; Tue, 05 Nov 2019 10:19:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572977975; cv=none; d=google.com; s=arc-20160816; b=M7vFDqfVCzA5Wt6G2BuwgPE+ddHxGF4poYfKARvXUyFieYDkzjzpdbHmiPdG8kNHGQ BXt8Wy1rmwZoVtLLhTbmJBlqWS7DWR9EXcb/uvA9T3SH/kGyORJYm6tUkJPVJ5/Vsra9 F3pwRloLY+GrswjF6YGCLaOk98l1/wLMFyzhTo6qjm3TMlAkZC/bwKSAu6iZ5xD/bCWZ ba2F3ixfRi6wOldZEKCeljrx8N9Aq+QE2vZeHc1u8jW5DFXLhvliqvOsfPEcNtedFzmo e0iA1fN3LhilGWpQerGAvoDSvVV579x4fIQpFS2crAk7qb65jtMtJ4AvV3/A8hLOTSqn 2YbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PiZyUujy+SgYthoNgklnlF7ATFYTXAxEvu3VLNm0Dl4=; b=QTa3YUeINS5hmE7PnOVJev4l0iEdLntmyuvoGAeOEnuqIj1CK9LMH0MA4iBxKyX+V7 AVfRA50eVLNCP+T/JRysUaiGYZnjClCG30s9HdjQN/N0qQmntyWi16cN53ceKYama/On YHTB/OKtykJ89cSYZus7mWKls0JlPnofbvyu0kp7OBIUoLQ1R5Dhkyk1YETsvdbi+KCG 6m40bmzekgrBisJ43FaP6icaf77aQQJc6BTGNSRUd47DGhjw0RLD3AN3g1rlNAwcmChG 1T/QdB9gzEGRqAEN2EeoCnOyDgnZD7AUhCFoLxlp3sjoPazPyyhRQYv9JOjCBdWu4HVm mt1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OGC1Hi5B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si14701608ejd.66.2019.11.05.10.19.35; Tue, 05 Nov 2019 10:19:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OGC1Hi5B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390764AbfKESTd (ORCPT + 26 others); Tue, 5 Nov 2019 13:19:33 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:51708 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390233AbfKESTc (ORCPT ); Tue, 5 Nov 2019 13:19:32 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xA5IJPP1114769; Tue, 5 Nov 2019 12:19:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1572977965; bh=PiZyUujy+SgYthoNgklnlF7ATFYTXAxEvu3VLNm0Dl4=; h=From:To:CC:Subject:Date; b=OGC1Hi5Bz9T3D01WhhBl3G8Jyj2ECnt96cMSUActjR026sqQUx2T3vaLpy26WBZUL x/OQ9YNKUN4uoK3673or4qQmwWo4RjLf+/PqsleqWq+YPwSAKtDd//r0nnk09Mu6n/ YN6/WgfqkppADMJQrD68PLlET/9MxRBV0IzVG9HU= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xA5IJPxg037931 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 5 Nov 2019 12:19:25 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 5 Nov 2019 12:19:25 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 5 Nov 2019 12:19:10 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xA5IJP4s061468; Tue, 5 Nov 2019 12:19:25 -0600 From: Dan Murphy To: , , , CC: , , Dan Murphy , Rob Herring Subject: [PATCH 1/2] dt-bindings: net: dp83869: Add TI dp83869 phy Date: Tue, 5 Nov 2019 12:18:25 -0600 Message-ID: <20191105181826.25114-1-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dt bindings for the TI dp83869 Gigabit ethernet phy device. Signed-off-by: Dan Murphy CC: Rob Herring --- .../devicetree/bindings/net/ti,dp83869.yaml | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ti,dp83869.yaml -- 2.22.0.214.g8dca754b1e diff --git a/Documentation/devicetree/bindings/net/ti,dp83869.yaml b/Documentation/devicetree/bindings/net/ti,dp83869.yaml new file mode 100644 index 000000000000..6fe3e451da8a --- /dev/null +++ b/Documentation/devicetree/bindings/net/ti,dp83869.yaml @@ -0,0 +1,84 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2019 Texas Instruments Incorporated +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/net/ti,dp83869.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: TI DP83869 ethernet PHY + +allOf: + - $ref: "ethernet-controller.yaml#" + +maintainers: + - Dan Murphy + +description: | + The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver + with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and + 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and + 100BASE-FX Fiber protocols. + This device interfaces to the MAC layer through Reduced GMII (RGMII) and + SGMII The DP83869HM supports Media Conversion in Managed mode. In this mode, + the DP83869HM can run 1000BASE-X-to-1000BASE-T and 100BASE-FX-to-100BASE-TX + conversions. The DP83869HM can also support Bridge Conversion from RGMII to + SGMII and SGMII to RGMII. + + Specifications about the charger can be found at: + http://www.ti.com/lit/ds/symlink/dp83869hm.pdf + +properties: + reg: + maxItems: 1 + + ti,min-output-impedance: + type: boolean + description: | + MAC Interface Impedance control to set the programmable output impedance + to a minimum value (35 ohms). + + ti,max-output-impedance: + type: boolean + description: | + MAC Interface Impedance control to set the programmable output impedance + to a maximum value (70 ohms). + + tx-fifo-depth: + $ref: /schemas/types.yaml#definitions/uint32 + description: | + Transmitt FIFO depth see dt-bindings/net/ti-dp83869.h for values + + rx-fifo-depth: + $ref: /schemas/types.yaml#definitions/uint32 + description: | + Receive FIFO depth see dt-bindings/net/ti-dp83869.h for values + + ti,clk-output-sel: + $ref: /schemas/types.yaml#definitions/uint32 + description: | + Muxing option for CLK_OUT pin see dt-bindings/net/ti-dp83869.h for values. + + ti,op-mode: + $ref: /schemas/types.yaml#definitions/uint32 + description: | + Operational mode for the PHY. If this is not set then the operational + mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values + +required: + - reg + +examples: + - | + #include + mdio0 { + #address-cells = <1>; + #size-cells = <0>; + ethphy0: ethernet-phy@0 { + reg = <0>; + tx-fifo-depth = ; + rx-fifo-depth = ; + ti,op-mode = ; + ti,max-output-impedance = "true"; + ti,clk-output-sel = ; + }; + };