]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: dra76-evm: Enable x2 PCIe lanes
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 19 Dec 2017 09:31:30 +0000 (15:01 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Dec 2017 15:24:52 +0000 (07:24 -0800)
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 <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra76-evm.dts

index f64aab450315d878be8f7f80ac65672a0ce58e9c..c4fe7f8ef72abf25b37cf3293cdea891b6076f87 100644 (file)
@@ -422,3 +422,19 @@ m25p80@0 {
                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";
+};