interrupt cells of i.MX6 in devicetree

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

interrupt cells of i.MX6 in devicetree

1,126件の閲覧回数
宗標廖
Contributor V

Hello Community

in linux4.1.15/Documentation/devicetree/bindings/interrupt-controller/interruputs.txt, it only explains the meaning of interrupt specifier with one cell and two cells.

But in imx6qdl.dtsi, interrupt specifier has three cells, for example:

----------

src: src@020d8000 {
compatible = "fsl,imx6q-src", "fsl,imx51-src";
reg = <0x020d8000 0x4000>;
interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
<0 96 IRQ_TYPE_LEVEL_HIGH>;
#reset-cells = <1>;
};

-----------

I understood that the second cell means index of the interrupt and the third cell specifies trigger type and level flags.

What does the first cell mean.

Does it mean: 1-irq masked and 0-irq is not masked ?

Best Regards

ZongbiaoLiao

ラベル(3)
0 件の賞賛
返信
1 返信

971件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi ZongbiaoLiao

please check p.8 AN5125 Introductin to Devoce Trees

http://www.nxp.com/assets/documents/data/en/application-notes/AN5125.pdf 

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

0 件の賞賛
返信