[PATCH] ARM: dts: gemini: add crypto node

Linus Walleij linus.walleij at linaro.org
Fri Jun 11 15:05:01 PDT 2021


From: Corentin Labbe <clabbe at baylibre.com>

The SL3516 SoC has a crypto offloader IP.
This patch adds it on the gemini SoC Device-tree.

Signed-off-by: Corentin Labbe <clabbe at baylibre.com>
Cc: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
Hi SoC people, the crypto driver for Gemini made it in
to this merge window as well so please merge this DTS
snippet into the same branch as the other Gemini DTS
changes for this merge window.
---
 arch/arm/boot/dts/gemini.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi
index e5c15fe71a35..cc053af3c347 100644
--- a/arch/arm/boot/dts/gemini.dtsi
+++ b/arch/arm/boot/dts/gemini.dtsi
@@ -357,6 +357,14 @@ gmac1: ethernet-port at 1 {
 			};
 		};
 
+		crypto: crypto at 62000000 {
+			compatible = "cortina,sl3516-crypto";
+			reg = <0x62000000 0x10000>;
+			interrupts = <7 IRQ_TYPE_EDGE_RISING>;
+			resets = <&syscon GEMINI_RESET_SECURITY>;
+			clocks = <&syscon GEMINI_CLK_GATE_SECURITY>;
+		};
+
 		ide at 63000000 {
 			compatible = "cortina,gemini-pata", "faraday,ftide010";
 			reg = <0x63000000 0x1000>;
-- 
2.31.1




More information about the linux-arm-kernel mailing list