ARM: sun7i: dt: Add Security System to A20 SoC DTS
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 17 Jul 2015 14:39:39 +0000 (16:39 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 Jul 2015 07:54:02 +0000 (15:54 +0800)
The Security System is a hardware cryptographic accelerator that support
AES/MD5/SHA1/DES/3DES/PRNG algorithms.
It could be found on many Allwinner SoC.

This patch enable the Security System on the Allwinner A20 SoC Device-tree.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/boot/dts/sun7i-a20.dtsi

index 6a63f30c9a699d0e4620aac31f64247ad9c1f95b..ba049d311200f1bd8481c60d98f26d0ff6499ac3 100644 (file)
                        status = "disabled";
                };
 
+               crypto: crypto-engine@01c15000 {
+                       compatible = "allwinner,sun4i-a10-crypto";
+                       reg = <0x01c15000 0x1000>;
+                       interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&ahb_gates 5>, <&ss_clk>;
+                       clock-names = "ahb", "mod";
+               };
+
                spi2: spi@01c17000 {
                        compatible = "allwinner,sun4i-a10-spi";
                        reg = <0x01c17000 0x1000>;