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

Jon Loeliger jdl at jdl.com
Fri Feb 26 04:49:25 EST 2010


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

Thanks,
jdl


More information about the devicetree-discuss mailing list