linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes
Date: Tue, 19 Dec 2017 15:01:30 +0530	[thread overview]
Message-ID: <20171219093133.16565-5-kishon@ti.com> (raw)
In-Reply-To: <20171219093133.16565-1-kishon@ti.com>

DRA76 EVM has a 4-lane PCIe connector and DRA76 can support x2 lanes.
Enable both the PCIe lanes here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/boot/dts/dra76-evm.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts
index b024a65c6e27..244e553f2247 100644
--- a/arch/arm/boot/dts/dra76-evm.dts
+++ b/arch/arm/boot/dts/dra76-evm.dts
@@ -421,3 +421,19 @@
 		spi-max-frequency = <96000000>;
 	};
 };
+
+&pcie2_phy {
+	status = "okay";
+};
+
+&pcie1_rc {
+	num-lanes = <2>;
+	phys = <&pcie1_phy>, <&pcie2_phy>;
+	phy-names = "pcie-phy0", "pcie-phy1";
+};
+
+&pcie1_ep {
+	num-lanes = <2>;
+	phys = <&pcie1_phy>, <&pcie2_phy>;
+	phy-names = "pcie-phy0", "pcie-phy1";
+};
-- 
2.11.0

  parent reply	other threads:[~2017-12-19  9:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 1/7] ARM: dts: dra7: Add properties to enable PCIe x2 lane mode Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 2/7] ARM: dts: DRA74x: Use PCIe compatible specific to dra74 Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 3/7] ARM: dts: DRA72x: Use PCIe compatible specific to dra72 Kishon Vijay Abraham I
2017-12-19  9:31 ` Kishon Vijay Abraham I [this message]
2017-12-19  9:31 ` [PATCH 5/7] ARM: dts: dra7: Remove deprecated PCI compatible string Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 6/7] ARM: omap2plus_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device modes) Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 7/7] ARM: multi_v7_defconfig: " Kishon Vijay Abraham I
2017-12-21 15:13 ` [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Tony Lindgren
2018-03-07 12:08 ` Lorenzo Pieralisi
2018-03-07 12:27   ` Kishon Vijay Abraham I

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171219093133.16565-5-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).