Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4773587pxu; Thu, 10 Dec 2020 05:17:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyx7LtSkG5jHKzy03ofEGXoZICDo9YhKuB88mxXPvUC/uhUEPTqnVQPi5IlJ+qvzQl8nWL0 X-Received: by 2002:a50:d2d2:: with SMTP id q18mr6663231edg.346.1607606247535; Thu, 10 Dec 2020 05:17:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607606247; cv=none; d=google.com; s=arc-20160816; b=LKMkOydqdAYCMgoGIQpzj2Pfay871QypcGZtRg5OQads69WwOxVbm+L3SwkbhN952H Srd0wIAP3MqKBd5LJeZle4dWil2RtvRMOTglPf5RaLH7UyVuItRWrTMgxMIX7SIm1GbK 8+uP5itBK/X8d4ugVe3nTWsevvjJP7L2yeWP3GL9T8BLa+FIVrBR8BDv/fOwOr9qcUOU Ap9/vWwhBukyj05k5FmHDPDcBLdyxeCExIgPT3wq3n3VEQ7oDUOLDFcNWYtfPH4YrSkx 9eJcLdaVq68yYcRy6qX6huGVbfFlcFa0L9VpOpX2ma8jDLT1Hi13cW260jMNYYCrnqlk UYhg== 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=qxK0/yXQ7jP0IAinp3edU0GgnsbbtqJKWvBEnd2pD1A=; b=piik2YMn8Kl/pWcOMfBMQZrbXEi1VU30k1DjTDEEsDZ1W7U00k4v9r6ZuATk30ayyN 6JweGyftbijehoZ6tvWRetRV1CrHpHvnYh8YpMk/GFEpJ8Dd1qEcHzGjzIsQiJ/0aEMD FXtobRJgC01KXFg+EwLQ6eC9WYb1ZAkHzYTKilyC170QFPIBiGfoZCDA9sLRhggqqQSm yX4muce1xb5K2KF2ogTf2qpX2g59NqVmlINWlX4+6SgNoEpU7pJbhijUnIdrly7AeFGG yBaF93N1b0UkzbRIzDWRcslKQI8m8CmDYDZw3IzjSHaOduvrpl1y5pnoarYJzA+4+WPP bC8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=izTh3M56; 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 ly25si2447144ejb.326.2020.12.10.05.16.34; Thu, 10 Dec 2020 05:17:27 -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=izTh3M56; 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 S2389090AbgLJNMw (ORCPT + 99 others); Thu, 10 Dec 2020 08:12:52 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:49904 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388740AbgLJNJ7 (ORCPT ); Thu, 10 Dec 2020 08:09:59 -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 0BAD8KpN053137; Thu, 10 Dec 2020 07:08:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1607605700; bh=qxK0/yXQ7jP0IAinp3edU0GgnsbbtqJKWvBEnd2pD1A=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=izTh3M56I6EVmn98Tgmzj5pxlkRWyD6wxz1izdUNIHQjtL08NG5ZkzG0LoPYYOzFI WWJb9QidEfxUiUYFOZzeioagfIAmJjn8f1BSgRfBLVy63TPRiBXVB9VMCqVg1hXaUm bGisKJ9eEbEr6lu6Lc/QhCr4ytV/s/bVaEGNabRk= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0BAD8KYQ118599 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Dec 2020 07:08:20 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) 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; Thu, 10 Dec 2020 07:08:20 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) 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 via Frontend Transport; Thu, 10 Dec 2020 07:08:20 -0600 Received: from a0393678-ssd.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0BAD7raj098988; Thu, 10 Dec 2020 07:08:14 -0600 From: Kishon Vijay Abraham I To: Tero Kristo , Nishanth Menon , Rob Herring , Kishon Vijay Abraham I CC: , , Subject: [PATCH v2 4/6] arm64: dts: ti: k3-j7200-main: Add PCIe device tree node Date: Thu, 10 Dec 2020 18:37:45 +0530 Message-ID: <20201210130747.25436-5-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201210130747.25436-1-kishon@ti.com> References: <20201210130747.25436-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 ae5abf59a7d4..819aa1fc306b 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -592,6 +592,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