linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Describing devices in the device tree
@ 2007-10-16 18:36 Alan Bennett
  2007-10-16 20:06 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Bennett @ 2007-10-16 18:36 UTC (permalink / raw)
  To: linuxppc-dev

I'm using a modified ep8248e.dts to describe my hardware and I want to
enable the use of 3 standard interrupts.

  1. irq5
  2. timer1
  3. timer2

How bad does this look?
soc --> cpm -->
                       timer {
                               device_type = "timer";
                               compatible = "fsl,mpc8248-timer";
                               interrupts = <c 8 d 8>;
                               interrupt-parent = <&PIC>;
                       };
                       irq5 {
                               device_type = "irq5";
                               compatible = "fsl,mpc8248-irq5";
                               interrupts = <17 8>;
                               interrupt-parent = <&PIC>;
                       };

-Alan

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

end of thread, other threads:[~2007-10-16 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16 18:36 Describing devices in the device tree Alan Bennett
2007-10-16 20:06 ` Grant Likely

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).