Meaning of Parameters in DTS File

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Meaning of Parameters in DTS File

1,130 次查看
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

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

863 次查看
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 项奖励
回复