ARM: dove: add MBUS_ID macro to Dove DT

This adds a macro used for defining address window's target ID and
attribute cells for the MBus ranges entry.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
Sebastian Hesselbarth 2013-07-29 14:31:51 +02:00 committed by Jason Cooper
parent fbd99d51a7
commit 6953af7749
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
/include/ "skeleton.dtsi"
#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
/ {
compatible = "marvell,dove";
model = "Marvell Armada 88AP510 SoC";