diff mbox

[PATCHv3,3/4] arm: orion5x: enable xor for orion5x platform

Message ID 1364334289-19669-4-git-send-email-alex@digriz.org.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Alexander Clouter March 26, 2013, 9:44 p.m. UTC
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>
---
 arch/arm/boot/dts/orion5x.dtsi |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Comments

Jason Cooper March 31, 2013, 12:17 a.m. UTC | #1
On Tue, Mar 26, 2013 at 09:44:48PM +0000, Alexander Clouter wrote:
> 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>
> ---
>  arch/arm/boot/dts/orion5x.dtsi |   19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)

Applied to mvebu/dt

thx,

Jason.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/orion5x.dtsi b/arch/arm/boot/dts/orion5x.dtsi
index 6fbc5c0..c37290b 100644
--- a/arch/arm/boot/dts/orion5x.dtsi
+++ b/arch/arm/boot/dts/orion5x.dtsi
@@ -105,6 +105,25 @@ 
 			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>,