Re: of_serial and device trees

2009-03-25 Thread Michael Ellerman
On Wed, 2009-03-25 at 11:39 -0500, Scott Wood wrote: > Simon Kagstrom wrote: > > There are no other versions yet, but I suppose there will be (it's > > implemented in a FPGA after all!). So what is the general handling of > > versions, should it be something like > > > > compatible = "ericsson,i

Re: of_serial and device trees

2009-03-25 Thread Scott Wood
Simon Kagstrom wrote: There are no other versions yet, but I suppose there will be (it's implemented in a FPGA after all!). So what is the general handling of versions, should it be something like compatible = "ericsson,isf-pic", "ericsson,isf-pic-v2" etc if we'd make new revisions of the dev

Re: of_serial and device trees

2009-03-25 Thread Simon Kagstrom
Hi Scott! Thanks a lot for all your help with the device tree! As you suspected, I'm writing for a fairly old kernel (2.6.21, WindRiver). I know, I know. On Tue, 24 Mar 2009 10:55:45 -0500 Scott Wood wrote: > Add compatible = "simple-bus". This lets children of this node be probed > by of_plat

Re: of_serial and device trees

2009-03-24 Thread Scott Wood
On Tue, Mar 24, 2009 at 09:49:59AM +0100, Simon Kagstrom wrote: > My problem is that I can't figure out how to express this correctly in > the device tree for the board. My device tree looks like this ("isf" is > the name of the FPGA): > > i...@c002 { > #address-cells = <1>

of_serial and device trees

2009-03-24 Thread Simon Kagstrom
Hi! I'm working on a custom Freescale 8544-based board and having some trouble with getting the device tree right. In particular, we have a setup which looks like this: * We have an FPGA which contains a few serial ports, an interrupt controller and some other devices * The serial ports are "n