Subject: Question on assigning interrupts in a dts

From: Michael Galea <[email-masked]>
Date: Thu, 12 Jun 2008 10:12:09 -0400

Hi All,
     I'm building a dts for a custom 8360 based board.  I'm looking at 
the mpc8360_mds and mpc8360_rdk dts files, trying to figure out how the 
UCCs (and all peripherals in general) got the values of their 
"interrupts" properties chosen.  And is there any relationship between 
the choice of interrupts for ucc1 and the qeic controller..  Can anyone 
point me some docs for this?

             enet0: ucc@2000 {
                 device_type = "network";
                 compatible = "ucc_geth";
                 cell-index = <1>;
                 reg = <0x2000 0x200>;
                 interrupts = <32>;
         ..
             };

              enet1: ucc@3000 {
                 device_type = "network";
                 compatible = "ucc_geth";
                 cell-index = <2>;
                 reg = <0x3000 0x200>;
                 interrupts = <33>;
         ..
             };

             qeic: interrupt-controller@80 {
                 #address-cells = <0>;
                 #interrupt-cells = <1>;
                 compatible = "fsl,qe-ic";
                 interrupt-controller;
                 reg = <0x80 0x80>;
                 big-endian;
                 interrupts = <32 8 33 8>;
                 interrupt-parent = <&ipic>;
             };

Thanks

-- 
Michael Galea