1046A pcie ,Failed to enable MSI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1046A pcie ,Failed to enable MSI

1,357 Views
xinchen3
Contributor I

 

i use pcie3: pcie@3600000 x2 gen2,and want to enable MSI to apply other driver(qcom mhi),How do I configure my platform's dts file? thanks!
pcie@3600000 {
            compatible = "fsl,ls1046a-pcie""snps,dw-pcie";
            reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
                   0x50 0x00000000 0x0 0x00002000>; /* configuration space */
            reg-names = "regs""config";
            interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
                     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
            interrupt-names = "aer""pme";
            #address-cells = <3>;
            #size-cells = <2>;
            device_type = "pci";
            dma-coherent;
            iommu-map = <0 &smmu 0 1>;
            bus-range = <0x0 0xff>;
            ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000   /* downstream I/O */
                  0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
            msi-parent = <&msi3>, <&msi1>, <&msi2>;
            #interrupt-cells = <1>;
            interrupt-map-mask = <0 0 0 7>;
            interrupt-map = <0000 0 0 1 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
                    <0000 0 0 2 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
                    <0000 0 0 3 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
                    <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
            status = "disabled";
        };
0 Kudos
2 Replies

1,074 Views
yang-
Contributor I

Hi chenxin

I have the same problem about pcie-MSI of ls1046 as you, How did you finally solve it? looking forward to your help~

Thanks~

0 Kudos

1,340 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello xinchen3,

I discussed with LSDK development team. No need to modify dts file to enable MSI, for PCIe device driver development you could refer to drivers/net/ethernet/intel/e1000e/netdev.c.

 

Thanks,

Yiping

0 Kudos