From: "Alan Bennett" <embedded@akb.net>
To: linuxppc-dev@ozlabs.org
Subject: Describing devices in the device tree
Date: Tue, 16 Oct 2007 12:36:44 -0600 [thread overview]
Message-ID: <bfa0697f0710161136y7d28ccd6w828f16d30f85ce19@mail.gmail.com> (raw)
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
next reply other threads:[~2007-10-16 18:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 18:36 Alan Bennett [this message]
2007-10-16 20:06 ` Describing devices in the device tree Grant Likely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfa0697f0710161136y7d28ccd6w828f16d30f85ce19@mail.gmail.com \
--to=embedded@akb.net \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).