[PATCH v3] Allow device tree to be modified by additonal device tree sections

David Gibson david at gibson.dropbear.id.au
Fri Feb 26 11:25:54 EST 2010


On Thu, Feb 25, 2010 at 11:49:25AM -0600, Jon Loeliger wrote:
> > This patch allows the following construct:
> > 
> > / {
> > 	property-a = "old";
> > 	property-b = "does not change";
> > };
> > 
> > / {
> > 	property-a = "changed";
> > 	property-c = "new";
> > 	node-a {
> > 	};
> > };
> > 
> > Where the later device tree overrides the properties found in the
> > earlier tree.  This is useful for laying down a template device tree
> > in an include file and modifying it for a specific board without having
> > to clone the entire tree.
> > 
> > Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
> 
> Applied.

Oops, I was hoping to make a few tweaks to that before it was
applied.  Oh well, it was basically only more thorough testcases, so
that can be added later.

Sorry Grant, my work on this stuff has been rather delayed by
yak-shaving.

-- 
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


More information about the devicetree-discuss mailing list