linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* open-pic device tree node and subnodes for additional functionality?
@ 2009-02-16 16:58 Kumar Gala
  2009-02-16 18:12 ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2009-02-16 16:58 UTC (permalink / raw)
  To: linuxppc-dev list

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.

For example we have:

                 msi@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>;
                 };

                 mpic: pic@40000 {
                         interrupt-controller;
                         #address-cells = <0>;
                         #interrupt-cells = <2>;
                         reg = <0x40000 0x40000>;
                         compatible = "chrp,open-pic";
                         device_type = "open-pic";
                 };

---

should we put msi under the pic node as a child and add ranges, etc.   
The question that raises in my mind is what does the reg property end  
up meaning.  I assume it shouldn't stay as is.

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-19  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16 16:58 open-pic device tree node and subnodes for additional functionality? Kumar Gala
2009-02-16 18:12 ` Scott Wood
2009-02-16 18:50   ` Kumar Gala
2009-02-19  7:14     ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).