From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: pci and pcie device-tree binding - range No cells Date: Tue, 11 Dec 2012 09:38:17 +1100 Message-ID: <1355179097.19932.5.camel@pasglop> References: <50C5D387.90908@monstr.eu> <50C5F11D.9060006@gmail.com> <50C5FA3E.9030303@monstr.eu> <50C5FE0F.3050108@gmail.com> <50C601B6.2080107@monstr.eu> <20121210214323.6EA733E0921@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121210214323.6EA733E0921@localhost> Sender: linux-pci-owner@vger.kernel.org To: Grant Likely Cc: monstr@monstr.eu, Rob Herring , devicetree-discuss@lists.ozlabs.org, linux-pci@vger.kernel.org, Rob Herring , linuxppc-dev , Thierry Reding List-Id: devicetree@vger.kernel.org On Mon, 2012-12-10 at 21:43 +0000, Grant Likely wrote: > > Sorry for my pci ignorance (have never got hw for mb/zynq) > > I just want to get better overview how we should we our drivers to > be compatible. > > > > Does it mean that pci is supposed be always 64 bit wide? > > And there is no option to have just 32bit values. > > Yes, PCIe addressing is always 64 bits wide. Even on 32bit PCI systems > we use 64 bit PCI addressing in the device tree. Right. The size & format of an address cell for PCI is specified in the OF PCI bindings and we follow that binding. It's always 3 cells. Cheers, Ben.