ARM: dts: imx6qp-sabresd: Enable PCIe support
authorRichard Zhu <hongxing.zhu@nxp.com>
Mon, 21 Feb 2022 06:33:56 +0000 (14:33 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 22 Feb 2022 06:57:30 +0000 (14:57 +0800)
In the i.MX6QP sabresd board(sch-28857) design, one external oscillator
is powered up by vgen3 and used as the PCIe reference clock source by
the endpoint device.

If RC uses this oscillator as reference clock too, PLL6(ENET PLL) would
has to be in bypass mode, and ENET clocks would be messed up.

To keep things simple, let RC use the internal PLL as reference clock
and set vgen3 always on to enable the external oscillator for endpoint
device on i.MX6QP sabresd board.

NOTE: This reference clock setup is used to pass the GEN2 TX compliance
tests, and isn't recommended as a setup in the end-user design.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qp-sabresd.dts

index 480e73183f6b10697183cee1cfc2eb6a7144baab..f69eec18d8657b01e19f686d623dcafc7cdfeb9e 100644 (file)
        };
 };
 
+&vgen3_reg {
+       regulator-always-on;
+};
+
 &pcie {
-       status = "disabled";
+       status = "okay";
 };
 
 &sata {