diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-07-29 14:31:51 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-09-30 17:00:39 +0200 |
commit | 6953af7749cd023770b948865cb8efa738cc6473 (patch) | |
tree | f1f12edabb19f84211ead35f09cb15193cc9c236 /arch/arm/boot/dts/dove.dtsi | |
parent | ARM: dove: use preprocessor on device tree files (diff) | |
download | linux-6953af7749cd023770b948865cb8efa738cc6473.tar.xz 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.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 @@ /include/ "skeleton.dtsi" +#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) + / { compatible = "marvell,dove"; model = "Marvell Armada 88AP510 SoC"; |