[PATCH 3/5] ARM: vexpress: Add DT support in v2m

Pawel Moll pawel.moll at arm.com
Wed Nov 16 12:55:06 EST 2011


On Wed, 2011-11-16 at 17:50 +0000, Dave Martin wrote:
> Come to think of it, is the problem here that we're trying to describe
> the _motherboard_ using the compatible property on the root node.
> This is why I talked about universal/generic features -- the set of
> features common to all platforms sharing a single motherboard
> configuration.
> 
> Arguably that's wrong, and that compatible property belongs on the
> motherboard node itself, so (excuse the random syntax):
> 
> / {
> 	compatible = "arm,vexpress-v2p-ca9", "arm,vexpress";
> 
> 	motherboard {
> 		compatible = "arm,vexpress-v2m-legacy", "simple-bus";
> 	};
> };

> If putting a suitable compatible property on the motherboard node is
> feasible, it should work for this case.

Yep, that works for me :-) Probably even easier to implement than custom
property.

I'll get it into the code tomorrow.

Cheers!

Paweł





More information about the linux-arm-kernel mailing list