From: Shawn Lin Date: Fri, 19 Aug 2016 03:24:29 +0000 (+0800) Subject: arm64: dts: rockchip: configure PCIe support for rk3399-evb X-Git-Tag: v4.9-rc1~75^2~9^2~7 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=9eb4f3c45027d086a4953e78db6566c36953b9f7;p=linux.git 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 Signed-off-by: Heiko Stuebner --- 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 @@ &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"; };