From patchwork Mon Jan 4 12:22:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 356366 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14924364jai; Mon, 4 Jan 2021 04:24:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1pX97/W+HE8QpVbMIi6T3CbQFhXtJU39iS7hAfqymDK5VD9+3bRkOkKAaxDVQd/R6u9E4 X-Received: by 2002:a17:907:101c:: with SMTP id ox28mr62739544ejb.201.1609763082960; Mon, 04 Jan 2021 04:24:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609763082; cv=none; d=google.com; s=arc-20160816; b=poRNC3U891njn3C8D/IlCqkM26Kym5XIDXKRu3R3r6TwkUCE1n/HGtu/Qgluk2Nn8d hK/+SIMwOfdBNcF+9ZXETgAe5FK+Qwh+MTdvUbKxehUlPBKBO+3DPWOd+Hd822o88jKH 8lDX0POrk+sqTazBY5qtWzEGYi2u6O3yJcZcLg5M8CRWP9B4OdaIAVxkF2w1X6DScikv ZPUn8MLMm8r3aPjJEu3KDnfA833khEh2b2Phr75jovTevTrdt4HgFuc69J5OIILVbpth CZ00ww/f4eu7Gk2H2x2ZmWGOKOLkCKKJBWfosWSs9ueAazgDgDNc+4GHEqiUFNXpKi6b mArw== 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=v8DeDg+aSnj9XDWh6SjoEmvU220d2QLKrD8S48HIXT4=; b=k9MqCQG0bEo1/jhsgsONCTXtdLeLOswjdjgtTmCXrgUJhFBCFBwNP61wDPs4aXJDff 4jgzEFEsCaFSHBZc+9o2e1MLWcj+XlUb6Vkzk3fjYU0bOOXKI42axMz2wruhi99s2oxt JS16I3C1PXN0uCP4AwSf0uH0DJn9lhYAp/DKpTWctaRM3jrgTIuH42LOdL8796v+rMqL hjNbe64qqQFRHy+H6UdIETwECfF0J9iNmeGObISpygXjFh03yjIwAtxttT4aoUwQi9Vp FdKcAaEOSDFHnDGQQLx3VzU2kSCroCgdZzSgd50ahRNu4rsGjAWY9FuCjg7h8hW+dWoC tImg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=haLnkUev; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 m10si32308434eda.139.2021.01.04.04.24.42; Mon, 04 Jan 2021 04:24:42 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=haLnkUev; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1726345AbhADMXj (ORCPT + 6 others); Mon, 4 Jan 2021 07:23:39 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:52872 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725921AbhADMXi (ORCPT ); Mon, 4 Jan 2021 07:23:38 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 104CMtmX092756; Mon, 4 Jan 2021 06:22:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1609762975; bh=v8DeDg+aSnj9XDWh6SjoEmvU220d2QLKrD8S48HIXT4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=haLnkUev2i6EyWZdrmJ4QYp5wPMZ/a3RgM0V33t8LXTHECRyNnIyM3Te6aMNEv34R 8JIKUt2qvt6lM6wgJ8qR5Nqvx6qC73DsjxWt4ftElZdJ/qfbmTO/Y6mM/Js2XD+XQb fQ8RI2k7wektGimc49sKJq3fyT7pceIdtEkJDVjI= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 104CMt9P068645 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 4 Jan 2021 06:22:55 -0600 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE105.ent.ti.com (10.64.6.26) 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:54 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE106.ent.ti.com (10.64.6.27) 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:54 -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 104CMZhS002211; Mon, 4 Jan 2021 06:22:52 -0600 From: Kishon Vijay Abraham I To: Nishanth Menon , Rob Herring , Kishon Vijay Abraham I CC: , , Subject: [PATCH v3 6/6] arm64: dts: ti: k3-j7200-common-proc-board: Enable PCIe Date: Mon, 4 Jan 2021 17:52:32 +0530 Message-ID: <20210104122232.24071-7-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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org x2 lane PCIe slot in the common processor board is enabled and connected to j7200 SOM. Add PCIe DT node in common processor board to reflect the same. Signed-off-by: Kishon Vijay Abraham I --- .../boot/dts/ti/k3-j7200-common-proc-board.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index def98f563336..4a7182abccf5 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -6,6 +6,7 @@ /dts-v1/; #include "k3-j7200-som-p0.dtsi" +#include #include #include #include @@ -241,3 +242,17 @@ resets = <&serdes_wiz0 3>; }; }; + +&pcie1_rc { + reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>; + phys = <&serdes0_pcie_link>; + phy-names = "pcie-phy"; + num-lanes = <2>; +}; + +&pcie1_ep { + phys = <&serdes0_pcie_link>; + phy-names = "pcie-phy"; + num-lanes = <2>; + status = "disabled"; +};