Meaning of Parameters in DTS File

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

Meaning of Parameters in DTS File

825 Views
avinashh
Contributor III

Hi,

can anyone explain what does each value represents in following dts structure for PCI bus of P2041?

interrupts = <16 2 1 13>;
interrupt-map-mask = <0xf800 0 0 7>;
interrupt-map = <0 0 0 1 &mpic 42 1 0 0

                            0 0 0 2 &mpic 9 1 0 0

                            0 0 0 3 &mpic 10 1 0 0

                            0 0 0 4 &mpic 11 1 0 0>;

thanks,

Avinash

Labels (1)
Tags (2)
0 Kudos
1 Reply

558 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

The device tree needs a way of mapping each PCI interrupt signal to the inputs of the interrupt controller. The #interrupt-cells, #interrupt-map and #interrupt-map-mask properties are used to describe the interrupt mapping. Please see

http://elinux.org/Device_Tree_Usage#Advanced_Interrupt_Mapping

It provides explanation right for this case.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos