return 0;
 }
 
-static int imx7d_pcie_init_phy(struct imx_pcie *imx_pcie)
-{
-       regmap_update_bits(imx_pcie->iomuxc_gpr, IOMUXC_GPR12, IMX7D_GPR12_PCIE_PHY_REFCLK_SEL, 0);
-
-       return 0;
-}
-
 static int imx_pcie_init_phy(struct imx_pcie *imx_pcie)
 {
        regmap_update_bits(imx_pcie->iomuxc_gpr, IOMUXC_GPR12,
                .clks_cnt = ARRAY_SIZE(imx6q_clks),
                .mode_off[0] = IOMUXC_GPR12,
                .mode_mask[0] = IMX6Q_GPR12_DEVICE_TYPE,
-               .init_phy = imx7d_pcie_init_phy,
                .enable_ref_clk = imx7d_pcie_enable_ref_clk,
                .core_reset = imx7d_pcie_core_reset,
        },