Meaning of Parameters in DTS File

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

Meaning of Parameters in DTS File

1,127件の閲覧回数
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 返信

860件の閲覧回数
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 件の賞賛
返信