summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/dove.dtsi
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-29 14:31:51 +0200
committerJason Cooper <jason@lakedaemon.net>2013-09-30 15:00:39 +0000
commit6953af7749cd023770b948865cb8efa738cc6473 (patch)
treef1f12edabb19f84211ead35f09cb15193cc9c236 /arch/arm/boot/dts/dove.dtsi
parentfbd99d51a7a7fd8344bf285f64200d72d4e6d2eb (diff)
downloadblackbird-obmc-linux-6953af7749cd023770b948865cb8efa738cc6473.tar.gz
blackbird-obmc-linux-6953af7749cd023770b948865cb8efa738cc6473.zip
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>
Diffstat (limited to 'arch/arm/boot/dts/dove.dtsi')
-rw-r--r--arch/arm/boot/dts/dove.dtsi2
1 files changed, 2 insertions, 0 deletions
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";
OpenPOWER on IntegriCloud