Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4598544pxu; Tue, 20 Oct 2020 23:50:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzt3XredOmyS6HnSwW3137A615t4HB4eGxYqkj8xRlkeXFy/W1J6uG1rA8V+6dDWwB226Qg X-Received: by 2002:a17:906:3a8c:: with SMTP id y12mr1885257ejd.531.1603263055167; Tue, 20 Oct 2020 23:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603263055; cv=none; d=google.com; s=arc-20160816; b=msEhSFvdoHR9nl11W3hjcsljIuXBbAVYHzCmL8OlHbSRzZzJJggIpzEGzHqn0B2jpA 0Pt1PuaZZWdT6swkwLk9q4WGgNakHRHIlQCVGb4BHPc7y3IeLDg9YvaHkep5kiXPTOQu QB/13dmqq6mkVUlISc7/oH1GrcrTnQEVAPfklD0aYGtcaFNZFzVy77nD+S26+CphA6Pg Rr90Fgc5pSTXOZ2fjWkbLIor+9QJtEfkzQB8I9zRQZu2kJbBiVjz7GySABWUU9fV4RU1 cRUr88nVIKbOPUTBgKoDHT4Cks0mbOzCHFjt0FNl5ZCXNycfwuBsuaeXHrIqfBZs/YF3 zPHQ== 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=YFlWf6fc30NMtx+BOA420w19hwu2TBE8PcvcNPrx4AY=; b=Ifu7Vz+uXDEuOav3jNjSI+08SGFfNi37sL3mx2wDsjoH7ZUc9d+ERq1UzW5uiegLX1 hivGtZ0SWrgBt3FEJL6rmaKwEvNLeM22U2joe5Njk85ZnH1JBiXoSC157xvh3KU7VViT NxI6uwY6AiTwyH80PerHwFeKtnBk+p0RQRMOZqdluDPslpaoiqRbrZ/bBTmnKdC04zID 84e9uiHelfiJdSa1SahLZMwon5Wr5lNxxl0zM/ufFMsvCRzlJdGcnJxBUEXpnHFXieUl +cIV/7VdBYyE1wbdO+7GGRFI+U6gn30St16zWMXJ+s6X+xv7dFkYRLx1uxmGrg0XJfV6 SCpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yb40pazk; 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 j19si371307edr.278.2020.10.20.23.50.33; Tue, 20 Oct 2020 23:50:55 -0700 (PDT) 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=yb40pazk; 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 S2395267AbgJTRMo (ORCPT + 99 others); Tue, 20 Oct 2020 13:12:44 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:56238 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395260AbgJTRMn (ORCPT ); Tue, 20 Oct 2020 13:12:43 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 09KHCdWZ128360; Tue, 20 Oct 2020 12:12:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1603213959; bh=YFlWf6fc30NMtx+BOA420w19hwu2TBE8PcvcNPrx4AY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yb40pazkFBl+cEEANEU/SjhWUzerqUbrLErJtBLdmwjQBQJXdt1O2aC4wqChpOKGk ecoSy8la4+UtcMfrosw6oDK4tmdeMw0GywzDhSR9jqSJ9199MPSr9W2LCsLTUawzD9 xAwtLi54w7eBCMxfhBvfJYU3jj5n47GaXx+U8Iag= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 09KHCcI8099033 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Oct 2020 12:12:38 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 20 Oct 2020 12:12:38 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.33) 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, 20 Oct 2020 12:12:38 -0500 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 09KHCcoA094618; Tue, 20 Oct 2020 12:12:38 -0500 From: Dan Murphy To: , , , CC: , , Dan Murphy Subject: [PATCH net-next v2 2/3] dt-bindings: dp83td510: Add binding for DP83TD510 Ethernet PHY Date: Tue, 20 Oct 2020 12:12:20 -0500 Message-ID: <20201020171221.730-3-dmurphy@ti.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201020171221.730-1-dmurphy@ti.com> References: <20201020171221.730-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 | 72 +++++++++++++++++++ 1 file changed, 72 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..171aed0f2503 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ti,dp83td510.yaml @@ -0,0 +1,72 @@ +# 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. + 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. + + ti,master-slave-mode: + $ref: /schemas/types.yaml#definitions/uint32 + default: 0 + description: | + Force the PHY to be configured to a specific mode. + Force Auto Negotiation - 0 + Force Master mode at 1v p2p - 1 + Force Master mode at 2.4v p2p - 2 + Force Slave mode at 1v p2p - 3 + Force Slave mode at 2.4v p2p - 4 + enum: [ 0, 1, 2, 3, 4 ] + +required: + - reg + +examples: + - | + mdio0 { + #address-cells = <1>; + #size-cells = <0>; + ethphy0: ethernet-phy@0 { + reg = <0>; + tx-fifo-depth = <5>; + rx-internal-delay-ps = <1>; + tx-internal-delay-ps = <1>; + }; + }; -- 2.28.0.585.ge1cfff676549