diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-07-29 08:31:51 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-09-30 11:00:39 -0400 |
commit | 6953af7749cd023770b948865cb8efa738cc6473 (patch) | |
tree | f1f12edabb19f84211ead35f09cb15193cc9c236 /arch/arm/boot/dts/dove.dtsi | |
parent | fbd99d51a7a7fd8344bf285f64200d72d4e6d2eb (diff) |
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.dtsi | 2 |
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 @@ | |||
1 | /include/ "skeleton.dtsi" | 1 | /include/ "skeleton.dtsi" |
2 | 2 | ||
3 | #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) | ||
4 | |||
3 | / { | 5 | / { |
4 | compatible = "marvell,dove"; | 6 | compatible = "marvell,dove"; |
5 | model = "Marvell Armada 88AP510 SoC"; | 7 | model = "Marvell Armada 88AP510 SoC"; |