Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1465963

[PATCH 3/3] arm64: dts: rockchip: configure PCIe support for rk3399-evb

From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH 3/3] arm64: dts: rockchip: configure PCIe support for rk3399-evb
Date 2016-08-19 05:40 +0200
Message-ID <s7IP0-hA-17@gated-at.bofh.it> (permalink)
References <s7IFj-ej-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Let's assigne slot numbers, ep-gpios and clkreq used by PCIe
on evb board as well the PHY node here. Note that we still
disable them as the auto training of PCIe link will make the
kernel use more time to boot if there are no any devices there.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb.dts b/arch/arm64/boot/dts/rockchip/rk3399-evb.dts
index d47b4e9..0d7c8ab 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-evb.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-evb.dts
@@ -120,6 +120,18 @@
 	status = "okay";
 };
 
+&pcie_phy {
+	status = "disabled";
+};
+
+&pcie0 {
+	ep-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
+	num-lanes = <4>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pcie_clkreqn>;
+	status = "disabled";
+};
+
 &u2phy0 {
 	status = "okay";
 };
-- 
2.3.7

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] arm64: dts: rockchip: add the PCIe PHY for RK3399 Shawn Lin <shawn.lin@rock-chips.com> - 2016-08-19 05:30 +0200
  [PATCH 2/3] arm64: dts: rockchip: add the PCIe controller support for RK3399 Shawn Lin <shawn.lin@rock-chips.com> - 2016-08-19 05:40 +0200
  [PATCH 3/3] arm64: dts: rockchip: configure PCIe support for rk3399-evb Shawn Lin <shawn.lin@rock-chips.com> - 2016-08-19 05:40 +0200

csiph-web