diff mbox

[v4,4/4] arm64: dts: marvell: add XOR engine description for Armada 7K/8K CP

Message ID 1466080116-26777-5-git-send-email-thomas.petazzoni@free-electrons.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Thomas Petazzoni June 16, 2016, 12:28 p.m. UTC
This commit adds the Device Tree description for the two XOR engines
found in the CP part of the Armada 7K/8K SoC.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Gregory CLEMENT June 30, 2016, 11:50 a.m. UTC | #1
Hi Thomas,
 
 On jeu., juin 16 2016, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> This commit adds the Device Tree description for the two XOR engines
> found in the CP part of the Armada 7K/8K SoC.

Applied on mvebu/dt64

Thanks,

Gregory

>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> index 367138b..da31bbb 100644
> --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> @@ -107,6 +107,24 @@
>  				status = "disabled";
>  			};
>  
> +			cpm_xor0: xor@6a0000 {
> +				compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
> +				reg = <0x6a0000 0x1000>,
> +				      <0x6b0000 0x1000>;
> +				dma-coherent;
> +				msi-parent = <&gic_v2m0>;
> +				clocks = <&cpm_syscon0 1 8>;
> +			};
> +
> +			cpm_xor1: xor@6c0000 {
> +				compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
> +				reg = <0x6c0000 0x1000>,
> +				      <0x6d0000 0x1000>;
> +				dma-coherent;
> +				msi-parent = <&gic_v2m0>;
> +				clocks = <&cpm_syscon0 1 7>;
> +			};
> +
>  			cpm_spi0: spi@700600 {
>  				compatible = "marvell,armada-380-spi";
>  				reg = <0x700600 0x50>;
> -- 
> 2.7.4
>
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
index 367138b..da31bbb 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
@@ -107,6 +107,24 @@ 
 				status = "disabled";
 			};
 
+			cpm_xor0: xor@6a0000 {
+				compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
+				reg = <0x6a0000 0x1000>,
+				      <0x6b0000 0x1000>;
+				dma-coherent;
+				msi-parent = <&gic_v2m0>;
+				clocks = <&cpm_syscon0 1 8>;
+			};
+
+			cpm_xor1: xor@6c0000 {
+				compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
+				reg = <0x6c0000 0x1000>,
+				      <0x6d0000 0x1000>;
+				dma-coherent;
+				msi-parent = <&gic_v2m0>;
+				clocks = <&cpm_syscon0 1 7>;
+			};
+
 			cpm_spi0: spi@700600 {
 				compatible = "marvell,armada-380-spi";
 				reg = <0x700600 0x50>;