]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm: mvebu: add XOR engines to Armada XP .dtsi
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 15:03:19 +0000 (16:03 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 15:03:37 +0000 (16:03 +0100)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/arm/boot/dts/armada-xp.dtsi

index f51554e8000960ef2d9e93764f14eda5c1ac1a69..a09998523d40a459955228cea8a52624e3a2ac5d 100644 (file)
                                compatible = "marvell,armada-370-xp-system-controller";
                                reg = <0xd0018200 0x500>;
                };
+
+               xor@d0060900 {
+                       compatible = "marvell,orion-xor";
+                       reg = <0xd0060900 0x100
+                              0xd0060b00 0x100>;
+                       clocks = <&gateclk 22>;
+                       status = "okay";
+
+                       xor10 {
+                               interrupts = <51>;
+                               dmacap,memcpy;
+                               dmacap,xor;
+                       };
+                       xor11 {
+                               interrupts = <52>;
+                               dmacap,memcpy;
+                               dmacap,xor;
+                               dmacap,memset;
+                       };
+               };
+
+               xor@d00f0900 {
+                       compatible = "marvell,orion-xor";
+                       reg = <0xd00F0900 0x100
+                              0xd00F0B00 0x100>;
+                       clocks = <&gateclk 28>;
+                       status = "okay";
+
+                       xor00 {
+                               interrupts = <94>;
+                               dmacap,memcpy;
+                               dmacap,xor;
+                       };
+                       xor01 {
+                               interrupts = <95>;
+                               dmacap,memcpy;
+                               dmacap,xor;
+                               dmacap,memset;
+                       };
+               };
        };
 };