Re: PCI device support in Open Firmware (device tree syntax)

2009-07-01 Thread Benjamin Herrenschmidt
> You are right. u-boot do PCI device BAR resources assign and flat > device tree describe PCI device interrupt-map. I use "lspci -s xxx -x" > for the PCI device, the resources was assigned properly. Note that the device-tree -can- contain PCI devices, but it's not mandatory. If your bootloader

Re: PCI device support in Open Firmware (device tree syntax)

2009-06-30 Thread Johnny Hung
2009/6/30 Marco Stornelli : > 2009/6/30 Johnny Hung : >> Thanks for your reply. So there are no PCI device resource info in >> flat device tree. >> How do PCI device resources be assign in general case or is there any >> example? >> I am so confusing, would you please give me detailed describle? >

Re: PCI device support in Open Firmware (device tree syntax)

2009-06-29 Thread Johnny Hung
Thanks for your reply. So there are no PCI device resource info in flat device tree. How do PCI device resources be assign in general case or is there any example? I am so confusing, would you please give me detailed describle? BRs, H. Johnny > > With flat device trees, PCI devices are not typical

Re: PCI device support in Open Firmware (device tree syntax)

2009-06-29 Thread Scott Wood
On Mon, Jun 29, 2009 at 11:58:22PM +0800, Johnny Hung wrote: > Hi all, > I am working in customized Freescale MPC8313 board. There are two > PCI devices (Broadcom Switch) in PCI bus. > Each PCI device has its configuration space. It contains > vendor/product ID (RO)..., and important informatio