]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: rockchip: configure PCIe support for rk3399-evb
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 19 Aug 2016 03:24:29 +0000 (11:24 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 2 Sep 2016 15:17:06 +0000 (17:17 +0200)
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>
arch/arm64/boot/dts/rockchip/rk3399-evb.dts

index d47b4e97dede91e6ea0577da84fc36328a7d3985..0d7c8ab8d8e05dc9b688ea4c7dd3e93fb985566a 100644 (file)
@@ -120,6 +120,18 @@ &sdhci {
        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";
 };