linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Curtis Wald" <CWald@WatchGuardVideo.com>
To: <jwboyer@linux.vnet.ibm.com>, <mporter@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: [PATCH] POWERPC 4xx: Fix PCI in AMCC 440EP Yosemite DTS
Date: Mon, 16 Nov 2009 11:36:40 -0600	[thread overview]
Message-ID: <13F6A75BE29CE44F801B912901C3EF27022A3993@wgv4.watchguardvideo.local> (raw)

Yosemite.dts stanza for PCI was copied from Bamboo which has four PCI
slots; Yosemite only has one PCI slot which is mapped to
IDSEL 12, ADDR 22, IRQ2 Vector 25, INTA.

Signed-off-by: Curtis Wald <cwald@watchguardvideo.com>
---
 arch/powerpc/boot/dts/yosemite.dts |   17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/arch/powerpc/boot/dts/yosemite.dts
b/arch/powerpc/boot/dts/yosemite.dts
index 1fa3cb4..8328be5 100644
--- a/arch/powerpc/boot/dts/yosemite.dts
+++ b/arch/powerpc/boot/dts/yosemite.dts
@@ -276,26 +276,19 @@
                         * later cannot be changed. Chip supports a
second
                         * IO range but we don't use it for now
                         */
+
+                        /*       u32              u64
u64                     u64  */
+                        /*       pci_space        pci_addr
cpu_addr                size */
                        ranges =3D <0x02000000 0x00000000 0xa0000000
0x00000000 0xa0000000 0x00000000 0x20000000
                                  0x01000000 0x00000000 0x00000000
0x00000000 0xe8000000 0x00000000 0x00010000>;
=20
                        /* Inbound 2GB range starting at 0 */
                        dma-ranges =3D <0x42000000 0x0 0x0 0x0 0x0 0x0
0x80000000>;
=20
-                       /* Bamboo has all 4 IRQ pins tied together per
slot */
                        interrupt-map-mask =3D <0xf800 0x0 0x0 0x0>;
                        interrupt-map =3D <
-                               /* IDSEL 1 */
-                               0x800 0x0 0x0 0x0 &UIC0 0x1c 0x8
-
-                               /* IDSEL 2 */
-                               0x1000 0x0 0x0 0x0 &UIC0 0x1b 0x8
-
-                               /* IDSEL 3 */
-                               0x1800 0x0 0x0 0x0 &UIC0 0x1a 0x8
-
-                               /* IDSEL 4 */
-                               0x2000 0x0 0x0 0x0 &UIC0 0x19 0x8
+                               /* IDSEL 12, ADDR 22, INTA, IRQ2 =3D
Vector 25, 0x19 */
+                               0x6000 0x0 0x0 0x0 &UIC0 0x19 0x8
                        >;
                };
        };

             reply	other threads:[~2009-11-16 17:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 17:36 Curtis Wald [this message]
2009-11-30 13:41 ` [PATCH] POWERPC 4xx: Fix PCI in AMCC 440EP Yosemite DTS Josh Boyer
2009-11-30 15:25   ` Curtis Wald
2009-12-04 12:07     ` Josh Boyer
2009-12-04 14:19       ` Curtis Wald

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=13F6A75BE29CE44F801B912901C3EF27022A3993@wgv4.watchguardvideo.local \
    --to=cwald@watchguardvideo.com \
    --cc=jwboyer@linux.vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mporter@kernel.crashing.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).