From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buildserver.ru.mvista.com (unknown [85.21.88.6]) by ozlabs.org (Postfix) with ESMTP id 01F06DE448 for ; Thu, 8 Jan 2009 02:19:45 +1100 (EST) Date: Wed, 7 Jan 2009 18:19:42 +0300 From: Anton Vorontsov To: Kumar Gala Subject: Re: [PATCH 2/2] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E Message-ID: <20090107151942.GA2156@oksana.dev.rtsoft.ru> References: <20090105174050.GA30219@oksana.dev.rtsoft.ru> <20090105174155.GB8718@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 In-Reply-To: <20090105174155.GB8718@oksana.dev.rtsoft.ru> Cc: Huang Changming , Liu Dave , linuxppc-dev@ozlabs.org Reply-To: avorontsov@ru.mvista.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Jan 05, 2009 at 08:41:55PM +0300, Anton Vorontsov wrote: > This patch adds pcie nodes to the appropriate dts files, plus adds > some probing code for the boards. > > Signed-off-by: Anton Vorontsov > --- [...] > diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts b/arch/powerpc/boot/dts/mpc8377_mds.dts > index 1d14d70..b12b9b4 100644 > --- a/arch/powerpc/boot/dts/mpc8377_mds.dts > +++ b/arch/powerpc/boot/dts/mpc8377_mds.dts [...] > + pci1: pcie@e0009000 { > + #address-cells = <3>; > + #size-cells = <2>; > + #interrupt-cells = <1>; > + device_type = "pci"; > + compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie"; > + reg = <0xe0009000 0x00001000>; > + ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 > + 0x01000000 0 0x00000000 0xb1000000 0 0x00800000>; I just noticed that for MPC837x boards FSL U-Boots set up cfg space at 0xa0000000, mem at 0xa8000000, and io at 0xb8000000. So the setup is differerent from MPC8315 boards (the ones I was testing this patch with). I'll send an update today, and will test it on MPC837x and MPC831x boards (but firstly need to finish and send PCI-E patches for the community U-Boots). -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2