open-pic device tree node and subnodes for additional functionality?

Scott Wood scottwood at freescale.com
Tue Feb 17 05:12:41 EST 2009


On Mon, Feb 16, 2009 at 10:58:42AM -0600, Kumar Gala wrote:
> On Freescale open-pic controllers we have a number of additional  
> features not spec'd per openpic.  (additional timers, perf mon, PCIe  
> msi, message interrupts, ...).  The problem is how to identify these  
> features in the device tree.

How about adding compatible = "fsl,CHIP-mpic", "fsl,mpic" (or something
similar) to the mpic node?

> For example we have:
> 
>                 msi at 41600 {
>                         compatible = "fsl,mpc8572-msi", "fsl,mpic-msi";
>                         reg = <0x41600 0x80>;
>                         msi-available-ranges = <0 0x100>;
>                         interrupts = <
>                                 0xe0 0
>                                 0xe1 0
>                                 0xe2 0
>                                 0xe3 0
>                                 0xe4 0
>                                 0xe5 0
>                                 0xe6 0
>                                 0xe7 0>;
>                         interrupt-parent = <&mpic>;
>                 };

How much of that node's content is going to differ from one Freescale
MPIC to another?

-Scott



More information about the Linuxppc-dev mailing list