All of lore.kernel.org
 help / color / mirror / Atom feed
* Using CONFIG_ARM_APPENDED_DTB with multiple device trees
@ 2015-10-20  3:27 ` Chris Packham
  0 siblings, 0 replies; 6+ messages in thread
From: Chris Packham @ 2015-10-20  3:27 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

We currently have several boards based around the 88f6281 (kirkwood) ARM 
CPU.

The boards all share a kernel image (currently 3.16 based but we're in 
the process of moving to 4.3). We use the machine id (and some other 
eeprom type information) to distinguish the boards.

We'd like to move to a device tree based model but we're restricted in 
that updating the bootloaders to a DT-aware u-boot is impractical. 
CONFIG_ARM_APPENDED_DTB allows us to append a device tree but we still 
need to account for the differences between the boards.

Is it possible to append several device trees and have the correct one 
selected based on mach-id? One alternative would be to have a lowest 
common denominator device tree and platform_data style initializations 
for the rest (which would kind of defeat the purpose of having a device 
tree). Or we could have a superset device tree with the nodes disabled 
and install fixups to enable them based on mach-id. Has anyone faced a 
similar situation?

Thanks,
Chris

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-20  8:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20  3:27 Using CONFIG_ARM_APPENDED_DTB with multiple device trees Chris Packham
2015-10-20  3:27 ` Chris Packham
2015-10-20  4:04 ` Andrew Lunn
2015-10-20  4:04   ` Andrew Lunn
2015-10-20  8:11   ` Arnd Bergmann
2015-10-20  8:11     ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.