From: Sebastian Hesselbarth Date: Mon, 29 Jul 2013 12:31:51 +0000 (+0200) Subject: ARM: dove: add MBUS_ID macro to Dove DT X-Git-Tag: next-20130822~13^2^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=070ec393c4cb0554209b3072dd7c585d4a11f57d;p=karo-tx-linux.git 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 Signed-off-by: Jason Cooper --- diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index cc279166646f..0b4b8ec966c4 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi @@ -1,5 +1,7 @@ /include/ "skeleton.dtsi" +#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) + / { compatible = "marvell,dove"; model = "Marvell Armada 88AP510 SoC";