arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy
authorRichard Zhu <hongxing.zhu@nxp.com>
Wed, 14 Apr 2021 02:26:14 +0000 (10:26 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 12 Jun 2021 08:17:02 +0000 (16:17 +0800)
Both 1.8v and 3.3v power supplies can be used by i.MX8MQ PCIe PHY.
In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data
sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design,
the VREG_BYPASS bits of GPR registers should be cleared from default
value 1b'1 to 1b'0. Thus, the internal 3v3 to 1v8 translator would be
turned on.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-evk.dts

index 85b0452..4d2035e 100644 (file)
                 <&clk IMX8MQ_CLK_PCIE1_PHY>,
                 <&pcie0_refclk>;
        clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
+       vph-supply = <&vgen5_reg>;
        status = "okay";
 };