Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4139841pxb; Tue, 17 Nov 2020 12:21:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaVgVBAF4oj6iAn9QDFx0GyFA4uekXaVhq4UJrjS6HU1dJalrOQjVwN0oY3QPiG8P5x0o+ X-Received: by 2002:a17:906:254d:: with SMTP id j13mr3993090ejb.376.1605644462552; Tue, 17 Nov 2020 12:21:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605644462; cv=none; d=google.com; s=arc-20160816; b=g//HTMfT4V0FVXM9eMNk8/3XBj7r34F2B4+Cy9/028a4HbqgePdb1qMzu8k1+3/b5R RftmlFJTRtq2s9vzSeZTHLTyKDUOquFjK4d4AxeawVyMzUgMb7H8FTvqqXttxrBEP2fe cZLxRru6C0W4BrvDn46mlOQch6cAB9rtYiuCMgkyRD6BUpyAK0Nn2YFOETK2H7jIqPOo ZjVXxpAU/hYpMEvFQcnGS5c9Am8NqPFMBbxEFlM4ULjNUEMmWAmnHpKx7z9GqaF0SzWZ yMxlm2e4iLng1k8/PUBPfGTCjJeehOPOJm+EgrpK4Hk9umlJy0E3CSom2kuhF6otl1yT 456w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hAP7xTIYE/3si6W5mQOK90txjunkGtM3wxWyq7hnqgQ=; b=WXJ+avu+H4ZPBakGy9UXOkPcI6rGLYMuFBTC+/skbu/5hvbP4rXTtx4VVOXxpeKrAp y3aEtV4Y9kqEScs7GQEsxjOr+5UbLONqY9rmBkQO5qRT3qOPTz44wea7a+k4bfWmDAK5 omcOgsNFb0IFu6uuuJwGFD27HeyLUATCpGLOwV7BjeyR+p90WKzJzXQ2FByqLM5kN2jd LDlbZhJOj7F4yY9tWQIqhBNObMzDPcSm/6acUtlZR0/8Nev5t7GHhhJh23jCPN+cfxr7 FKHEe1rSjaB9Se5olfR2FdBz8czK3IrdKrLv6506N0XIy1t3XCM56o/hfHSO8zMPXAI6 Rtbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wBH1xp12; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id da14si10512513edb.574.2020.11.17.12.20.39; Tue, 17 Nov 2020 12:21:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wBH1xp12; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1731809AbgKQUQZ (ORCPT + 99 others); Tue, 17 Nov 2020 15:16:25 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:47448 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731758AbgKQUQY (ORCPT ); Tue, 17 Nov 2020 15:16:24 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0AHKGHAm098393; Tue, 17 Nov 2020 14:16:17 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1605644177; bh=hAP7xTIYE/3si6W5mQOK90txjunkGtM3wxWyq7hnqgQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wBH1xp12wc2/aORPdrooKq0nLB+B7qI1wWWiRGdTpPzBnmyn+MT5ezJ8bum+cz0hW 6IVkS/1ztp74E/Q6Qy2tjzHRn8qtVf+5/bmI5zcVhlath2F7gYXHlY/2OE9d5pKCkd ibJHWCNubvse3kc0tFtgT2LqEESe+UoUhw0Jlep8= 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 0AHKGH6l016215 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 17 Nov 2020 14:16:17 -0600 Received: from DLEE105.ent.ti.com (157.170.170.35) 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.1979.3; Tue, 17 Nov 2020 14:16:17 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 17 Nov 2020 14:16:17 -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 0AHKGHXp096184; Tue, 17 Nov 2020 14:16:17 -0600 From: Dan Murphy To: , , , , , CC: , , , Dan Murphy Subject: [PATCH net-next v4 3/4] dt-bindings: dp83td510: Add binding for DP83TD510 Ethernet PHY Date: Tue, 17 Nov 2020 14:15:54 -0600 Message-ID: <20201117201555.26723-4-dmurphy@ti.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201117201555.26723-1-dmurphy@ti.com> References: <20201117201555.26723-1-dmurphy@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The DP83TD510 is a 10M single twisted pair Ethernet PHY Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ti,dp83td510.yaml | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ti,dp83td510.yaml diff --git a/Documentation/devicetree/bindings/net/ti,dp83td510.yaml b/Documentation/devicetree/bindings/net/ti,dp83td510.yaml new file mode 100644 index 000000000000..d3c97bb4d820 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ti,dp83td510.yaml @@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2020 Texas Instruments Incorporated +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/net/ti,dp83td510.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: TI DP83TD510 ethernet PHY + +allOf: + - $ref: "ethernet-controller.yaml#" + - $ref: "ethernet-phy.yaml#" + +maintainers: + - Dan Murphy + +description: | + The PHY is an twisted pair 10Mbps Ethernet PHY that support MII, RMII and + RGMII interfaces. + + Specifications about the Ethernet PHY can be found at: + http://www.ti.com/lit/ds/symlink/dp83td510e.pdf + +properties: + reg: + maxItems: 1 + + tx-fifo-depth: + description: | + Transmitt FIFO depth for RMII mode. The PHY only exposes 4 nibble + depths. The valid nibble depths are 4, 5, 6 and 8. + enum: [ 4, 5, 6, 8 ] + default: 5 + + rx-internal-delay-ps: + description: | + Setting this property to a non-zero number sets the RX internal delay + for the PHY. The internal delay for the PHY is fixed to 30ns relative + to receive data. + + tx-internal-delay-ps: + description: | + Setting this property to a non-zero number sets the TX internal delay + for the PHY. The internal delay for the PHY has a range of -4 to 4ns + relative to transmit data. + +unevaluatedProperties: false + +required: + - reg + +examples: + - | + mdio0 { + #address-cells = <1>; + #size-cells = <0>; + ethphy0: ethernet-phy@0 { + reg = <0>; + tx-rx-output-high; + tx-fifo-depth = <5>; + rx-internal-delay-ps = <1>; + tx-internal-delay-ps = <1>; + }; + }; -- 2.29.2