* how can I write a Device Tree Source for PCI-PCI Bridge?
@ 2010-03-17 17:05 Jianbin Hu
2010-03-18 8:58 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Jianbin Hu @ 2010-03-17 17:05 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
Hi, all
My board have a PCIe switch(PLX PEX8608), which have a AMCC 460EX processor.
I have parted the dts source file from canyonlands.dts.
But I have no idea for the PCI bridge device node. Is anyone have a
suggestion ?
Best Regards.
[-- Attachment #2: Type: text/html, Size: 300 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how can I write a Device Tree Source for PCI-PCI Bridge?
2010-03-17 17:05 how can I write a Device Tree Source for PCI-PCI Bridge? Jianbin Hu
@ 2010-03-18 8:58 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2010-03-18 8:58 UTC (permalink / raw)
To: Jianbin Hu; +Cc: linuxppc-dev
On Thu, 2010-03-18 at 01:05 +0800, Jianbin Hu wrote:
> My board have a PCIe switch(PLX PEX8608), which have a AMCC 460EX
> processor. I have parted the dts source file from canyonlands.dts. But
> I have no idea for the PCI bridge device node. Is anyone have a
> suggestion ?
Hi !
First, you don't always need one. The kernel will be happy without a
device node, unless you want to also represent some devices below that
bridge for some reason (such as providing the driver with specific
properties from the FW), or your interrupt routing for devices below the
bridge doesn't follow the standard PCI swizzling.
If you really want to represent it, let me know, I'll try to cook up an
example for you tomorrow. You may want to read the Open Firmware PCI
binding too which contains all the explanation but it can be a tedious
read :-)
Cheers,
Ben.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-18 8:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 17:05 how can I write a Device Tree Source for PCI-PCI Bridge? Jianbin Hu
2010-03-18 8:58 ` Benjamin Herrenschmidt
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).