From: "Steven A. Falco" <sfalco-7/gz0mrWfc7QT0dZR+AlfA@public.gmane.org>
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: [Question] PCIe bridge representation
Date: Fri, 22 Apr 2011 12:57:31 -0400 [thread overview]
Message-ID: <4DB1B37B.90806@harris.com> (raw)
I have a custom embedded board using the PPC405EX. On one of the PCIe
controllers, there is a PLX PCIe switch (PEX8613). Downstream from that
are two ASICs.
When I attempt to load the driver for the ASICs, I get an error:
0001:43:00.0: device not available because of BAR 0 [0xa1000000-0xa1ffffff] collisions
My device tree is basically copied from the Kilauea evaluation board.
The ranges property for the host bridge is:
ranges = <0x02000000 0x00000000 0x80000000 0x90000000 0x00000000 0x10000000
0x01000000 0x00000000 0x00000000 0xe8010000 0x00000000 0x00010000>;
The strange thing is, the ASICs should be assigned addresses in the
0x90000000 space, not 0xa1000000.
So I'm wondering if I need something explicit in the device tree to
describe the PCIe switch, and possibly the ASICs as well.
I'll note in passing that a previous custom board we built used a PCI bridge
chip instead of the PCIe switch. On that board, nothing special was needed.
The addresses were allocated in 0x90000000 as expected.
Steve
--
A: Because it makes the logic of the discussion difficult to follow.
Q: Why shouldn't I top post?
A: No.
Q: Should I top post?
reply other threads:[~2011-04-22 16:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4DB1B37B.90806@harris.com \
--to=sfalco-7/gz0mrwfc7qt0dzr+alfa@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.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).