PCIE interrupt problem on the IMX8MM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PCIE interrupt problem on the IMX8MM

527件の閲覧回数
jack_huang1
Contributor III

Dear,

        The following problems occur when the PCIE port on the imx8mm connects to a 5G module(Quectel: RM500U-CN uses M.2 package):

          The manufacturer inspection result of the remote module: the 5G module can receive the interrupt signal of IMX8MM, but the IMX8MM can not receive the interrupt signal sent by the 5G module, and the results are the same in INTx and MSI. What could be the cause?

           The device tree configuration is as follows:          

&pcie0 {

    pinctrl-names = "default";

    pinctrl-0 = <&pinctrl_pcie0>;

    disable-gpio = <&gpio4 4 GPIO_ACTIVE_LOW>;

    reset-gpio = <&gpio4 3 GPIO_ACTIVE_LOW>;

    wake-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>;

    clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>,

         <&clk IMX8MM_CLK_PCIE1_AUX>,

         <&clk IMX8MM_CLK_PCIE1_PHY>,

         <&pcie0_refclk>;

    clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";

    assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,

              <&clk IMX8MM_CLK_PCIE1_PHY>,

              <&clk IMX8MM_CLK_PCIE1_CTRL>;

    assigned-clock-rates = <10000000>, <100000000>, <250000000>;

    assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,

                 <&clk IMX8MM_SYS_PLL2_100M>,

                 <&clk IMX8MM_SYS_PLL2_250M>;

    ext_osc = <0>;

    status = "okay";

};

 

 

        pcie0: pcie@33800000 {

            compatible = "fsl,imx8mm-pcie", "snps,dw-pcie";

            reg = <0x33800000 0x400000>,

                <0x1ff00000 0x80000>;

            reg-names = "dbi", "config";

            #address-cells = <3>;

            #size-cells = <2>;

            device_type = "pci";

            bus-range = <0x00 0xff>;

            ranges =  <0x81000000 0 0x00000000 0x1ff80000 0 0x00010000 /* downstream I/O 64KB */

                   0x82000000 0 0x18000000 0x18000000 0 0x07f00000>; /* non-prefetchable memory */

            num-lanes = <1>;

            num-viewport = <4>;

            interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;

            interrupt-names = "msi";

            #interrupt-cells = <1>;

            interrupt-map-mask = <0 0 0 0x7>;

            interrupt-map = <0 0 0 1 &gic GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,

                    <0 0 0 2 &gic GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,

                    <0 0 0 3 &gic GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,

                    <0 0 0 4 &gic GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;

            linux,pci-domain = <0>;

            fsl,max-link-speed = <2>;

            power-domains = <&pcie_pd>;

            resets = <&src IMX8MQ_RESET_PCIEPHY>,

                 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>,

                 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_CLK_REQ>,

                 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>;

            reset-names = "pciephy", "apps", "clkreq", "turnoff";

            fsl,imx7d-pcie-phy = <&pcie_phy>;

            status = "disabled";

        };

        

          Thank you!

           Best Regards!

 

 

0 件の賞賛
返信
1 返信

471件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

Could you tell me the BSP version?

Please share the PCIE_PHY node config in DTS with me.

Regards

0 件の賞賛
返信