Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13780032pxu; Mon, 4 Jan 2021 04:25:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzoj4bGaJMA7JiMkunzQ0HiD4wtx+acIUDGo1il2+3cXyQm/Coh81nEgDanc3pPCUmRetWO X-Received: by 2002:a17:906:2b50:: with SMTP id b16mr64946514ejg.255.1609763122099; Mon, 04 Jan 2021 04:25:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609763122; cv=none; d=google.com; s=arc-20160816; b=pYccQWG0hE0cRmyHsMl+RiyWpG62IZOOwibQJ9dmUVDoxMpgcNm6cJ+7GNSVQQjEnK 2R7a25uGHhBLRwLJ1khmrRRCAj+W6Vsz8rGYgMTQX7JtDeIzVtnYAUDMFGqKjfNnhufp 3YvjBzFkFotuJWMqK6Iv+/H+6JsIPxcQUiAHpFqR991KyTrP6UCJtw0LJZHpHOQQijGN 9FpkKmZVzr1jqTO4TSz0MI7RplGlJdBK+Vtaz45Sh51XYGA9hCFOMMbmdGNx7CjMKG5M dkm1E6yi0XUMhMmJGOpVauSasT2akAyM/+ecBXItcWN8c/icdDFlM4VvCCTKfn/hPeS1 BDlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=a5c+PysASIVxRTBhsge2AmvKiHMXJJVRD93ZeuiTO60=; b=feKlXCD7VTschn3RbktNSPc9Anei5V+CcXfst5vJ/YpkUpJl2/baW8eO7rnTKLFYvJ vNj/wSasmOgEwyYVdfEuVmjDP8vqwge8ULMzUuJBqzqNXcdRaTWyLfuIhd1jE7OiidzB 2eeQm+qn8lpK7WM4vMWAxemwC4H9YCZzNeNMs6RdqSkk2g9/kMdNdtL6nWw4Yh8lMQhQ 89YJdCq8SMVv1eg1YplUgwpjH+76l9sR5eY2wB9bh4sXMb8udwdLocuK8PRADX7sm8Zt Pv01d6s0EdD/YLUplzaT4O2sILYNU6Pxamcn7Zbt4j5xVB+dccCte/Cy06JMQdy0XJw9 eedg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="s/OguA11"; 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 7si30031054edw.324.2021.01.04.04.24.58; Mon, 04 Jan 2021 04:25:22 -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="s/OguA11"; 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 S1726766AbhADMXe (ORCPT + 99 others); Mon, 4 Jan 2021 07:23:34 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:52860 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725921AbhADMXd (ORCPT ); Mon, 4 Jan 2021 07:23:33 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 104CMolq092739; Mon, 4 Jan 2021 06:22:50 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1609762970; bh=a5c+PysASIVxRTBhsge2AmvKiHMXJJVRD93ZeuiTO60=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=s/OguA11ZWbRK+ThzSfFHT8m2694OOqAFz+JIhXmgbF4kFUNNdPBtjww9opgOo3G7 B+lGprEJRh8XJ5kWo7G/hWX8EnjjnsQ2LdSg3+P1OlBGBRp0Aemdw6ZD1um+FfiUoN i8qT7Eqd5++Z42cAAdoqlGxshh8ommDh/3DCvXxU= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 104CMniq054855 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 4 Jan 2021 06:22:49 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) 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; Mon, 4 Jan 2021 06:22:49 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE109.ent.ti.com (157.170.170.41) 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; Mon, 4 Jan 2021 06:22:49 -0600 Received: from a0393678-ssd.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 104CMZhQ002211; Mon, 4 Jan 2021 06:22:47 -0600 From: Kishon Vijay Abraham I To: Nishanth Menon , Rob Herring , Kishon Vijay Abraham I CC: , , Subject: [PATCH v3 4/6] arm64: dts: ti: k3-j7200-main: Add PCIe device tree node Date: Mon, 4 Jan 2021 17:52:30 +0530 Message-ID: <20210104122232.24071-5-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210104122232.24071-1-kishon@ti.com> References: <20210104122232.24071-1-kishon@ti.com> MIME-Version: 1.0 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 Add PCIe device tree node (both RC and EP) for the single PCIe instance present in j7200. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index fbe4cd1e6e09..4e39f0325c03 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -594,6 +594,54 @@ }; }; + pcie1_rc: pcie@2910000 { + compatible = "ti,j7200-pcie-host", "ti,j721e-pcie-host"; + reg = <0x00 0x02910000 0x00 0x1000>, + <0x00 0x02917000 0x00 0x400>, + <0x00 0x0d800000 0x00 0x00800000>, + <0x00 0x18000000 0x00 0x00001000>; + reg-names = "intd_cfg", "user_cfg", "reg", "cfg"; + interrupt-names = "link_state"; + interrupts = ; + device_type = "pci"; + ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; + max-link-speed = <3>; + num-lanes = <4>; + power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 240 6>; + clock-names = "fck"; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x0 0xf>; + cdns,no-bar-match-nbits = <64>; + vendor-id = /bits/ 16 <0x104c>; + device-id = /bits/ 16 <0xb00f>; + msi-map = <0x0 &gic_its 0x0 0x10000>; + dma-coherent; + ranges = <0x01000000 0x0 0x18001000 0x00 0x18001000 0x0 0x0010000>, + <0x02000000 0x0 0x18011000 0x00 0x18011000 0x0 0x7fef000>; + dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; + }; + + pcie1_ep: pcie-ep@2910000 { + compatible = "ti,j7200-pcie-ep", "ti,j721e-pcie-ep"; + reg = <0x00 0x02910000 0x00 0x1000>, + <0x00 0x02917000 0x00 0x400>, + <0x00 0x0d800000 0x00 0x00800000>, + <0x00 0x18000000 0x00 0x08000000>; + reg-names = "intd_cfg", "user_cfg", "reg", "mem"; + interrupt-names = "link_state"; + interrupts = ; + ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; + max-link-speed = <3>; + num-lanes = <4>; + power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 240 6>; + clock-names = "fck"; + max-functions = /bits/ 8 <6>; + dma-coherent; + }; + usbss0: cdns-usb@4104000 { compatible = "ti,j721e-usb"; reg = <0x00 0x4104000 0x00 0x100>; -- 2.17.1