arm64: dts: imx8mp: Add PCIe support to DH electronics i.MX8M Plus DHCOM and PDK2
authorMarek Vasut <marex@denx.de>
Fri, 17 Feb 2023 19:24:44 +0000 (20:24 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Mar 2023 01:41:55 +0000 (09:41 +0800)
Add PCIe support for DH electronics i.MX8M Plus DHCOM SoM on PDK2 carrier board.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk2.dts

index 382fbed..fdf18b7 100644 (file)
        status = "okay";
 };
 
+&pcie_phy {
+       clock-names = "ref";
+       clocks = <&clk IMX8MP_SYS_PLL2_100M>;
+       fsl,clkreq-unsupported;
+       fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_UNUSED>;
+       status = "okay";
+};
+
+&pcie {
+       fsl,max-link-speed = <1>;
+       reset-gpio = <&gpio1 6 GPIO_ACTIVE_LOW>;        /* GPIO J */
+       status = "okay";
+};
+
 &usb3_1 {
        fsl,over-current-active-low;
 };