MLK-16073 ARM64: dts: enable pcie on imx8qxp mek board
authorRichard Zhu <hongxing.zhu@nxp.com>
Mon, 24 Jul 2017 09:47:58 +0000 (17:47 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:54 +0000 (15:33 -0500)
Enable the pcie support for iMX8QXP MEK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek.dts

index 9d17f2f..8f741ce 100644 (file)
                                SC_P_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x06000021
                        >;
                };
+
+               pinctrl_pcieb: pcieagrp{
+                       fsl,pins = <
+                               SC_P_PCIE_CTRL0_PERST_B_LSIO_GPIO4_IO00         0x06000021
+                               SC_P_PCIE_CTRL0_CLKREQ_B_LSIO_GPIO4_IO01        0x06000021
+                               SC_P_PCIE_CTRL0_WAKE_B_LSIO_GPIO4_IO02          0x06000021
+                       >;
+               };
        };
 };
 
        vmmc-supply = <&reg_usdhc2_vmmc>;
        status = "okay";
 };
+
+&pcieb{
+       ext_osc = <1>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pcieb>;
+       clkreq-gpio = <&gpio4 1 GPIO_ACTIVE_LOW>;
+       reset-gpio = <&gpio4 0 GPIO_ACTIVE_LOW>;
+       status = "okay";
+};