Browse Source

arm64: dts: marvell: mark the cp110 crypto engine as dma coherent

The crypto engines found on the cp110 master and slave are dma coherent.
This patch adds the relevant property to their dt nodes.

Cc: stable@vger.kernel.org # v4.12+
Fixes: 973020fd9498 ("arm64: marvell: dts: add crypto engine description for 7k/8k")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Antoine Tenart 8 years ago
parent
commit
ec0aef9881

+ 1 - 0
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi

@@ -270,6 +270,7 @@
 				interrupt-names = "mem", "ring0", "ring1",
 				interrupt-names = "mem", "ring0", "ring1",
 				"ring2", "ring3", "eip";
 				"ring2", "ring3", "eip";
 				clocks = <&cpm_clk 1 26>;
 				clocks = <&cpm_clk 1 26>;
+				dma-coherent;
 			};
 			};
 		};
 		};
 
 

+ 1 - 0
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi

@@ -261,6 +261,7 @@
 				interrupt-names = "mem", "ring0", "ring1",
 				interrupt-names = "mem", "ring0", "ring1",
 						  "ring2", "ring3", "eip";
 						  "ring2", "ring3", "eip";
 				clocks = <&cps_clk 1 26>;
 				clocks = <&cps_clk 1 26>;
+				dma-coherent;
 				/*
 				/*
 				 * The cryptographic engine found on the cp110
 				 * The cryptographic engine found on the cp110
 				 * master is enabled by default at the SoC
 				 * master is enabled by default at the SoC