Browse Source

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>
Shawn Lin 9 years ago
parent
commit
9eb4f3c450
1 changed files with 12 additions and 0 deletions
  1. 12 0
      arch/arm64/boot/dts/rockchip/rk3399-evb.dts

+ 12 - 0
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";
 };