ARM: dts: imx7d: Add node for PCIe PHY
authorTrent Piepho <tpiepho@impinj.com>
Tue, 5 Feb 2019 00:17:40 +0000 (00:17 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 12 Feb 2019 19:17:34 +0000 (19:17 +0000)
This adds the PHY as a new node. The PCI-e controller node gains a
phandle property that points to it.

There isn't yet any code in the kernel that uses this device's
registers, but it will be added for a PCIe PLL erratum workaround.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
arch/arm/boot/dts/imx7d.dtsi

index 6b298e3..6eb98e7 100644 (file)
        };
 };
 
+&aips2 {
+       pcie_phy: pcie-phy@306d0000 {
+                 compatible = "fsl,imx7d-pcie-phy";
+                 reg = <0x306d0000 0x10000>;
+                 status = "disabled";
+       };
+};
+
 &aips3 {
        usbotg2: usb@30b20000 {
                compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
                         <&src IMX7_RESET_PCIE_CTRL_APPS_EN>,
                         <&src IMX7_RESET_PCIE_CTRL_APPS_TURNOFF>;
                reset-names = "pciephy", "apps", "turnoff";
+               fsl,imx7d-pcie-phy = <&pcie_phy>;
                status = "disabled";
        };
 };