Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp547437ybz; Fri, 17 Apr 2020 06:00:43 -0700 (PDT) X-Google-Smtp-Source: APiQypJjASPEk4bsvDWLDzuMvi/OaBv6Fkp9A8XyZoPTII/jWvDZ3N1m+BumyB+5zDQGS3qy8Oe4 X-Received: by 2002:a50:9f8f:: with SMTP id c15mr2673451edf.377.1587128443358; Fri, 17 Apr 2020 06:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587128443; cv=none; d=google.com; s=arc-20160816; b=t6fuF2H2eZeTATLsQXw0cLUk7IvnyJiBUq08qq81d4OK50fJJAyVJuSjfZ6tn0q5aQ zYMvri4bobTJXaI8rlSaDvklUITwCBBHV3IVjwtV3+xk5vmYqairCvr08ZM0bLCum2ms HblDelU0q0JOdV3AeBiTEkLjQUlC5k8sFQ9fUz+EUkFeFwhcPDCmjfyJjC86NN82ox+c dzG1OkIYISsu6x84/W2BjXoIovKYP116vqbTzMWQHgDYRUV8dkV3W7aLY0SDaiHCtc0N zTx59OhYDxrfa7tjk0LfMfZj/iatbq3OaIJMVyrgZO3VzR74MYQbMs3gK83EIIyYrcvZ iM8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Tokt8bE8xf8SwK8YMP/mYBJzyTHsRFtWo6jnbrPFbYU=; b=E48I7o5bahP0TmRdeueWzQqfS6snyKxSipSeOU/tGgjLwRBgqNuZbaeUcoqSkaSA6S ipDqZU7YbW0F4hxuauVD1yarbDDEFn+nBVsIRCapwokJsx8Q0JIBoqSE7ON6ilKG/oMd 3s/yj79ZCn8++OUsEaglPVaLVp1bwe9c6mwZIw2+l0kyN1ED141+vxBkxznUFH+SH04E E8/8rpd+THc0/Sek0IlmZ7o87TJpurag8cSgowrHpQCuZaI0/+U6R8TtvG9CmtJL0IDu N/wIoPPiS4bU+zkt2txXLYSSllPzk9ryLr4821Kj7LgNb5rQJsH78r6sUx5JStQ21HRR EWkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=m+PudO8a; 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 p13si14141793ejb.235.2020.04.17.06.00.19; Fri, 17 Apr 2020 06:00:43 -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=m+PudO8a; 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 S1730541AbgDQM64 (ORCPT + 99 others); Fri, 17 Apr 2020 08:58:56 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:59286 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730417AbgDQM6x (ORCPT ); Fri, 17 Apr 2020 08:58:53 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 03HCwbew051629; Fri, 17 Apr 2020 07:58:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1587128317; bh=Tokt8bE8xf8SwK8YMP/mYBJzyTHsRFtWo6jnbrPFbYU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=m+PudO8aaj5X5jB/0TA6dUrbLEFuNorHJoa6PO9+aaFnncRRYxt0RFL5yIBsYB+DW bqguyihyK2Ku2VWIzxFwwyu7p6e8PCqzdHPV28F71LtAGCdP80ivnlXbnN/lyKcU0E v6ENkrb/QrUAzzyALEM/SyNmAhWOI+EShfrGsey0= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 03HCwbWf109314 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Apr 2020 07:58:37 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 17 Apr 2020 07:58:37 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 17 Apr 2020 07:58:37 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 03HCvsDG031089; Fri, 17 Apr 2020 07:58:34 -0500 From: Kishon Vijay Abraham I To: Tom Joseph , Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , Andrew Murray CC: Arnd Bergmann , Greg Kroah-Hartman , , , , Subject: [PATCH v3 11/14] dt-bindings: PCI: Add EP mode dt-bindings for TI's J721E SoC Date: Fri, 17 Apr 2020 18:27:50 +0530 Message-ID: <20200417125753.13021-12-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200417125753.13021-1-kishon@ti.com> References: <20200417125753.13021-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain 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 PCIe EP mode dt-bindings for TI's J721E SoC. Signed-off-by: Kishon Vijay Abraham I --- .../bindings/pci/ti,j721e-pci-ep.yaml | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml new file mode 100644 index 000000000000..cb25c45d5a96 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml @@ -0,0 +1,89 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: TI J721E PCI EP (PCIe Wrapper) + +maintainers: + - Kishon Vijay Abraham I + +allOf: + - $ref: "cdns-pcie-ep.yaml#" + +properties: + compatible: + enum: + - ti,j721e-pcie-ep + + reg: + maxItems: 4 + + reg-names: + items: + - const: intd_cfg + - const: user_cfg + - const: reg + - const: mem + + ti,syscon-pcie-ctrl: + description: Phandle to the SYSCON entry required for configuring PCIe mode + and link speed. + allOf: + - $ref: /schemas/types.yaml#/definitions/phandle + + power-domains: + maxItems: 1 + + clocks: + maxItems: 1 + description: clock-specifier to represent input to the PCIe + + clock-names: + items: + - const: fck + + dma-coherent: + description: Indicates that the PCIe IP block can ensure the coherency + +required: + - compatible + - reg + - reg-names + - ti,syscon-pcie-ctrl + - max-link-speed + - num-lanes + - power-domains + - clocks + - clock-names + - cdns,max-outbound-regions + - dma-coherent + - max-functions + - phys + - phy-names + +examples: + - | + #include + + pcie0_ep: pcie-ep@d000000 { + compatible = "ti,j721e-pcie-ep"; + reg = <0x00 0x02900000 0x00 0x1000>, + <0x00 0x02907000 0x00 0x400>, + <0x00 0x0d000000 0x00 0x00800000>, + <0x00 0x10000000 0x00 0x08000000>; + reg-names = "intd_cfg", "user_cfg", "reg", "mem"; + ti,syscon-pcie-ctrl = <&pcie0_ctrl>; + max-link-speed = <3>; + num-lanes = <2>; + power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 239 1>; + clock-names = "fck"; + cdns,max-outbound-regions = <16>; + max-functions = /bits/ 8 <6>; + dma-coherent; + phys = <&serdes0_pcie_link>; + phy-names = "pcie-phy"; + }; -- 2.17.1