On 13/11/2012 09:49, Ithamar R. Adema wrote: > Hi all, > > After seeing Haiku/ARM scan my boot disk (yay!) I'm now looking at > Flattened Device Tree[1] support. This code should be generic, usable on > any platform, and I would like to make it a "bus" in the device manager, > like for example ACPI. > > FDT is simply a tree structure describing the different hardware > components, so conceptually it matches up real well with the > device_manager structure. However, the data contained has a little more > complexity then the current device_manager allows. The one thing I miss > in the device_manager API is the ability for lists, e.g. multiple IRQs, > multiple GPIOs, basically array support. For the record, currently Linux on OpenFirmware calls it to make a dump of the OF device tree into an FDT as well, to avoid relying on OF later on and having to keep the mappings around. François.