interrupt cells of i.MX6 in devicetree

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

interrupt cells of i.MX6 in devicetree

1,082 次查看
宗標廖
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 回复

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