interrupt cells of i.MX6 in devicetree

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

interrupt cells of i.MX6 in devicetree

1,126 Views
宗標廖
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

Labels (3)
0 Kudos
Reply
1 Reply

971 Views
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 Kudos
Reply