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 f64aab4..c4fe7f8 100644 (file)
                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";
+};