summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Lin2016-08-19 05:24:29 +0200
committerHeiko Stuebner2016-09-02 17:17:06 +0200
commit9eb4f3c45027d086a4953e78db6566c36953b9f7 (patch)
treec8241272a1be13c37ac650aa1d582a43f4bddb6c
parentarm64: dts: rockchip: add the PCIe controller support for RK3399 (diff)
downloadkernel-qcow2-linux-9eb4f3c45027d086a4953e78db6566c36953b9f7.tar.gz
kernel-qcow2-linux-9eb4f3c45027d086a4953e78db6566c36953b9f7.tar.xz
kernel-qcow2-linux-9eb4f3c45027d086a4953e78db6566c36953b9f7.zip
arm64: dts: rockchip: configure PCIe support for rk3399-evb
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> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-evb.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb.dts b/arch/arm64/boot/dts/rockchip/rk3399-evb.dts
index d47b4e97dede..0d7c8ab8d8e0 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";
};