From: Kishon Vijay Abraham I Date: Tue, 19 Dec 2017 09:31:30 +0000 (+0530) Subject: ARM: dts: dra76-evm: Enable x2 PCIe lanes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c8249fa8fa00ea105dbe48ba70cb1d99170a9765;p=linux.git ARM: dts: dra76-evm: Enable x2 PCIe lanes DRA76 EVM has a 4-lane PCIe connector and DRA76 can support x2 lanes. Enable both the PCIe lanes here. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index f64aab450315d..c4fe7f8ef72ab 100644 --- a/arch/arm/boot/dts/dra76-evm.dts +++ b/arch/arm/boot/dts/dra76-evm.dts @@ -422,3 +422,19 @@ spi-max-frequency = <96000000>; }; }; + +&pcie2_phy { + status = "okay"; +}; + +&pcie1_rc { + num-lanes = <2>; + phys = <&pcie1_phy>, <&pcie2_phy>; + phy-names = "pcie-phy0", "pcie-phy1"; +}; + +&pcie1_ep { + num-lanes = <2>; + phys = <&pcie1_phy>, <&pcie2_phy>; + phy-names = "pcie-phy0", "pcie-phy1"; +};