linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Andre Schwarz <andre.schwarz@matrix-vision.de>
To: Tjernlund <tjernlund@tjernlund.se>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: IRQ2-4 number to use on mpc83xx?
Date: Tue, 23 Sep 2008 11:08:53 +0200	[thread overview]
Message-ID: <48D8B225.4000709@matrix-vision.de> (raw)
In-Reply-To: <062501c91d03$0c46be40$24d43ac0$@se>

I can only tell how I do on MPC834x :

Table 8-6. IVEC/CVEC/MVEC Field Definition

Interrupt ID Number         Interrupt Meaning
17                                           IRQ1
18                                           IRQ2
19                                           IRQ3
20                                           IRQ4
21                                           IRQ5
22                                           IRQ6
23                                           IRQ7
48                                           IRQ0


Given this I can use this dts section for PCI devices connected @ IRQ0
and IRQ1

interrupt-map = <0x5800 0 0 1 &ipic 0x30 0x8
                                 0x6000 0 0 1 &ipic 0x11 0x8
                                 0x6000 0 0 2 &ipic 0x11 0x8>;

You should be able to use IRQ-Nr 18-20 for IRQ2-4.

regards,
Andre

Tjernlund schrieb:
> I am trying to figure out what IRQ number I should use for 
> external IRQ pins IRQ2-4. Can somebody please drop me a note
> on how the IRQ numbering works?
>
>     Jocke 
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>   


MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

  reply	other threads:[~2008-09-23  9:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-22 22:32 IRQ2-4 number to use on mpc83xx? Tjernlund
2008-09-23  9:08 ` Andre Schwarz [this message]
2008-09-23 11:08   ` Joakim Tjernlund
2008-09-23 20:18     ` Joakim Tjernlund
2008-09-24  7:16       ` Joakim Tjernlund

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=48D8B225.4000709@matrix-vision.de \
    --to=andre.schwarz@matrix-vision.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=tjernlund@tjernlund.se \
    /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).