OSDN Git Service

arm64: dts: marvell: armada-37xx: add a crypto node
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Tue, 26 Dec 2017 16:16:53 +0000 (17:16 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 5 Jan 2018 16:02:36 +0000 (17:02 +0100)
This patch adds a crypto node describing the EIP97 engine found in
Armada 37xx SoCs. The cryptographic engine is enabled by default.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index 3056d71..3750268 100644 (file)
                                };
                        };
 
+                       crypto: crypto@90000 {
+                               compatible = "inside-secure,safexcel-eip97";
+                               reg = <0x90000 0x20000>;
+                               interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupt-names = "mem", "ring0", "ring1",
+                                                 "ring2", "ring3", "eip";
+                               clocks = <&nb_periph_clk 15>;
+                       };
+
                        sdhci1: sdhci@d0000 {
                                compatible = "marvell,armada-3700-sdhci",
                                             "marvell,sdhci-xenon";