AnsweredAssumed Answered

MSI configuration (DTS)T2080RDB

Question asked by manolo ruiz on Jun 13, 2016
Latest reply on Nov 2, 2017 by Nicolae Rosia

Hi,

 

I have a PCI device and I want that it work with MSI interrupts. However, I do not know what should I type in my device tree in order to get it. This is what I have now from SDK 2.0:

 

pcie@ffe270000 {

  reg = <0xf 0xfe270000 0x0 0x10000>;

  ranges = <0x2000000 0x0 0x80000000 0xc 0x80000000 0x0 0x80000000 0x1000000 0x0 0x0 0xf 0xf8030000 0x0 0x10000>;

  dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x8000>;

 

  compatible = "fsl,t2080-pcie", "fsl,qoriq-pcie-v3.0", "fsl,qoriq-pcie";

  device_type = "pci";

  #size-cells = <0x2>;

  #address-cells = <0x3>;

  bus-range = <0x0 0xff>;

  interrupts = <0x17 0x2 0x0 0x0>;

  fsl,iommu-parent = <0x24>;

 

 

  pcie@0 {

  ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 0x0 0x80000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x10000>;

  reg = <0x0 0x0 0x0 0x0 0x0>;

  #interrupt-cells = <0x1>;

  #size-cells = <0x2>;

  #address-cells = <0x3>;

  device_type = "pci";

  interrupts = <0x17 0x2 0x0 0x0>;

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

  interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x2b 0x1 0x0 0x0 0x0 0x0 0x0 0x2 0x1 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x3 0x1 0x4 0x1 0x0 0x0 0x0 0x0 0x0 0x4 0x1 0x8 0x1 0x0 0x0>;

 

 

  };

  };

 

What should I modify?

Outcomes