MPC5200 PCI Issues
Grant Likely
grant.likely at secretlab.ca
Thu Feb 5 04:54:55 EST 2009
On Wed, Feb 4, 2009 at 9:53 AM, Tobias Knutsson
<tobias.knutsson at gmail.com> wrote:
> clock-frequency = <0x1e84800>; //<0>; // From boot loader
> interrupts = <2 8 0 2 9 0 2 10 0>;
> interrupt-parent = <&mpc5200_pic>;
> bus-range = <0 0>;
> ranges = <0x02000000 0 0x50000000 0x50000000 0 0x10000000
> 0x01000000 0 0x00000000 0x60000000 0 0x01000000>;
> };
>
> The cards' memory regions are mapped out fine to different addresses
> in the 0x50000000-0x60000000 range. However, the IO regions are all mapped
> to zero.
>
> Do you have any idea on what could be wrong or in which direction I
> should be looking?
Hmmm. Your ranges property looks okay to me. The MPC5200 setup code
may be doing the wrong thing. Turn on debug at the top of
arch/powerpc/platforms/mpc52xx/mpc52xx_pci.c and post your kernel
output.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-dev
mailing list