Help with interrupts = <...> section of dtb file

Subodh Nijsure subodh.nijsure at gmail.com
Thu Apr 2 17:31:29 EST 2009


Hello,

I need some help in understanding the interrupts = <...> section of DTB file.

I have read the Documentation/booting-without-of.txt  and I understand
that interrupts = <A B> means interrupt A and B is "enum" that
indicates if its an edge or level interrupt.

I need bit of help in parsing the description below:

                enet0: ethernet at 24000 {

                        cell-index = <0>;

                        device_type = "network";

                        model = "eTSEC";

                        compatible = "gianfar";

                        reg = <0x24000 0x1000>;

                        local-mac-address = [ 00 00 00 00 00 00 ];

                        interrupts = <29 2 30 2 34 2>;

                        interrupt-parent = <&mpic>;

                        phy-handle = <&phy0>;

                        phy-connection-type = "sgmii";

                };

If I follow the interrupts description are we saying that this eTSEC1
on the board will generate interrupt 29, 30 & 34? Should see them as
registered interrupts in /proc/interrupt?

I would really appreciate any explanation or links that might explain this.

Regards,
/Subodh Nijsure


More information about the Linuxppc-dev mailing list