diff mbox series

[3/5] ARM: dts: gemini: add crypto node

Message ID 20210518151655.125153-4-clabbe@baylibre.com
State Accepted
Commit 83107b24c351391dd0a492fc9940d05c14cab0d0
Headers show
Series crypto: add gemini/sl3516 crypto driver | expand

Commit Message

Corentin Labbe May 18, 2021, 3:16 p.m. UTC
The SL3516 SoC has a crypto offloader IP.
This patch adds it on the gemini SoC Device-tree.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 arch/arm/boot/dts/gemini.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Linus Walleij May 18, 2021, 9:43 p.m. UTC | #1
On Tue, May 18, 2021 at 5:17 PM Corentin Labbe <clabbe@baylibre.com> wrote:

> The SL3516 SoC has a crypto offloader IP.
> This patch adds it on the gemini SoC Device-tree.
>
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>

Looks good to me, as soon as the bindings are accepted I will apply
this patch to my gemini DTS branch.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi
index 6e043869d495..cf4b081c13d9 100644
--- a/arch/arm/boot/dts/gemini.dtsi
+++ b/arch/arm/boot/dts/gemini.dtsi
@@ -356,6 +356,14 @@  gmac1: ethernet-port@1 {
 			};
 		};
 
+		crypto: crypto@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>;
+		};
+
 		ide0: ide@63000000 {
 			compatible = "cortina,gemini-pata", "faraday,ftide010";
 			reg = <0x63000000 0x1000>;