From patchwork Tue Dec 19 09:31:27 2017 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: 122349 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3913445qgn; Tue, 19 Dec 2017 01:32:37 -0800 (PST) X-Google-Smtp-Source: ACJfBot+Bmor/QONuuGd/C2KhNCo9b+DZDjRAuG74H2tLIggNmVaqbq2tE1Wsa+e4YA626KXmz5/ X-Received: by 10.84.131.3 with SMTP id 3mr2720009pld.200.1513675957704; Tue, 19 Dec 2017 01:32:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513675957; cv=none; d=google.com; s=arc-20160816; b=xKX+OaXpDv0stmLjlUFadkI6nhfdGKuOJRPIHGy39EznWuqesrc9/yCMOVqCg3Wr5k 4VlIawi72riL57IfCkIO5cWxguBC5JwKJqvyfGbg7AtXQa+rO53xeJUOBmor87rXk0Ke 526b8ydN4ZFtaUMcVtcr9CVOdRntonWw5EHhOE0nemUW47VFNKBGBDSWr88jZwdnXVh9 rP8Xs+/ZDfBsdOxxfS3i9HiwgLed8yUiFWWRJ3O+BNL2exZW6xbvKmIIdEhbwTs3V1HW jIAJM9R3rujv3RYguVqKYlnjIdQGAmoBlO4N3ALemKg7C8GfqbYMocqfx9nl5R36VS3F WVjg== 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 :arc-authentication-results; bh=DUxRG/xVvj7mVUhigA5g6jbpNpnuCF0WTY3jM5xfr5k=; b=U9B6qofrdiciTythTizCN3/vXnadNM9tPNFkfFCaBE3NKDxO8cs4BvUigSadZP/K0z 99emlg+cDDei51j5XrU+S703OfqNPV8XiUVEfVacDBHUpBRRjoHC36Q3TnJr1HLVJ3qq lUsIjTEfIs846HidYW8VFTPlVXDpcnFLicco2y3wPrcWT69vTdNyGTCfvT62KO25HciE pbFvhcjcgK4/xgrHWZz5mHXGUIo/bizRsCiNprG/60zVBJRpYAjiqhXXmZe2N2gJAiki NCeNhUqu2S+BzE6wvFJUx5FdWYAu6lwkc8W4q5pZX294ZW77kv7yKLa5aDjdihpcshuL Y5Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=XlkSPslo; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8si9786062pgo.401.2017.12.19.01.32.37; Tue, 19 Dec 2017 01:32:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=XlkSPslo; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966780AbdLSJcf (ORCPT + 6 others); Tue, 19 Dec 2017 04:32:35 -0500 Received: from lelnx193.ext.ti.com ([198.47.27.77]:15660 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932971AbdLSJc2 (ORCPT ); Tue, 19 Dec 2017 04:32:28 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBJ9VoG5030820; Tue, 19 Dec 2017 03:31:50 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513675910; bh=sxGvI5O1JpQQsebqrxB/n5iwZatgZP2abKeKglZPFR0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=XlkSPslo9OjJXY+w0ExnVDUMPCPIIZdzqxhX2us0FPAeve/f9gXNb3D7fhFg+8lFp tFvHAiMRfsR/JF+gHbQ1Eb4moJMSdNdz6gysDMi9HPbAXpDTeZu0z3tr2w+PY0y+f3 DhIbrY+ZuZwWGLkiT7WaslTm/ENGsb4Xti9Qn3Ak= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBJ9Vovi015295; Tue, 19 Dec 2017 03:31:50 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 19 Dec 2017 03:31:49 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 19 Dec 2017 03:31:49 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBJ9VgHu012627; Tue, 19 Dec 2017 03:31:46 -0600 From: Kishon Vijay Abraham I To: Tony Lindgren , CC: Rob Herring , Mark Rutland , Russell King , , , , , , , Subject: [PATCH 1/7] ARM: dts: dra7: Add properties to enable PCIe x2 lane mode Date: Tue, 19 Dec 2017 15:01:27 +0530 Message-ID: <20171219093133.16565-2-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171219093133.16565-1-kishon@ti.com> References: <20171219093133.16565-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org ti,syscon-lane-sel and ti,syscon-lane-conf properties specific to enable PCIe x2 lane mode are added here. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- arch/arm/boot/dts/dra7.dtsi | 4 ++++ 1 file changed, 4 insertions(+) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index ac9216293b7c..9966d82dbd7c 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -309,6 +309,8 @@ ti,hwmods = "pcie1"; phys = <&pcie1_phy>; phy-names = "pcie-phy0"; + ti,syscon-lane-conf = <&scm_conf 0x558>; + ti,syscon-lane-sel = <&scm_conf_pcie 0x18>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0 0 0 1 &pcie1_intc 1>, <0 0 0 2 &pcie1_intc 2>, @@ -334,6 +336,8 @@ phys = <&pcie1_phy>; phy-names = "pcie-phy0"; ti,syscon-unaligned-access = <&scm_conf1 0x14 2>; + ti,syscon-lane-conf = <&scm_conf 0x558>; + ti,syscon-lane-sel = <&scm_conf_pcie 0x18>; status = "disabled"; }; };