arm: orion5x: enable xor for orion5x platform
authorAlexander Clouter <alex@digriz.org.uk>
Tue, 26 Mar 2013 21:44:48 +0000 (21:44 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sun, 31 Mar 2013 00:27:46 +0000 (00:27 +0000)
The orion5x SoC includes DMA functionality, so lets enable that
and turn it on by default.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/orion5x.dtsi

index 4db020d62f8bfc202f929d29818fb7b8472a17f9..f09133fd8105dcae667faac00f7314dfad57ed61 100644 (file)
                        status = "disabled";
                };
 
+               xor@60900 {
+                       compatible = "marvell,orion-xor";
+                       reg = <0x60900 0x100
+                              0x60b00 0x100>;
+                       status = "okay";
+
+                       xor00 {
+                             interrupts = <30>;
+                             dmacap,memcpy;
+                             dmacap,xor;
+                       };
+                       xor01 {
+                             interrupts = <31>;
+                             dmacap,memcpy;
+                             dmacap,xor;
+                             dmacap,memset;
+                       };
+               };
+
                crypto@90000 {
                        compatible = "marvell,orion-crypto";
                        reg = <0x90000 0x10000>,