On Mon, May 19, 2008 at 10:53:42AM +1000, David Gibson wrote: > On Fri, May 16, 2008 at 12:28:48PM -0700, Remi Machet wrote: > > Support for the C2K cPCI Single Board Computer from GEFanuc
[snip] > [snip] > > + /* Devices attached to the device controller */ > > + devicebus { > > + compatible = "marvell,mv64306-devctrl"; > > + #address-cells = <1>; > > + #size-cells = <1>; > > This looks like it needs either a "reg" or a "ranges" property. If > the address space of this "devicebus" is the same as the parent bus > you need an empty "ranges" property. *No* ranges property means the > subordinate devices can't be directly accessed at all from the parent > bus. Oh, one other comment here. Is this another of these random peripheral busses with a bunch of registers controlling which chip selects appear at which address offsets and so forth (like ebc on 4xx or localbus on freescale)? If so, the normal convention to describe such busses is *not* to have a 1:1 address mapping, but actually encode the addresses of the subordinate devices as <chipselect offset>, then have an appropriate "ranges" property to map those into the addresses on the parent bus (the ranges property can be filled in by the bootwrapper from the actual bridge configuration registers, if necessary). The rationale is again to have the device tree describe hardware, not configuration as much as possible. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev